@pulumiverse/talos 0.1.8 → 0.2.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.
@@ -12,22 +12,22 @@ import * as outputs from "../types/output";
12
12
  * import * as talos from "@pulumiverse/talos";
13
13
  *
14
14
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
15
- * const thisConfiguration = talos.client.ConfigurationOutput({
15
+ * const thisConfiguration = talos.client.getConfigurationOutput({
16
16
  * clusterName: "example-cluster",
17
17
  * clientConfiguration: thisSecrets.clientConfiguration,
18
18
  * nodes: ["10.5.0.2"],
19
19
  * });
20
20
  * ```
21
21
  */
22
- export declare function configuration(args: ConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<ConfigurationResult>;
22
+ export declare function getConfiguration(args: GetConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigurationResult>;
23
23
  /**
24
- * A collection of arguments for invoking Configuration.
24
+ * A collection of arguments for invoking getConfiguration.
25
25
  */
26
- export interface ConfigurationArgs {
26
+ export interface GetConfigurationArgs {
27
27
  /**
28
28
  * The client configuration data
29
29
  */
30
- clientConfiguration: inputs.client.ConfigurationClientConfiguration;
30
+ clientConfiguration: inputs.client.GetConfigurationClientConfiguration;
31
31
  /**
32
32
  * The name of the cluster in the generated config
33
33
  */
@@ -42,13 +42,13 @@ export interface ConfigurationArgs {
42
42
  nodes?: string[];
43
43
  }
44
44
  /**
45
- * A collection of values returned by Configuration.
45
+ * A collection of values returned by getConfiguration.
46
46
  */
47
- export interface ConfigurationResult {
47
+ export interface GetConfigurationResult {
48
48
  /**
49
49
  * The client configuration data
50
50
  */
51
- readonly clientConfiguration: outputs.client.ConfigurationClientConfiguration;
51
+ readonly clientConfiguration: outputs.client.GetConfigurationClientConfiguration;
52
52
  /**
53
53
  * The name of the cluster in the generated config
54
54
  */
@@ -81,22 +81,22 @@ export interface ConfigurationResult {
81
81
  * import * as talos from "@pulumiverse/talos";
82
82
  *
83
83
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
84
- * const thisConfiguration = talos.client.ConfigurationOutput({
84
+ * const thisConfiguration = talos.client.getConfigurationOutput({
85
85
  * clusterName: "example-cluster",
86
86
  * clientConfiguration: thisSecrets.clientConfiguration,
87
87
  * nodes: ["10.5.0.2"],
88
88
  * });
89
89
  * ```
90
90
  */
91
- export declare function configurationOutput(args: ConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<ConfigurationResult>;
91
+ export declare function getConfigurationOutput(args: GetConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConfigurationResult>;
92
92
  /**
93
- * A collection of arguments for invoking Configuration.
93
+ * A collection of arguments for invoking getConfiguration.
94
94
  */
95
- export interface ConfigurationOutputArgs {
95
+ export interface GetConfigurationOutputArgs {
96
96
  /**
97
97
  * The client configuration data
98
98
  */
99
- clientConfiguration: pulumi.Input<inputs.client.ConfigurationClientConfigurationArgs>;
99
+ clientConfiguration: pulumi.Input<inputs.client.GetConfigurationClientConfigurationArgs>;
100
100
  /**
101
101
  * The name of the cluster in the generated config
102
102
  */
@@ -2,7 +2,7 @@
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.configurationOutput = exports.configuration = void 0;
5
+ exports.getConfigurationOutput = exports.getConfiguration = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
@@ -16,23 +16,23 @@ const utilities = require("../utilities");
16
16
  * import * as talos from "@pulumiverse/talos";
17
17
  *
18
18
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
19
- * const thisConfiguration = talos.client.ConfigurationOutput({
19
+ * const thisConfiguration = talos.client.getConfigurationOutput({
20
20
  * clusterName: "example-cluster",
21
21
  * clientConfiguration: thisSecrets.clientConfiguration,
22
22
  * nodes: ["10.5.0.2"],
23
23
  * });
24
24
  * ```
25
25
  */
26
- function configuration(args, opts) {
26
+ function getConfiguration(args, opts) {
27
27
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
28
- return pulumi.runtime.invoke("talos:client/configuration:Configuration", {
28
+ return pulumi.runtime.invoke("talos:client/getConfiguration:getConfiguration", {
29
29
  "clientConfiguration": args.clientConfiguration,
30
30
  "clusterName": args.clusterName,
31
31
  "endpoints": args.endpoints,
32
32
  "nodes": args.nodes,
33
33
  }, opts);
34
34
  }
35
- exports.configuration = configuration;
35
+ exports.getConfiguration = getConfiguration;
36
36
  /**
37
37
  * Generate client configuration for a Talos cluster
38
38
  *
@@ -44,15 +44,15 @@ exports.configuration = configuration;
44
44
  * import * as talos from "@pulumiverse/talos";
45
45
  *
46
46
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
47
- * const thisConfiguration = talos.client.ConfigurationOutput({
47
+ * const thisConfiguration = talos.client.getConfigurationOutput({
48
48
  * clusterName: "example-cluster",
49
49
  * clientConfiguration: thisSecrets.clientConfiguration,
50
50
  * nodes: ["10.5.0.2"],
51
51
  * });
52
52
  * ```
53
53
  */
54
- function configurationOutput(args, opts) {
55
- return pulumi.output(args).apply((a) => configuration(a, opts));
54
+ function getConfigurationOutput(args, opts) {
55
+ return pulumi.output(args).apply((a) => getConfiguration(a, opts));
56
56
  }
57
- exports.configurationOutput = configurationOutput;
58
- //# sourceMappingURL=configuration.js.map
57
+ exports.getConfigurationOutput = getConfigurationOutput;
58
+ //# sourceMappingURL=getConfiguration.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConfiguration.js","sourceRoot":"","sources":["../../client/getConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AAqDD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
package/client/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export { ConfigurationArgs, ConfigurationResult, ConfigurationOutputArgs } from "./configuration";
2
- export declare const configuration: typeof import("./configuration").configuration;
3
- export declare const configurationOutput: typeof import("./configuration").configurationOutput;
1
+ export { GetConfigurationArgs, GetConfigurationResult, GetConfigurationOutputArgs } from "./getConfiguration";
2
+ export declare const getConfiguration: typeof import("./getConfiguration").getConfiguration;
3
+ export declare const getConfigurationOutput: typeof import("./getConfiguration").getConfigurationOutput;
package/client/index.js CHANGED
@@ -2,9 +2,9 @@
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.configurationOutput = exports.configuration = void 0;
5
+ exports.getConfigurationOutput = exports.getConfiguration = void 0;
6
6
  const utilities = require("../utilities");
7
- exports.configuration = null;
8
- exports.configurationOutput = null;
9
- utilities.lazyLoad(exports, ["configuration", "configurationOutput"], () => require("./configuration"));
7
+ exports.getConfiguration = null;
8
+ exports.getConfigurationOutput = null;
9
+ utilities.lazyLoad(exports, ["getConfiguration", "getConfigurationOutput"], () => require("./getConfiguration"));
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../client/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../client/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,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,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC"}
@@ -0,0 +1,81 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Checks the health of a Talos cluster
6
+ */
7
+ export declare function getHealth(args: GetHealthArgs, opts?: pulumi.InvokeOptions): Promise<GetHealthResult>;
8
+ /**
9
+ * A collection of arguments for invoking getHealth.
10
+ */
11
+ export interface GetHealthArgs {
12
+ /**
13
+ * The client configuration data
14
+ */
15
+ clientConfiguration: inputs.cluster.GetHealthClientConfiguration;
16
+ /**
17
+ * List of control plane nodes to check for health.
18
+ */
19
+ controlPlaneNodes: string[];
20
+ /**
21
+ * endpoints to use for the health check client. Use at least one control plane endpoint.
22
+ */
23
+ endpoints: string[];
24
+ timeouts?: inputs.cluster.GetHealthTimeouts;
25
+ /**
26
+ * List of worker nodes to check for health.
27
+ */
28
+ workerNodes?: string[];
29
+ }
30
+ /**
31
+ * A collection of values returned by getHealth.
32
+ */
33
+ export interface GetHealthResult {
34
+ /**
35
+ * The client configuration data
36
+ */
37
+ readonly clientConfiguration: outputs.cluster.GetHealthClientConfiguration;
38
+ /**
39
+ * List of control plane nodes to check for health.
40
+ */
41
+ readonly controlPlaneNodes: string[];
42
+ /**
43
+ * endpoints to use for the health check client. Use at least one control plane endpoint.
44
+ */
45
+ readonly endpoints: string[];
46
+ /**
47
+ * The ID of this resource.
48
+ */
49
+ readonly id: string;
50
+ readonly timeouts?: outputs.cluster.GetHealthTimeouts;
51
+ /**
52
+ * List of worker nodes to check for health.
53
+ */
54
+ readonly workerNodes?: string[];
55
+ }
56
+ /**
57
+ * Checks the health of a Talos cluster
58
+ */
59
+ export declare function getHealthOutput(args: GetHealthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetHealthResult>;
60
+ /**
61
+ * A collection of arguments for invoking getHealth.
62
+ */
63
+ export interface GetHealthOutputArgs {
64
+ /**
65
+ * The client configuration data
66
+ */
67
+ clientConfiguration: pulumi.Input<inputs.cluster.GetHealthClientConfigurationArgs>;
68
+ /**
69
+ * List of control plane nodes to check for health.
70
+ */
71
+ controlPlaneNodes: pulumi.Input<pulumi.Input<string>[]>;
72
+ /**
73
+ * endpoints to use for the health check client. Use at least one control plane endpoint.
74
+ */
75
+ endpoints: pulumi.Input<pulumi.Input<string>[]>;
76
+ timeouts?: pulumi.Input<inputs.cluster.GetHealthTimeoutsArgs>;
77
+ /**
78
+ * List of worker nodes to check for health.
79
+ */
80
+ workerNodes?: pulumi.Input<pulumi.Input<string>[]>;
81
+ }
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getHealthOutput = exports.getHealth = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * Checks the health of a Talos cluster
10
+ */
11
+ function getHealth(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("talos:cluster/getHealth:getHealth", {
14
+ "clientConfiguration": args.clientConfiguration,
15
+ "controlPlaneNodes": args.controlPlaneNodes,
16
+ "endpoints": args.endpoints,
17
+ "timeouts": args.timeouts,
18
+ "workerNodes": args.workerNodes,
19
+ }, opts);
20
+ }
21
+ exports.getHealth = getHealth;
22
+ /**
23
+ * Checks the health of a Talos cluster
24
+ */
25
+ function getHealthOutput(args, opts) {
26
+ return pulumi.output(args).apply((a) => getHealth(a, opts));
27
+ }
28
+ exports.getHealthOutput = getHealthOutput;
29
+ //# sourceMappingURL=getHealth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getHealth.js","sourceRoot":"","sources":["../../cluster/getHealth.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,8BAUC;AAmDD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -0,0 +1,95 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * Retrieves the kubeconfig for a Talos cluster
6
+ */
7
+ export declare function getKubeconfig(args: GetKubeconfigArgs, opts?: pulumi.InvokeOptions): Promise<GetKubeconfigResult>;
8
+ /**
9
+ * A collection of arguments for invoking getKubeconfig.
10
+ */
11
+ export interface GetKubeconfigArgs {
12
+ /**
13
+ * The client configuration data
14
+ */
15
+ clientConfiguration: inputs.cluster.GetKubeconfigClientConfiguration;
16
+ /**
17
+ * endpoint to use for the talosclient. If not set, the node value will be used
18
+ */
19
+ endpoint?: string;
20
+ /**
21
+ * controlplane node to retrieve the kubeconfig from
22
+ */
23
+ node: string;
24
+ timeouts?: inputs.cluster.GetKubeconfigTimeouts;
25
+ /**
26
+ * Wait for the kubernetes api to be available
27
+ *
28
+ * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead.
29
+ */
30
+ wait?: boolean;
31
+ }
32
+ /**
33
+ * A collection of values returned by getKubeconfig.
34
+ */
35
+ export interface GetKubeconfigResult {
36
+ /**
37
+ * The client configuration data
38
+ */
39
+ readonly clientConfiguration: outputs.cluster.GetKubeconfigClientConfiguration;
40
+ /**
41
+ * endpoint to use for the talosclient. If not set, the node value will be used
42
+ */
43
+ readonly endpoint: string;
44
+ /**
45
+ * The ID of this resource.
46
+ */
47
+ readonly id: string;
48
+ /**
49
+ * The raw kubeconfig
50
+ */
51
+ readonly kubeconfigRaw: string;
52
+ /**
53
+ * The kubernetes client configuration
54
+ */
55
+ readonly kubernetesClientConfiguration: outputs.cluster.GetKubeconfigKubernetesClientConfiguration;
56
+ /**
57
+ * controlplane node to retrieve the kubeconfig from
58
+ */
59
+ readonly node: string;
60
+ readonly timeouts?: outputs.cluster.GetKubeconfigTimeouts;
61
+ /**
62
+ * Wait for the kubernetes api to be available
63
+ *
64
+ * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead.
65
+ */
66
+ readonly wait?: boolean;
67
+ }
68
+ /**
69
+ * Retrieves the kubeconfig for a Talos cluster
70
+ */
71
+ export declare function getKubeconfigOutput(args: GetKubeconfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetKubeconfigResult>;
72
+ /**
73
+ * A collection of arguments for invoking getKubeconfig.
74
+ */
75
+ export interface GetKubeconfigOutputArgs {
76
+ /**
77
+ * The client configuration data
78
+ */
79
+ clientConfiguration: pulumi.Input<inputs.cluster.GetKubeconfigClientConfigurationArgs>;
80
+ /**
81
+ * endpoint to use for the talosclient. If not set, the node value will be used
82
+ */
83
+ endpoint?: pulumi.Input<string>;
84
+ /**
85
+ * controlplane node to retrieve the kubeconfig from
86
+ */
87
+ node: pulumi.Input<string>;
88
+ timeouts?: pulumi.Input<inputs.cluster.GetKubeconfigTimeoutsArgs>;
89
+ /**
90
+ * Wait for the kubernetes api to be available
91
+ *
92
+ * @deprecated This attribute is deprecated and no-op. Will be removed in a future version. Use talos_cluster_health instead.
93
+ */
94
+ wait?: pulumi.Input<boolean>;
95
+ }
@@ -2,15 +2,15 @@
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.kubeconfigOutput = exports.kubeconfig = void 0;
5
+ exports.getKubeconfigOutput = exports.getKubeconfig = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
9
  * Retrieves the kubeconfig for a Talos cluster
10
10
  */
11
- function kubeconfig(args, opts) {
11
+ function getKubeconfig(args, opts) {
12
12
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
- return pulumi.runtime.invoke("talos:cluster/kubeconfig:Kubeconfig", {
13
+ return pulumi.runtime.invoke("talos:cluster/getKubeconfig:getKubeconfig", {
14
14
  "clientConfiguration": args.clientConfiguration,
15
15
  "endpoint": args.endpoint,
16
16
  "node": args.node,
@@ -18,12 +18,12 @@ function kubeconfig(args, opts) {
18
18
  "wait": args.wait,
19
19
  }, opts);
20
20
  }
21
- exports.kubeconfig = kubeconfig;
21
+ exports.getKubeconfig = getKubeconfig;
22
22
  /**
23
23
  * Retrieves the kubeconfig for a Talos cluster
24
24
  */
25
- function kubeconfigOutput(args, opts) {
26
- return pulumi.output(args).apply((a) => kubeconfig(a, opts));
25
+ function getKubeconfigOutput(args, opts) {
26
+ return pulumi.output(args).apply((a) => getKubeconfig(a, opts));
27
27
  }
28
- exports.kubeconfigOutput = kubeconfigOutput;
29
- //# sourceMappingURL=kubeconfig.js.map
28
+ exports.getKubeconfigOutput = getKubeconfigOutput;
29
+ //# sourceMappingURL=getKubeconfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getKubeconfig.js","sourceRoot":"","sources":["../../cluster/getKubeconfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC;AA+DD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -1,3 +1,6 @@
1
- export { KubeconfigArgs, KubeconfigResult, KubeconfigOutputArgs } from "./kubeconfig";
2
- export declare const kubeconfig: typeof import("./kubeconfig").kubeconfig;
3
- export declare const kubeconfigOutput: typeof import("./kubeconfig").kubeconfigOutput;
1
+ export { GetHealthArgs, GetHealthResult, GetHealthOutputArgs } from "./getHealth";
2
+ export declare const getHealth: typeof import("./getHealth").getHealth;
3
+ export declare const getHealthOutput: typeof import("./getHealth").getHealthOutput;
4
+ export { GetKubeconfigArgs, GetKubeconfigResult, GetKubeconfigOutputArgs } from "./getKubeconfig";
5
+ export declare const getKubeconfig: typeof import("./getKubeconfig").getKubeconfig;
6
+ export declare const getKubeconfigOutput: typeof import("./getKubeconfig").getKubeconfigOutput;
package/cluster/index.js CHANGED
@@ -2,9 +2,12 @@
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.kubeconfigOutput = exports.kubeconfig = void 0;
5
+ exports.getKubeconfigOutput = exports.getKubeconfig = exports.getHealthOutput = exports.getHealth = void 0;
6
6
  const utilities = require("../utilities");
7
- exports.kubeconfig = null;
8
- exports.kubeconfigOutput = null;
9
- utilities.lazyLoad(exports, ["kubeconfig", "kubeconfigOutput"], () => require("./kubeconfig"));
7
+ exports.getHealth = null;
8
+ exports.getHealthOutput = null;
9
+ utilities.lazyLoad(exports, ["getHealth", "getHealthOutput"], () => require("./getHealth"));
10
+ exports.getKubeconfig = null;
11
+ exports.getKubeconfigOutput = null;
12
+ utilities.lazyLoad(exports, ["getKubeconfig", "getKubeconfigOutput"], () => require("./getKubeconfig"));
10
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cluster/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE,QAAA,gBAAgB,GAAmD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,EAAC,kBAAkB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../cluster/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,0CAA0C;AAI7B,QAAA,SAAS,GAA2C,IAAW,CAAC;AAChE,QAAA,eAAe,GAAiD,IAAW,CAAC;AACzF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,WAAW,EAAC,iBAAiB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC;AAG9E,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC"}
@@ -4,7 +4,7 @@ import * as outputs from "../types/output";
4
4
  /**
5
5
  * Generate a machine configuration for a node type
6
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.
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
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -14,7 +14,7 @@ import * as outputs from "../types/output";
14
14
  * import * as talos from "@pulumiverse/talos";
15
15
  *
16
16
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
17
- * const thisDisks = talos.machine.DisksOutput({
17
+ * const thisDisks = talos.machine.getDisksOutput({
18
18
  * clientConfiguration: thisSecrets.clientConfiguration,
19
19
  * node: "10.5.0.2",
20
20
  * filters: {
@@ -25,49 +25,49 @@ import * as outputs from "../types/output";
25
25
  * export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name));
26
26
  * ```
27
27
  */
28
- export declare function disks(args: DisksArgs, opts?: pulumi.InvokeOptions): Promise<DisksResult>;
28
+ export declare function getDisks(args: GetDisksArgs, opts?: pulumi.InvokeOptions): Promise<GetDisksResult>;
29
29
  /**
30
- * A collection of arguments for invoking Disks.
30
+ * A collection of arguments for invoking getDisks.
31
31
  */
32
- export interface DisksArgs {
32
+ export interface GetDisksArgs {
33
33
  /**
34
34
  * The client configuration data
35
35
  */
36
- clientConfiguration: inputs.machine.DisksClientConfiguration;
36
+ clientConfiguration: inputs.machine.GetDisksClientConfiguration;
37
37
  /**
38
- * endpoint to use for the talosclient. if not set, the node value will be used
38
+ * endpoint to use for the talosclient. If not set, the node value will be used
39
39
  */
40
40
  endpoint?: string;
41
41
  /**
42
42
  * Filters to apply to the disks
43
43
  */
44
- filters?: inputs.machine.DisksFilters;
44
+ filters?: inputs.machine.GetDisksFilters;
45
45
  /**
46
46
  * controlplane node to retrieve the kubeconfig from
47
47
  */
48
48
  node: string;
49
- timeouts?: inputs.machine.DisksTimeouts;
49
+ timeouts?: inputs.machine.GetDisksTimeouts;
50
50
  }
51
51
  /**
52
- * A collection of values returned by Disks.
52
+ * A collection of values returned by getDisks.
53
53
  */
54
- export interface DisksResult {
54
+ export interface GetDisksResult {
55
55
  /**
56
56
  * The client configuration data
57
57
  */
58
- readonly clientConfiguration: outputs.machine.DisksClientConfiguration;
58
+ readonly clientConfiguration: outputs.machine.GetDisksClientConfiguration;
59
59
  /**
60
60
  * The disks that match the filters
61
61
  */
62
- readonly disks: outputs.machine.DisksDisk[];
62
+ readonly disks: outputs.machine.GetDisksDisk[];
63
63
  /**
64
- * endpoint to use for the talosclient. if not set, the node value will be used
64
+ * endpoint to use for the talosclient. If not set, the node value will be used
65
65
  */
66
66
  readonly endpoint: string;
67
67
  /**
68
68
  * Filters to apply to the disks
69
69
  */
70
- readonly filters?: outputs.machine.DisksFilters;
70
+ readonly filters?: outputs.machine.GetDisksFilters;
71
71
  /**
72
72
  * The generated ID of this resource
73
73
  */
@@ -76,12 +76,12 @@ export interface DisksResult {
76
76
  * controlplane node to retrieve the kubeconfig from
77
77
  */
78
78
  readonly node: string;
79
- readonly timeouts?: outputs.machine.DisksTimeouts;
79
+ readonly timeouts?: outputs.machine.GetDisksTimeouts;
80
80
  }
81
81
  /**
82
82
  * Generate a machine configuration for a node type
83
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.
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
85
  *
86
86
  * ## Example Usage
87
87
  *
@@ -91,7 +91,7 @@ export interface DisksResult {
91
91
  * import * as talos from "@pulumiverse/talos";
92
92
  *
93
93
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
94
- * const thisDisks = talos.machine.DisksOutput({
94
+ * const thisDisks = talos.machine.getDisksOutput({
95
95
  * clientConfiguration: thisSecrets.clientConfiguration,
96
96
  * node: "10.5.0.2",
97
97
  * filters: {
@@ -102,26 +102,26 @@ export interface DisksResult {
102
102
  * export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name));
103
103
  * ```
104
104
  */
105
- export declare function disksOutput(args: DisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<DisksResult>;
105
+ export declare function getDisksOutput(args: GetDisksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDisksResult>;
106
106
  /**
107
- * A collection of arguments for invoking Disks.
107
+ * A collection of arguments for invoking getDisks.
108
108
  */
109
- export interface DisksOutputArgs {
109
+ export interface GetDisksOutputArgs {
110
110
  /**
111
111
  * The client configuration data
112
112
  */
113
- clientConfiguration: pulumi.Input<inputs.machine.DisksClientConfigurationArgs>;
113
+ clientConfiguration: pulumi.Input<inputs.machine.GetDisksClientConfigurationArgs>;
114
114
  /**
115
- * endpoint to use for the talosclient. if not set, the node value will be used
115
+ * endpoint to use for the talosclient. If not set, the node value will be used
116
116
  */
117
117
  endpoint?: pulumi.Input<string>;
118
118
  /**
119
119
  * Filters to apply to the disks
120
120
  */
121
- filters?: pulumi.Input<inputs.machine.DisksFiltersArgs>;
121
+ filters?: pulumi.Input<inputs.machine.GetDisksFiltersArgs>;
122
122
  /**
123
123
  * controlplane node to retrieve the kubeconfig from
124
124
  */
125
125
  node: pulumi.Input<string>;
126
- timeouts?: pulumi.Input<inputs.machine.DisksTimeoutsArgs>;
126
+ timeouts?: pulumi.Input<inputs.machine.GetDisksTimeoutsArgs>;
127
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.disksOutput = exports.disks = void 0;
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.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.
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
  *
@@ -18,7 +18,7 @@ const utilities = require("../utilities");
18
18
  * import * as talos from "@pulumiverse/talos";
19
19
  *
20
20
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
21
- * const thisDisks = talos.machine.DisksOutput({
21
+ * const thisDisks = talos.machine.getDisksOutput({
22
22
  * clientConfiguration: thisSecrets.clientConfiguration,
23
23
  * node: "10.5.0.2",
24
24
  * filters: {
@@ -29,9 +29,9 @@ const utilities = require("../utilities");
29
29
  * export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name));
30
30
  * ```
31
31
  */
32
- function disks(args, opts) {
32
+ function getDisks(args, opts) {
33
33
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
34
- return pulumi.runtime.invoke("talos:machine/disks:Disks", {
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.disks = disks;
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.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.
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
  *
@@ -53,7 +53,7 @@ exports.disks = disks;
53
53
  * import * as talos from "@pulumiverse/talos";
54
54
  *
55
55
  * const thisSecrets = new talos.machine.Secrets("thisSecrets", {});
56
- * const thisDisks = talos.machine.DisksOutput({
56
+ * const thisDisks = talos.machine.getDisksOutput({
57
57
  * clientConfiguration: thisSecrets.clientConfiguration,
58
58
  * node: "10.5.0.2",
59
59
  * filters: {
@@ -64,8 +64,8 @@ exports.disks = disks;
64
64
  * export const nvmeDisks = thisDisks.apply(thisDisks => thisDisks.disks.map(__item => __item.name));
65
65
  * ```
66
66
  */
67
- function disksOutput(args, opts) {
68
- return pulumi.output(args).apply((a) => disks(a, opts));
67
+ function getDisksOutput(args, opts) {
68
+ return pulumi.output(args).apply((a) => getDisks(a, opts));
69
69
  }
70
- exports.disksOutput = disksOutput;
71
- //# sourceMappingURL=disks.js.map
70
+ exports.getDisksOutput = getDisksOutput;
71
+ //# 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;IAEpE,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;AAVD,4BAUC;AAuDD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
@@ -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.getConfigurationOutput = exports.getConfiguration = exports.disksOutput = exports.disks = exports.ConfigurationApply = exports.Bootstrap = void 0;
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 = {
@@ -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,I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AC;AAI3E,QAAA,OAAO,GAAuC,IAAW,CAAC;AACvE,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGrE,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,mCAAmC;gBACpC,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD,KAAK,qDAAqD;gBACtD,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,+BAA+B;gBAChC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAC5E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,4BAA4B,EAAE,OAAO,CAAC,CAAA;AACrF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/talos",
3
- "version": "v0.1.8",
3
+ "version": "v0.2.0",
4
4
  "description": "A Pulumi package for creating and managing Talos Linux machines and clusters.",
5
5
  "keywords": [
6
6
  "pulumi",
package/types/input.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "../types/input";
3
3
  export declare namespace client {
4
- interface ConfigurationClientConfiguration {
4
+ interface GetConfigurationClientConfiguration {
5
5
  /**
6
6
  * The client CA certificate
7
7
  */
@@ -15,7 +15,7 @@ export declare namespace client {
15
15
  */
16
16
  clientKey: string;
17
17
  }
18
- interface ConfigurationClientConfigurationArgs {
18
+ interface GetConfigurationClientConfigurationArgs {
19
19
  /**
20
20
  * The client CA certificate
21
21
  */
@@ -31,7 +31,7 @@ export declare namespace client {
31
31
  }
32
32
  }
33
33
  export declare namespace cluster {
34
- interface KubeconfigClientConfiguration {
34
+ interface GetHealthClientConfiguration {
35
35
  /**
36
36
  * The client CA certificate
37
37
  */
@@ -45,7 +45,7 @@ export declare namespace cluster {
45
45
  */
46
46
  clientKey: string;
47
47
  }
48
- interface KubeconfigClientConfigurationArgs {
48
+ interface GetHealthClientConfigurationArgs {
49
49
  /**
50
50
  * The client CA certificate
51
51
  */
@@ -59,13 +59,53 @@ export declare namespace cluster {
59
59
  */
60
60
  clientKey: pulumi.Input<string>;
61
61
  }
62
- interface KubeconfigTimeouts {
62
+ interface GetHealthTimeouts {
63
63
  /**
64
64
  * 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.
65
65
  */
66
66
  read?: string;
67
67
  }
68
- interface KubeconfigTimeoutsArgs {
68
+ interface GetHealthTimeoutsArgs {
69
+ /**
70
+ * 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.
71
+ */
72
+ read?: pulumi.Input<string>;
73
+ }
74
+ interface GetKubeconfigClientConfiguration {
75
+ /**
76
+ * The client CA certificate
77
+ */
78
+ caCertificate: string;
79
+ /**
80
+ * The client certificate
81
+ */
82
+ clientCertificate: string;
83
+ /**
84
+ * The client key
85
+ */
86
+ clientKey: string;
87
+ }
88
+ interface GetKubeconfigClientConfigurationArgs {
89
+ /**
90
+ * The client CA certificate
91
+ */
92
+ caCertificate: pulumi.Input<string>;
93
+ /**
94
+ * The client certificate
95
+ */
96
+ clientCertificate: pulumi.Input<string>;
97
+ /**
98
+ * The client key
99
+ */
100
+ clientKey: pulumi.Input<string>;
101
+ }
102
+ interface GetKubeconfigTimeouts {
103
+ /**
104
+ * 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.
105
+ */
106
+ read?: string;
107
+ }
108
+ interface GetKubeconfigTimeoutsArgs {
69
109
  /**
70
110
  * 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.
71
111
  */
@@ -179,7 +219,7 @@ export declare namespace machine {
179
219
  */
180
220
  clientKey: pulumi.Input<string>;
181
221
  }
182
- interface DisksClientConfiguration {
222
+ interface GetDisksClientConfiguration {
183
223
  /**
184
224
  * The client CA certificate
185
225
  */
@@ -193,7 +233,7 @@ export declare namespace machine {
193
233
  */
194
234
  clientKey: string;
195
235
  }
196
- interface DisksClientConfigurationArgs {
236
+ interface GetDisksClientConfigurationArgs {
197
237
  /**
198
238
  * The client CA certificate
199
239
  */
@@ -207,7 +247,7 @@ export declare namespace machine {
207
247
  */
208
248
  clientKey: pulumi.Input<string>;
209
249
  }
210
- interface DisksFilters {
250
+ interface GetDisksFilters {
211
251
  /**
212
252
  * Filter disks by bus path
213
253
  */
@@ -245,7 +285,7 @@ export declare namespace machine {
245
285
  */
246
286
  wwid?: string;
247
287
  }
248
- interface DisksFiltersArgs {
288
+ interface GetDisksFiltersArgs {
249
289
  /**
250
290
  * Filter disks by bus path
251
291
  */
@@ -283,13 +323,13 @@ export declare namespace machine {
283
323
  */
284
324
  wwid?: pulumi.Input<string>;
285
325
  }
286
- interface DisksTimeouts {
326
+ interface GetDisksTimeouts {
287
327
  /**
288
328
  * 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.
289
329
  */
290
330
  read?: string;
291
331
  }
292
- interface DisksTimeoutsArgs {
332
+ interface GetDisksTimeoutsArgs {
293
333
  /**
294
334
  * 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.
295
335
  */
package/types/output.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as outputs from "../types/output";
2
2
  export declare namespace client {
3
- interface ConfigurationClientConfiguration {
3
+ interface GetConfigurationClientConfiguration {
4
4
  /**
5
5
  * The client CA certificate
6
6
  */
@@ -16,7 +16,7 @@ export declare namespace client {
16
16
  }
17
17
  }
18
18
  export declare namespace cluster {
19
- interface KubeconfigClientConfiguration {
19
+ interface GetHealthClientConfiguration {
20
20
  /**
21
21
  * The client CA certificate
22
22
  */
@@ -30,7 +30,27 @@ export declare namespace cluster {
30
30
  */
31
31
  clientKey: string;
32
32
  }
33
- interface KubeconfigKubernetesClientConfiguration {
33
+ interface GetHealthTimeouts {
34
+ /**
35
+ * 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.
36
+ */
37
+ read?: string;
38
+ }
39
+ interface GetKubeconfigClientConfiguration {
40
+ /**
41
+ * The client CA certificate
42
+ */
43
+ caCertificate: string;
44
+ /**
45
+ * The client certificate
46
+ */
47
+ clientCertificate: string;
48
+ /**
49
+ * The client key
50
+ */
51
+ clientKey: string;
52
+ }
53
+ interface GetKubeconfigKubernetesClientConfiguration {
34
54
  /**
35
55
  * The kubernetes CA certificate
36
56
  */
@@ -48,7 +68,7 @@ export declare namespace cluster {
48
68
  */
49
69
  host: string;
50
70
  }
51
- interface KubeconfigTimeouts {
71
+ interface GetKubeconfigTimeouts {
52
72
  /**
53
73
  * 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.
54
74
  */
@@ -126,7 +146,7 @@ export declare namespace machine {
126
146
  */
127
147
  clientKey: string;
128
148
  }
129
- interface DisksClientConfiguration {
149
+ interface GetDisksClientConfiguration {
130
150
  /**
131
151
  * The client CA certificate
132
152
  */
@@ -140,7 +160,7 @@ export declare namespace machine {
140
160
  */
141
161
  clientKey: string;
142
162
  }
143
- interface DisksDisk {
163
+ interface GetDisksDisk {
144
164
  /**
145
165
  * The bus path of the disk
146
166
  */
@@ -178,7 +198,7 @@ export declare namespace machine {
178
198
  */
179
199
  wwid: string;
180
200
  }
181
- interface DisksFilters {
201
+ interface GetDisksFilters {
182
202
  /**
183
203
  * Filter disks by bus path
184
204
  */
@@ -216,7 +236,7 @@ export declare namespace machine {
216
236
  */
217
237
  wwid?: string;
218
238
  }
219
- interface DisksTimeouts {
239
+ interface GetDisksTimeouts {
220
240
  /**
221
241
  * 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.
222
242
  */
package/utilities.d.ts CHANGED
@@ -1,4 +1,8 @@
1
+ import * as pulumi from "@pulumi/pulumi";
1
2
  export declare function getEnv(...vars: string[]): string | undefined;
2
3
  export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
3
4
  export declare function getEnvNumber(...vars: string[]): number | undefined;
4
5
  export declare function getVersion(): string;
6
+ export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
7
+ property?: string;
8
+ }): Promise<T>;
package/utilities.js CHANGED
@@ -1,8 +1,18 @@
1
1
  "use strict";
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
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
4
13
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
14
+ exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
15
+ const runtime = require("@pulumi/pulumi/runtime");
6
16
  function getEnv(...vars) {
7
17
  for (const v of vars) {
8
18
  const value = process.env[v];
@@ -66,4 +76,26 @@ function lazyLoad(exports, props, loadModule) {
66
76
  }
67
77
  }
68
78
  exports.lazyLoad = lazyLoad;
79
+ function callAsync(tok, props, res, opts) {
80
+ return __awaiter(this, void 0, void 0, function* () {
81
+ const o = runtime.call(tok, props, res);
82
+ const value = yield o.promise(true /*withUnknowns*/);
83
+ const isKnown = yield o.isKnown;
84
+ const isSecret = yield o.isSecret;
85
+ const problem = !isKnown ? "an unknown value"
86
+ : isSecret ? "a secret value"
87
+ : undefined;
88
+ // Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
89
+ if (problem) {
90
+ throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
91
+ "This is an error in the provider, please report this to the provider developer.");
92
+ }
93
+ // Extract a single property if requested.
94
+ if (opts && opts.property) {
95
+ return value[opts.property];
96
+ }
97
+ return value;
98
+ });
99
+ }
100
+ exports.callAsync = callAsync;
69
101
  //# sourceMappingURL=utilities.js.map
package/utilities.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,I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AAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
@@ -1,89 +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
- * Retrieves the kubeconfig for a Talos cluster
6
- */
7
- export declare function kubeconfig(args: KubeconfigArgs, opts?: pulumi.InvokeOptions): Promise<KubeconfigResult>;
8
- /**
9
- * A collection of arguments for invoking Kubeconfig.
10
- */
11
- export interface KubeconfigArgs {
12
- /**
13
- * The client configuration data
14
- */
15
- clientConfiguration: inputs.cluster.KubeconfigClientConfiguration;
16
- /**
17
- * endpoint to use for the talosclient. if not set, the node value will be used
18
- */
19
- endpoint?: string;
20
- /**
21
- * controlplane node to retrieve the kubeconfig from
22
- */
23
- node: string;
24
- timeouts?: inputs.cluster.KubeconfigTimeouts;
25
- /**
26
- * Wait for the kubernetes api to be available
27
- */
28
- wait?: boolean;
29
- }
30
- /**
31
- * A collection of values returned by Kubeconfig.
32
- */
33
- export interface KubeconfigResult {
34
- /**
35
- * The client configuration data
36
- */
37
- readonly clientConfiguration: outputs.cluster.KubeconfigClientConfiguration;
38
- /**
39
- * endpoint to use for the talosclient. if not set, the node value will be used
40
- */
41
- readonly endpoint: string;
42
- /**
43
- * The ID of this resource.
44
- */
45
- readonly id: string;
46
- /**
47
- * The raw kubeconfig
48
- */
49
- readonly kubeconfigRaw: string;
50
- /**
51
- * The kubernetes client configuration
52
- */
53
- readonly kubernetesClientConfiguration: outputs.cluster.KubeconfigKubernetesClientConfiguration;
54
- /**
55
- * controlplane node to retrieve the kubeconfig from
56
- */
57
- readonly node: string;
58
- readonly timeouts?: outputs.cluster.KubeconfigTimeouts;
59
- /**
60
- * Wait for the kubernetes api to be available
61
- */
62
- readonly wait?: boolean;
63
- }
64
- /**
65
- * Retrieves the kubeconfig for a Talos cluster
66
- */
67
- export declare function kubeconfigOutput(args: KubeconfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<KubeconfigResult>;
68
- /**
69
- * A collection of arguments for invoking Kubeconfig.
70
- */
71
- export interface KubeconfigOutputArgs {
72
- /**
73
- * The client configuration data
74
- */
75
- clientConfiguration: pulumi.Input<inputs.cluster.KubeconfigClientConfigurationArgs>;
76
- /**
77
- * endpoint to use for the talosclient. if not set, the node value will be used
78
- */
79
- endpoint?: pulumi.Input<string>;
80
- /**
81
- * controlplane node to retrieve the kubeconfig from
82
- */
83
- node: pulumi.Input<string>;
84
- timeouts?: pulumi.Input<inputs.cluster.KubeconfigTimeoutsArgs>;
85
- /**
86
- * Wait for the kubernetes api to be available
87
- */
88
- wait?: pulumi.Input<boolean>;
89
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"kubeconfig.js","sourceRoot":"","sources":["../../cluster/kubeconfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA2DD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAA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