@pulumiverse/talos 0.1.8 → 0.2.1-alpha.1730838892
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/README.md +24 -0
- package/client/{configuration.d.ts → getConfiguration.d.ts} +15 -15
- package/client/{configuration.js → getConfiguration.js} +18 -12
- package/client/getConfiguration.js.map +1 -0
- package/client/index.d.ts +3 -3
- package/client/index.js +4 -4
- package/client/index.js.map +1 -1
- package/cluster/getHealth.d.ts +81 -0
- package/cluster/getHealth.js +36 -0
- package/cluster/getHealth.js.map +1 -0
- package/cluster/getKubeconfig.d.ts +95 -0
- package/cluster/{kubeconfig.js → getKubeconfig.js} +15 -8
- package/cluster/getKubeconfig.js.map +1 -0
- package/cluster/index.d.ts +6 -3
- package/cluster/index.js +7 -4
- package/cluster/index.js.map +1 -1
- package/machine/bootstrap.d.ts +7 -5
- package/machine/bootstrap.js +4 -2
- package/machine/bootstrap.js.map +1 -1
- package/machine/configurationApply.d.ts +3 -3
- package/machine/getConfiguration.d.ts +4 -4
- package/machine/getConfiguration.js +16 -5
- package/machine/getConfiguration.js.map +1 -1
- package/machine/getDisks.d.ts +127 -0
- package/machine/{disks.js → getDisks.js} +23 -16
- package/machine/getDisks.js.map +1 -0
- package/machine/index.d.ts +3 -3
- package/machine/index.js +4 -4
- package/machine/index.js.map +1 -1
- package/machine/secrets.d.ts +7 -5
- package/machine/secrets.js +5 -3
- package/machine/secrets.js.map +1 -1
- package/package.json +2 -1
- package/types/input.d.ts +93 -70
- package/types/output.d.ts +61 -62
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/client/configuration.js.map +0 -1
- package/cluster/kubeconfig.d.ts +0 -89
- package/cluster/kubeconfig.js.map +0 -1
- package/machine/disks.d.ts +0 -127
- package/machine/disks.js.map +0 -1
- package/package.json.bak +0 -29
|
@@ -17,8 +17,8 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* import * as talos from "@pulumi/talos";
|
|
18
18
|
* import * as talos from "@pulumiverse/talos";
|
|
19
19
|
*
|
|
20
|
-
* const thisSecrets = new talos.machine.Secrets("
|
|
21
|
-
* const
|
|
20
|
+
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
21
|
+
* const this = talos.machine.getConfigurationOutput({
|
|
22
22
|
* clusterName: "example-cluster",
|
|
23
23
|
* machineType: "controlplane",
|
|
24
24
|
* clusterEndpoint: "https://cluster.local:6443",
|
|
@@ -53,8 +53,8 @@ exports.getConfiguration = getConfiguration;
|
|
|
53
53
|
* import * as talos from "@pulumi/talos";
|
|
54
54
|
* import * as talos from "@pulumiverse/talos";
|
|
55
55
|
*
|
|
56
|
-
* const thisSecrets = new talos.machine.Secrets("
|
|
57
|
-
* const
|
|
56
|
+
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
57
|
+
* const this = talos.machine.getConfigurationOutput({
|
|
58
58
|
* clusterName: "example-cluster",
|
|
59
59
|
* machineType: "controlplane",
|
|
60
60
|
* clusterEndpoint: "https://cluster.local:6443",
|
|
@@ -63,7 +63,18 @@ exports.getConfiguration = getConfiguration;
|
|
|
63
63
|
* ```
|
|
64
64
|
*/
|
|
65
65
|
function getConfigurationOutput(args, opts) {
|
|
66
|
-
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
67
|
+
return pulumi.runtime.invokeOutput("talos:machine/getConfiguration:getConfiguration", {
|
|
68
|
+
"clusterEndpoint": args.clusterEndpoint,
|
|
69
|
+
"clusterName": args.clusterName,
|
|
70
|
+
"configPatches": args.configPatches,
|
|
71
|
+
"docs": args.docs,
|
|
72
|
+
"examples": args.examples,
|
|
73
|
+
"kubernetesVersion": args.kubernetesVersion,
|
|
74
|
+
"machineSecrets": args.machineSecrets,
|
|
75
|
+
"machineType": args.machineType,
|
|
76
|
+
"talosVersion": args.talosVersion,
|
|
77
|
+
}, opts);
|
|
67
78
|
}
|
|
68
79
|
exports.getConfigurationOutput = getConfigurationOutput;
|
|
69
80
|
//# sourceMappingURL=getConfiguration.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConfiguration.js","sourceRoot":"","sources":["../../machine/getConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;
|
|
1
|
+
{"version":3,"file":"getConfiguration.js","sourceRoot":"","sources":["../../machine/getConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4CAaC;AA6FD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,wDAaC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Generate a machine configuration for a node type
|
|
6
|
+
*
|
|
7
|
+
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as talos from "@pulumi/talos";
|
|
14
|
+
* import * as talos from "@pulumiverse/talos";
|
|
15
|
+
*
|
|
16
|
+
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
17
|
+
* const this = talos.machine.getDisksOutput({
|
|
18
|
+
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
19
|
+
* node: "10.5.0.2",
|
|
20
|
+
* filters: {
|
|
21
|
+
* size: "> 100GB",
|
|
22
|
+
* type: "nvme",
|
|
23
|
+
* },
|
|
24
|
+
* });
|
|
25
|
+
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function getDisks(args: GetDisksArgs, opts?: pulumi.InvokeOptions): Promise<GetDisksResult>;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of arguments for invoking getDisks.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetDisksArgs {
|
|
33
|
+
/**
|
|
34
|
+
* The client configuration data
|
|
35
|
+
*/
|
|
36
|
+
clientConfiguration: inputs.machine.GetDisksClientConfiguration;
|
|
37
|
+
/**
|
|
38
|
+
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
39
|
+
*/
|
|
40
|
+
endpoint?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Filters to apply to the disks
|
|
43
|
+
*/
|
|
44
|
+
filters?: inputs.machine.GetDisksFilters;
|
|
45
|
+
/**
|
|
46
|
+
* controlplane node to retrieve the kubeconfig from
|
|
47
|
+
*/
|
|
48
|
+
node: string;
|
|
49
|
+
timeouts?: inputs.machine.GetDisksTimeouts;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* A collection of values returned by getDisks.
|
|
53
|
+
*/
|
|
54
|
+
export interface GetDisksResult {
|
|
55
|
+
/**
|
|
56
|
+
* The client configuration data
|
|
57
|
+
*/
|
|
58
|
+
readonly clientConfiguration: outputs.machine.GetDisksClientConfiguration;
|
|
59
|
+
/**
|
|
60
|
+
* The disks that match the filters
|
|
61
|
+
*/
|
|
62
|
+
readonly disks: outputs.machine.GetDisksDisk[];
|
|
63
|
+
/**
|
|
64
|
+
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
65
|
+
*/
|
|
66
|
+
readonly endpoint: string;
|
|
67
|
+
/**
|
|
68
|
+
* Filters to apply to the disks
|
|
69
|
+
*/
|
|
70
|
+
readonly filters?: outputs.machine.GetDisksFilters;
|
|
71
|
+
/**
|
|
72
|
+
* The generated ID of this resource
|
|
73
|
+
*/
|
|
74
|
+
readonly id: string;
|
|
75
|
+
/**
|
|
76
|
+
* controlplane node to retrieve the kubeconfig from
|
|
77
|
+
*/
|
|
78
|
+
readonly node: string;
|
|
79
|
+
readonly timeouts?: outputs.machine.GetDisksTimeouts;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Generate a machine configuration for a node type
|
|
83
|
+
*
|
|
84
|
+
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
85
|
+
*
|
|
86
|
+
* ## Example Usage
|
|
87
|
+
*
|
|
88
|
+
* ```typescript
|
|
89
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
90
|
+
* import * as talos from "@pulumi/talos";
|
|
91
|
+
* import * as talos from "@pulumiverse/talos";
|
|
92
|
+
*
|
|
93
|
+
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
94
|
+
* const this = talos.machine.getDisksOutput({
|
|
95
|
+
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
96
|
+
* node: "10.5.0.2",
|
|
97
|
+
* filters: {
|
|
98
|
+
* size: "> 100GB",
|
|
99
|
+
* type: "nvme",
|
|
100
|
+
* },
|
|
101
|
+
* });
|
|
102
|
+
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
export declare function getDisksOutput(args: GetDisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDisksResult>;
|
|
106
|
+
/**
|
|
107
|
+
* A collection of arguments for invoking getDisks.
|
|
108
|
+
*/
|
|
109
|
+
export interface GetDisksOutputArgs {
|
|
110
|
+
/**
|
|
111
|
+
* The client configuration data
|
|
112
|
+
*/
|
|
113
|
+
clientConfiguration: pulumi.Input<inputs.machine.GetDisksClientConfigurationArgs>;
|
|
114
|
+
/**
|
|
115
|
+
* endpoint to use for the talosclient. If not set, the node value will be used
|
|
116
|
+
*/
|
|
117
|
+
endpoint?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Filters to apply to the disks
|
|
120
|
+
*/
|
|
121
|
+
filters?: pulumi.Input<inputs.machine.GetDisksFiltersArgs>;
|
|
122
|
+
/**
|
|
123
|
+
* controlplane node to retrieve the kubeconfig from
|
|
124
|
+
*/
|
|
125
|
+
node: pulumi.Input<string>;
|
|
126
|
+
timeouts?: pulumi.Input<inputs.machine.GetDisksTimeoutsArgs>;
|
|
127
|
+
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.
|
|
5
|
+
exports.getDisksOutput = exports.getDisks = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Generate a machine configuration for a node type
|
|
10
10
|
*
|
|
11
|
-
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.
|
|
11
|
+
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
@@ -17,8 +17,8 @@ const utilities = require("../utilities");
|
|
|
17
17
|
* import * as talos from "@pulumi/talos";
|
|
18
18
|
* import * as talos from "@pulumiverse/talos";
|
|
19
19
|
*
|
|
20
|
-
* const thisSecrets = new talos.machine.Secrets("
|
|
21
|
-
* const
|
|
20
|
+
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
21
|
+
* const this = talos.machine.getDisksOutput({
|
|
22
22
|
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
23
23
|
* node: "10.5.0.2",
|
|
24
24
|
* filters: {
|
|
@@ -26,12 +26,12 @@ const utilities = require("../utilities");
|
|
|
26
26
|
* type: "nvme",
|
|
27
27
|
* },
|
|
28
28
|
* });
|
|
29
|
-
* export const nvmeDisks =
|
|
29
|
+
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
30
30
|
* ```
|
|
31
31
|
*/
|
|
32
|
-
function
|
|
32
|
+
function getDisks(args, opts) {
|
|
33
33
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
34
|
-
return pulumi.runtime.invoke("talos:machine/
|
|
34
|
+
return pulumi.runtime.invoke("talos:machine/getDisks:getDisks", {
|
|
35
35
|
"clientConfiguration": args.clientConfiguration,
|
|
36
36
|
"endpoint": args.endpoint,
|
|
37
37
|
"filters": args.filters,
|
|
@@ -39,11 +39,11 @@ function disks(args, opts) {
|
|
|
39
39
|
"timeouts": args.timeouts,
|
|
40
40
|
}, opts);
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
42
|
+
exports.getDisks = getDisks;
|
|
43
43
|
/**
|
|
44
44
|
* Generate a machine configuration for a node type
|
|
45
45
|
*
|
|
46
|
-
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.
|
|
46
|
+
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.getDisks` data source maybe just used to query disk information that could be used elsewhere. It's recommended to use `machine.install.diskSelector` in Talos machine configuration.
|
|
47
47
|
*
|
|
48
48
|
* ## Example Usage
|
|
49
49
|
*
|
|
@@ -52,8 +52,8 @@ exports.disks = disks;
|
|
|
52
52
|
* import * as talos from "@pulumi/talos";
|
|
53
53
|
* import * as talos from "@pulumiverse/talos";
|
|
54
54
|
*
|
|
55
|
-
* const thisSecrets = new talos.machine.Secrets("
|
|
56
|
-
* const
|
|
55
|
+
* const thisSecrets = new talos.machine.Secrets("this", {});
|
|
56
|
+
* const this = talos.machine.getDisksOutput({
|
|
57
57
|
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
58
58
|
* node: "10.5.0.2",
|
|
59
59
|
* filters: {
|
|
@@ -61,11 +61,18 @@ exports.disks = disks;
|
|
|
61
61
|
* type: "nvme",
|
|
62
62
|
* },
|
|
63
63
|
* });
|
|
64
|
-
* export const nvmeDisks =
|
|
64
|
+
* export const nvmeDisks = _this.apply(_this => _this.disks.map(__item => __item.name));
|
|
65
65
|
* ```
|
|
66
66
|
*/
|
|
67
|
-
function
|
|
68
|
-
|
|
67
|
+
function getDisksOutput(args, opts) {
|
|
68
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
69
|
+
return pulumi.runtime.invokeOutput("talos:machine/getDisks:getDisks", {
|
|
70
|
+
"clientConfiguration": args.clientConfiguration,
|
|
71
|
+
"endpoint": args.endpoint,
|
|
72
|
+
"filters": args.filters,
|
|
73
|
+
"node": args.node,
|
|
74
|
+
"timeouts": args.timeouts,
|
|
75
|
+
}, opts);
|
|
69
76
|
}
|
|
70
|
-
exports.
|
|
71
|
-
//# sourceMappingURL=
|
|
77
|
+
exports.getDisksOutput = getDisksOutput;
|
|
78
|
+
//# sourceMappingURL=getDisks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDisks.js","sourceRoot":"","sources":["../../machine/getDisks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4BASC;AAuDD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wCASC"}
|
package/machine/index.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export declare const Bootstrap: typeof import("./bootstrap").Bootstrap;
|
|
|
4
4
|
export { ConfigurationApplyArgs, ConfigurationApplyState } from "./configurationApply";
|
|
5
5
|
export type ConfigurationApply = import("./configurationApply").ConfigurationApply;
|
|
6
6
|
export declare const ConfigurationApply: typeof import("./configurationApply").ConfigurationApply;
|
|
7
|
-
export { DisksArgs, DisksResult, DisksOutputArgs } from "./disks";
|
|
8
|
-
export declare const disks: typeof import("./disks").disks;
|
|
9
|
-
export declare const disksOutput: typeof import("./disks").disksOutput;
|
|
10
7
|
export { GetConfigurationArgs, GetConfigurationResult, GetConfigurationOutputArgs } from "./getConfiguration";
|
|
11
8
|
export declare const getConfiguration: typeof import("./getConfiguration").getConfiguration;
|
|
12
9
|
export declare const getConfigurationOutput: typeof import("./getConfiguration").getConfigurationOutput;
|
|
10
|
+
export { GetDisksArgs, GetDisksResult, GetDisksOutputArgs } from "./getDisks";
|
|
11
|
+
export declare const getDisks: typeof import("./getDisks").getDisks;
|
|
12
|
+
export declare const getDisksOutput: typeof import("./getDisks").getDisksOutput;
|
|
13
13
|
export { SecretsArgs, SecretsState } from "./secrets";
|
|
14
14
|
export type Secrets = import("./secrets").Secrets;
|
|
15
15
|
export declare const Secrets: typeof import("./secrets").Secrets;
|
package/machine/index.js
CHANGED
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.Secrets = exports.
|
|
5
|
+
exports.Secrets = exports.getDisksOutput = exports.getDisks = exports.getConfigurationOutput = exports.getConfiguration = exports.ConfigurationApply = exports.Bootstrap = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Bootstrap = null;
|
|
9
9
|
utilities.lazyLoad(exports, ["Bootstrap"], () => require("./bootstrap"));
|
|
10
10
|
exports.ConfigurationApply = null;
|
|
11
11
|
utilities.lazyLoad(exports, ["ConfigurationApply"], () => require("./configurationApply"));
|
|
12
|
-
exports.disks = null;
|
|
13
|
-
exports.disksOutput = null;
|
|
14
|
-
utilities.lazyLoad(exports, ["disks", "disksOutput"], () => require("./disks"));
|
|
15
12
|
exports.getConfiguration = null;
|
|
16
13
|
exports.getConfigurationOutput = null;
|
|
17
14
|
utilities.lazyLoad(exports, ["getConfiguration", "getConfigurationOutput"], () => require("./getConfiguration"));
|
|
15
|
+
exports.getDisks = null;
|
|
16
|
+
exports.getDisksOutput = null;
|
|
17
|
+
utilities.lazyLoad(exports, ["getDisks", "getDisksOutput"], () => require("./getDisks"));
|
|
18
18
|
exports.Secrets = null;
|
|
19
19
|
utilities.lazyLoad(exports, ["Secrets"], () => require("./secrets"));
|
|
20
20
|
const _module = {
|
package/machine/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../machine/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAG9E,QAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../machine/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAC7E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAI5D,QAAA,kBAAkB,GAA6D,IAAW,CAAC;AACxG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,oBAAoB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC,CAAC;AAG9E,QAAA,gBAAgB,GAAyD,IAAW,CAAC;AACrF,QAAA,sBAAsB,GAA+D,IAAW,CAAC;AAC9G,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,kBAAkB,EAAC,wBAAwB,CAAC,EAAE,GAAG,EAA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E,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
|
package/machine/secrets.d.ts
CHANGED
|
@@ -10,15 +10,17 @@ import * as outputs from "../types/output";
|
|
|
10
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
11
|
* import * as talos from "@pulumiverse/talos";
|
|
12
12
|
*
|
|
13
|
-
* const machineSecrets = new talos.machine.Secrets("
|
|
13
|
+
* const machineSecrets = new talos.machine.Secrets("machine_secrets", {});
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
16
|
* ## Import
|
|
17
17
|
*
|
|
18
|
-
* terraform
|
|
18
|
+
* terraform
|
|
19
|
+
*
|
|
20
|
+
* machine secrets can be imported from an existing secrets file
|
|
19
21
|
*
|
|
20
22
|
* ```sh
|
|
21
|
-
*
|
|
23
|
+
* $ pulumi import talos:machine/secrets:Secrets this <path-to-secrets.yaml>
|
|
22
24
|
* ```
|
|
23
25
|
*/
|
|
24
26
|
export declare class Secrets extends pulumi.CustomResource {
|
|
@@ -40,7 +42,7 @@ export declare class Secrets extends pulumi.CustomResource {
|
|
|
40
42
|
/**
|
|
41
43
|
* The generated client configuration data
|
|
42
44
|
*/
|
|
43
|
-
readonly clientConfiguration: pulumi.Output<outputs.machine.
|
|
45
|
+
readonly clientConfiguration: pulumi.Output<outputs.machine.ClientConfiguration>;
|
|
44
46
|
/**
|
|
45
47
|
* The secrets for the talos cluster
|
|
46
48
|
*/
|
|
@@ -65,7 +67,7 @@ export interface SecretsState {
|
|
|
65
67
|
/**
|
|
66
68
|
* The generated client configuration data
|
|
67
69
|
*/
|
|
68
|
-
clientConfiguration?: pulumi.Input<inputs.machine.
|
|
70
|
+
clientConfiguration?: pulumi.Input<inputs.machine.ClientConfiguration>;
|
|
69
71
|
/**
|
|
70
72
|
* The secrets for the talos cluster
|
|
71
73
|
*/
|
package/machine/secrets.js
CHANGED
|
@@ -14,15 +14,17 @@ const utilities = require("../utilities");
|
|
|
14
14
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
15
|
* import * as talos from "@pulumiverse/talos";
|
|
16
16
|
*
|
|
17
|
-
* const machineSecrets = new talos.machine.Secrets("
|
|
17
|
+
* const machineSecrets = new talos.machine.Secrets("machine_secrets", {});
|
|
18
18
|
* ```
|
|
19
19
|
*
|
|
20
20
|
* ## Import
|
|
21
21
|
*
|
|
22
|
-
* terraform
|
|
22
|
+
* terraform
|
|
23
|
+
*
|
|
24
|
+
* machine secrets can be imported from an existing secrets file
|
|
23
25
|
*
|
|
24
26
|
* ```sh
|
|
25
|
-
*
|
|
27
|
+
* $ pulumi import talos:machine/secrets:Secrets this <path-to-secrets.yaml>
|
|
26
28
|
* ```
|
|
27
29
|
*/
|
|
28
30
|
class Secrets extends pulumi.CustomResource {
|
package/machine/secrets.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../machine/secrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"secrets.js","sourceRoot":"","sources":["../../machine/secrets.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,C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
"version": "
|
|
3
|
+
"version": "0.2.1-alpha.1730838892",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Talos Linux machines and clusters.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "talos",
|
|
27
|
+
"version": "0.2.1-alpha.1730838892",
|
|
27
28
|
"server": "github://api.github.com/pulumiverse"
|
|
28
29
|
}
|
|
29
30
|
}
|