@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,208 @@
|
|
|
1
|
+
import { Construct } from 'constructs';
|
|
2
|
+
import * as cdktf from 'cdktf';
|
|
3
|
+
export interface DataTalosMachineDisksConfig extends cdktf.TerraformMetaArguments {
|
|
4
|
+
/**
|
|
5
|
+
* The client configuration data
|
|
6
|
+
*
|
|
7
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#client_configuration DataTalosMachineDisks#client_configuration}
|
|
8
|
+
*/
|
|
9
|
+
readonly clientConfiguration: DataTalosMachineDisksClientConfiguration;
|
|
10
|
+
/**
|
|
11
|
+
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
12
|
+
*
|
|
13
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#endpoint DataTalosMachineDisks#endpoint}
|
|
14
|
+
*/
|
|
15
|
+
readonly endpoint?: string;
|
|
16
|
+
/**
|
|
17
|
+
* controlplane node to retrieve the kubeconfig from
|
|
18
|
+
*
|
|
19
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#node DataTalosMachineDisks#node}
|
|
20
|
+
*/
|
|
21
|
+
readonly nodeAttribute: string;
|
|
22
|
+
/**
|
|
23
|
+
* The CEL expression to filter the disks.
|
|
24
|
+
* If not set, all disks will be returned.
|
|
25
|
+
* See [CEL documentation](https://www.talos.dev/latest/talos-guides/configuration/disk-management/#disk-selector).
|
|
26
|
+
*
|
|
27
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#selector DataTalosMachineDisks#selector}
|
|
28
|
+
*/
|
|
29
|
+
readonly selector?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#timeouts DataTalosMachineDisks#timeouts}
|
|
32
|
+
*/
|
|
33
|
+
readonly timeouts?: DataTalosMachineDisksTimeouts;
|
|
34
|
+
}
|
|
35
|
+
export interface DataTalosMachineDisksClientConfiguration {
|
|
36
|
+
/**
|
|
37
|
+
* The client CA certificate
|
|
38
|
+
*
|
|
39
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#ca_certificate DataTalosMachineDisks#ca_certificate}
|
|
40
|
+
*/
|
|
41
|
+
readonly caCertificate: string;
|
|
42
|
+
/**
|
|
43
|
+
* The client certificate
|
|
44
|
+
*
|
|
45
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#client_certificate DataTalosMachineDisks#client_certificate}
|
|
46
|
+
*/
|
|
47
|
+
readonly clientCertificate: string;
|
|
48
|
+
/**
|
|
49
|
+
* The client key
|
|
50
|
+
*
|
|
51
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#client_key DataTalosMachineDisks#client_key}
|
|
52
|
+
*/
|
|
53
|
+
readonly clientKey: string;
|
|
54
|
+
}
|
|
55
|
+
export declare function dataTalosMachineDisksClientConfigurationToTerraform(struct?: DataTalosMachineDisksClientConfiguration | cdktf.IResolvable): any;
|
|
56
|
+
export declare function dataTalosMachineDisksClientConfigurationToHclTerraform(struct?: DataTalosMachineDisksClientConfiguration | cdktf.IResolvable): any;
|
|
57
|
+
export declare class DataTalosMachineDisksClientConfigurationOutputReference extends cdktf.ComplexObject {
|
|
58
|
+
private isEmptyObject;
|
|
59
|
+
private resolvableValue?;
|
|
60
|
+
/**
|
|
61
|
+
* @param terraformResource The parent resource
|
|
62
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
63
|
+
*/
|
|
64
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
65
|
+
get internalValue(): DataTalosMachineDisksClientConfiguration | cdktf.IResolvable | undefined;
|
|
66
|
+
set internalValue(value: DataTalosMachineDisksClientConfiguration | cdktf.IResolvable | undefined);
|
|
67
|
+
private _caCertificate?;
|
|
68
|
+
get caCertificate(): string;
|
|
69
|
+
set caCertificate(value: string);
|
|
70
|
+
get caCertificateInput(): string;
|
|
71
|
+
private _clientCertificate?;
|
|
72
|
+
get clientCertificate(): string;
|
|
73
|
+
set clientCertificate(value: string);
|
|
74
|
+
get clientCertificateInput(): string;
|
|
75
|
+
private _clientKey?;
|
|
76
|
+
get clientKey(): string;
|
|
77
|
+
set clientKey(value: string);
|
|
78
|
+
get clientKeyInput(): string;
|
|
79
|
+
}
|
|
80
|
+
export interface DataTalosMachineDisksDisks {
|
|
81
|
+
}
|
|
82
|
+
export declare function dataTalosMachineDisksDisksToTerraform(struct?: DataTalosMachineDisksDisks): any;
|
|
83
|
+
export declare function dataTalosMachineDisksDisksToHclTerraform(struct?: DataTalosMachineDisksDisks): any;
|
|
84
|
+
export declare class DataTalosMachineDisksDisksOutputReference extends cdktf.ComplexObject {
|
|
85
|
+
private isEmptyObject;
|
|
86
|
+
/**
|
|
87
|
+
* @param terraformResource The parent resource
|
|
88
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
89
|
+
* @param complexObjectIndex the index of this item in the list
|
|
90
|
+
* @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
91
|
+
*/
|
|
92
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean);
|
|
93
|
+
get internalValue(): DataTalosMachineDisksDisks | undefined;
|
|
94
|
+
set internalValue(value: DataTalosMachineDisksDisks | undefined);
|
|
95
|
+
get busPath(): any;
|
|
96
|
+
get cdrom(): any;
|
|
97
|
+
get devPath(): any;
|
|
98
|
+
get ioSize(): any;
|
|
99
|
+
get modalias(): any;
|
|
100
|
+
get model(): any;
|
|
101
|
+
get prettySize(): any;
|
|
102
|
+
get readonly(): any;
|
|
103
|
+
get rotational(): any;
|
|
104
|
+
get secondaryDisks(): any;
|
|
105
|
+
get sectorSize(): any;
|
|
106
|
+
get serial(): any;
|
|
107
|
+
get size(): any;
|
|
108
|
+
get subSystem(): any;
|
|
109
|
+
get symlinks(): any;
|
|
110
|
+
get transport(): any;
|
|
111
|
+
get uuid(): any;
|
|
112
|
+
get wwid(): any;
|
|
113
|
+
}
|
|
114
|
+
export declare class DataTalosMachineDisksDisksList extends cdktf.ComplexList {
|
|
115
|
+
protected terraformResource: cdktf.IInterpolatingParent;
|
|
116
|
+
protected terraformAttribute: string;
|
|
117
|
+
protected wrapsSet: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* @param terraformResource The parent resource
|
|
120
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
121
|
+
* @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index)
|
|
122
|
+
*/
|
|
123
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean);
|
|
124
|
+
/**
|
|
125
|
+
* @param index the index of the item to return
|
|
126
|
+
*/
|
|
127
|
+
get(index: number): DataTalosMachineDisksDisksOutputReference;
|
|
128
|
+
}
|
|
129
|
+
export interface DataTalosMachineDisksTimeouts {
|
|
130
|
+
/**
|
|
131
|
+
* 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). Read operations occur during any refresh or planning operation when refresh is enabled.
|
|
132
|
+
*
|
|
133
|
+
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#read DataTalosMachineDisks#read}
|
|
134
|
+
*/
|
|
135
|
+
readonly read?: string;
|
|
136
|
+
}
|
|
137
|
+
export declare function dataTalosMachineDisksTimeoutsToTerraform(struct?: DataTalosMachineDisksTimeouts | cdktf.IResolvable): any;
|
|
138
|
+
export declare function dataTalosMachineDisksTimeoutsToHclTerraform(struct?: DataTalosMachineDisksTimeouts | cdktf.IResolvable): any;
|
|
139
|
+
export declare class DataTalosMachineDisksTimeoutsOutputReference extends cdktf.ComplexObject {
|
|
140
|
+
private isEmptyObject;
|
|
141
|
+
private resolvableValue?;
|
|
142
|
+
/**
|
|
143
|
+
* @param terraformResource The parent resource
|
|
144
|
+
* @param terraformAttribute The attribute on the parent resource this class is referencing
|
|
145
|
+
*/
|
|
146
|
+
constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string);
|
|
147
|
+
get internalValue(): DataTalosMachineDisksTimeouts | cdktf.IResolvable | undefined;
|
|
148
|
+
set internalValue(value: DataTalosMachineDisksTimeouts | cdktf.IResolvable | undefined);
|
|
149
|
+
private _read?;
|
|
150
|
+
get read(): string;
|
|
151
|
+
set read(value: string);
|
|
152
|
+
resetRead(): void;
|
|
153
|
+
get readInput(): string;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Represents a {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks talos_machine_disks}
|
|
157
|
+
*/
|
|
158
|
+
export declare class DataTalosMachineDisks extends cdktf.TerraformDataSource {
|
|
159
|
+
static readonly tfResourceType = "talos_machine_disks";
|
|
160
|
+
/**
|
|
161
|
+
* Generates CDKTF code for importing a DataTalosMachineDisks resource upon running "cdktf plan <stack-name>"
|
|
162
|
+
* @param scope The scope in which to define this construct
|
|
163
|
+
* @param importToId The construct id used in the generated config for the DataTalosMachineDisks to import
|
|
164
|
+
* @param importFromId The id of the existing DataTalosMachineDisks that should be imported. Refer to the {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks#import import section} in the documentation of this resource for the id to use
|
|
165
|
+
* @param provider? Optional instance of the provider where the DataTalosMachineDisks to import is found
|
|
166
|
+
*/
|
|
167
|
+
static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any;
|
|
168
|
+
/**
|
|
169
|
+
* Create a new {@link https://registry.terraform.io/providers/siderolabs/talos/0.9.0/docs/data-sources/machine_disks talos_machine_disks} Data Source
|
|
170
|
+
*
|
|
171
|
+
* @param scope The scope in which to define this construct
|
|
172
|
+
* @param id The scoped construct ID. Must be unique amongst siblings in the same scope
|
|
173
|
+
* @param options DataTalosMachineDisksConfig
|
|
174
|
+
*/
|
|
175
|
+
constructor(scope: Construct, id: string, config: DataTalosMachineDisksConfig);
|
|
176
|
+
private _clientConfiguration;
|
|
177
|
+
get clientConfiguration(): DataTalosMachineDisksClientConfigurationOutputReference;
|
|
178
|
+
putClientConfiguration(value: DataTalosMachineDisksClientConfiguration): void;
|
|
179
|
+
get clientConfigurationInput(): any;
|
|
180
|
+
private _disks;
|
|
181
|
+
get disks(): DataTalosMachineDisksDisksList;
|
|
182
|
+
private _endpoint?;
|
|
183
|
+
get endpoint(): string;
|
|
184
|
+
set endpoint(value: string);
|
|
185
|
+
resetEndpoint(): void;
|
|
186
|
+
get endpointInput(): string;
|
|
187
|
+
get id(): any;
|
|
188
|
+
private _node?;
|
|
189
|
+
get nodeAttribute(): string;
|
|
190
|
+
set nodeAttribute(value: string);
|
|
191
|
+
get nodeAttributeInput(): string;
|
|
192
|
+
private _selector?;
|
|
193
|
+
get selector(): string;
|
|
194
|
+
set selector(value: string);
|
|
195
|
+
resetSelector(): void;
|
|
196
|
+
get selectorInput(): string;
|
|
197
|
+
private _timeouts;
|
|
198
|
+
get timeouts(): DataTalosMachineDisksTimeoutsOutputReference;
|
|
199
|
+
putTimeouts(value: DataTalosMachineDisksTimeouts): void;
|
|
200
|
+
resetTimeouts(): void;
|
|
201
|
+
get timeoutsInput(): any;
|
|
202
|
+
protected synthesizeAttributes(): {
|
|
203
|
+
[name: string]: any;
|
|
204
|
+
};
|
|
205
|
+
protected synthesizeHclAttributes(): {
|
|
206
|
+
[name: string]: any;
|
|
207
|
+
};
|
|
208
|
+
}
|