@firestartr/cli 1.51.1-snapshot-06 → 1.52.0-snapshot-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1805,6 +1805,430 @@ export declare enum FirestartrGithubRepositoryFeatureSpecContextProviderRefKind
1805
1805
  /** FirestartrProviderConfig */
1806
1806
  FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
1807
1807
  }
1808
+ /**
1809
+ *
1810
+ *
1811
+ * @schema FirestartrGithubRepositorySecretsSection
1812
+ */
1813
+ export declare class FirestartrGithubRepositorySecretsSection extends ApiObject {
1814
+ /**
1815
+ * Returns the apiVersion and kind for "FirestartrGithubRepositorySecretsSection"
1816
+ */
1817
+ static readonly GVK: GroupVersionKind;
1818
+ /**
1819
+ * Renders a Kubernetes manifest for "FirestartrGithubRepositorySecretsSection".
1820
+ *
1821
+ * This can be used to inline resource manifests inside other objects (e.g. as templates).
1822
+ *
1823
+ * @param props initialization props
1824
+ */
1825
+ static manifest(props?: FirestartrGithubRepositorySecretsSectionProps): any;
1826
+ /**
1827
+ * Defines a "FirestartrGithubRepositorySecretsSection" API object
1828
+ * @param scope the scope in which to define this object
1829
+ * @param id a scope-local name for the object
1830
+ * @param props initialization props
1831
+ */
1832
+ constructor(scope: Construct, id: string, props?: FirestartrGithubRepositorySecretsSectionProps);
1833
+ /**
1834
+ * Renders the object to Kubernetes JSON.
1835
+ */
1836
+ toJson(): any;
1837
+ }
1838
+ /**
1839
+ * @schema FirestartrGithubRepositorySecretsSection
1840
+ */
1841
+ export interface FirestartrGithubRepositorySecretsSectionProps {
1842
+ /**
1843
+ * @schema FirestartrGithubRepositorySecretsSection#metadata
1844
+ */
1845
+ readonly metadata?: ApiObjectMetadata;
1846
+ /**
1847
+ * @schema FirestartrGithubRepositorySecretsSection#spec
1848
+ */
1849
+ readonly spec?: FirestartrGithubRepositorySecretsSectionSpec;
1850
+ }
1851
+ /**
1852
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionProps' to JSON representation.
1853
+ */
1854
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionProps(obj: FirestartrGithubRepositorySecretsSectionProps | undefined): Record<string, any> | undefined;
1855
+ /**
1856
+ * @schema FirestartrGithubRepositorySecretsSectionSpec
1857
+ */
1858
+ export interface FirestartrGithubRepositorySecretsSectionSpec {
1859
+ /**
1860
+ * @schema FirestartrGithubRepositorySecretsSectionSpec#firestartr
1861
+ */
1862
+ readonly firestartr?: FirestartrGithubRepositorySecretsSectionSpecFirestartr;
1863
+ /**
1864
+ * @schema FirestartrGithubRepositorySecretsSectionSpec#repositoryTarget
1865
+ */
1866
+ readonly repositoryTarget: FirestartrGithubRepositorySecretsSectionSpecRepositoryTarget;
1867
+ /**
1868
+ * A map of secret types, each containing a list of secrets.
1869
+ *
1870
+ * @schema FirestartrGithubRepositorySecretsSectionSpec#secrets
1871
+ */
1872
+ readonly secrets: FirestartrGithubRepositorySecretsSectionSpecSecrets;
1873
+ /**
1874
+ * References to provider configurations and backends needed by the operator.
1875
+ *
1876
+ * @schema FirestartrGithubRepositorySecretsSectionSpec#context
1877
+ */
1878
+ readonly context?: FirestartrGithubRepositorySecretsSectionSpecContext;
1879
+ }
1880
+ /**
1881
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpec' to JSON representation.
1882
+ */
1883
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpec(obj: FirestartrGithubRepositorySecretsSectionSpec | undefined): Record<string, any> | undefined;
1884
+ /**
1885
+ * @schema FirestartrGithubRepositorySecretsSectionSpecFirestartr
1886
+ */
1887
+ export interface FirestartrGithubRepositorySecretsSectionSpecFirestartr {
1888
+ /**
1889
+ * @schema FirestartrGithubRepositorySecretsSectionSpecFirestartr#tfStateKey
1890
+ */
1891
+ readonly tfStateKey: string;
1892
+ }
1893
+ /**
1894
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecFirestartr' to JSON representation.
1895
+ */
1896
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecFirestartr(obj: FirestartrGithubRepositorySecretsSectionSpecFirestartr | undefined): Record<string, any> | undefined;
1897
+ /**
1898
+ * @schema FirestartrGithubRepositorySecretsSectionSpecRepositoryTarget
1899
+ */
1900
+ export interface FirestartrGithubRepositorySecretsSectionSpecRepositoryTarget {
1901
+ /**
1902
+ * @schema FirestartrGithubRepositorySecretsSectionSpecRepositoryTarget#ref
1903
+ */
1904
+ readonly ref: FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef;
1905
+ }
1906
+ /**
1907
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecRepositoryTarget' to JSON representation.
1908
+ */
1909
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecRepositoryTarget(obj: FirestartrGithubRepositorySecretsSectionSpecRepositoryTarget | undefined): Record<string, any> | undefined;
1910
+ /**
1911
+ * A map of secret types, each containing a list of secrets.
1912
+ *
1913
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecrets
1914
+ */
1915
+ export interface FirestartrGithubRepositorySecretsSectionSpecSecrets {
1916
+ /**
1917
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecrets#actions
1918
+ */
1919
+ readonly actions?: FirestartrGithubRepositorySecretsSectionSpecSecretsActions[];
1920
+ /**
1921
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecrets#codespaces
1922
+ */
1923
+ readonly codespaces?: FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces[];
1924
+ /**
1925
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecrets#copilot
1926
+ */
1927
+ readonly copilot?: FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot[];
1928
+ }
1929
+ /**
1930
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecrets' to JSON representation.
1931
+ */
1932
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecrets(obj: FirestartrGithubRepositorySecretsSectionSpecSecrets | undefined): Record<string, any> | undefined;
1933
+ /**
1934
+ * References to provider configurations and backends needed by the operator.
1935
+ *
1936
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContext
1937
+ */
1938
+ export interface FirestartrGithubRepositorySecretsSectionSpecContext {
1939
+ /**
1940
+ * The provider configuration for authenticating with an external service (e.g., GitHub).
1941
+ *
1942
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContext#provider
1943
+ */
1944
+ readonly provider: FirestartrGithubRepositorySecretsSectionSpecContextProvider;
1945
+ /**
1946
+ * The backend configuration for state management (e.g., Terraform).
1947
+ *
1948
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContext#backend
1949
+ */
1950
+ readonly backend?: FirestartrGithubRepositorySecretsSectionSpecContextBackend;
1951
+ }
1952
+ /**
1953
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecContext' to JSON representation.
1954
+ */
1955
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecContext(obj: FirestartrGithubRepositorySecretsSectionSpecContext | undefined): Record<string, any> | undefined;
1956
+ /**
1957
+ * @schema FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef
1958
+ */
1959
+ export interface FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef {
1960
+ /**
1961
+ * @schema FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef#kind
1962
+ */
1963
+ readonly kind: string;
1964
+ /**
1965
+ * @schema FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef#name
1966
+ */
1967
+ readonly name: string;
1968
+ /**
1969
+ * @schema FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef#needsSecret
1970
+ */
1971
+ readonly needsSecret: boolean;
1972
+ }
1973
+ /**
1974
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef' to JSON representation.
1975
+ */
1976
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef(obj: FirestartrGithubRepositorySecretsSectionSpecRepositoryTargetRef | undefined): Record<string, any> | undefined;
1977
+ /**
1978
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActions
1979
+ */
1980
+ export interface FirestartrGithubRepositorySecretsSectionSpecSecretsActions {
1981
+ /**
1982
+ * The name of the secret.
1983
+ *
1984
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActions#name
1985
+ */
1986
+ readonly name: string;
1987
+ /**
1988
+ * A reference to the Kubernetes Secret resource that contains the value.
1989
+ *
1990
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActions#ref
1991
+ */
1992
+ readonly ref: FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef;
1993
+ }
1994
+ /**
1995
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsActions' to JSON representation.
1996
+ */
1997
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsActions(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsActions | undefined): Record<string, any> | undefined;
1998
+ /**
1999
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces
2000
+ */
2001
+ export interface FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces {
2002
+ /**
2003
+ * The name of the secret.
2004
+ *
2005
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces#name
2006
+ */
2007
+ readonly name: string;
2008
+ /**
2009
+ * A reference to the Kubernetes Secret resource that contains the value.
2010
+ *
2011
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces#ref
2012
+ */
2013
+ readonly ref: FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef;
2014
+ }
2015
+ /**
2016
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces' to JSON representation.
2017
+ */
2018
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsCodespaces | undefined): Record<string, any> | undefined;
2019
+ /**
2020
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot
2021
+ */
2022
+ export interface FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot {
2023
+ /**
2024
+ * The name of the secret.
2025
+ *
2026
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot#name
2027
+ */
2028
+ readonly name: string;
2029
+ /**
2030
+ * A reference to the Kubernetes Secret resource that contains the value.
2031
+ *
2032
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot#ref
2033
+ */
2034
+ readonly ref: FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef;
2035
+ }
2036
+ /**
2037
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot' to JSON representation.
2038
+ */
2039
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsCopilot | undefined): Record<string, any> | undefined;
2040
+ /**
2041
+ * The provider configuration for authenticating with an external service (e.g., GitHub).
2042
+ *
2043
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextProvider
2044
+ */
2045
+ export interface FirestartrGithubRepositorySecretsSectionSpecContextProvider {
2046
+ /**
2047
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextProvider#ref
2048
+ */
2049
+ readonly ref: FirestartrGithubRepositorySecretsSectionSpecContextProviderRef;
2050
+ }
2051
+ /**
2052
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecContextProvider' to JSON representation.
2053
+ */
2054
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecContextProvider(obj: FirestartrGithubRepositorySecretsSectionSpecContextProvider | undefined): Record<string, any> | undefined;
2055
+ /**
2056
+ * The backend configuration for state management (e.g., Terraform).
2057
+ *
2058
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextBackend
2059
+ */
2060
+ export interface FirestartrGithubRepositorySecretsSectionSpecContextBackend {
2061
+ /**
2062
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextBackend#ref
2063
+ */
2064
+ readonly ref: FirestartrGithubRepositorySecretsSectionSpecContextBackendRef;
2065
+ }
2066
+ /**
2067
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecContextBackend' to JSON representation.
2068
+ */
2069
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecContextBackend(obj: FirestartrGithubRepositorySecretsSectionSpecContextBackend | undefined): Record<string, any> | undefined;
2070
+ /**
2071
+ * A reference to the Kubernetes Secret resource that contains the value.
2072
+ *
2073
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef
2074
+ */
2075
+ export interface FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef {
2076
+ /**
2077
+ * The type of Kubernetes resource to reference.
2078
+ *
2079
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef#kind
2080
+ */
2081
+ readonly kind: FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRefKind;
2082
+ /**
2083
+ * The name of the Kubernetes Secret resource.
2084
+ *
2085
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef#name
2086
+ */
2087
+ readonly name: string;
2088
+ /**
2089
+ * The key within the Kubernetes Secret data.
2090
+ *
2091
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef#key
2092
+ */
2093
+ readonly key: string;
2094
+ }
2095
+ /**
2096
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef' to JSON representation.
2097
+ */
2098
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRef | undefined): Record<string, any> | undefined;
2099
+ /**
2100
+ * A reference to the Kubernetes Secret resource that contains the value.
2101
+ *
2102
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef
2103
+ */
2104
+ export interface FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef {
2105
+ /**
2106
+ * The type of Kubernetes resource to reference.
2107
+ *
2108
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef#kind
2109
+ */
2110
+ readonly kind: FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRefKind;
2111
+ /**
2112
+ * The name of the Kubernetes Secret resource.
2113
+ *
2114
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef#name
2115
+ */
2116
+ readonly name: string;
2117
+ /**
2118
+ * The key within the Kubernetes Secret data.
2119
+ *
2120
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef#key
2121
+ */
2122
+ readonly key: string;
2123
+ }
2124
+ /**
2125
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef' to JSON representation.
2126
+ */
2127
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRef | undefined): Record<string, any> | undefined;
2128
+ /**
2129
+ * A reference to the Kubernetes Secret resource that contains the value.
2130
+ *
2131
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef
2132
+ */
2133
+ export interface FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef {
2134
+ /**
2135
+ * The type of Kubernetes resource to reference.
2136
+ *
2137
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef#kind
2138
+ */
2139
+ readonly kind: FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRefKind;
2140
+ /**
2141
+ * The name of the Kubernetes Secret resource.
2142
+ *
2143
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef#name
2144
+ */
2145
+ readonly name: string;
2146
+ /**
2147
+ * The key within the Kubernetes Secret data.
2148
+ *
2149
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef#key
2150
+ */
2151
+ readonly key: string;
2152
+ }
2153
+ /**
2154
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef' to JSON representation.
2155
+ */
2156
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef(obj: FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRef | undefined): Record<string, any> | undefined;
2157
+ /**
2158
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextProviderRef
2159
+ */
2160
+ export interface FirestartrGithubRepositorySecretsSectionSpecContextProviderRef {
2161
+ /**
2162
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextProviderRef#kind
2163
+ */
2164
+ readonly kind: FirestartrGithubRepositorySecretsSectionSpecContextProviderRefKind;
2165
+ /**
2166
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextProviderRef#name
2167
+ */
2168
+ readonly name: string;
2169
+ }
2170
+ /**
2171
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecContextProviderRef' to JSON representation.
2172
+ */
2173
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecContextProviderRef(obj: FirestartrGithubRepositorySecretsSectionSpecContextProviderRef | undefined): Record<string, any> | undefined;
2174
+ /**
2175
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextBackendRef
2176
+ */
2177
+ export interface FirestartrGithubRepositorySecretsSectionSpecContextBackendRef {
2178
+ /**
2179
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextBackendRef#kind
2180
+ */
2181
+ readonly kind: FirestartrGithubRepositorySecretsSectionSpecContextBackendRefKind;
2182
+ /**
2183
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextBackendRef#name
2184
+ */
2185
+ readonly name: string;
2186
+ }
2187
+ /**
2188
+ * Converts an object of type 'FirestartrGithubRepositorySecretsSectionSpecContextBackendRef' to JSON representation.
2189
+ */
2190
+ export declare function toJson_FirestartrGithubRepositorySecretsSectionSpecContextBackendRef(obj: FirestartrGithubRepositorySecretsSectionSpecContextBackendRef | undefined): Record<string, any> | undefined;
2191
+ /**
2192
+ * The type of Kubernetes resource to reference.
2193
+ *
2194
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRefKind
2195
+ */
2196
+ export declare enum FirestartrGithubRepositorySecretsSectionSpecSecretsActionsRefKind {
2197
+ /** Secret */
2198
+ SECRET = "Secret"
2199
+ }
2200
+ /**
2201
+ * The type of Kubernetes resource to reference.
2202
+ *
2203
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRefKind
2204
+ */
2205
+ export declare enum FirestartrGithubRepositorySecretsSectionSpecSecretsCodespacesRefKind {
2206
+ /** Secret */
2207
+ SECRET = "Secret"
2208
+ }
2209
+ /**
2210
+ * The type of Kubernetes resource to reference.
2211
+ *
2212
+ * @schema FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRefKind
2213
+ */
2214
+ export declare enum FirestartrGithubRepositorySecretsSectionSpecSecretsCopilotRefKind {
2215
+ /** Secret */
2216
+ SECRET = "Secret"
2217
+ }
2218
+ /**
2219
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextProviderRefKind
2220
+ */
2221
+ export declare enum FirestartrGithubRepositorySecretsSectionSpecContextProviderRefKind {
2222
+ /** FirestartrProviderConfig */
2223
+ FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
2224
+ }
2225
+ /**
2226
+ * @schema FirestartrGithubRepositorySecretsSectionSpecContextBackendRefKind
2227
+ */
2228
+ export declare enum FirestartrGithubRepositorySecretsSectionSpecContextBackendRefKind {
2229
+ /** FirestartrProviderConfig */
2230
+ FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
2231
+ }
1808
2232
  /**
1809
2233
  * A resource to handle backend and provider configuration.
1810
2234
  *
@@ -0,0 +1,11 @@
1
+ import { FirestartrGithubRepositorySecretsSection, FirestartrGithubRepositorySecretsSectionProps } from '../../../imports/firestartr.dev';
2
+ import { GroupVersionKind } from 'cdk8s';
3
+ import { BaseGithubChart } from './base';
4
+ export default class RepoSecretsSectionChart extends BaseGithubChart {
5
+ constructor(scope: any, chartId: string, firestartrId: string | null, claim: any, patches?: any[], cr?: any);
6
+ template(): FirestartrGithubRepositorySecretsSectionProps;
7
+ renderSecrets(section: string, githubProvider: any): any[];
8
+ gvk(): GroupVersionKind;
9
+ instanceApiObject(template: any): FirestartrGithubRepositorySecretsSection;
10
+ private resolveRepositoryTarget;
11
+ }
@@ -8,6 +8,7 @@ export declare class GithubRepositoryChart extends BaseGithubChart {
8
8
  render(): Promise<this>;
9
9
  gvk(): GroupVersionKind;
10
10
  postRenderFeatures(cr: any): Promise<void>;
11
+ postRenderSecretsSection(cr: any): Promise<void>;
11
12
  instanceApiObject(template: any): ApiObject;
12
13
  /**
13
14
  * @description This method creates the permissions data for the repository
@@ -685,7 +685,11 @@ declare const schemas: {
685
685
  schedule_timezone: {
686
686
  type: string;
687
687
  };
688
+ policy: {
689
+ type: string;
690
+ };
688
691
  };
692
+ additionalProperties: boolean;
689
693
  required: string[];
690
694
  oneOf: ({
691
695
  required: string[];
@@ -40,7 +40,11 @@ export declare const TerraformSchemas: {
40
40
  schedule_timezone: {
41
41
  type: string;
42
42
  };
43
+ policy: {
44
+ type: string;
45
+ };
43
46
  };
47
+ additionalProperties: boolean;
44
48
  required: string[];
45
49
  oneOf: ({
46
50
  required: string[];
@@ -40,7 +40,11 @@ declare const _default: {
40
40
  schedule_timezone: {
41
41
  type: string;
42
42
  };
43
+ policy: {
44
+ type: string;
45
+ };
43
46
  };
47
+ additionalProperties: boolean;
44
48
  required: string[];
45
49
  oneOf: ({
46
50
  required: string[];
@@ -21,6 +21,7 @@ export type WorkItem = {
21
21
  workStatus: WorkStatus;
22
22
  onDelete: Function;
23
23
  process?: Function;
24
+ upsertTime?: number;
24
25
  };
25
26
  type HandlerFinalizerFn = (kind: string, namespace: string, item: any | string, finalizer: string) => Promise<any>;
26
27
  type HandlerInformPlanFn = (prUrl: string, planText: string) => Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { WorkItem } from './informer';
2
+ export declare function loopWorkItemDebug(queue: WorkItem[]): void;
@@ -1,2 +1,4 @@
1
1
  export declare function needsProvisioningOnCreate(cr: any): Promise<boolean>;
2
+ export declare function updateSyncTransition(itemPath: string, reason: string, lastSyncTime: string, nextSyncTime: string, message: string, status: string): Promise<void>;
2
3
  export declare function updateTransition(itemPath: string, reason: string, type: string, statusValue: string, message?: string, updateStatusOnly?: boolean): Promise<void>;
4
+ export declare function getConditionByType(conditionList: Array<any>, type: string): any;
@@ -0,0 +1,31 @@
1
+ export type SyncMode = 'Scheduled' | 'Period' | 'NotSyncable';
2
+ export type Condition = {
3
+ type: string;
4
+ status: 'True' | 'False' | 'Unknown';
5
+ reason: string;
6
+ message: string;
7
+ lastSyncTime?: string;
8
+ nextSyncTime?: string;
9
+ };
10
+ export type SyncStatus = {
11
+ itemPath?: string;
12
+ conditions?: Condition[];
13
+ nextTimeoutInMS?: number;
14
+ syncStatusPresent?: boolean;
15
+ intervalLapsed?: boolean;
16
+ syncMode?: SyncMode;
17
+ };
18
+ export type SyncWatcher = {
19
+ itemPath: string;
20
+ lastRevision: any;
21
+ needsRevision: boolean;
22
+ nextSync?: string;
23
+ lastSync?: string;
24
+ syncMode?: SyncMode;
25
+ alreadyFired?: boolean;
26
+ };
27
+ export declare function createWatcherForItem(itemPath: string, itemCR?: any): Promise<SyncWatcher>;
28
+ export declare function destroyWatcherForItem(watcher: SyncWatcher): Promise<void>;
29
+ export declare function getSyncSpecs(itemPath: string, itemCR?: any): Promise<any>;
30
+ export declare function getSyncStatus(itemPath: string, itemCR?: any): Promise<SyncStatus>;
31
+ export declare function setSyncStatus(itemPath: string, reason: string, status: 'True' | 'False' | 'Unknown', message: string): Promise<SyncStatus>;
@@ -1,6 +1,10 @@
1
+ import { SyncWatcher } from './syncCtl';
2
+ export type SyncWatchers = {
3
+ [key: string]: SyncWatcher;
4
+ };
1
5
  export declare function syncer(enqueue: Function): Promise<{
2
6
  addItem(itemPath: string): void;
3
- updateItem(itemPath: string): void;
7
+ updateItem(itemPath: string): Promise<void>;
4
8
  deleteItem(itemPath: string): void;
5
9
  }>;
6
- export declare function loop(enqueueIfNeeded: Function): Promise<void>;
10
+ export declare function loop(enqueueIfNeeded: Function, api: any): Promise<void>;
@@ -0,0 +1,2 @@
1
+ import { SyncWatchers } from './syncer';
2
+ export declare function syncerDebug(syncWatchers: SyncWatchers): Promise<void>;
@@ -0,0 +1,8 @@
1
+ import { Construct } from 'constructs';
2
+ import { Entity } from '../base/Entity';
3
+ export declare class FirestartrGithubRepositorySecretsSection extends Entity {
4
+ constructor(artifact: any, deps: any);
5
+ loadResources(data: {
6
+ scope: Construct;
7
+ }): Promise<void>;
8
+ }
@@ -0,0 +1,3 @@
1
+ import { Construct } from 'constructs';
2
+ import { FirestartrGithubRepositorySecretsSection } from '../FirestartrGithubRepositorySecretsSection';
3
+ export declare function provisionRepositorySecrets(scope: Construct, fsGithubRepositorySecretsSection: FirestartrGithubRepositorySecretsSection, repo: string): Promise<void>;
@@ -0,0 +1,5 @@
1
+ import { Resource } from '../resource';
2
+ export declare class FirestartrGithubRepositorySecretsSection extends Resource {
3
+ static kind(): string;
4
+ preprocess(): Promise<void>;
5
+ }
@@ -4,6 +4,7 @@ import { FirestartrGithubMembership } from './github_membership';
4
4
  import { FirestartrGithubGroup } from './github_group';
5
5
  import { FirestartrTerraformModule } from './terraform_module';
6
6
  import { FirestartrGithubOrgWebhook } from './github_orgWebhook';
7
+ import { FirestartrGithubRepositorySecretsSection } from './github_repository_secrets_section';
7
8
  declare const _default: {
8
9
  FirestartrGithubRepositoryFeature: typeof FirestartrGithubRepositoryFeature;
9
10
  FirestartrGithubRepository: typeof FirestartrGithubRepository;
@@ -11,5 +12,6 @@ declare const _default: {
11
12
  FirestartrGithubGroup: typeof FirestartrGithubGroup;
12
13
  FirestartrTerraformModule: typeof FirestartrTerraformModule;
13
14
  FirestartrGithubOrgWebhook: typeof FirestartrGithubOrgWebhook;
15
+ FirestartrGithubRepositorySecretsSection: typeof FirestartrGithubRepositorySecretsSection;
14
16
  };
15
17
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firestartr/cli",
3
- "version": "1.51.1-snapshot-06",
3
+ "version": "1.52.0-snapshot-0",
4
4
  "private": false,
5
5
  "description": "Commandline tool",
6
6
  "main": "build/main.js",