@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
package/bin/provider.js
ADDED
@@ -0,0 +1,47 @@
|
|
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.Provider = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
/**
|
9
|
+
* The provider type for the chainguard package. By default, resources use package-wide configuration
|
10
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
11
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
12
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
13
|
+
*/
|
14
|
+
class Provider extends pulumi.ProviderResource {
|
15
|
+
/**
|
16
|
+
* Returns true if the given object is an instance of Provider. 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) {
|
20
|
+
if (obj === undefined || obj === null) {
|
21
|
+
return false;
|
22
|
+
}
|
23
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
24
|
+
}
|
25
|
+
/**
|
26
|
+
* Create a Provider 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, args, opts) {
|
33
|
+
let resourceInputs = {};
|
34
|
+
opts = opts || {};
|
35
|
+
{
|
36
|
+
resourceInputs["consoleApi"] = args ? args.consoleApi : undefined;
|
37
|
+
resourceInputs["loginOptions"] = pulumi.output(args ? args.loginOptions : undefined).apply(JSON.stringify);
|
38
|
+
resourceInputs["versionStreamAllows"] = pulumi.output(args ? args.versionStreamAllows : undefined).apply(JSON.stringify);
|
39
|
+
}
|
40
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
41
|
+
super(Provider.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
42
|
+
}
|
43
|
+
}
|
44
|
+
exports.Provider = Provider;
|
45
|
+
/** @internal */
|
46
|
+
Provider.__pulumiType = 'chainguard';
|
47
|
+
//# sourceMappingURL=provider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,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;IAOD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,cAAc,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC3G,cAAc,CAAC,qBAAqB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;SAC5H;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC3G,CAAC;;AArCL,4BAsCC;AArCG,gBAAgB;AACO,qBAAY,GAAG,YAAY,CAAC"}
|
package/bin/role.d.ts
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
export declare class Role extends pulumi.CustomResource {
|
3
|
+
/**
|
4
|
+
* Get an existing Role 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?: RoleState, opts?: pulumi.CustomResourceOptions): Role;
|
13
|
+
/**
|
14
|
+
* Returns true if the given object is an instance of Role. 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 Role;
|
18
|
+
/**
|
19
|
+
* The list of capabilities to grant this role
|
20
|
+
*/
|
21
|
+
readonly capabilities: pulumi.Output<string[]>;
|
22
|
+
/**
|
23
|
+
* An optional longer description of this role.
|
24
|
+
*/
|
25
|
+
readonly description: pulumi.Output<string | undefined>;
|
26
|
+
/**
|
27
|
+
* The name of this role.
|
28
|
+
*/
|
29
|
+
readonly name: pulumi.Output<string>;
|
30
|
+
/**
|
31
|
+
* The group containing this role
|
32
|
+
*/
|
33
|
+
readonly parentId: pulumi.Output<string>;
|
34
|
+
/**
|
35
|
+
* Create a Role resource with the given unique name, arguments, and options.
|
36
|
+
*
|
37
|
+
* @param name The _unique_ name of the resource.
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
40
|
+
*/
|
41
|
+
constructor(name: string, args: RoleArgs, opts?: pulumi.CustomResourceOptions);
|
42
|
+
}
|
43
|
+
/**
|
44
|
+
* Input properties used for looking up and filtering Role resources.
|
45
|
+
*/
|
46
|
+
export interface RoleState {
|
47
|
+
/**
|
48
|
+
* The list of capabilities to grant this role
|
49
|
+
*/
|
50
|
+
capabilities?: pulumi.Input<pulumi.Input<string>[]>;
|
51
|
+
/**
|
52
|
+
* An optional longer description of this role.
|
53
|
+
*/
|
54
|
+
description?: pulumi.Input<string>;
|
55
|
+
/**
|
56
|
+
* The name of this role.
|
57
|
+
*/
|
58
|
+
name?: pulumi.Input<string>;
|
59
|
+
/**
|
60
|
+
* The group containing this role
|
61
|
+
*/
|
62
|
+
parentId?: pulumi.Input<string>;
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* The set of arguments for constructing a Role resource.
|
66
|
+
*/
|
67
|
+
export interface RoleArgs {
|
68
|
+
/**
|
69
|
+
* The list of capabilities to grant this role
|
70
|
+
*/
|
71
|
+
capabilities: pulumi.Input<pulumi.Input<string>[]>;
|
72
|
+
/**
|
73
|
+
* An optional longer description of this role.
|
74
|
+
*/
|
75
|
+
description?: pulumi.Input<string>;
|
76
|
+
/**
|
77
|
+
* The name of this role.
|
78
|
+
*/
|
79
|
+
name?: pulumi.Input<string>;
|
80
|
+
/**
|
81
|
+
* The group containing this role
|
82
|
+
*/
|
83
|
+
parentId: pulumi.Input<string>;
|
84
|
+
}
|
package/bin/role.js
ADDED
@@ -0,0 +1,61 @@
|
|
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.Role = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
class Role extends pulumi.CustomResource {
|
9
|
+
/**
|
10
|
+
* Get an existing Role 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 Role(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Returns true if the given object is an instance of Role. 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'] === Role.__pulumiType;
|
30
|
+
}
|
31
|
+
constructor(name, argsOrState, opts) {
|
32
|
+
let resourceInputs = {};
|
33
|
+
opts = opts || {};
|
34
|
+
if (opts.id) {
|
35
|
+
const state = argsOrState;
|
36
|
+
resourceInputs["capabilities"] = state ? state.capabilities : undefined;
|
37
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
38
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
39
|
+
resourceInputs["parentId"] = state ? state.parentId : undefined;
|
40
|
+
}
|
41
|
+
else {
|
42
|
+
const args = argsOrState;
|
43
|
+
if ((!args || args.capabilities === undefined) && !opts.urn) {
|
44
|
+
throw new Error("Missing required property 'capabilities'");
|
45
|
+
}
|
46
|
+
if ((!args || args.parentId === undefined) && !opts.urn) {
|
47
|
+
throw new Error("Missing required property 'parentId'");
|
48
|
+
}
|
49
|
+
resourceInputs["capabilities"] = args ? args.capabilities : undefined;
|
50
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
51
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
52
|
+
resourceInputs["parentId"] = args ? args.parentId : undefined;
|
53
|
+
}
|
54
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
55
|
+
super(Role.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
56
|
+
}
|
57
|
+
}
|
58
|
+
exports.Role = Role;
|
59
|
+
/** @internal */
|
60
|
+
Role.__pulumiType = 'chainguard:index/role:Role';
|
61
|
+
//# sourceMappingURL=role.js.map
|
package/bin/role.js.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"role.js","sourceRoot":"","sources":["../role.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC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AAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;SACjE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACvG,CAAC;;AA7EL,oBA8EC;AAhEG,gBAAgB;AACO,iBAAY,GAAG,4BAA4B,CAAC"}
|
@@ -0,0 +1,72 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
export declare class Rolebinding extends pulumi.CustomResource {
|
3
|
+
/**
|
4
|
+
* Get an existing Rolebinding 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?: RolebindingState, opts?: pulumi.CustomResourceOptions): Rolebinding;
|
13
|
+
/**
|
14
|
+
* Returns true if the given object is an instance of Rolebinding. 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 Rolebinding;
|
18
|
+
/**
|
19
|
+
* The id of the IAM group to grant the identity access to with the role's capabilities.
|
20
|
+
*/
|
21
|
+
readonly group: pulumi.Output<string>;
|
22
|
+
/**
|
23
|
+
* The id of an identity to grant role's capabilities to at the scope of the IAM group.
|
24
|
+
*/
|
25
|
+
readonly identity: pulumi.Output<string>;
|
26
|
+
/**
|
27
|
+
* The role to grant identity at the scope of the IAM group.
|
28
|
+
*/
|
29
|
+
readonly role: pulumi.Output<string>;
|
30
|
+
/**
|
31
|
+
* Create a Rolebinding 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: RolebindingArgs, opts?: pulumi.CustomResourceOptions);
|
38
|
+
}
|
39
|
+
/**
|
40
|
+
* Input properties used for looking up and filtering Rolebinding resources.
|
41
|
+
*/
|
42
|
+
export interface RolebindingState {
|
43
|
+
/**
|
44
|
+
* The id of the IAM group to grant the identity access to with the role's capabilities.
|
45
|
+
*/
|
46
|
+
group?: pulumi.Input<string>;
|
47
|
+
/**
|
48
|
+
* The id of an identity to grant role's capabilities to at the scope of the IAM group.
|
49
|
+
*/
|
50
|
+
identity?: pulumi.Input<string>;
|
51
|
+
/**
|
52
|
+
* The role to grant identity at the scope of the IAM group.
|
53
|
+
*/
|
54
|
+
role?: pulumi.Input<string>;
|
55
|
+
}
|
56
|
+
/**
|
57
|
+
* The set of arguments for constructing a Rolebinding resource.
|
58
|
+
*/
|
59
|
+
export interface RolebindingArgs {
|
60
|
+
/**
|
61
|
+
* The id of the IAM group to grant the identity access to with the role's capabilities.
|
62
|
+
*/
|
63
|
+
group: pulumi.Input<string>;
|
64
|
+
/**
|
65
|
+
* The id of an identity to grant role's capabilities to at the scope of the IAM group.
|
66
|
+
*/
|
67
|
+
identity: pulumi.Input<string>;
|
68
|
+
/**
|
69
|
+
* The role to grant identity at the scope of the IAM group.
|
70
|
+
*/
|
71
|
+
role: pulumi.Input<string>;
|
72
|
+
}
|
@@ -0,0 +1,62 @@
|
|
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.Rolebinding = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
class Rolebinding extends pulumi.CustomResource {
|
9
|
+
/**
|
10
|
+
* Get an existing Rolebinding 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 Rolebinding(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Returns true if the given object is an instance of Rolebinding. 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'] === Rolebinding.__pulumiType;
|
30
|
+
}
|
31
|
+
constructor(name, argsOrState, opts) {
|
32
|
+
let resourceInputs = {};
|
33
|
+
opts = opts || {};
|
34
|
+
if (opts.id) {
|
35
|
+
const state = argsOrState;
|
36
|
+
resourceInputs["group"] = state ? state.group : undefined;
|
37
|
+
resourceInputs["identity"] = state ? state.identity : undefined;
|
38
|
+
resourceInputs["role"] = state ? state.role : undefined;
|
39
|
+
}
|
40
|
+
else {
|
41
|
+
const args = argsOrState;
|
42
|
+
if ((!args || args.group === undefined) && !opts.urn) {
|
43
|
+
throw new Error("Missing required property 'group'");
|
44
|
+
}
|
45
|
+
if ((!args || args.identity === undefined) && !opts.urn) {
|
46
|
+
throw new Error("Missing required property 'identity'");
|
47
|
+
}
|
48
|
+
if ((!args || args.role === undefined) && !opts.urn) {
|
49
|
+
throw new Error("Missing required property 'role'");
|
50
|
+
}
|
51
|
+
resourceInputs["group"] = args ? args.group : undefined;
|
52
|
+
resourceInputs["identity"] = args ? args.identity : undefined;
|
53
|
+
resourceInputs["role"] = args ? args.role : undefined;
|
54
|
+
}
|
55
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
56
|
+
super(Rolebinding.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
57
|
+
}
|
58
|
+
}
|
59
|
+
exports.Rolebinding = Rolebinding;
|
60
|
+
/** @internal */
|
61
|
+
Rolebinding.__pulumiType = 'chainguard:index/rolebinding:Rolebinding';
|
62
|
+
//# sourceMappingURL=rolebinding.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"rolebinding.js","sourceRoot":"","sources":["../rolebinding.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,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CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC9G,CAAC;;AA1EL,kCA2EC;AA7DG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
@@ -0,0 +1,60 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
export declare class Subscription extends pulumi.CustomResource {
|
3
|
+
/**
|
4
|
+
* Get an existing Subscription 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?: SubscriptionState, opts?: pulumi.CustomResourceOptions): Subscription;
|
13
|
+
/**
|
14
|
+
* Returns true if the given object is an instance of Subscription. 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 Subscription;
|
18
|
+
/**
|
19
|
+
* Parent IAM group of subscription. Sets the scope of the events subscribed to.
|
20
|
+
*/
|
21
|
+
readonly parentId: pulumi.Output<string>;
|
22
|
+
/**
|
23
|
+
* Address to which events will be sent using the selected protocol
|
24
|
+
*/
|
25
|
+
readonly sink: pulumi.Output<string>;
|
26
|
+
/**
|
27
|
+
* Create a Subscription resource with the given unique name, arguments, and options.
|
28
|
+
*
|
29
|
+
* @param name The _unique_ name of the resource.
|
30
|
+
* @param args The arguments to use to populate this resource's properties.
|
31
|
+
* @param opts A bag of options that control this resource's behavior.
|
32
|
+
*/
|
33
|
+
constructor(name: string, args: SubscriptionArgs, opts?: pulumi.CustomResourceOptions);
|
34
|
+
}
|
35
|
+
/**
|
36
|
+
* Input properties used for looking up and filtering Subscription resources.
|
37
|
+
*/
|
38
|
+
export interface SubscriptionState {
|
39
|
+
/**
|
40
|
+
* Parent IAM group of subscription. Sets the scope of the events subscribed to.
|
41
|
+
*/
|
42
|
+
parentId?: pulumi.Input<string>;
|
43
|
+
/**
|
44
|
+
* Address to which events will be sent using the selected protocol
|
45
|
+
*/
|
46
|
+
sink?: pulumi.Input<string>;
|
47
|
+
}
|
48
|
+
/**
|
49
|
+
* The set of arguments for constructing a Subscription resource.
|
50
|
+
*/
|
51
|
+
export interface SubscriptionArgs {
|
52
|
+
/**
|
53
|
+
* Parent IAM group of subscription. Sets the scope of the events subscribed to.
|
54
|
+
*/
|
55
|
+
parentId: pulumi.Input<string>;
|
56
|
+
/**
|
57
|
+
* Address to which events will be sent using the selected protocol
|
58
|
+
*/
|
59
|
+
sink: pulumi.Input<string>;
|
60
|
+
}
|
@@ -0,0 +1,57 @@
|
|
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.Subscription = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
class Subscription extends pulumi.CustomResource {
|
9
|
+
/**
|
10
|
+
* Get an existing Subscription 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 Subscription(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
20
|
+
}
|
21
|
+
/**
|
22
|
+
* Returns true if the given object is an instance of Subscription. 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'] === Subscription.__pulumiType;
|
30
|
+
}
|
31
|
+
constructor(name, argsOrState, opts) {
|
32
|
+
let resourceInputs = {};
|
33
|
+
opts = opts || {};
|
34
|
+
if (opts.id) {
|
35
|
+
const state = argsOrState;
|
36
|
+
resourceInputs["parentId"] = state ? state.parentId : undefined;
|
37
|
+
resourceInputs["sink"] = state ? state.sink : undefined;
|
38
|
+
}
|
39
|
+
else {
|
40
|
+
const args = argsOrState;
|
41
|
+
if ((!args || args.parentId === undefined) && !opts.urn) {
|
42
|
+
throw new Error("Missing required property 'parentId'");
|
43
|
+
}
|
44
|
+
if ((!args || args.sink === undefined) && !opts.urn) {
|
45
|
+
throw new Error("Missing required property 'sink'");
|
46
|
+
}
|
47
|
+
resourceInputs["parentId"] = args ? args.parentId : undefined;
|
48
|
+
resourceInputs["sink"] = args ? args.sink : undefined;
|
49
|
+
}
|
50
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
51
|
+
super(Subscription.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
52
|
+
}
|
53
|
+
}
|
54
|
+
exports.Subscription = Subscription;
|
55
|
+
/** @internal */
|
56
|
+
Subscription.__pulumiType = 'chainguard:index/subscription:Subscription';
|
57
|
+
//# sourceMappingURL=subscription.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"subscription.js","sourceRoot":"","sources":["../subscription.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAmBD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACrD,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;aAC3D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACjD,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AAjEL,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
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.output = exports.input = void 0;
|
6
|
+
// Export sub-modules:
|
7
|
+
const input = require("./input");
|
8
|
+
exports.input = input;
|
9
|
+
const output = require("./output");
|
10
|
+
exports.output = output;
|
11
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|