@pulumiverse/talos 0.8.0-alpha.1766689008 → 0.8.0-alpha.1768981177
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/imagefactory/getExtensionsVersions.d.ts +12 -0
- package/imagefactory/getExtensionsVersions.js +2 -0
- package/imagefactory/getExtensionsVersions.js.map +1 -1
- package/machine/configurationApply.d.ts +11 -3
- package/machine/configurationApply.js +2 -0
- package/machine/configurationApply.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +12 -0
- package/types/output.d.ts +6 -0
|
@@ -26,6 +26,10 @@ export declare function getExtensionsVersions(args: GetExtensionsVersionsArgs, o
|
|
|
26
26
|
* A collection of arguments for invoking getExtensionsVersions.
|
|
27
27
|
*/
|
|
28
28
|
export interface GetExtensionsVersionsArgs {
|
|
29
|
+
/**
|
|
30
|
+
* The filter to apply to the extensions list.
|
|
31
|
+
*/
|
|
32
|
+
exactFilters?: inputs.imageFactory.GetExtensionsVersionsExactFilters;
|
|
29
33
|
/**
|
|
30
34
|
* The filter to apply to the extensions list.
|
|
31
35
|
*/
|
|
@@ -39,6 +43,10 @@ export interface GetExtensionsVersionsArgs {
|
|
|
39
43
|
* A collection of values returned by getExtensionsVersions.
|
|
40
44
|
*/
|
|
41
45
|
export interface GetExtensionsVersionsResult {
|
|
46
|
+
/**
|
|
47
|
+
* The filter to apply to the extensions list.
|
|
48
|
+
*/
|
|
49
|
+
readonly exactFilters?: outputs.imageFactory.GetExtensionsVersionsExactFilters;
|
|
42
50
|
/**
|
|
43
51
|
* The list of available extensions for the specified talos version.
|
|
44
52
|
*/
|
|
@@ -81,6 +89,10 @@ export declare function getExtensionsVersionsOutput(args: GetExtensionsVersionsO
|
|
|
81
89
|
* A collection of arguments for invoking getExtensionsVersions.
|
|
82
90
|
*/
|
|
83
91
|
export interface GetExtensionsVersionsOutputArgs {
|
|
92
|
+
/**
|
|
93
|
+
* The filter to apply to the extensions list.
|
|
94
|
+
*/
|
|
95
|
+
exactFilters?: pulumi.Input<inputs.imageFactory.GetExtensionsVersionsExactFiltersArgs>;
|
|
84
96
|
/**
|
|
85
97
|
* The filter to apply to the extensions list.
|
|
86
98
|
*/
|
|
@@ -28,6 +28,7 @@ const utilities = require("../utilities");
|
|
|
28
28
|
function getExtensionsVersions(args, opts) {
|
|
29
29
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
30
30
|
return pulumi.runtime.invoke("talos:imageFactory/getExtensionsVersions:getExtensionsVersions", {
|
|
31
|
+
"exactFilters": args.exactFilters,
|
|
31
32
|
"filters": args.filters,
|
|
32
33
|
"talosVersion": args.talosVersion,
|
|
33
34
|
}, opts);
|
|
@@ -56,6 +57,7 @@ exports.getExtensionsVersions = getExtensionsVersions;
|
|
|
56
57
|
function getExtensionsVersionsOutput(args, opts) {
|
|
57
58
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
58
59
|
return pulumi.runtime.invokeOutput("talos:imageFactory/getExtensionsVersions:getExtensionsVersions", {
|
|
60
|
+
"exactFilters": args.exactFilters,
|
|
59
61
|
"filters": args.filters,
|
|
60
62
|
"talosVersion": args.talosVersion,
|
|
61
63
|
}, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getExtensionsVersions.js","sourceRoot":"","sources":["../../imagefactory/getExtensionsVersions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;
|
|
1
|
+
{"version":3,"file":"getExtensionsVersions.js","sourceRoot":"","sources":["../../imagefactory/getExtensionsVersions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AA6CD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kEAOC"}
|
|
@@ -21,7 +21,7 @@ export declare class ConfigurationApply extends pulumi.CustomResource {
|
|
|
21
21
|
*/
|
|
22
22
|
static isInstance(obj: any): obj is ConfigurationApply;
|
|
23
23
|
/**
|
|
24
|
-
* The mode of the apply operation
|
|
24
|
+
* The mode of the apply operation. Use 'staged*if*needing_reboot' for automatic reboot prevention: performs a dry-run and uses 'staged' mode if reboot is needed, 'auto' otherwise
|
|
25
25
|
*/
|
|
26
26
|
readonly applyMode: pulumi.Output<string>;
|
|
27
27
|
/**
|
|
@@ -52,6 +52,10 @@ export declare class ConfigurationApply extends pulumi.CustomResource {
|
|
|
52
52
|
* Actions to be taken on destroy, if *reset* is not set this is a no-op.
|
|
53
53
|
*/
|
|
54
54
|
readonly onDestroy: pulumi.Output<outputs.machine.ConfigurationApplyOnDestroy | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* The actual apply mode used. When applyMode is 'staged_if_needing_reboot', shows the resolved mode ('auto' or 'staged') based on dry-run analysis. Equals applyMode for other modes.
|
|
57
|
+
*/
|
|
58
|
+
readonly resolvedApplyMode: pulumi.Output<string>;
|
|
55
59
|
readonly timeouts: pulumi.Output<outputs.machine.Timeout | undefined>;
|
|
56
60
|
/**
|
|
57
61
|
* Create a ConfigurationApply resource with the given unique name, arguments, and options.
|
|
@@ -67,7 +71,7 @@ export declare class ConfigurationApply extends pulumi.CustomResource {
|
|
|
67
71
|
*/
|
|
68
72
|
export interface ConfigurationApplyState {
|
|
69
73
|
/**
|
|
70
|
-
* The mode of the apply operation
|
|
74
|
+
* The mode of the apply operation. Use 'staged*if*needing_reboot' for automatic reboot prevention: performs a dry-run and uses 'staged' mode if reboot is needed, 'auto' otherwise
|
|
71
75
|
*/
|
|
72
76
|
applyMode?: pulumi.Input<string>;
|
|
73
77
|
/**
|
|
@@ -98,6 +102,10 @@ export interface ConfigurationApplyState {
|
|
|
98
102
|
* Actions to be taken on destroy, if *reset* is not set this is a no-op.
|
|
99
103
|
*/
|
|
100
104
|
onDestroy?: pulumi.Input<inputs.machine.ConfigurationApplyOnDestroy>;
|
|
105
|
+
/**
|
|
106
|
+
* The actual apply mode used. When applyMode is 'staged_if_needing_reboot', shows the resolved mode ('auto' or 'staged') based on dry-run analysis. Equals applyMode for other modes.
|
|
107
|
+
*/
|
|
108
|
+
resolvedApplyMode?: pulumi.Input<string>;
|
|
101
109
|
timeouts?: pulumi.Input<inputs.machine.Timeout>;
|
|
102
110
|
}
|
|
103
111
|
/**
|
|
@@ -105,7 +113,7 @@ export interface ConfigurationApplyState {
|
|
|
105
113
|
*/
|
|
106
114
|
export interface ConfigurationApplyArgs {
|
|
107
115
|
/**
|
|
108
|
-
* The mode of the apply operation
|
|
116
|
+
* The mode of the apply operation. Use 'staged*if*needing_reboot' for automatic reboot prevention: performs a dry-run and uses 'staged' mode if reboot is needed, 'auto' otherwise
|
|
109
117
|
*/
|
|
110
118
|
applyMode?: pulumi.Input<string>;
|
|
111
119
|
/**
|
|
@@ -44,6 +44,7 @@ class ConfigurationApply extends pulumi.CustomResource {
|
|
|
44
44
|
resourceInputs["machineConfigurationInput"] = state?.machineConfigurationInput;
|
|
45
45
|
resourceInputs["node"] = state?.node;
|
|
46
46
|
resourceInputs["onDestroy"] = state?.onDestroy;
|
|
47
|
+
resourceInputs["resolvedApplyMode"] = state?.resolvedApplyMode;
|
|
47
48
|
resourceInputs["timeouts"] = state?.timeouts;
|
|
48
49
|
}
|
|
49
50
|
else {
|
|
@@ -66,6 +67,7 @@ class ConfigurationApply extends pulumi.CustomResource {
|
|
|
66
67
|
resourceInputs["onDestroy"] = args?.onDestroy;
|
|
67
68
|
resourceInputs["timeouts"] = args?.timeouts;
|
|
68
69
|
resourceInputs["machineConfiguration"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["resolvedApplyMode"] = undefined /*out*/;
|
|
69
71
|
}
|
|
70
72
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
71
73
|
const secretOpts = { additionalSecretOutputs: ["machineConfiguration", "machineConfigurationInput"] };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationApply.js","sourceRoot":"","sources":["../../machine/configurationApply.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAG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|
-
"version": "0.8.0-alpha.
|
|
3
|
+
"version": "0.8.0-alpha.1768981177",
|
|
4
4
|
"description": "A Pulumi package for creating and managing Talos Linux machines and clusters.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "talos",
|
|
27
|
-
"version": "0.8.0-alpha.
|
|
27
|
+
"version": "0.8.0-alpha.1768981177",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/types/input.d.ts
CHANGED
|
@@ -155,6 +155,18 @@ export declare namespace cluster {
|
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
export declare namespace imageFactory {
|
|
158
|
+
interface GetExtensionsVersionsExactFilters {
|
|
159
|
+
/**
|
|
160
|
+
* The exact name match of the extension to filter by.
|
|
161
|
+
*/
|
|
162
|
+
names?: string[];
|
|
163
|
+
}
|
|
164
|
+
interface GetExtensionsVersionsExactFiltersArgs {
|
|
165
|
+
/**
|
|
166
|
+
* The exact name match of the extension to filter by.
|
|
167
|
+
*/
|
|
168
|
+
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
169
|
+
}
|
|
158
170
|
interface GetExtensionsVersionsFilters {
|
|
159
171
|
/**
|
|
160
172
|
* The name of the extension to filter by.
|
package/types/output.d.ts
CHANGED
|
@@ -118,6 +118,12 @@ export declare namespace cluster {
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
export declare namespace imageFactory {
|
|
121
|
+
interface GetExtensionsVersionsExactFilters {
|
|
122
|
+
/**
|
|
123
|
+
* The exact name match of the extension to filter by.
|
|
124
|
+
*/
|
|
125
|
+
names?: string[];
|
|
126
|
+
}
|
|
121
127
|
interface GetExtensionsVersionsExtensionsInfo {
|
|
122
128
|
author: string;
|
|
123
129
|
description: string;
|