@ptfm/chainguard 0.1.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/bin/accountAssociations.d.ts +110 -0
- package/bin/accountAssociations.js +62 -0
- package/bin/accountAssociations.js.map +1 -0
- package/bin/apkoBuild.d.ts +80 -0
- package/bin/apkoBuild.js +61 -0
- package/bin/apkoBuild.js.map +1 -0
- package/bin/config/index.d.ts +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +17 -0
- package/bin/config/vars.js +25 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/getGroup.d.ts +28 -0
- package/bin/getGroup.js +28 -0
- package/bin/getGroup.js.map +1 -0
- package/bin/getIdentity.d.ts +25 -0
- package/bin/getIdentity.js +24 -0
- package/bin/getIdentity.js.map +1 -0
- package/bin/getRole.d.ts +29 -0
- package/bin/getRole.js +28 -0
- package/bin/getRole.js.map +1 -0
- package/bin/getVersions.d.ts +34 -0
- package/bin/getVersions.js +24 -0
- package/bin/getVersions.js.map +1 -0
- package/bin/group.d.ts +87 -0
- package/bin/group.js +57 -0
- package/bin/group.js.map +1 -0
- package/bin/groupInvite.d.ts +92 -0
- package/bin/groupInvite.js +68 -0
- package/bin/groupInvite.js.map +1 -0
- package/bin/identity.d.ts +122 -0
- package/bin/identity.js +64 -0
- package/bin/identity.js.map +1 -0
- package/bin/identityProvider.d.ts +98 -0
- package/bin/identityProvider.js +63 -0
- package/bin/identityProvider.js.map +1 -0
- package/bin/imageRepo.d.ts +122 -0
- package/bin/imageRepo.js +64 -0
- package/bin/imageRepo.js.map +1 -0
- package/bin/imageTag.d.ts +72 -0
- package/bin/imageTag.js +56 -0
- package/bin/imageTag.js.map +1 -0
- package/bin/index.d.ts +51 -0
- package/bin/index.js +100 -0
- package/bin/index.js.map +1 -0
- package/bin/package.json +34 -0
- package/bin/provider.d.ts +48 -0
- package/bin/provider.js +47 -0
- package/bin/provider.js.map +1 -0
- package/bin/role.d.ts +84 -0
- package/bin/role.js +61 -0
- package/bin/role.js.map +1 -0
- package/bin/rolebinding.d.ts +72 -0
- package/bin/rolebinding.js +62 -0
- package/bin/rolebinding.js.map +1 -0
- package/bin/subscription.d.ts +60 -0
- package/bin/subscription.js +57 -0
- package/bin/subscription.js.map +1 -0
- package/bin/types/index.d.ts +3 -0
- package/bin/types/index.js +11 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +187 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +309 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +9 -0
- package/bin/utilities.js +141 -0
- package/bin/utilities.js.map +1 -0
- package/package.json +34 -0
@@ -0,0 +1,63 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
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.IdentityProvider = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
class IdentityProvider extends pulumi.CustomResource {
|
9
|
+
/**
|
10
|
+
* Get an existing IdentityProvider resource's state with the given name, ID, and optional extra
|
11
|
+
* properties used to qualify the lookup.
|
12
|
+
*
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
17
|
+
*/
|
18
|
+
static get(name, id, state, opts) {
|
19
|
+
return new IdentityProvider(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Returns true if the given object is an instance of IdentityProvider. This is designed to work even
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
24
|
+
*/
|
25
|
+
static isInstance(obj) {
|
26
|
+
if (obj === undefined || obj === null) {
|
27
|
+
return false;
|
28
|
+
}
|
29
|
+
return obj['__pulumiType'] === IdentityProvider.__pulumiType;
|
30
|
+
}
|
31
|
+
constructor(name, argsOrState, opts) {
|
32
|
+
let resourceInputs = {};
|
33
|
+
opts = opts || {};
|
34
|
+
if (opts.id) {
|
35
|
+
const state = argsOrState;
|
36
|
+
resourceInputs["defaultRole"] = state ? state.defaultRole : undefined;
|
37
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
38
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
39
|
+
resourceInputs["oidc"] = state ? state.oidc : undefined;
|
40
|
+
resourceInputs["parentId"] = state ? state.parentId : undefined;
|
41
|
+
}
|
42
|
+
else {
|
43
|
+
const args = argsOrState;
|
44
|
+
if ((!args || args.defaultRole === undefined) && !opts.urn) {
|
45
|
+
throw new Error("Missing required property 'defaultRole'");
|
46
|
+
}
|
47
|
+
if ((!args || args.parentId === undefined) && !opts.urn) {
|
48
|
+
throw new Error("Missing required property 'parentId'");
|
49
|
+
}
|
50
|
+
resourceInputs["defaultRole"] = args ? args.defaultRole : undefined;
|
51
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
52
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
53
|
+
resourceInputs["oidc"] = args ? args.oidc : undefined;
|
54
|
+
resourceInputs["parentId"] = args ? args.parentId : undefined;
|
55
|
+
}
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
57
|
+
super(IdentityProvider.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
58
|
+
}
|
59
|
+
}
|
60
|
+
exports.IdentityProvider = IdentityProvider;
|
61
|
+
/** @internal */
|
62
|
+
IdentityProvider.__pulumiType = 'chainguard:index/identityProvider:IdentityProvider';
|
63
|
+
//# sourceMappingURL=identityProvider.js.map
|
@@ -0,0 +1 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AAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACnH,CAAC;;AAnFL,4CAoFC;AAtEG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
|
@@ -0,0 +1,122 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "./types/input";
|
3
|
+
import * as outputs from "./types/output";
|
4
|
+
export declare class ImageRepo extends pulumi.CustomResource {
|
5
|
+
/**
|
6
|
+
* Get an existing ImageRepo resource's state with the given name, ID, and optional extra
|
7
|
+
* properties used to qualify the lookup.
|
8
|
+
*
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
13
|
+
*/
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImageRepoState, opts?: pulumi.CustomResourceOptions): ImageRepo;
|
15
|
+
/**
|
16
|
+
* Returns true if the given object is an instance of ImageRepo. This is designed to work even
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
18
|
+
*/
|
19
|
+
static isInstance(obj: any): obj is ImageRepo;
|
20
|
+
/**
|
21
|
+
* Known aliases for a given image.
|
22
|
+
*/
|
23
|
+
readonly aliases: pulumi.Output<string[] | undefined>;
|
24
|
+
/**
|
25
|
+
* List of bundles associated with this repo (valid ones: `application|base|byol|ai|ai-gpu|featured|fips`).
|
26
|
+
*/
|
27
|
+
readonly bundles: pulumi.Output<string[] | undefined>;
|
28
|
+
/**
|
29
|
+
* The name of this repo.
|
30
|
+
*/
|
31
|
+
readonly name: pulumi.Output<string>;
|
32
|
+
/**
|
33
|
+
* The group that owns the repo.
|
34
|
+
*/
|
35
|
+
readonly parentId: pulumi.Output<string>;
|
36
|
+
/**
|
37
|
+
* The README for this repo.
|
38
|
+
*/
|
39
|
+
readonly readme: pulumi.Output<string | undefined>;
|
40
|
+
/**
|
41
|
+
* Configuration for catalog syncing.
|
42
|
+
*/
|
43
|
+
readonly syncConfig: pulumi.Output<outputs.ImageRepoSyncConfig | undefined>;
|
44
|
+
/**
|
45
|
+
* Image tier associated with this repo.
|
46
|
+
*/
|
47
|
+
readonly tier: pulumi.Output<string | undefined>;
|
48
|
+
/**
|
49
|
+
* Create a ImageRepo resource with the given unique name, arguments, and options.
|
50
|
+
*
|
51
|
+
* @param name The _unique_ name of the resource.
|
52
|
+
* @param args The arguments to use to populate this resource's properties.
|
53
|
+
* @param opts A bag of options that control this resource's behavior.
|
54
|
+
*/
|
55
|
+
constructor(name: string, args: ImageRepoArgs, opts?: pulumi.CustomResourceOptions);
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* Input properties used for looking up and filtering ImageRepo resources.
|
59
|
+
*/
|
60
|
+
export interface ImageRepoState {
|
61
|
+
/**
|
62
|
+
* Known aliases for a given image.
|
63
|
+
*/
|
64
|
+
aliases?: pulumi.Input<pulumi.Input<string>[]>;
|
65
|
+
/**
|
66
|
+
* List of bundles associated with this repo (valid ones: `application|base|byol|ai|ai-gpu|featured|fips`).
|
67
|
+
*/
|
68
|
+
bundles?: pulumi.Input<pulumi.Input<string>[]>;
|
69
|
+
/**
|
70
|
+
* The name of this repo.
|
71
|
+
*/
|
72
|
+
name?: pulumi.Input<string>;
|
73
|
+
/**
|
74
|
+
* The group that owns the repo.
|
75
|
+
*/
|
76
|
+
parentId?: pulumi.Input<string>;
|
77
|
+
/**
|
78
|
+
* The README for this repo.
|
79
|
+
*/
|
80
|
+
readme?: pulumi.Input<string>;
|
81
|
+
/**
|
82
|
+
* Configuration for catalog syncing.
|
83
|
+
*/
|
84
|
+
syncConfig?: pulumi.Input<inputs.ImageRepoSyncConfig>;
|
85
|
+
/**
|
86
|
+
* Image tier associated with this repo.
|
87
|
+
*/
|
88
|
+
tier?: pulumi.Input<string>;
|
89
|
+
}
|
90
|
+
/**
|
91
|
+
* The set of arguments for constructing a ImageRepo resource.
|
92
|
+
*/
|
93
|
+
export interface ImageRepoArgs {
|
94
|
+
/**
|
95
|
+
* Known aliases for a given image.
|
96
|
+
*/
|
97
|
+
aliases?: pulumi.Input<pulumi.Input<string>[]>;
|
98
|
+
/**
|
99
|
+
* List of bundles associated with this repo (valid ones: `application|base|byol|ai|ai-gpu|featured|fips`).
|
100
|
+
*/
|
101
|
+
bundles?: pulumi.Input<pulumi.Input<string>[]>;
|
102
|
+
/**
|
103
|
+
* The name of this repo.
|
104
|
+
*/
|
105
|
+
name?: pulumi.Input<string>;
|
106
|
+
/**
|
107
|
+
* The group that owns the repo.
|
108
|
+
*/
|
109
|
+
parentId: pulumi.Input<string>;
|
110
|
+
/**
|
111
|
+
* The README for this repo.
|
112
|
+
*/
|
113
|
+
readme?: pulumi.Input<string>;
|
114
|
+
/**
|
115
|
+
* Configuration for catalog syncing.
|
116
|
+
*/
|
117
|
+
syncConfig?: pulumi.Input<inputs.ImageRepoSyncConfig>;
|
118
|
+
/**
|
119
|
+
* Image tier associated with this repo.
|
120
|
+
*/
|
121
|
+
tier?: pulumi.Input<string>;
|
122
|
+
}
|
package/bin/imageRepo.js
ADDED
@@ -0,0 +1,64 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
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.ImageRepo = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
class ImageRepo extends pulumi.CustomResource {
|
9
|
+
/**
|
10
|
+
* Get an existing ImageRepo resource's state with the given name, ID, and optional extra
|
11
|
+
* properties used to qualify the lookup.
|
12
|
+
*
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
17
|
+
*/
|
18
|
+
static get(name, id, state, opts) {
|
19
|
+
return new ImageRepo(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Returns true if the given object is an instance of ImageRepo. This is designed to work even
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
24
|
+
*/
|
25
|
+
static isInstance(obj) {
|
26
|
+
if (obj === undefined || obj === null) {
|
27
|
+
return false;
|
28
|
+
}
|
29
|
+
return obj['__pulumiType'] === ImageRepo.__pulumiType;
|
30
|
+
}
|
31
|
+
constructor(name, argsOrState, opts) {
|
32
|
+
let resourceInputs = {};
|
33
|
+
opts = opts || {};
|
34
|
+
if (opts.id) {
|
35
|
+
const state = argsOrState;
|
36
|
+
resourceInputs["aliases"] = state ? state.aliases : undefined;
|
37
|
+
resourceInputs["bundles"] = state ? state.bundles : undefined;
|
38
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
39
|
+
resourceInputs["parentId"] = state ? state.parentId : undefined;
|
40
|
+
resourceInputs["readme"] = state ? state.readme : undefined;
|
41
|
+
resourceInputs["syncConfig"] = state ? state.syncConfig : undefined;
|
42
|
+
resourceInputs["tier"] = state ? state.tier : undefined;
|
43
|
+
}
|
44
|
+
else {
|
45
|
+
const args = argsOrState;
|
46
|
+
if ((!args || args.parentId === undefined) && !opts.urn) {
|
47
|
+
throw new Error("Missing required property 'parentId'");
|
48
|
+
}
|
49
|
+
resourceInputs["aliases"] = args ? args.aliases : undefined;
|
50
|
+
resourceInputs["bundles"] = args ? args.bundles : undefined;
|
51
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
52
|
+
resourceInputs["parentId"] = args ? args.parentId : undefined;
|
53
|
+
resourceInputs["readme"] = args ? args.readme : undefined;
|
54
|
+
resourceInputs["syncConfig"] = args ? args.syncConfig : undefined;
|
55
|
+
resourceInputs["tier"] = args ? args.tier : undefined;
|
56
|
+
}
|
57
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
58
|
+
super(ImageRepo.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
59
|
+
}
|
60
|
+
}
|
61
|
+
exports.ImageRepo = ImageRepo;
|
62
|
+
/** @internal */
|
63
|
+
ImageRepo.__pulumiType = 'chainguard:index/imageRepo:ImageRepo';
|
64
|
+
//# sourceMappingURL=imageRepo.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"imageRepo.js","sourceRoot":"","sources":["../imageRepo.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,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;IAuCD,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,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC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AI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;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,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC5G,CAAC;;AA5FL,8BA6FC;AA/EG,gBAAgB;AACO,sBAAY,GAAG,sCAAsC,CAAC"}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
export declare class ImageTag extends pulumi.CustomResource {
|
3
|
+
/**
|
4
|
+
* Get an existing ImageTag resource's state with the given name, ID, and optional extra
|
5
|
+
* properties used to qualify the lookup.
|
6
|
+
*
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
11
|
+
*/
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ImageTagState, opts?: pulumi.CustomResourceOptions): ImageTag;
|
13
|
+
/**
|
14
|
+
* Returns true if the given object is an instance of ImageTag. This is designed to work even
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
16
|
+
*/
|
17
|
+
static isInstance(obj: any): obj is ImageTag;
|
18
|
+
/**
|
19
|
+
* List of bundles associated with this repo (valid ones: `application|base|byol|ai|ai-gpu|featured|fips`).
|
20
|
+
*/
|
21
|
+
readonly bundles: pulumi.Output<string[] | undefined>;
|
22
|
+
/**
|
23
|
+
* The name of this tag.
|
24
|
+
*/
|
25
|
+
readonly name: pulumi.Output<string>;
|
26
|
+
/**
|
27
|
+
* The repo that owns the repo.
|
28
|
+
*/
|
29
|
+
readonly repoId: pulumi.Output<string>;
|
30
|
+
/**
|
31
|
+
* Create a ImageTag resource with the given unique name, arguments, and options.
|
32
|
+
*
|
33
|
+
* @param name The _unique_ name of the resource.
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
36
|
+
*/
|
37
|
+
constructor(name: string, args: ImageTagArgs, opts?: pulumi.CustomResourceOptions);
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* Input properties used for looking up and filtering ImageTag resources.
|
41
|
+
*/
|
42
|
+
export interface ImageTagState {
|
43
|
+
/**
|
44
|
+
* List of bundles associated with this repo (valid ones: `application|base|byol|ai|ai-gpu|featured|fips`).
|
45
|
+
*/
|
46
|
+
bundles?: pulumi.Input<pulumi.Input<string>[]>;
|
47
|
+
/**
|
48
|
+
* The name of this tag.
|
49
|
+
*/
|
50
|
+
name?: pulumi.Input<string>;
|
51
|
+
/**
|
52
|
+
* The repo that owns the repo.
|
53
|
+
*/
|
54
|
+
repoId?: pulumi.Input<string>;
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* The set of arguments for constructing a ImageTag resource.
|
58
|
+
*/
|
59
|
+
export interface ImageTagArgs {
|
60
|
+
/**
|
61
|
+
* List of bundles associated with this repo (valid ones: `application|base|byol|ai|ai-gpu|featured|fips`).
|
62
|
+
*/
|
63
|
+
bundles?: pulumi.Input<pulumi.Input<string>[]>;
|
64
|
+
/**
|
65
|
+
* The name of this tag.
|
66
|
+
*/
|
67
|
+
name?: pulumi.Input<string>;
|
68
|
+
/**
|
69
|
+
* The repo that owns the repo.
|
70
|
+
*/
|
71
|
+
repoId: pulumi.Input<string>;
|
72
|
+
}
|
package/bin/imageTag.js
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
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.ImageTag = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
class ImageTag extends pulumi.CustomResource {
|
9
|
+
/**
|
10
|
+
* Get an existing ImageTag resource's state with the given name, ID, and optional extra
|
11
|
+
* properties used to qualify the lookup.
|
12
|
+
*
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
17
|
+
*/
|
18
|
+
static get(name, id, state, opts) {
|
19
|
+
return new ImageTag(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Returns true if the given object is an instance of ImageTag. This is designed to work even
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
24
|
+
*/
|
25
|
+
static isInstance(obj) {
|
26
|
+
if (obj === undefined || obj === null) {
|
27
|
+
return false;
|
28
|
+
}
|
29
|
+
return obj['__pulumiType'] === ImageTag.__pulumiType;
|
30
|
+
}
|
31
|
+
constructor(name, argsOrState, opts) {
|
32
|
+
let resourceInputs = {};
|
33
|
+
opts = opts || {};
|
34
|
+
if (opts.id) {
|
35
|
+
const state = argsOrState;
|
36
|
+
resourceInputs["bundles"] = state ? state.bundles : undefined;
|
37
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
38
|
+
resourceInputs["repoId"] = state ? state.repoId : undefined;
|
39
|
+
}
|
40
|
+
else {
|
41
|
+
const args = argsOrState;
|
42
|
+
if ((!args || args.repoId === undefined) && !opts.urn) {
|
43
|
+
throw new Error("Missing required property 'repoId'");
|
44
|
+
}
|
45
|
+
resourceInputs["bundles"] = args ? args.bundles : undefined;
|
46
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
47
|
+
resourceInputs["repoId"] = args ? args.repoId : undefined;
|
48
|
+
}
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
50
|
+
super(ImageTag.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
51
|
+
}
|
52
|
+
}
|
53
|
+
exports.ImageTag = ImageTag;
|
54
|
+
/** @internal */
|
55
|
+
ImageTag.__pulumiType = 'chainguard:index/imageTag:ImageTag';
|
56
|
+
//# sourceMappingURL=imageTag.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"imageTag.js","sourceRoot":"","sources":["../imageTag.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;Q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,UAAU,EAAE,CAAC,CAAC;IAC3G,CAAC;;AApEL,4BAqEC;AAvDG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
package/bin/index.d.ts
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
export { AccountAssociationsArgs, AccountAssociationsState } from "./accountAssociations";
|
2
|
+
export type AccountAssociations = import("./accountAssociations").AccountAssociations;
|
3
|
+
export declare const AccountAssociations: typeof import("./accountAssociations").AccountAssociations;
|
4
|
+
export { ApkoBuildArgs, ApkoBuildState } from "./apkoBuild";
|
5
|
+
export type ApkoBuild = import("./apkoBuild").ApkoBuild;
|
6
|
+
export declare const ApkoBuild: typeof import("./apkoBuild").ApkoBuild;
|
7
|
+
export { GetGroupArgs, GetGroupResult, GetGroupOutputArgs } from "./getGroup";
|
8
|
+
export declare const getGroup: typeof import("./getGroup").getGroup;
|
9
|
+
export declare const getGroupOutput: typeof import("./getGroup").getGroupOutput;
|
10
|
+
export { GetIdentityArgs, GetIdentityResult, GetIdentityOutputArgs } from "./getIdentity";
|
11
|
+
export declare const getIdentity: typeof import("./getIdentity").getIdentity;
|
12
|
+
export declare const getIdentityOutput: typeof import("./getIdentity").getIdentityOutput;
|
13
|
+
export { GetRoleArgs, GetRoleResult, GetRoleOutputArgs } from "./getRole";
|
14
|
+
export declare const getRole: typeof import("./getRole").getRole;
|
15
|
+
export declare const getRoleOutput: typeof import("./getRole").getRoleOutput;
|
16
|
+
export { GetVersionsArgs, GetVersionsResult, GetVersionsOutputArgs } from "./getVersions";
|
17
|
+
export declare const getVersions: typeof import("./getVersions").getVersions;
|
18
|
+
export declare const getVersionsOutput: typeof import("./getVersions").getVersionsOutput;
|
19
|
+
export { GroupArgs, GroupState } from "./group";
|
20
|
+
export type Group = import("./group").Group;
|
21
|
+
export declare const Group: typeof import("./group").Group;
|
22
|
+
export { GroupInviteArgs, GroupInviteState } from "./groupInvite";
|
23
|
+
export type GroupInvite = import("./groupInvite").GroupInvite;
|
24
|
+
export declare const GroupInvite: typeof import("./groupInvite").GroupInvite;
|
25
|
+
export { IdentityArgs, IdentityState } from "./identity";
|
26
|
+
export type Identity = import("./identity").Identity;
|
27
|
+
export declare const Identity: typeof import("./identity").Identity;
|
28
|
+
export { IdentityProviderArgs, IdentityProviderState } from "./identityProvider";
|
29
|
+
export type IdentityProvider = import("./identityProvider").IdentityProvider;
|
30
|
+
export declare const IdentityProvider: typeof import("./identityProvider").IdentityProvider;
|
31
|
+
export { ImageRepoArgs, ImageRepoState } from "./imageRepo";
|
32
|
+
export type ImageRepo = import("./imageRepo").ImageRepo;
|
33
|
+
export declare const ImageRepo: typeof import("./imageRepo").ImageRepo;
|
34
|
+
export { ImageTagArgs, ImageTagState } from "./imageTag";
|
35
|
+
export type ImageTag = import("./imageTag").ImageTag;
|
36
|
+
export declare const ImageTag: typeof import("./imageTag").ImageTag;
|
37
|
+
export { ProviderArgs } from "./provider";
|
38
|
+
export type Provider = import("./provider").Provider;
|
39
|
+
export declare const Provider: typeof import("./provider").Provider;
|
40
|
+
export { RoleArgs, RoleState } from "./role";
|
41
|
+
export type Role = import("./role").Role;
|
42
|
+
export declare const Role: typeof import("./role").Role;
|
43
|
+
export { RolebindingArgs, RolebindingState } from "./rolebinding";
|
44
|
+
export type Rolebinding = import("./rolebinding").Rolebinding;
|
45
|
+
export declare const Rolebinding: typeof import("./rolebinding").Rolebinding;
|
46
|
+
export { SubscriptionArgs, SubscriptionState } from "./subscription";
|
47
|
+
export type Subscription = import("./subscription").Subscription;
|
48
|
+
export declare const Subscription: typeof import("./subscription").Subscription;
|
49
|
+
import * as config from "./config";
|
50
|
+
import * as types from "./types";
|
51
|
+
export { config, types, };
|
package/bin/index.js
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
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.types = exports.config = exports.Subscription = exports.Rolebinding = exports.Role = exports.Provider = exports.ImageTag = exports.ImageRepo = exports.IdentityProvider = exports.Identity = exports.GroupInvite = exports.Group = exports.getVersionsOutput = exports.getVersions = exports.getRoleOutput = exports.getRole = exports.getIdentityOutput = exports.getIdentity = exports.getGroupOutput = exports.getGroup = exports.ApkoBuild = exports.AccountAssociations = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
exports.AccountAssociations = null;
|
9
|
+
utilities.lazyLoad(exports, ["AccountAssociations"], () => require("./accountAssociations"));
|
10
|
+
exports.ApkoBuild = null;
|
11
|
+
utilities.lazyLoad(exports, ["ApkoBuild"], () => require("./apkoBuild"));
|
12
|
+
exports.getGroup = null;
|
13
|
+
exports.getGroupOutput = null;
|
14
|
+
utilities.lazyLoad(exports, ["getGroup", "getGroupOutput"], () => require("./getGroup"));
|
15
|
+
exports.getIdentity = null;
|
16
|
+
exports.getIdentityOutput = null;
|
17
|
+
utilities.lazyLoad(exports, ["getIdentity", "getIdentityOutput"], () => require("./getIdentity"));
|
18
|
+
exports.getRole = null;
|
19
|
+
exports.getRoleOutput = null;
|
20
|
+
utilities.lazyLoad(exports, ["getRole", "getRoleOutput"], () => require("./getRole"));
|
21
|
+
exports.getVersions = null;
|
22
|
+
exports.getVersionsOutput = null;
|
23
|
+
utilities.lazyLoad(exports, ["getVersions", "getVersionsOutput"], () => require("./getVersions"));
|
24
|
+
exports.Group = null;
|
25
|
+
utilities.lazyLoad(exports, ["Group"], () => require("./group"));
|
26
|
+
exports.GroupInvite = null;
|
27
|
+
utilities.lazyLoad(exports, ["GroupInvite"], () => require("./groupInvite"));
|
28
|
+
exports.Identity = null;
|
29
|
+
utilities.lazyLoad(exports, ["Identity"], () => require("./identity"));
|
30
|
+
exports.IdentityProvider = null;
|
31
|
+
utilities.lazyLoad(exports, ["IdentityProvider"], () => require("./identityProvider"));
|
32
|
+
exports.ImageRepo = null;
|
33
|
+
utilities.lazyLoad(exports, ["ImageRepo"], () => require("./imageRepo"));
|
34
|
+
exports.ImageTag = null;
|
35
|
+
utilities.lazyLoad(exports, ["ImageTag"], () => require("./imageTag"));
|
36
|
+
exports.Provider = null;
|
37
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
38
|
+
exports.Role = null;
|
39
|
+
utilities.lazyLoad(exports, ["Role"], () => require("./role"));
|
40
|
+
exports.Rolebinding = null;
|
41
|
+
utilities.lazyLoad(exports, ["Rolebinding"], () => require("./rolebinding"));
|
42
|
+
exports.Subscription = null;
|
43
|
+
utilities.lazyLoad(exports, ["Subscription"], () => require("./subscription"));
|
44
|
+
// Export sub-modules:
|
45
|
+
const config = require("./config");
|
46
|
+
exports.config = config;
|
47
|
+
const types = require("./types");
|
48
|
+
exports.types = types;
|
49
|
+
const _module = {
|
50
|
+
version: utilities.getVersion(),
|
51
|
+
construct: (name, type, urn) => {
|
52
|
+
switch (type) {
|
53
|
+
case "chainguard:index/accountAssociations:AccountAssociations":
|
54
|
+
return new exports.AccountAssociations(name, undefined, { urn });
|
55
|
+
case "chainguard:index/apkoBuild:ApkoBuild":
|
56
|
+
return new exports.ApkoBuild(name, undefined, { urn });
|
57
|
+
case "chainguard:index/group:Group":
|
58
|
+
return new exports.Group(name, undefined, { urn });
|
59
|
+
case "chainguard:index/groupInvite:GroupInvite":
|
60
|
+
return new exports.GroupInvite(name, undefined, { urn });
|
61
|
+
case "chainguard:index/identity:Identity":
|
62
|
+
return new exports.Identity(name, undefined, { urn });
|
63
|
+
case "chainguard:index/identityProvider:IdentityProvider":
|
64
|
+
return new exports.IdentityProvider(name, undefined, { urn });
|
65
|
+
case "chainguard:index/imageRepo:ImageRepo":
|
66
|
+
return new exports.ImageRepo(name, undefined, { urn });
|
67
|
+
case "chainguard:index/imageTag:ImageTag":
|
68
|
+
return new exports.ImageTag(name, undefined, { urn });
|
69
|
+
case "chainguard:index/role:Role":
|
70
|
+
return new exports.Role(name, undefined, { urn });
|
71
|
+
case "chainguard:index/rolebinding:Rolebinding":
|
72
|
+
return new exports.Rolebinding(name, undefined, { urn });
|
73
|
+
case "chainguard:index/subscription:Subscription":
|
74
|
+
return new exports.Subscription(name, undefined, { urn });
|
75
|
+
default:
|
76
|
+
throw new Error(`unknown resource type ${type}`);
|
77
|
+
}
|
78
|
+
},
|
79
|
+
};
|
80
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/accountAssociations", _module);
|
81
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/apkoBuild", _module);
|
82
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/group", _module);
|
83
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/groupInvite", _module);
|
84
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/identity", _module);
|
85
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/identityProvider", _module);
|
86
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/imageRepo", _module);
|
87
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/imageTag", _module);
|
88
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/role", _module);
|
89
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/rolebinding", _module);
|
90
|
+
pulumi.runtime.registerResourceModule("chainguard", "index/subscription", _module);
|
91
|
+
pulumi.runtime.registerResourcePackage("chainguard", {
|
92
|
+
version: utilities.getVersion(),
|
93
|
+
constructProvider: (name, type, urn) => {
|
94
|
+
if (type !== "pulumi:providers:chainguard") {
|
95
|
+
throw new Error(`unknown provider type ${type}`);
|
96
|
+
}
|
97
|
+
return new exports.Provider(name, undefined, { urn });
|
98
|
+
},
|
99
|
+
});
|
100
|
+
//# sourceMappingURL=index.js.map
|
package/bin/index.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAK5B,QAAA,mBAAm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;AAC/E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,gBAAgB,EAAE,OAAO,CAAC,CAAA;AAC9E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,YAAY,EAAE,OAAO,CAAC,CAAA;AAC1E,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AACjF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,oBAAoB,EAAE,OAAO,CAAC,CAAA;AAClF,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,YAAY,EAAE;IACjD,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,6BAA6B,EAAE;YACxC,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"}
|
package/bin/package.json
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
{
|
2
|
+
"name": "@ptfm/chainguard",
|
3
|
+
"version": "0.1.28",
|
4
|
+
"description": "A Pulumi provider dynamically bridged from chainguard.",
|
5
|
+
"main": "bin/index.js",
|
6
|
+
"scripts": {
|
7
|
+
"build": "tsc"
|
8
|
+
},
|
9
|
+
"dependencies": {
|
10
|
+
"@pulumi/pulumi": "^3.142.0",
|
11
|
+
"async-mutex": "^0.5.0"
|
12
|
+
},
|
13
|
+
"devDependencies": {
|
14
|
+
"@types/node": "^14",
|
15
|
+
"typescript": "^4.3.5"
|
16
|
+
},
|
17
|
+
"pulumi": {
|
18
|
+
"resource": true,
|
19
|
+
"name": "terraform-provider",
|
20
|
+
"version": "0.8.1",
|
21
|
+
"parameterization": {
|
22
|
+
"name": "chainguard",
|
23
|
+
"version": "0.1.28",
|
24
|
+
"value": "eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkudGVycmFmb3JtLmlvL2NoYWluZ3VhcmQtZGV2L2NoYWluZ3VhcmQiLCJ2ZXJzaW9uIjoiMC4xLjI4In19"
|
25
|
+
}
|
26
|
+
},
|
27
|
+
"repository": {
|
28
|
+
"url": "git+https://github.com/risen228/pulumi-terraform-mirrors.git",
|
29
|
+
"type": "git"
|
30
|
+
},
|
31
|
+
"files": [
|
32
|
+
"bin/**"
|
33
|
+
]
|
34
|
+
}
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "./types/input";
|
3
|
+
/**
|
4
|
+
* The provider type for the chainguard package. By default, resources use package-wide configuration
|
5
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
6
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
7
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
8
|
+
*/
|
9
|
+
export declare class Provider extends pulumi.ProviderResource {
|
10
|
+
/**
|
11
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
12
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
13
|
+
*/
|
14
|
+
static isInstance(obj: any): obj is Provider;
|
15
|
+
/**
|
16
|
+
* URL of Chainguard console API.
|
17
|
+
*/
|
18
|
+
readonly consoleApi: pulumi.Output<string | undefined>;
|
19
|
+
/**
|
20
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
21
|
+
*
|
22
|
+
* @param name The _unique_ name of the resource.
|
23
|
+
* @param args The arguments to use to populate this resource's properties.
|
24
|
+
* @param opts A bag of options that control this resource's behavior.
|
25
|
+
*/
|
26
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* The set of arguments for constructing a Provider resource.
|
30
|
+
*/
|
31
|
+
export interface ProviderArgs {
|
32
|
+
/**
|
33
|
+
* URL of Chainguard console API.
|
34
|
+
*/
|
35
|
+
consoleApi?: pulumi.Input<string>;
|
36
|
+
/**
|
37
|
+
* Options to configure automatic login when Chainguard token is expired.
|
38
|
+
*/
|
39
|
+
loginOptions?: pulumi.Input<inputs.ProviderLoginOptions>;
|
40
|
+
/**
|
41
|
+
* An allowlist of version streams. Can be either set in the provider or as the "CHAINGUARD_VERSION_ALLOW" environment
|
42
|
+
* variable. When setting via an environment variable, the list must be comma separated. For example, if the resource
|
43
|
+
* returns the following versions: - foo-1.0 - foo-1.1 - foo-1.2 And the allowlist is set to ["foo-1.0"], then the returned
|
44
|
+
* results will return only the version stream "foo-1.0". This applies to both EOL and non EOL version streams, and also
|
45
|
+
* affects the computed "is_latest" field to only consider the filtered versions.
|
46
|
+
*/
|
47
|
+
versionStreamAllows?: pulumi.Input<pulumi.Input<string>[]>;
|
48
|
+
}
|