@cdktf-providers/siderolabs-talos 0.9.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.
- package/LICENSE +355 -0
- package/README.md +19 -0
- package/dist/cluster-kubeconfig/index.d.ts +187 -0
- package/dist/cluster-kubeconfig/index.js +489 -0
- package/dist/data-talos-client-configuration/index.d.ts +121 -0
- package/dist/data-talos-client-configuration/index.js +292 -0
- package/dist/data-talos-cluster-health/index.d.ts +165 -0
- package/dist/data-talos-cluster-health/index.js +414 -0
- package/dist/data-talos-cluster-kubeconfig/index.d.ts +176 -0
- package/dist/data-talos-cluster-kubeconfig/index.js +461 -0
- package/dist/data-talos-image-factory-extensions-versions/index.d.ts +118 -0
- package/dist/data-talos-image-factory-extensions-versions/index.js +289 -0
- package/dist/data-talos-image-factory-overlays-versions/index.d.ts +117 -0
- package/dist/data-talos-image-factory-overlays-versions/index.js +285 -0
- package/dist/data-talos-image-factory-urls/index.d.ts +163 -0
- package/dist/data-talos-image-factory-urls/index.js +272 -0
- package/dist/data-talos-image-factory-versions/index.d.ts +71 -0
- package/dist/data-talos-image-factory-versions/index.js +182 -0
- package/dist/data-talos-machine-configuration/index.d.ts +521 -0
- package/dist/data-talos-machine-configuration/index.js +1424 -0
- package/dist/data-talos-machine-disks/index.d.ts +208 -0
- package/dist/data-talos-machine-disks/index.js +537 -0
- package/dist/image-factory-schematic/index.d.ts +50 -0
- package/dist/image-factory-schematic/index.js +95 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +16 -0
- package/dist/lazy-index.d.ts +0 -0
- package/dist/lazy-index.js +16 -0
- package/dist/machine-bootstrap/index.d.ts +144 -0
- package/dist/machine-bootstrap/index.js +371 -0
- package/dist/machine-configuration-apply/index.d.ts +262 -0
- package/dist/machine-configuration-apply/index.js +659 -0
- package/dist/machine-secrets/index.d.ts +238 -0
- package/dist/machine-secrets/index.js +684 -0
- package/dist/provider/index.d.ts +54 -0
- package/dist/provider/index.js +108 -0
- package/package.json +51 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface MachineConfigurationApplyConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The mode of the apply operation
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#apply_mode MachineConfigurationApply#apply_mode}
|
|
8
|
+
*/
|
|
9
|
+
readonly applyMode?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The client configuration data
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#client_configuration MachineConfigurationApply#client_configuration}
|
|
14
|
+
*/
|
|
15
|
+
readonly clientConfiguration: MachineConfigurationApplyClientConfiguration;
|
|
16
|
+
/**
|
|
17
|
+
* The list of config patches to apply
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#config_patches MachineConfigurationApply#config_patches}
|
|
20
|
+
*/
|
|
21
|
+
readonly configPatches?: string[];
|
|
22
|
+
/**
|
|
23
|
+
* The endpoint of the machine to bootstrap
|
|
24
|
+
*
|
|
25
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#endpoint MachineConfigurationApply#endpoint}
|
|
26
|
+
*/
|
|
27
|
+
readonly endpoint?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The machine configuration to apply
|
|
30
|
+
*
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#machine_configuration_input MachineConfigurationApply#machine_configuration_input}
|
|
32
|
+
*/
|
|
33
|
+
readonly machineConfigurationInput: string;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the node to bootstrap
|
|
36
|
+
*
|
|
37
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#node MachineConfigurationApply#node}
|
|
38
|
+
*/
|
|
39
|
+
readonly nodeAttribute: string;
|
|
40
|
+
/**
|
|
41
|
+
* Actions to be taken on destroy, if *reset* is not set this is a no-op.
|
|
42
|
+
*
|
|
43
|
+
* > Note: Any changes to *on_destroy* block has to be applied first by running *terraform apply* first,
|
|
44
|
+
* then a subsequent *terraform destroy* for the changes to take effect due to limitations in Terraform provider framework.
|
|
45
|
+
*
|
|
46
|
+
*
|
|
47
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#on_destroy MachineConfigurationApply#on_destroy}
|
|
48
|
+
*/
|
|
49
|
+
readonly onDestroy?: MachineConfigurationApplyOnDestroy;
|
|
50
|
+
/**
|
|
51
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#timeouts MachineConfigurationApply#timeouts}
|
|
52
|
+
*/
|
|
53
|
+
readonly timeouts?: MachineConfigurationApplyTimeouts;
|
|
54
|
+
}
|
|
55
|
+
export interface MachineConfigurationApplyClientConfiguration {
|
|
56
|
+
/**
|
|
57
|
+
* The client CA certificate
|
|
58
|
+
*
|
|
59
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#ca_certificate MachineConfigurationApply#ca_certificate}
|
|
60
|
+
*/
|
|
61
|
+
readonly caCertificate: string;
|
|
62
|
+
/**
|
|
63
|
+
* The client certificate
|
|
64
|
+
*
|
|
65
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#client_certificate MachineConfigurationApply#client_certificate}
|
|
66
|
+
*/
|
|
67
|
+
readonly clientCertificate: string;
|
|
68
|
+
/**
|
|
69
|
+
* The client key
|
|
70
|
+
*
|
|
71
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#client_key MachineConfigurationApply#client_key}
|
|
72
|
+
*/
|
|
73
|
+
readonly clientKey: string;
|
|
74
|
+
}
|
|
75
|
+
export declare function machineConfigurationApplyClientConfigurationToTerraform(struct?: MachineConfigurationApplyClientConfiguration | cdktf.IResolvable): any;
|
|
76
|
+
export declare function machineConfigurationApplyClientConfigurationToHclTerraform(struct?: MachineConfigurationApplyClientConfiguration | cdktf.IResolvable): any;
|
|
77
|
+
export declare class MachineConfigurationApplyClientConfigurationOutputReference extends cdktf.ComplexObject {
|
|
78
|
+
private isEmptyObject;
|
|
79
|
+
private resolvableValue?;
|
|
80
|
+
/**
|
|
81
|
+
* @param terraformResource The parent resource
|
|
82
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
83
|
+
*/
|
|
84
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
85
|
+
get internalValue(): MachineConfigurationApplyClientConfiguration | cdktf.IResolvable | undefined;
|
|
86
|
+
set internalValue(value: MachineConfigurationApplyClientConfiguration | cdktf.IResolvable | undefined);
|
|
87
|
+
private _caCertificate?;
|
|
88
|
+
get caCertificate(): string;
|
|
89
|
+
set caCertificate(value: string);
|
|
90
|
+
get caCertificateInput(): string;
|
|
91
|
+
private _clientCertificate?;
|
|
92
|
+
get clientCertificate(): string;
|
|
93
|
+
set clientCertificate(value: string);
|
|
94
|
+
get clientCertificateInput(): string;
|
|
95
|
+
private _clientKey?;
|
|
96
|
+
get clientKey(): string;
|
|
97
|
+
set clientKey(value: string);
|
|
98
|
+
get clientKeyInput(): string;
|
|
99
|
+
}
|
|
100
|
+
export interface MachineConfigurationApplyOnDestroy {
|
|
101
|
+
/**
|
|
102
|
+
* Graceful indicates whether node should leave etcd before the upgrade, it also enforces etcd checks before leaving. Default true
|
|
103
|
+
*
|
|
104
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#graceful MachineConfigurationApply#graceful}
|
|
105
|
+
*/
|
|
106
|
+
readonly graceful?: boolean | cdktf.IResolvable;
|
|
107
|
+
/**
|
|
108
|
+
* Reboot indicates whether node should reboot or halt after resetting. Default false
|
|
109
|
+
*
|
|
110
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#reboot MachineConfigurationApply#reboot}
|
|
111
|
+
*/
|
|
112
|
+
readonly reboot?: boolean | cdktf.IResolvable;
|
|
113
|
+
/**
|
|
114
|
+
* Reset the machine to the initial state (STATE and EPHEMERAL will be wiped). Default false
|
|
115
|
+
*
|
|
116
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#reset MachineConfigurationApply#reset}
|
|
117
|
+
*/
|
|
118
|
+
readonly reset?: boolean | cdktf.IResolvable;
|
|
119
|
+
}
|
|
120
|
+
export declare function machineConfigurationApplyOnDestroyToTerraform(struct?: MachineConfigurationApplyOnDestroy | cdktf.IResolvable): any;
|
|
121
|
+
export declare function machineConfigurationApplyOnDestroyToHclTerraform(struct?: MachineConfigurationApplyOnDestroy | cdktf.IResolvable): any;
|
|
122
|
+
export declare class MachineConfigurationApplyOnDestroyOutputReference extends cdktf.ComplexObject {
|
|
123
|
+
private isEmptyObject;
|
|
124
|
+
private resolvableValue?;
|
|
125
|
+
/**
|
|
126
|
+
* @param terraformResource The parent resource
|
|
127
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
128
|
+
*/
|
|
129
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
130
|
+
get internalValue(): MachineConfigurationApplyOnDestroy | cdktf.IResolvable | undefined;
|
|
131
|
+
set internalValue(value: MachineConfigurationApplyOnDestroy | cdktf.IResolvable | undefined);
|
|
132
|
+
private _graceful?;
|
|
133
|
+
get graceful(): boolean | cdktf.IResolvable;
|
|
134
|
+
set graceful(value: boolean | cdktf.IResolvable);
|
|
135
|
+
resetGraceful(): void;
|
|
136
|
+
get gracefulInput(): any;
|
|
137
|
+
private _reboot?;
|
|
138
|
+
get reboot(): boolean | cdktf.IResolvable;
|
|
139
|
+
set reboot(value: boolean | cdktf.IResolvable);
|
|
140
|
+
resetReboot(): void;
|
|
141
|
+
get rebootInput(): any;
|
|
142
|
+
private _reset?;
|
|
143
|
+
get reset(): boolean | cdktf.IResolvable;
|
|
144
|
+
set reset(value: boolean | cdktf.IResolvable);
|
|
145
|
+
resetReset(): void;
|
|
146
|
+
get resetInput(): any;
|
|
147
|
+
}
|
|
148
|
+
export interface MachineConfigurationApplyTimeouts {
|
|
149
|
+
/**
|
|
150
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
151
|
+
*
|
|
152
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#create MachineConfigurationApply#create}
|
|
153
|
+
*/
|
|
154
|
+
readonly create?: string;
|
|
155
|
+
/**
|
|
156
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
|
|
157
|
+
*
|
|
158
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#delete MachineConfigurationApply#delete}
|
|
159
|
+
*/
|
|
160
|
+
readonly delete?: string;
|
|
161
|
+
/**
|
|
162
|
+
* A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
|
|
163
|
+
*
|
|
164
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#update MachineConfigurationApply#update}
|
|
165
|
+
*/
|
|
166
|
+
readonly update?: string;
|
|
167
|
+
}
|
|
168
|
+
export declare function machineConfigurationApplyTimeoutsToTerraform(struct?: MachineConfigurationApplyTimeouts | cdktf.IResolvable): any;
|
|
169
|
+
export declare function machineConfigurationApplyTimeoutsToHclTerraform(struct?: MachineConfigurationApplyTimeouts | cdktf.IResolvable): any;
|
|
170
|
+
export declare class MachineConfigurationApplyTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
171
|
+
private isEmptyObject;
|
|
172
|
+
private resolvableValue?;
|
|
173
|
+
/**
|
|
174
|
+
* @param terraformResource The parent resource
|
|
175
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
176
|
+
*/
|
|
177
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
178
|
+
get internalValue(): MachineConfigurationApplyTimeouts | cdktf.IResolvable | undefined;
|
|
179
|
+
set internalValue(value: MachineConfigurationApplyTimeouts | cdktf.IResolvable | undefined);
|
|
180
|
+
private _create?;
|
|
181
|
+
get create(): string;
|
|
182
|
+
set create(value: string);
|
|
183
|
+
resetCreate(): void;
|
|
184
|
+
get createInput(): string;
|
|
185
|
+
private _delete?;
|
|
186
|
+
get delete(): string;
|
|
187
|
+
set delete(value: string);
|
|
188
|
+
resetDelete(): void;
|
|
189
|
+
get deleteInput(): string;
|
|
190
|
+
private _update?;
|
|
191
|
+
get update(): string;
|
|
192
|
+
set update(value: string);
|
|
193
|
+
resetUpdate(): void;
|
|
194
|
+
get updateInput(): string;
|
|
195
|
+
}
|
|
196
|
+
/**
|
|
197
|
+
* Represents a {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply talos_machine_configuration_apply}
|
|
198
|
+
*/
|
|
199
|
+
export declare class MachineConfigurationApply extends cdktf.TerraformResource {
|
|
200
|
+
static readonly tfResourceType = "talos_machine_configuration_apply";
|
|
201
|
+
/**
|
|
202
|
+
* Generates CDKTF code for importing a MachineConfigurationApply resource upon running "cdktf plan <stack-name>"
|
|
203
|
+
* @param scope The scope in which to define this construct
|
|
204
|
+
* @param importToId The construct id used in the generated config for the MachineConfigurationApply to import
|
|
205
|
+
* @param importFromId The id of the existing MachineConfigurationApply that should be imported. Refer to the {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply#import import section} in the documentation of this resource for the id to use
|
|
206
|
+
* @param provider? Optional instance of the provider where the MachineConfigurationApply to import is found
|
|
207
|
+
*/
|
|
208
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
209
|
+
/**
|
|
210
|
+
* Create a new {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/resources/machine_configuration_apply talos_machine_configuration_apply} Resource
|
|
211
|
+
*
|
|
212
|
+
* @param scope The scope in which to define this construct
|
|
213
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
214
|
+
* @param options MachineConfigurationApplyConfig
|
|
215
|
+
*/
|
|
216
|
+
constructor(scope: Construct, id: string, config: MachineConfigurationApplyConfig);
|
|
217
|
+
private _applyMode?;
|
|
218
|
+
get applyMode(): string;
|
|
219
|
+
set applyMode(value: string);
|
|
220
|
+
resetApplyMode(): void;
|
|
221
|
+
get applyModeInput(): string;
|
|
222
|
+
private _clientConfiguration;
|
|
223
|
+
get clientConfiguration(): MachineConfigurationApplyClientConfigurationOutputReference;
|
|
224
|
+
putClientConfiguration(value: MachineConfigurationApplyClientConfiguration): void;
|
|
225
|
+
get clientConfigurationInput(): any;
|
|
226
|
+
private _configPatches?;
|
|
227
|
+
get configPatches(): string[];
|
|
228
|
+
set configPatches(value: string[]);
|
|
229
|
+
resetConfigPatches(): void;
|
|
230
|
+
get configPatchesInput(): string[];
|
|
231
|
+
private _endpoint?;
|
|
232
|
+
get endpoint(): string;
|
|
233
|
+
set endpoint(value: string);
|
|
234
|
+
resetEndpoint(): void;
|
|
235
|
+
get endpointInput(): string;
|
|
236
|
+
get id(): any;
|
|
237
|
+
get machineConfiguration(): any;
|
|
238
|
+
private _machineConfigurationInput?;
|
|
239
|
+
get machineConfigurationInput(): string;
|
|
240
|
+
set machineConfigurationInput(value: string);
|
|
241
|
+
get machineConfigurationInputInput(): string;
|
|
242
|
+
private _node?;
|
|
243
|
+
get nodeAttribute(): string;
|
|
244
|
+
set nodeAttribute(value: string);
|
|
245
|
+
get nodeAttributeInput(): string;
|
|
246
|
+
private _onDestroy;
|
|
247
|
+
get onDestroy(): MachineConfigurationApplyOnDestroyOutputReference;
|
|
248
|
+
putOnDestroy(value: MachineConfigurationApplyOnDestroy): void;
|
|
249
|
+
resetOnDestroy(): void;
|
|
250
|
+
get onDestroyInput(): any;
|
|
251
|
+
private _timeouts;
|
|
252
|
+
get timeouts(): MachineConfigurationApplyTimeoutsOutputReference;
|
|
253
|
+
putTimeouts(value: MachineConfigurationApplyTimeouts): void;
|
|
254
|
+
resetTimeouts(): void;
|
|
255
|
+
get timeoutsInput(): any;
|
|
256
|
+
protected synthesizeAttributes(): {
|
|
257
|
+
[name: string]: any;
|
|
258
|
+
};
|
|
259
|
+
protected synthesizeHclAttributes(): {
|
|
260
|
+
[name: string]: any;
|
|
261
|
+
};
|
|
262
|
+
}
|