@highstate/cilium-crds 0.4.5
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/CHANGELOG.md +10 -0
- package/README.md +14 -0
- package/bin/cilium/index.d.ts +2 -0
- package/bin/cilium/index.js +9 -0
- package/bin/cilium/index.js.map +1 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicy.d.ts +73 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicy.js +68 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicy.js.map +1 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicyList.d.ts +67 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicyList.js +65 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicyList.js.map +1 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicyPatch.d.ts +79 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicyPatch.js +74 -0
- package/bin/cilium/v2/ciliumClusterwideNetworkPolicyPatch.js.map +1 -0
- package/bin/cilium/v2/ciliumNetworkPolicy.d.ts +72 -0
- package/bin/cilium/v2/ciliumNetworkPolicy.js +67 -0
- package/bin/cilium/v2/ciliumNetworkPolicy.js.map +1 -0
- package/bin/cilium/v2/ciliumNetworkPolicyList.d.ts +67 -0
- package/bin/cilium/v2/ciliumNetworkPolicyList.js +65 -0
- package/bin/cilium/v2/ciliumNetworkPolicyList.js.map +1 -0
- package/bin/cilium/v2/ciliumNetworkPolicyPatch.d.ts +78 -0
- package/bin/cilium/v2/ciliumNetworkPolicyPatch.js +73 -0
- package/bin/cilium/v2/ciliumNetworkPolicyPatch.js.map +1 -0
- package/bin/cilium/v2/index.d.ts +18 -0
- package/bin/cilium/v2/index.js +42 -0
- package/bin/cilium/v2/index.js.map +1 -0
- package/bin/index.d.ts +6 -0
- package/bin/index.js +24 -0
- package/bin/index.js.map +1 -0
- package/bin/meta/v1.d.ts +3 -0
- package/bin/meta/v1.js +3 -0
- package/bin/meta/v1.js.map +1 -0
- package/bin/package.json +42 -0
- package/bin/provider.d.ts +21 -0
- package/bin/provider.js +38 -0
- package/bin/provider.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 +20087 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +20164 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +8 -0
- package/bin/utilities.js +102 -0
- package/bin/utilities.js.map +1 -0
- package/cilium/index.ts +11 -0
- package/cilium/v2/ciliumClusterwideNetworkPolicy.ts +113 -0
- package/cilium/v2/ciliumClusterwideNetworkPolicyList.ts +107 -0
- package/cilium/v2/ciliumClusterwideNetworkPolicyPatch.ts +119 -0
- package/cilium/v2/ciliumNetworkPolicy.ts +112 -0
- package/cilium/v2/ciliumNetworkPolicyList.ts +107 -0
- package/cilium/v2/ciliumNetworkPolicyPatch.ts +118 -0
- package/cilium/v2/index.ts +60 -0
- package/index.ts +30 -0
- package/meta/v1.ts +4 -0
- package/package.json +43 -0
- package/provider.ts +44 -0
- package/scripts/postinstall.js +13 -0
- package/tsconfig.json +31 -0
- package/types/index.ts +13 -0
- package/types/input.ts +20541 -0
- package/types/output.ts +20615 -0
- package/utilities.ts +97 -0
@@ -0,0 +1,67 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
import * as inputs from "../../types/input";
|
3
|
+
import * as outputs from "../../types/output";
|
4
|
+
/**
|
5
|
+
* CiliumNetworkPolicyList is a list of CiliumNetworkPolicy
|
6
|
+
*/
|
7
|
+
export declare class CiliumNetworkPolicyList extends pulumi.CustomResource {
|
8
|
+
/**
|
9
|
+
* Get an existing CiliumNetworkPolicyList resource's state with the given name, ID, and optional extra
|
10
|
+
* properties used to qualify the lookup.
|
11
|
+
*
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
15
|
+
*/
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumNetworkPolicyList;
|
17
|
+
/**
|
18
|
+
* Returns true if the given object is an instance of CiliumNetworkPolicyList. This is designed to work even
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
20
|
+
*/
|
21
|
+
static isInstance(obj: any): obj is CiliumNetworkPolicyList;
|
22
|
+
/**
|
23
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
24
|
+
*/
|
25
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2">;
|
26
|
+
/**
|
27
|
+
* List of ciliumnetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
28
|
+
*/
|
29
|
+
readonly items: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicy[]>;
|
30
|
+
/**
|
31
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
32
|
+
*/
|
33
|
+
readonly kind: pulumi.Output<"CiliumNetworkPolicyList">;
|
34
|
+
/**
|
35
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
36
|
+
*/
|
37
|
+
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
38
|
+
/**
|
39
|
+
* Create a CiliumNetworkPolicyList resource with the given unique name, arguments, and options.
|
40
|
+
*
|
41
|
+
* @param name The _unique_ name of the resource.
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
44
|
+
*/
|
45
|
+
constructor(name: string, args?: CiliumNetworkPolicyListArgs, opts?: pulumi.CustomResourceOptions);
|
46
|
+
}
|
47
|
+
/**
|
48
|
+
* The set of arguments for constructing a CiliumNetworkPolicyList resource.
|
49
|
+
*/
|
50
|
+
export interface CiliumNetworkPolicyListArgs {
|
51
|
+
/**
|
52
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
53
|
+
*/
|
54
|
+
apiVersion?: pulumi.Input<"cilium.io/v2">;
|
55
|
+
/**
|
56
|
+
* List of ciliumnetworkpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
57
|
+
*/
|
58
|
+
items: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicy>[]>;
|
59
|
+
/**
|
60
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
61
|
+
*/
|
62
|
+
kind?: pulumi.Input<"CiliumNetworkPolicyList">;
|
63
|
+
/**
|
64
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
65
|
+
*/
|
66
|
+
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
67
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
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.CiliumNetworkPolicyList = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("../../utilities");
|
8
|
+
/**
|
9
|
+
* CiliumNetworkPolicyList is a list of CiliumNetworkPolicy
|
10
|
+
*/
|
11
|
+
class CiliumNetworkPolicyList extends pulumi.CustomResource {
|
12
|
+
/**
|
13
|
+
* Get an existing CiliumNetworkPolicyList 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 opts Optional settings to control the behavior of the CustomResource.
|
19
|
+
*/
|
20
|
+
static get(name, id, opts) {
|
21
|
+
return new CiliumNetworkPolicyList(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* Returns true if the given object is an instance of CiliumNetworkPolicyList. This is designed to work even
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
26
|
+
*/
|
27
|
+
static isInstance(obj) {
|
28
|
+
if (obj === undefined || obj === null) {
|
29
|
+
return false;
|
30
|
+
}
|
31
|
+
return obj['__pulumiType'] === CiliumNetworkPolicyList.__pulumiType;
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Create a CiliumNetworkPolicyList resource with the given unique name, arguments, and options.
|
35
|
+
*
|
36
|
+
* @param name The _unique_ name of the resource.
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
39
|
+
*/
|
40
|
+
constructor(name, args, opts) {
|
41
|
+
let resourceInputs = {};
|
42
|
+
opts = opts || {};
|
43
|
+
if (!opts.id) {
|
44
|
+
if ((!args || args.items === undefined) && !opts.urn) {
|
45
|
+
throw new Error("Missing required property 'items'");
|
46
|
+
}
|
47
|
+
resourceInputs["apiVersion"] = "cilium.io/v2";
|
48
|
+
resourceInputs["items"] = args ? args.items : undefined;
|
49
|
+
resourceInputs["kind"] = "CiliumNetworkPolicyList";
|
50
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
51
|
+
}
|
52
|
+
else {
|
53
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
54
|
+
resourceInputs["items"] = undefined /*out*/;
|
55
|
+
resourceInputs["kind"] = undefined /*out*/;
|
56
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
57
|
+
}
|
58
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
59
|
+
super(CiliumNetworkPolicyList.__pulumiType, name, resourceInputs, opts);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
exports.CiliumNetworkPolicyList = CiliumNetworkPolicyList;
|
63
|
+
/** @internal */
|
64
|
+
CiliumNetworkPolicyList.__pulumiType = 'kubernetes:cilium.io/v2:CiliumNetworkPolicyList';
|
65
|
+
//# sourceMappingURL=ciliumNetworkPolicyList.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ciliumNetworkPolicyList.js","sourceRoot":"","sources":["../../../cilium/v2/ciliumNetworkPolicyList.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;GAEG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAA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ObjectMetaPatch } from "../../meta/v1";
|
5
|
+
/**
|
6
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
7
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
8
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
9
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
10
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
11
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
12
|
+
* CiliumNetworkPolicy is a Kubernetes third-party resource with an extended
|
13
|
+
* version of NetworkPolicy.
|
14
|
+
*/
|
15
|
+
export declare class CiliumNetworkPolicyPatch extends pulumi.CustomResource {
|
16
|
+
/**
|
17
|
+
* Get an existing CiliumNetworkPolicyPatch resource's state with the given name, ID, and optional extra
|
18
|
+
* properties used to qualify the lookup.
|
19
|
+
*
|
20
|
+
* @param name The _unique_ name of the resulting resource.
|
21
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
22
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
23
|
+
*/
|
24
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CiliumNetworkPolicyPatch;
|
25
|
+
/**
|
26
|
+
* Returns true if the given object is an instance of CiliumNetworkPolicyPatch. This is designed to work even
|
27
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
28
|
+
*/
|
29
|
+
static isInstance(obj: any): obj is CiliumNetworkPolicyPatch;
|
30
|
+
/**
|
31
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
32
|
+
*/
|
33
|
+
readonly apiVersion: pulumi.Output<"cilium.io/v2">;
|
34
|
+
/**
|
35
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
36
|
+
*/
|
37
|
+
readonly kind: pulumi.Output<"CiliumNetworkPolicy">;
|
38
|
+
/**
|
39
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
40
|
+
*/
|
41
|
+
readonly metadata: pulumi.Output<ObjectMetaPatch>;
|
42
|
+
readonly spec: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpecPatch>;
|
43
|
+
/**
|
44
|
+
* Specs is a list of desired Cilium specific rule specification.
|
45
|
+
*/
|
46
|
+
readonly specs: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicySpecsPatch[]>;
|
47
|
+
readonly status: pulumi.Output<outputs.cilium.v2.CiliumNetworkPolicyStatusPatch>;
|
48
|
+
/**
|
49
|
+
* Create a CiliumNetworkPolicyPatch 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?: CiliumNetworkPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
|
56
|
+
}
|
57
|
+
/**
|
58
|
+
* The set of arguments for constructing a CiliumNetworkPolicyPatch resource.
|
59
|
+
*/
|
60
|
+
export interface CiliumNetworkPolicyPatchArgs {
|
61
|
+
/**
|
62
|
+
* APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
63
|
+
*/
|
64
|
+
apiVersion?: pulumi.Input<"cilium.io/v2">;
|
65
|
+
/**
|
66
|
+
* Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
67
|
+
*/
|
68
|
+
kind?: pulumi.Input<"CiliumNetworkPolicy">;
|
69
|
+
/**
|
70
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
71
|
+
*/
|
72
|
+
metadata?: pulumi.Input<ObjectMetaPatch>;
|
73
|
+
spec?: pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpecPatch>;
|
74
|
+
/**
|
75
|
+
* Specs is a list of desired Cilium specific rule specification.
|
76
|
+
*/
|
77
|
+
specs?: pulumi.Input<pulumi.Input<inputs.cilium.v2.CiliumNetworkPolicySpecsPatch>[]>;
|
78
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
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.CiliumNetworkPolicyPatch = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("../../utilities");
|
8
|
+
/**
|
9
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
10
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
11
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
12
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
13
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
14
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
15
|
+
* CiliumNetworkPolicy is a Kubernetes third-party resource with an extended
|
16
|
+
* version of NetworkPolicy.
|
17
|
+
*/
|
18
|
+
class CiliumNetworkPolicyPatch extends pulumi.CustomResource {
|
19
|
+
/**
|
20
|
+
* Get an existing CiliumNetworkPolicyPatch resource's state with the given name, ID, and optional extra
|
21
|
+
* properties used to qualify the lookup.
|
22
|
+
*
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
25
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
26
|
+
*/
|
27
|
+
static get(name, id, opts) {
|
28
|
+
return new CiliumNetworkPolicyPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
29
|
+
}
|
30
|
+
/**
|
31
|
+
* Returns true if the given object is an instance of CiliumNetworkPolicyPatch. This is designed to work even
|
32
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
33
|
+
*/
|
34
|
+
static isInstance(obj) {
|
35
|
+
if (obj === undefined || obj === null) {
|
36
|
+
return false;
|
37
|
+
}
|
38
|
+
return obj['__pulumiType'] === CiliumNetworkPolicyPatch.__pulumiType;
|
39
|
+
}
|
40
|
+
/**
|
41
|
+
* Create a CiliumNetworkPolicyPatch resource with the given unique name, arguments, and options.
|
42
|
+
*
|
43
|
+
* @param name The _unique_ name of the resource.
|
44
|
+
* @param args The arguments to use to populate this resource's properties.
|
45
|
+
* @param opts A bag of options that control this resource's behavior.
|
46
|
+
*/
|
47
|
+
constructor(name, args, opts) {
|
48
|
+
let resourceInputs = {};
|
49
|
+
opts = opts || {};
|
50
|
+
if (!opts.id) {
|
51
|
+
resourceInputs["apiVersion"] = "cilium.io/v2";
|
52
|
+
resourceInputs["kind"] = "CiliumNetworkPolicy";
|
53
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
54
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
55
|
+
resourceInputs["specs"] = args ? args.specs : undefined;
|
56
|
+
resourceInputs["status"] = undefined /*out*/;
|
57
|
+
}
|
58
|
+
else {
|
59
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
60
|
+
resourceInputs["kind"] = undefined /*out*/;
|
61
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
62
|
+
resourceInputs["spec"] = undefined /*out*/;
|
63
|
+
resourceInputs["specs"] = undefined /*out*/;
|
64
|
+
resourceInputs["status"] = undefined /*out*/;
|
65
|
+
}
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
67
|
+
super(CiliumNetworkPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
68
|
+
}
|
69
|
+
}
|
70
|
+
exports.CiliumNetworkPolicyPatch = CiliumNetworkPolicyPatch;
|
71
|
+
/** @internal */
|
72
|
+
CiliumNetworkPolicyPatch.__pulumiType = 'kubernetes:cilium.io/v2:CiliumNetworkPolicyPatch';
|
73
|
+
//# sourceMappingURL=ciliumNetworkPolicyPatch.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ciliumNetworkPolicyPatch.js","sourceRoot":"","sources":["../../../cilium/v2/ciliumNetworkPolicyPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;GASG;AACH,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAqBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmC,EAAE,IAAmC;QAC9F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC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"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export { CiliumClusterwideNetworkPolicyArgs } from "./ciliumClusterwideNetworkPolicy";
|
2
|
+
export type CiliumClusterwideNetworkPolicy = import("./ciliumClusterwideNetworkPolicy").CiliumClusterwideNetworkPolicy;
|
3
|
+
export declare const CiliumClusterwideNetworkPolicy: typeof import("./ciliumClusterwideNetworkPolicy").CiliumClusterwideNetworkPolicy;
|
4
|
+
export { CiliumClusterwideNetworkPolicyListArgs } from "./ciliumClusterwideNetworkPolicyList";
|
5
|
+
export type CiliumClusterwideNetworkPolicyList = import("./ciliumClusterwideNetworkPolicyList").CiliumClusterwideNetworkPolicyList;
|
6
|
+
export declare const CiliumClusterwideNetworkPolicyList: typeof import("./ciliumClusterwideNetworkPolicyList").CiliumClusterwideNetworkPolicyList;
|
7
|
+
export { CiliumClusterwideNetworkPolicyPatchArgs } from "./ciliumClusterwideNetworkPolicyPatch";
|
8
|
+
export type CiliumClusterwideNetworkPolicyPatch = import("./ciliumClusterwideNetworkPolicyPatch").CiliumClusterwideNetworkPolicyPatch;
|
9
|
+
export declare const CiliumClusterwideNetworkPolicyPatch: typeof import("./ciliumClusterwideNetworkPolicyPatch").CiliumClusterwideNetworkPolicyPatch;
|
10
|
+
export { CiliumNetworkPolicyArgs } from "./ciliumNetworkPolicy";
|
11
|
+
export type CiliumNetworkPolicy = import("./ciliumNetworkPolicy").CiliumNetworkPolicy;
|
12
|
+
export declare const CiliumNetworkPolicy: typeof import("./ciliumNetworkPolicy").CiliumNetworkPolicy;
|
13
|
+
export { CiliumNetworkPolicyListArgs } from "./ciliumNetworkPolicyList";
|
14
|
+
export type CiliumNetworkPolicyList = import("./ciliumNetworkPolicyList").CiliumNetworkPolicyList;
|
15
|
+
export declare const CiliumNetworkPolicyList: typeof import("./ciliumNetworkPolicyList").CiliumNetworkPolicyList;
|
16
|
+
export { CiliumNetworkPolicyPatchArgs } from "./ciliumNetworkPolicyPatch";
|
17
|
+
export type CiliumNetworkPolicyPatch = import("./ciliumNetworkPolicyPatch").CiliumNetworkPolicyPatch;
|
18
|
+
export declare const CiliumNetworkPolicyPatch: typeof import("./ciliumNetworkPolicyPatch").CiliumNetworkPolicyPatch;
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
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.CiliumNetworkPolicyPatch = exports.CiliumNetworkPolicyList = exports.CiliumNetworkPolicy = exports.CiliumClusterwideNetworkPolicyPatch = exports.CiliumClusterwideNetworkPolicyList = exports.CiliumClusterwideNetworkPolicy = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("../../utilities");
|
8
|
+
exports.CiliumClusterwideNetworkPolicy = null;
|
9
|
+
utilities.lazyLoad(exports, ["CiliumClusterwideNetworkPolicy"], () => require("./ciliumClusterwideNetworkPolicy"));
|
10
|
+
exports.CiliumClusterwideNetworkPolicyList = null;
|
11
|
+
utilities.lazyLoad(exports, ["CiliumClusterwideNetworkPolicyList"], () => require("./ciliumClusterwideNetworkPolicyList"));
|
12
|
+
exports.CiliumClusterwideNetworkPolicyPatch = null;
|
13
|
+
utilities.lazyLoad(exports, ["CiliumClusterwideNetworkPolicyPatch"], () => require("./ciliumClusterwideNetworkPolicyPatch"));
|
14
|
+
exports.CiliumNetworkPolicy = null;
|
15
|
+
utilities.lazyLoad(exports, ["CiliumNetworkPolicy"], () => require("./ciliumNetworkPolicy"));
|
16
|
+
exports.CiliumNetworkPolicyList = null;
|
17
|
+
utilities.lazyLoad(exports, ["CiliumNetworkPolicyList"], () => require("./ciliumNetworkPolicyList"));
|
18
|
+
exports.CiliumNetworkPolicyPatch = null;
|
19
|
+
utilities.lazyLoad(exports, ["CiliumNetworkPolicyPatch"], () => require("./ciliumNetworkPolicyPatch"));
|
20
|
+
const _module = {
|
21
|
+
version: utilities.getVersion(),
|
22
|
+
construct: (name, type, urn) => {
|
23
|
+
switch (type) {
|
24
|
+
case "kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicy":
|
25
|
+
return new exports.CiliumClusterwideNetworkPolicy(name, undefined, { urn });
|
26
|
+
case "kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyList":
|
27
|
+
return new exports.CiliumClusterwideNetworkPolicyList(name, undefined, { urn });
|
28
|
+
case "kubernetes:cilium.io/v2:CiliumClusterwideNetworkPolicyPatch":
|
29
|
+
return new exports.CiliumClusterwideNetworkPolicyPatch(name, undefined, { urn });
|
30
|
+
case "kubernetes:cilium.io/v2:CiliumNetworkPolicy":
|
31
|
+
return new exports.CiliumNetworkPolicy(name, undefined, { urn });
|
32
|
+
case "kubernetes:cilium.io/v2:CiliumNetworkPolicyList":
|
33
|
+
return new exports.CiliumNetworkPolicyList(name, undefined, { urn });
|
34
|
+
case "kubernetes:cilium.io/v2:CiliumNetworkPolicyPatch":
|
35
|
+
return new exports.CiliumNetworkPolicyPatch(name, undefined, { urn });
|
36
|
+
default:
|
37
|
+
throw new Error(`unknown resource type ${type}`);
|
38
|
+
}
|
39
|
+
},
|
40
|
+
};
|
41
|
+
pulumi.runtime.registerResourceModule("crds", "cilium.io/v2", _module);
|
42
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../cilium/v2/index.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AACzC,6CAA6C;AAKhC,QAAA,8BAA8B,GAAqF,IAAW,CAAC;AAC5I,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gCAAgC,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kCAAkC,CAAC,CAAC,CAAC;AAItG,QAAA,kCAAkC,GAA6F,IAAW,CAAC;AACxJ,SAAS,CAAC,QAAQ,CAAC,OAA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E,GAAG,EAAE,CAAC,CAAA;YACjF,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,2BAAmB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACjE,KAAK,iDAAiD;gBAClD,OAAO,IAAI,+BAAuB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrE,KAAK,kDAAkD;gBACnD,OAAO,IAAI,gCAAwB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtE;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACzD,CAAC;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,CAAC,CAAA"}
|
package/bin/index.d.ts
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
export { ProviderArgs } from "./provider";
|
2
|
+
export type Provider = import("./provider").Provider;
|
3
|
+
export declare const Provider: typeof import("./provider").Provider;
|
4
|
+
import * as cilium from "./cilium";
|
5
|
+
import * as types from "./types";
|
6
|
+
export { cilium, types, };
|
package/bin/index.js
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
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.cilium = exports.Provider = void 0;
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
7
|
+
const utilities = require("./utilities");
|
8
|
+
exports.Provider = null;
|
9
|
+
utilities.lazyLoad(exports, ["Provider"], () => require("./provider"));
|
10
|
+
// Export sub-modules:
|
11
|
+
const cilium = require("./cilium");
|
12
|
+
exports.cilium = cilium;
|
13
|
+
const types = require("./types");
|
14
|
+
exports.types = types;
|
15
|
+
pulumi.runtime.registerResourcePackage("crds", {
|
16
|
+
version: utilities.getVersion(),
|
17
|
+
constructProvider: (name, type, urn) => {
|
18
|
+
if (type !== "pulumi:providers:kubernetes") {
|
19
|
+
throw new Error(`unknown provider type ${type}`);
|
20
|
+
}
|
21
|
+
return new exports.Provider(name, undefined, { urn });
|
22
|
+
},
|
23
|
+
});
|
24
|
+
//# 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,0DAA0D;AAC1D,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;AAI/B,wBAAM;AAHV,iCAAiC;AAI7B,sBAAK;AAET,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,MAAM,EAAE;IAC3C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,6BAA6B,EAAE,CAAC;YACzC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;QACrD,CAAC;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
package/bin/meta/v1.d.ts
ADDED
package/bin/meta/v1.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../meta/v1.ts"],"names":[],"mappings":""}
|
package/bin/package.json
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
{
|
2
|
+
"name": "@highstate/cilium-crds",
|
3
|
+
"version": "0.4.4",
|
4
|
+
"keywords": [
|
5
|
+
"pulumi",
|
6
|
+
"kubernetes",
|
7
|
+
"category/cloud",
|
8
|
+
"kind/native"
|
9
|
+
],
|
10
|
+
"homepage": "https://pulumi.com",
|
11
|
+
"repository": "https://github.com/pulumi/pulumi-kubernetes",
|
12
|
+
"license": "Apache-2.0",
|
13
|
+
"main": "bin/index.js",
|
14
|
+
"scripts": {
|
15
|
+
"build": "tsc --noCheck && cp package.json bin/package.json"
|
16
|
+
},
|
17
|
+
"publishConfig": {
|
18
|
+
"access": "public"
|
19
|
+
},
|
20
|
+
"dependencies": {
|
21
|
+
"@pulumi/kubernetes": "4.18.0",
|
22
|
+
"@pulumi/pulumi": "^3.25.0",
|
23
|
+
"@types/node-fetch": "^2.1.4",
|
24
|
+
"@types/tmp": "^0.0.33",
|
25
|
+
"glob": "^10.3.10",
|
26
|
+
"node-fetch": "^2.3.0",
|
27
|
+
"shell-quote": "^1.6.1",
|
28
|
+
"tmp": "^0.0.33"
|
29
|
+
},
|
30
|
+
"devDependencies": {
|
31
|
+
"@types/mocha": "^5.2.5",
|
32
|
+
"@types/node": "^14",
|
33
|
+
"@types/shell-quote": "^1.6.0",
|
34
|
+
"mocha": "^5.2.0",
|
35
|
+
"typescript": "^5.7.2"
|
36
|
+
},
|
37
|
+
"pulumi": {
|
38
|
+
"resource": true,
|
39
|
+
"name": "@highstate/cilium-crds",
|
40
|
+
"version": "0.4.4"
|
41
|
+
}
|
42
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
2
|
+
export declare class Provider extends pulumi.ProviderResource {
|
3
|
+
/**
|
4
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
5
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
6
|
+
*/
|
7
|
+
static isInstance(obj: any): obj is Provider;
|
8
|
+
/**
|
9
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
10
|
+
*
|
11
|
+
* @param name The _unique_ name of the resource.
|
12
|
+
* @param args The arguments to use to populate this resource's properties.
|
13
|
+
* @param opts A bag of options that control this resource's behavior.
|
14
|
+
*/
|
15
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
16
|
+
}
|
17
|
+
/**
|
18
|
+
* The set of arguments for constructing a Provider resource.
|
19
|
+
*/
|
20
|
+
export interface ProviderArgs {
|
21
|
+
}
|
package/bin/provider.js
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
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
|
+
class Provider extends pulumi.ProviderResource {
|
9
|
+
/**
|
10
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
12
|
+
*/
|
13
|
+
static isInstance(obj) {
|
14
|
+
if (obj === undefined || obj === null) {
|
15
|
+
return false;
|
16
|
+
}
|
17
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
18
|
+
}
|
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, args, opts) {
|
27
|
+
let resourceInputs = {};
|
28
|
+
opts = opts || {};
|
29
|
+
{
|
30
|
+
}
|
31
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
32
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
exports.Provider = Provider;
|
36
|
+
/** @internal */
|
37
|
+
Provider.__pulumiType = 'crds';
|
38
|
+
//# sourceMappingURL=provider.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE,CAAC;YACpC,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAGD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,CAAC;QACD,CAAC;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,CAAC,CAAC;IAC7D,CAAC;;AA9BL,4BA+BC;AA9BG,gBAAgB;AACO,qBAAY,GAAG,MAAM,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
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,0DAA0D;AAC1D,iFAAiF;;;AAIjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|