@pulumiverse/talos 0.3.0-alpha.1730841577 → 0.4.0-alpha.1730844803
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/cluster/getHealth.d.ts +14 -2
- package/cluster/getHealth.js +4 -2
- package/cluster/getHealth.js.map +1 -1
- package/cluster/index.d.ts +3 -0
- package/cluster/index.js +16 -1
- package/cluster/index.js.map +1 -1
- package/cluster/kubeconfig.d.ts +96 -0
- package/cluster/kubeconfig.js +70 -0
- package/cluster/kubeconfig.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +4 -0
- package/config/vars.js +13 -0
- package/config/vars.js.map +1 -0
- package/imagefactory/getExtensionsVersions.d.ts +92 -0
- package/imagefactory/getExtensionsVersions.js +64 -0
- package/imagefactory/getExtensionsVersions.js.map +1 -0
- package/imagefactory/getOverlaysVersions.d.ts +86 -0
- package/imagefactory/getOverlaysVersions.js +58 -0
- package/imagefactory/getOverlaysVersions.js.map +1 -0
- package/imagefactory/getUrls.d.ts +42 -0
- package/imagefactory/getUrls.js +36 -0
- package/imagefactory/getUrls.js.map +1 -0
- package/imagefactory/getVersions.d.ts +46 -0
- package/imagefactory/getVersions.js +30 -0
- package/imagefactory/getVersions.js.map +1 -0
- package/imagefactory/index.d.ts +15 -0
- package/imagefactory/index.js +34 -0
- package/imagefactory/index.js.map +1 -0
- package/imagefactory/schematic.d.ts +51 -0
- package/imagefactory/schematic.js +52 -0
- package/imagefactory/schematic.js.map +1 -0
- package/index.d.ts +3 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/machine/configurationApply.d.ts +12 -0
- package/machine/configurationApply.js +2 -0
- package/machine/configurationApply.js.map +1 -1
- package/machine/getConfiguration.d.ts +6 -6
- package/package.json +2 -2
- package/provider.d.ts +8 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/types/input.d.ts +98 -0
- package/types/output.d.ts +139 -0
|
@@ -0,0 +1,58 @@
|
|
|
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.getOverlaysVersionsOutput = exports.getOverlaysVersions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The image factory overlays versions data source provides a list of available overlays for a specific talos version from the image factory.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as talos from "@pulumi/talos";
|
|
16
|
+
*
|
|
17
|
+
* const this = talos.imageFactory.getOverlaysVersions({
|
|
18
|
+
* talosVersion: "v1.7.5",
|
|
19
|
+
* filters: {
|
|
20
|
+
* name: "rock4cplus",
|
|
21
|
+
* },
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
function getOverlaysVersions(args, opts) {
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invoke("talos:imageFactory/getOverlaysVersions:getOverlaysVersions", {
|
|
28
|
+
"filters": args.filters,
|
|
29
|
+
"talosVersion": args.talosVersion,
|
|
30
|
+
}, opts);
|
|
31
|
+
}
|
|
32
|
+
exports.getOverlaysVersions = getOverlaysVersions;
|
|
33
|
+
/**
|
|
34
|
+
* The image factory overlays versions data source provides a list of available overlays for a specific talos version from the image factory.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as talos from "@pulumi/talos";
|
|
41
|
+
*
|
|
42
|
+
* const this = talos.imageFactory.getOverlaysVersions({
|
|
43
|
+
* talosVersion: "v1.7.5",
|
|
44
|
+
* filters: {
|
|
45
|
+
* name: "rock4cplus",
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
function getOverlaysVersionsOutput(args, opts) {
|
|
51
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
52
|
+
return pulumi.runtime.invokeOutput("talos:imageFactory/getOverlaysVersions:getOverlaysVersions", {
|
|
53
|
+
"filters": args.filters,
|
|
54
|
+
"talosVersion": args.talosVersion,
|
|
55
|
+
}, opts);
|
|
56
|
+
}
|
|
57
|
+
exports.getOverlaysVersionsOutput = getOverlaysVersionsOutput;
|
|
58
|
+
//# sourceMappingURL=getOverlaysVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getOverlaysVersions.js","sourceRoot":"","sources":["../../imagefactory/getOverlaysVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAqCD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Generates URLs for different assets supported by the Talos image factory.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getUrls(args: GetUrlsArgs, opts?: pulumi.InvokeOptions): Promise<GetUrlsResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getUrls.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetUrlsArgs {
|
|
11
|
+
architecture?: string;
|
|
12
|
+
platform?: string;
|
|
13
|
+
sbc?: string;
|
|
14
|
+
schematicId: string;
|
|
15
|
+
talosVersion: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A collection of values returned by getUrls.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetUrlsResult {
|
|
21
|
+
readonly architecture: string;
|
|
22
|
+
readonly id: string;
|
|
23
|
+
readonly platform?: string;
|
|
24
|
+
readonly sbc?: string;
|
|
25
|
+
readonly schematicId: string;
|
|
26
|
+
readonly talosVersion: string;
|
|
27
|
+
readonly urls: outputs.imageFactory.GetUrlsUrls;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Generates URLs for different assets supported by the Talos image factory.
|
|
31
|
+
*/
|
|
32
|
+
export declare function getUrlsOutput(args: GetUrlsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUrlsResult>;
|
|
33
|
+
/**
|
|
34
|
+
* A collection of arguments for invoking getUrls.
|
|
35
|
+
*/
|
|
36
|
+
export interface GetUrlsOutputArgs {
|
|
37
|
+
architecture?: pulumi.Input<string>;
|
|
38
|
+
platform?: pulumi.Input<string>;
|
|
39
|
+
sbc?: pulumi.Input<string>;
|
|
40
|
+
schematicId: pulumi.Input<string>;
|
|
41
|
+
talosVersion: pulumi.Input<string>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.getUrlsOutput = exports.getUrls = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Generates URLs for different assets supported by the Talos image factory.
|
|
10
|
+
*/
|
|
11
|
+
function getUrls(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("talos:imageFactory/getUrls:getUrls", {
|
|
14
|
+
"architecture": args.architecture,
|
|
15
|
+
"platform": args.platform,
|
|
16
|
+
"sbc": args.sbc,
|
|
17
|
+
"schematicId": args.schematicId,
|
|
18
|
+
"talosVersion": args.talosVersion,
|
|
19
|
+
}, opts);
|
|
20
|
+
}
|
|
21
|
+
exports.getUrls = getUrls;
|
|
22
|
+
/**
|
|
23
|
+
* Generates URLs for different assets supported by the Talos image factory.
|
|
24
|
+
*/
|
|
25
|
+
function getUrlsOutput(args, opts) {
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
27
|
+
return pulumi.runtime.invokeOutput("talos:imageFactory/getUrls:getUrls", {
|
|
28
|
+
"architecture": args.architecture,
|
|
29
|
+
"platform": args.platform,
|
|
30
|
+
"sbc": args.sbc,
|
|
31
|
+
"schematicId": args.schematicId,
|
|
32
|
+
"talosVersion": args.talosVersion,
|
|
33
|
+
}, opts);
|
|
34
|
+
}
|
|
35
|
+
exports.getUrlsOutput = getUrlsOutput;
|
|
36
|
+
//# sourceMappingURL=getUrls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUrls.js","sourceRoot":"","sources":["../../imagefactory/getUrls.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAiB,EAAE,IAA2B;IAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,0BASC;AAyBD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,sCASC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The image factory versions data source provides a list of available talos versions from the image factory.
|
|
6
|
+
*/
|
|
7
|
+
export declare function getVersions(args?: GetVersionsArgs, opts?: pulumi.InvokeOptions): Promise<GetVersionsResult>;
|
|
8
|
+
/**
|
|
9
|
+
* A collection of arguments for invoking getVersions.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetVersionsArgs {
|
|
12
|
+
/**
|
|
13
|
+
* The filter to apply to the overlays list.
|
|
14
|
+
*/
|
|
15
|
+
filters?: inputs.imageFactory.GetVersionsFilters;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* A collection of values returned by getVersions.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetVersionsResult {
|
|
21
|
+
/**
|
|
22
|
+
* The filter to apply to the overlays list.
|
|
23
|
+
*/
|
|
24
|
+
readonly filters?: outputs.imageFactory.GetVersionsFilters;
|
|
25
|
+
/**
|
|
26
|
+
* The ID of this resource.
|
|
27
|
+
*/
|
|
28
|
+
readonly id: string;
|
|
29
|
+
/**
|
|
30
|
+
* The list of available talos versions.
|
|
31
|
+
*/
|
|
32
|
+
readonly talosVersions: string[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The image factory versions data source provides a list of available talos versions from the image factory.
|
|
36
|
+
*/
|
|
37
|
+
export declare function getVersionsOutput(args?: GetVersionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetVersionsResult>;
|
|
38
|
+
/**
|
|
39
|
+
* A collection of arguments for invoking getVersions.
|
|
40
|
+
*/
|
|
41
|
+
export interface GetVersionsOutputArgs {
|
|
42
|
+
/**
|
|
43
|
+
* The filter to apply to the overlays list.
|
|
44
|
+
*/
|
|
45
|
+
filters?: pulumi.Input<inputs.imageFactory.GetVersionsFiltersArgs>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.getVersionsOutput = exports.getVersions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The image factory versions data source provides a list of available talos versions from the image factory.
|
|
10
|
+
*/
|
|
11
|
+
function getVersions(args, opts) {
|
|
12
|
+
args = args || {};
|
|
13
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
14
|
+
return pulumi.runtime.invoke("talos:imageFactory/getVersions:getVersions", {
|
|
15
|
+
"filters": args.filters,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getVersions = getVersions;
|
|
19
|
+
/**
|
|
20
|
+
* The image factory versions data source provides a list of available talos versions from the image factory.
|
|
21
|
+
*/
|
|
22
|
+
function getVersionsOutput(args, opts) {
|
|
23
|
+
args = args || {};
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invokeOutput("talos:imageFactory/getVersions:getVersions", {
|
|
26
|
+
"filters": args.filters,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getVersionsOutput = getVersionsOutput;
|
|
30
|
+
//# sourceMappingURL=getVersions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVersions.js","sourceRoot":"","sources":["../../imagefactory/getVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA6BD;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { GetExtensionsVersionsArgs, GetExtensionsVersionsResult, GetExtensionsVersionsOutputArgs } from "./getExtensionsVersions";
|
|
2
|
+
export declare const getExtensionsVersions: typeof import("./getExtensionsVersions").getExtensionsVersions;
|
|
3
|
+
export declare const getExtensionsVersionsOutput: typeof import("./getExtensionsVersions").getExtensionsVersionsOutput;
|
|
4
|
+
export { GetOverlaysVersionsArgs, GetOverlaysVersionsResult, GetOverlaysVersionsOutputArgs } from "./getOverlaysVersions";
|
|
5
|
+
export declare const getOverlaysVersions: typeof import("./getOverlaysVersions").getOverlaysVersions;
|
|
6
|
+
export declare const getOverlaysVersionsOutput: typeof import("./getOverlaysVersions").getOverlaysVersionsOutput;
|
|
7
|
+
export { GetUrlsArgs, GetUrlsResult, GetUrlsOutputArgs } from "./getUrls";
|
|
8
|
+
export declare const getUrls: typeof import("./getUrls").getUrls;
|
|
9
|
+
export declare const getUrlsOutput: typeof import("./getUrls").getUrlsOutput;
|
|
10
|
+
export { GetVersionsArgs, GetVersionsResult, GetVersionsOutputArgs } from "./getVersions";
|
|
11
|
+
export declare const getVersions: typeof import("./getVersions").getVersions;
|
|
12
|
+
export declare const getVersionsOutput: typeof import("./getVersions").getVersionsOutput;
|
|
13
|
+
export { SchematicArgs, SchematicState } from "./schematic";
|
|
14
|
+
export type Schematic = import("./schematic").Schematic;
|
|
15
|
+
export declare const Schematic: typeof import("./schematic").Schematic;
|
|
@@ -0,0 +1,34 @@
|
|
|
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.Schematic = exports.getVersionsOutput = exports.getVersions = exports.getUrlsOutput = exports.getUrls = exports.getOverlaysVersionsOutput = exports.getOverlaysVersions = exports.getExtensionsVersionsOutput = exports.getExtensionsVersions = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
exports.getExtensionsVersions = null;
|
|
9
|
+
exports.getExtensionsVersionsOutput = null;
|
|
10
|
+
utilities.lazyLoad(exports, ["getExtensionsVersions", "getExtensionsVersionsOutput"], () => require("./getExtensionsVersions"));
|
|
11
|
+
exports.getOverlaysVersions = null;
|
|
12
|
+
exports.getOverlaysVersionsOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getOverlaysVersions", "getOverlaysVersionsOutput"], () => require("./getOverlaysVersions"));
|
|
14
|
+
exports.getUrls = null;
|
|
15
|
+
exports.getUrlsOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getUrls", "getUrlsOutput"], () => require("./getUrls"));
|
|
17
|
+
exports.getVersions = null;
|
|
18
|
+
exports.getVersionsOutput = null;
|
|
19
|
+
utilities.lazyLoad(exports, ["getVersions", "getVersionsOutput"], () => require("./getVersions"));
|
|
20
|
+
exports.Schematic = null;
|
|
21
|
+
utilities.lazyLoad(exports, ["Schematic"], () => require("./schematic"));
|
|
22
|
+
const _module = {
|
|
23
|
+
version: utilities.getVersion(),
|
|
24
|
+
construct: (name, type, urn) => {
|
|
25
|
+
switch (type) {
|
|
26
|
+
case "talos:imageFactory/schematic:Schematic":
|
|
27
|
+
return new exports.Schematic(name, undefined, { urn });
|
|
28
|
+
default:
|
|
29
|
+
throw new Error(`unknown resource type ${type}`);
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
pulumi.runtime.registerResourceModule("talos", "imageFactory/schematic", _module);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../imagefactory/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACpG,QAAA,2BAA2B,GAAyE,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,EAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAGlH,QAAA,mBAAmB,GAA+D,IAAW,CAAC;AAC9F,QAAA,yBAAyB,GAAqE,IAAW,CAAC;AACvH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,qBAAqB,EAAC,2BAA2B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC,CAAC;AAG5G,QAAA,OAAO,GAAuC,IAAW,CAAC;AAC1D,QAAA,aAAa,GAA6C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,SAAS,EAAC,eAAe,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC;AAGxE,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIpF,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;AAGzE,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,wCAAwC;gBACzC,OAAO,IAAI,iBAAS,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACvD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,OAAO,EAAE,wBAAwB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The image factory schematic resource allows you to create a schematic for a Talos image.
|
|
4
|
+
*/
|
|
5
|
+
export declare class Schematic extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing Schematic resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param state Any extra arguments used during the lookup.
|
|
13
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
14
|
+
*/
|
|
15
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SchematicState, opts?: pulumi.CustomResourceOptions): Schematic;
|
|
16
|
+
/**
|
|
17
|
+
* Returns true if the given object is an instance of Schematic. This is designed to work even
|
|
18
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
19
|
+
*/
|
|
20
|
+
static isInstance(obj: any): obj is Schematic;
|
|
21
|
+
/**
|
|
22
|
+
* The schematic yaml respresentation to generate the image.
|
|
23
|
+
*/
|
|
24
|
+
readonly schematic: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a Schematic resource with the given unique name, arguments, and options.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resource.
|
|
29
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
30
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
31
|
+
*/
|
|
32
|
+
constructor(name: string, args?: SchematicArgs, opts?: pulumi.CustomResourceOptions);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Input properties used for looking up and filtering Schematic resources.
|
|
36
|
+
*/
|
|
37
|
+
export interface SchematicState {
|
|
38
|
+
/**
|
|
39
|
+
* The schematic yaml respresentation to generate the image.
|
|
40
|
+
*/
|
|
41
|
+
schematic?: pulumi.Input<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The set of arguments for constructing a Schematic resource.
|
|
45
|
+
*/
|
|
46
|
+
export interface SchematicArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The schematic yaml respresentation to generate the image.
|
|
49
|
+
*/
|
|
50
|
+
schematic?: pulumi.Input<string>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.Schematic = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The image factory schematic resource allows you to create a schematic for a Talos image.
|
|
10
|
+
*/
|
|
11
|
+
class Schematic extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Schematic resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name, id, state, opts) {
|
|
22
|
+
return new Schematic(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Returns true if the given object is an instance of Schematic. This is designed to work even
|
|
26
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
27
|
+
*/
|
|
28
|
+
static isInstance(obj) {
|
|
29
|
+
if (obj === undefined || obj === null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
return obj['__pulumiType'] === Schematic.__pulumiType;
|
|
33
|
+
}
|
|
34
|
+
constructor(name, argsOrState, opts) {
|
|
35
|
+
let resourceInputs = {};
|
|
36
|
+
opts = opts || {};
|
|
37
|
+
if (opts.id) {
|
|
38
|
+
const state = argsOrState;
|
|
39
|
+
resourceInputs["schematic"] = state ? state.schematic : undefined;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
const args = argsOrState;
|
|
43
|
+
resourceInputs["schematic"] = args ? args.schematic : undefined;
|
|
44
|
+
}
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
46
|
+
super(Schematic.__pulumiType, name, resourceInputs, opts);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.Schematic = Schematic;
|
|
50
|
+
/** @internal */
|
|
51
|
+
Schematic.__pulumiType = 'talos:imageFactory/schematic:Schematic';
|
|
52
|
+
//# sourceMappingURL=schematic.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schematic.js","sourceRoot":"","sources":["../../imagefactory/schematic.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsB,EAAE,IAAmC;QACpH,OAAO,IAAI,SAAS,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChE,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,CAAC,cAAc,CAAC,KAAK,SAAS,CAAC,YAAY,CAAC;IAC1D,CAAC;IAeD,YAAY,IAAY,EAAE,WAA4C,EAAE,IAAmC;QACvG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAyC,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAwC,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AArDL,8BAsDC;AAxCG,gBAAgB;AACO,sBAAY,GAAG,wCAAwC,CAAC"}
|
package/index.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export type Provider = import("./provider").Provider;
|
|
|
3
3
|
export declare const Provider: typeof import("./provider").Provider;
|
|
4
4
|
import * as client from "./client";
|
|
5
5
|
import * as cluster from "./cluster";
|
|
6
|
+
import * as config from "./config";
|
|
7
|
+
import * as imagefactory from "./imagefactory";
|
|
6
8
|
import * as machine from "./machine";
|
|
7
9
|
import * as types from "./types";
|
|
8
|
-
export { client, cluster, machine, types, };
|
|
10
|
+
export { client, cluster, config, imagefactory, machine, types, };
|
package/index.js
CHANGED
|
@@ -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.types = exports.machine = exports.cluster = exports.client = exports.Provider = void 0;
|
|
5
|
+
exports.types = exports.machine = exports.imagefactory = exports.config = exports.cluster = exports.client = exports.Provider = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
exports.Provider = null;
|
|
@@ -12,6 +12,10 @@ const client = require("./client");
|
|
|
12
12
|
exports.client = client;
|
|
13
13
|
const cluster = require("./cluster");
|
|
14
14
|
exports.cluster = cluster;
|
|
15
|
+
const config = require("./config");
|
|
16
|
+
exports.config = config;
|
|
17
|
+
const imagefactory = require("./imagefactory");
|
|
18
|
+
exports.imagefactory = imagefactory;
|
|
15
19
|
const machine = require("./machine");
|
|
16
20
|
exports.machine = machine;
|
|
17
21
|
const types = require("./types");
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,mCAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAGvE,sBAAsB;AACtB,mCAAmC;AAQ/B,wBAAM;AAPV,qCAAqC;AAQjC,0BAAO;AAPX,mCAAmC;AAQ/B,wBAAM;AAPV,+CAA+C;AAQ3C,oCAAY;AAPhB,qCAAqC;AAQjC,0BAAO;AAPX,iCAAiC;AAQ7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,OAAO,EAAE;IAC5C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,wBAAwB,EAAE;YACnC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -48,6 +48,10 @@ export declare class ConfigurationApply extends pulumi.CustomResource {
|
|
|
48
48
|
* The name of the node to bootstrap
|
|
49
49
|
*/
|
|
50
50
|
readonly node: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Actions to be taken on destroy, if *reset* is not set this is a no-op.
|
|
53
|
+
*/
|
|
54
|
+
readonly onDestroy: pulumi.Output<outputs.machine.ConfigurationApplyOnDestroy | undefined>;
|
|
51
55
|
readonly timeouts: pulumi.Output<outputs.machine.Timeout | undefined>;
|
|
52
56
|
/**
|
|
53
57
|
* Create a ConfigurationApply resource with the given unique name, arguments, and options.
|
|
@@ -90,6 +94,10 @@ export interface ConfigurationApplyState {
|
|
|
90
94
|
* The name of the node to bootstrap
|
|
91
95
|
*/
|
|
92
96
|
node?: pulumi.Input<string>;
|
|
97
|
+
/**
|
|
98
|
+
* Actions to be taken on destroy, if *reset* is not set this is a no-op.
|
|
99
|
+
*/
|
|
100
|
+
onDestroy?: pulumi.Input<inputs.machine.ConfigurationApplyOnDestroy>;
|
|
93
101
|
timeouts?: pulumi.Input<inputs.machine.Timeout>;
|
|
94
102
|
}
|
|
95
103
|
/**
|
|
@@ -120,5 +128,9 @@ export interface ConfigurationApplyArgs {
|
|
|
120
128
|
* The name of the node to bootstrap
|
|
121
129
|
*/
|
|
122
130
|
node: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* Actions to be taken on destroy, if *reset* is not set this is a no-op.
|
|
133
|
+
*/
|
|
134
|
+
onDestroy?: pulumi.Input<inputs.machine.ConfigurationApplyOnDestroy>;
|
|
123
135
|
timeouts?: pulumi.Input<inputs.machine.Timeout>;
|
|
124
136
|
}
|
|
@@ -43,6 +43,7 @@ class ConfigurationApply extends pulumi.CustomResource {
|
|
|
43
43
|
resourceInputs["machineConfiguration"] = state ? state.machineConfiguration : undefined;
|
|
44
44
|
resourceInputs["machineConfigurationInput"] = state ? state.machineConfigurationInput : undefined;
|
|
45
45
|
resourceInputs["node"] = state ? state.node : undefined;
|
|
46
|
+
resourceInputs["onDestroy"] = state ? state.onDestroy : undefined;
|
|
46
47
|
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
47
48
|
}
|
|
48
49
|
else {
|
|
@@ -62,6 +63,7 @@ class ConfigurationApply extends pulumi.CustomResource {
|
|
|
62
63
|
resourceInputs["endpoint"] = args ? args.endpoint : undefined;
|
|
63
64
|
resourceInputs["machineConfigurationInput"] = (args === null || args === void 0 ? void 0 : args.machineConfigurationInput) ? pulumi.secret(args.machineConfigurationInput) : undefined;
|
|
64
65
|
resourceInputs["node"] = args ? args.node : undefined;
|
|
66
|
+
resourceInputs["onDestroy"] = args ? args.onDestroy : undefined;
|
|
65
67
|
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
66
68
|
resourceInputs["machineConfiguration"] = undefined /*out*/;
|
|
67
69
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configurationApply.js","sourceRoot":"","sources":["../../machine/configurationApply.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC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,EAAE,uBAAuB,EAAE,CAAC,sBAAsB,EAAE,2BAA2B,CAAC,EAAE,CAAC;QACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AA7GL,gDA8GC;AAhGG,gBAAgB;AACO,+BAAY,GAAG,qDAAqD,CAAC"}
|
|
@@ -40,11 +40,11 @@ export interface GetConfigurationArgs {
|
|
|
40
40
|
*/
|
|
41
41
|
configPatches?: string[];
|
|
42
42
|
/**
|
|
43
|
-
* Whether to generate documentation for the generated configuration
|
|
43
|
+
* Whether to generate documentation for the generated configuration. Defaults to false
|
|
44
44
|
*/
|
|
45
45
|
docs?: boolean;
|
|
46
46
|
/**
|
|
47
|
-
* Whether to generate examples for the generated configuration
|
|
47
|
+
* Whether to generate examples for the generated configuration. Defaults to false
|
|
48
48
|
*/
|
|
49
49
|
examples?: boolean;
|
|
50
50
|
/**
|
|
@@ -81,11 +81,11 @@ export interface GetConfigurationResult {
|
|
|
81
81
|
*/
|
|
82
82
|
readonly configPatches?: string[];
|
|
83
83
|
/**
|
|
84
|
-
* Whether to generate documentation for the generated configuration
|
|
84
|
+
* Whether to generate documentation for the generated configuration. Defaults to false
|
|
85
85
|
*/
|
|
86
86
|
readonly docs?: boolean;
|
|
87
87
|
/**
|
|
88
|
-
* Whether to generate examples for the generated configuration
|
|
88
|
+
* Whether to generate examples for the generated configuration. Defaults to false
|
|
89
89
|
*/
|
|
90
90
|
readonly examples?: boolean;
|
|
91
91
|
/**
|
|
@@ -152,11 +152,11 @@ export interface GetConfigurationOutputArgs {
|
|
|
152
152
|
*/
|
|
153
153
|
configPatches?: pulumi.Input<pulumi.Input<string>[]>;
|
|
154
154
|
/**
|
|
155
|
-
* Whether to generate documentation for the generated configuration
|
|
155
|
+
* Whether to generate documentation for the generated configuration. Defaults to false
|
|
156
156
|
*/
|
|
157
157
|
docs?: pulumi.Input<boolean>;
|
|
158
158
|
/**
|
|
159
|
-
* Whether to generate examples for the generated configuration
|
|
159
|
+
* Whether to generate examples for the generated configuration. Defaults to false
|
|
160
160
|
*/
|
|
161
161
|
examples?: pulumi.Input<boolean>;
|
|
162
162
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumiverse/talos",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0-alpha.1730844803",
|
|
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.
|
|
27
|
+
"version": "0.4.0-alpha.1730844803",
|
|
28
28
|
"server": "github://api.github.com/pulumiverse"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/provider.d.ts
CHANGED
|
@@ -11,6 +11,10 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
11
11
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
12
|
*/
|
|
13
13
|
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* The URL of Image Factory to generate schematics. If not set defaults to https://factory.talos.dev.
|
|
16
|
+
*/
|
|
17
|
+
readonly imageFactoryUrl: pulumi.Output<string | undefined>;
|
|
14
18
|
/**
|
|
15
19
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
16
20
|
*
|
|
@@ -24,4 +28,8 @@ export declare class Provider extends pulumi.ProviderResource {
|
|
|
24
28
|
* The set of arguments for constructing a Provider resource.
|
|
25
29
|
*/
|
|
26
30
|
export interface ProviderArgs {
|
|
31
|
+
/**
|
|
32
|
+
* The URL of Image Factory to generate schematics. If not set defaults to https://factory.talos.dev.
|
|
33
|
+
*/
|
|
34
|
+
imageFactoryUrl?: pulumi.Input<string>;
|
|
27
35
|
}
|
package/provider.js
CHANGED
|
@@ -33,6 +33,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
33
33
|
let resourceInputs = {};
|
|
34
34
|
opts = opts || {};
|
|
35
35
|
{
|
|
36
|
+
resourceInputs["imageFactoryUrl"] = args ? args.imageFactoryUrl : undefined;
|
|
36
37
|
}
|
|
37
38
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
38
39
|
super(Provider.__pulumiType, name, resourceInputs, opts);
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,CAAC,cAAc,CAAC,KAAK,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,CAAC,cAAc,CAAC,KAAK,mBAAmB,GAAG,QAAQ,C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