@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
package/machine/disks.d.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
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.Disks` 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("thisSecrets", {});
|
|
17
|
-
* const thisDisks = talos.machine.DisksOutput({
|
|
18
|
-
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
19
|
-
* node: "10.5.0.2",
|
|
20
|
-
* filters: {
|
|
21
|
-
* size: "> 100GB",
|
|
22
|
-
* type: "nvme",
|
|
23
|
-
* },
|
|
24
|
-
* });
|
|
25
|
-
* export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name));
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare function disks(args: DisksArgs, opts?: pulumi.InvokeOptions): Promise<DisksResult>;
|
|
29
|
-
/**
|
|
30
|
-
* A collection of arguments for invoking Disks.
|
|
31
|
-
*/
|
|
32
|
-
export interface DisksArgs {
|
|
33
|
-
/**
|
|
34
|
-
* The client configuration data
|
|
35
|
-
*/
|
|
36
|
-
clientConfiguration: inputs.machine.DisksClientConfiguration;
|
|
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.DisksFilters;
|
|
45
|
-
/**
|
|
46
|
-
* controlplane node to retrieve the kubeconfig from
|
|
47
|
-
*/
|
|
48
|
-
node: string;
|
|
49
|
-
timeouts?: inputs.machine.DisksTimeouts;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* A collection of values returned by Disks.
|
|
53
|
-
*/
|
|
54
|
-
export interface DisksResult {
|
|
55
|
-
/**
|
|
56
|
-
* The client configuration data
|
|
57
|
-
*/
|
|
58
|
-
readonly clientConfiguration: outputs.machine.DisksClientConfiguration;
|
|
59
|
-
/**
|
|
60
|
-
* The disks that match the filters
|
|
61
|
-
*/
|
|
62
|
-
readonly disks: outputs.machine.DisksDisk[];
|
|
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.DisksFilters;
|
|
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.DisksTimeouts;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Generate a machine configuration for a node type
|
|
83
|
-
*
|
|
84
|
-
* > **Note:** Since Talos natively supports `.machine.install.diskSelector`, the `talos.machine.Disks` 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("thisSecrets", {});
|
|
94
|
-
* const thisDisks = talos.machine.DisksOutput({
|
|
95
|
-
* clientConfiguration: thisSecrets.clientConfiguration,
|
|
96
|
-
* node: "10.5.0.2",
|
|
97
|
-
* filters: {
|
|
98
|
-
* size: "> 100GB",
|
|
99
|
-
* type: "nvme",
|
|
100
|
-
* },
|
|
101
|
-
* });
|
|
102
|
-
* export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name));
|
|
103
|
-
* ```
|
|
104
|
-
*/
|
|
105
|
-
export declare function disksOutput(args: DisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DisksResult>;
|
|
106
|
-
/**
|
|
107
|
-
* A collection of arguments for invoking Disks.
|
|
108
|
-
*/
|
|
109
|
-
export interface DisksOutputArgs {
|
|
110
|
-
/**
|
|
111
|
-
* The client configuration data
|
|
112
|
-
*/
|
|
113
|
-
clientConfiguration: pulumi.Input<inputs.machine.DisksClientConfigurationArgs>;
|
|
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.DisksFiltersArgs>;
|
|
122
|
-
/**
|
|
123
|
-
* controlplane node to retrieve the kubeconfig from
|
|
124
|
-
*/
|
|
125
|
-
node: pulumi.Input<string>;
|
|
126
|
-
timeouts?: pulumi.Input<inputs.machine.DisksTimeoutsArgs>;
|
|
127
|
-
}
|
package/machine/disks.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"disks.js","sourceRoot":"","sources":["../../machine/disks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,KAAK,CAAC,IAAe,EAAE,IAA2B;IAE9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2BAA2B,EAAE;QACtD,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;AAVD,sBAUC;AAuDD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAC1E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChE,CAAC;AAFD,kCAEC"}
|
package/package.json.bak
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pulumiverse/talos",
|
|
3
|
-
"version": "${VERSION}",
|
|
4
|
-
"description": "A Pulumi package for creating and managing Talos Linux machines and clusters.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pulumi",
|
|
7
|
-
"talos",
|
|
8
|
-
"category/infrastructure"
|
|
9
|
-
],
|
|
10
|
-
"homepage": "https://talos.dev",
|
|
11
|
-
"repository": "https://github.com/pulumiverse/pulumi-talos",
|
|
12
|
-
"license": "MPL-2.0",
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "tsc"
|
|
15
|
-
},
|
|
16
|
-
"dependencies": {
|
|
17
|
-
"@pulumi/pulumi": "^3.0.0"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@types/mime": "^2.0.0",
|
|
21
|
-
"@types/node": "^10.0.0",
|
|
22
|
-
"typescript": "^4.3.5"
|
|
23
|
-
},
|
|
24
|
-
"pulumi": {
|
|
25
|
-
"resource": true,
|
|
26
|
-
"name": "talos",
|
|
27
|
-
"server": "github://api.github.com/pulumiverse"
|
|
28
|
-
}
|
|
29
|
-
}
|