@highstate/gateway-api 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/gateway/index.d.ts +5 -0
- package/bin/gateway/index.js +15 -0
- package/bin/gateway/index.js.map +1 -0
- package/bin/gateway/v1/gateway.d.ts +64 -0
- package/bin/gateway/v1/gateway.js +67 -0
- package/bin/gateway/v1/gateway.js.map +1 -0
- package/bin/gateway/v1/gatewayClass.d.ts +79 -0
- package/bin/gateway/v1/gatewayClass.js +82 -0
- package/bin/gateway/v1/gatewayClass.js.map +1 -0
- package/bin/gateway/v1/gatewayClassList.d.ts +67 -0
- package/bin/gateway/v1/gatewayClassList.js +65 -0
- package/bin/gateway/v1/gatewayClassList.js.map +1 -0
- package/bin/gateway/v1/gatewayClassPatch.d.ts +85 -0
- package/bin/gateway/v1/gatewayClassPatch.js +88 -0
- package/bin/gateway/v1/gatewayClassPatch.js.map +1 -0
- package/bin/gateway/v1/gatewayList.d.ts +67 -0
- package/bin/gateway/v1/gatewayList.js +65 -0
- package/bin/gateway/v1/gatewayList.js.map +1 -0
- package/bin/gateway/v1/gatewayPatch.d.ts +70 -0
- package/bin/gateway/v1/gatewayPatch.js +73 -0
- package/bin/gateway/v1/gatewayPatch.js.map +1 -0
- package/bin/gateway/v1/grpcroute.d.ts +89 -0
- package/bin/gateway/v1/grpcroute.js +90 -0
- package/bin/gateway/v1/grpcroute.js.map +1 -0
- package/bin/gateway/v1/grpcrouteList.d.ts +67 -0
- package/bin/gateway/v1/grpcrouteList.js +65 -0
- package/bin/gateway/v1/grpcrouteList.js.map +1 -0
- package/bin/gateway/v1/grpcroutePatch.d.ts +95 -0
- package/bin/gateway/v1/grpcroutePatch.js +96 -0
- package/bin/gateway/v1/grpcroutePatch.js.map +1 -0
- package/bin/gateway/v1/httproute.d.ts +66 -0
- package/bin/gateway/v1/httproute.js +69 -0
- package/bin/gateway/v1/httproute.js.map +1 -0
- package/bin/gateway/v1/httprouteList.d.ts +67 -0
- package/bin/gateway/v1/httprouteList.js +65 -0
- package/bin/gateway/v1/httprouteList.js.map +1 -0
- package/bin/gateway/v1/httproutePatch.d.ts +72 -0
- package/bin/gateway/v1/httproutePatch.js +75 -0
- package/bin/gateway/v1/httproutePatch.js.map +1 -0
- package/bin/gateway/v1/index.d.ts +36 -0
- package/bin/gateway/v1/index.js +66 -0
- package/bin/gateway/v1/index.js.map +1 -0
- package/bin/gateway/v1alpha2/backendLBPolicy.d.ts +64 -0
- package/bin/gateway/v1alpha2/backendLBPolicy.js +65 -0
- package/bin/gateway/v1alpha2/backendLBPolicy.js.map +1 -0
- package/bin/gateway/v1alpha2/backendLBPolicyList.d.ts +67 -0
- package/bin/gateway/v1alpha2/backendLBPolicyList.js +65 -0
- package/bin/gateway/v1alpha2/backendLBPolicyList.js.map +1 -0
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.d.ts +70 -0
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js +71 -0
- package/bin/gateway/v1alpha2/backendLBPolicyPatch.js.map +1 -0
- package/bin/gateway/v1alpha2/index.d.ts +36 -0
- package/bin/gateway/v1alpha2/index.js +66 -0
- package/bin/gateway/v1alpha2/index.js.map +1 -0
- package/bin/gateway/v1alpha2/tcproute.d.ts +65 -0
- package/bin/gateway/v1alpha2/tcproute.js +66 -0
- package/bin/gateway/v1alpha2/tcproute.js.map +1 -0
- package/bin/gateway/v1alpha2/tcprouteList.d.ts +67 -0
- package/bin/gateway/v1alpha2/tcprouteList.js +65 -0
- package/bin/gateway/v1alpha2/tcprouteList.js.map +1 -0
- package/bin/gateway/v1alpha2/tcproutePatch.d.ts +71 -0
- package/bin/gateway/v1alpha2/tcproutePatch.js +72 -0
- package/bin/gateway/v1alpha2/tcproutePatch.js.map +1 -0
- package/bin/gateway/v1alpha2/tlsroute.d.ts +68 -0
- package/bin/gateway/v1alpha2/tlsroute.js +69 -0
- package/bin/gateway/v1alpha2/tlsroute.js.map +1 -0
- package/bin/gateway/v1alpha2/tlsrouteList.d.ts +67 -0
- package/bin/gateway/v1alpha2/tlsrouteList.js +65 -0
- package/bin/gateway/v1alpha2/tlsrouteList.js.map +1 -0
- package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +74 -0
- package/bin/gateway/v1alpha2/tlsroutePatch.js +75 -0
- package/bin/gateway/v1alpha2/tlsroutePatch.js.map +1 -0
- package/bin/gateway/v1alpha2/udproute.d.ts +65 -0
- package/bin/gateway/v1alpha2/udproute.js +66 -0
- package/bin/gateway/v1alpha2/udproute.js.map +1 -0
- package/bin/gateway/v1alpha2/udprouteList.d.ts +67 -0
- package/bin/gateway/v1alpha2/udprouteList.js +65 -0
- package/bin/gateway/v1alpha2/udprouteList.js.map +1 -0
- package/bin/gateway/v1alpha2/udproutePatch.d.ts +71 -0
- package/bin/gateway/v1alpha2/udproutePatch.js +72 -0
- package/bin/gateway/v1alpha2/udproutePatch.js.map +1 -0
- package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +64 -0
- package/bin/gateway/v1alpha3/backendTLSPolicy.js +65 -0
- package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +1 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +67 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js +65 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +1 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +70 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +71 -0
- package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +1 -0
- package/bin/gateway/v1alpha3/index.d.ts +9 -0
- package/bin/gateway/v1alpha3/index.js +30 -0
- package/bin/gateway/v1alpha3/index.js.map +1 -0
- package/bin/gateway/v1beta1/gateway.d.ts +64 -0
- package/bin/gateway/v1beta1/gateway.js +67 -0
- package/bin/gateway/v1beta1/gateway.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayClass.d.ts +79 -0
- package/bin/gateway/v1beta1/gatewayClass.js +82 -0
- package/bin/gateway/v1beta1/gatewayClass.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayClassList.d.ts +67 -0
- package/bin/gateway/v1beta1/gatewayClassList.js +65 -0
- package/bin/gateway/v1beta1/gatewayClassList.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayClassPatch.d.ts +85 -0
- package/bin/gateway/v1beta1/gatewayClassPatch.js +88 -0
- package/bin/gateway/v1beta1/gatewayClassPatch.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayList.d.ts +67 -0
- package/bin/gateway/v1beta1/gatewayList.js +65 -0
- package/bin/gateway/v1beta1/gatewayList.js.map +1 -0
- package/bin/gateway/v1beta1/gatewayPatch.d.ts +70 -0
- package/bin/gateway/v1beta1/gatewayPatch.js +73 -0
- package/bin/gateway/v1beta1/gatewayPatch.js.map +1 -0
- package/bin/gateway/v1beta1/httproute.d.ts +66 -0
- package/bin/gateway/v1beta1/httproute.js +69 -0
- package/bin/gateway/v1beta1/httproute.js.map +1 -0
- package/bin/gateway/v1beta1/httprouteList.d.ts +67 -0
- package/bin/gateway/v1beta1/httprouteList.js +65 -0
- package/bin/gateway/v1beta1/httprouteList.js.map +1 -0
- package/bin/gateway/v1beta1/httproutePatch.d.ts +72 -0
- package/bin/gateway/v1beta1/httproutePatch.js +75 -0
- package/bin/gateway/v1beta1/httproutePatch.js.map +1 -0
- package/bin/gateway/v1beta1/index.d.ts +36 -0
- package/bin/gateway/v1beta1/index.js +66 -0
- package/bin/gateway/v1beta1/index.js.map +1 -0
- package/bin/gateway/v1beta1/referenceGrant.d.ts +77 -0
- package/bin/gateway/v1beta1/referenceGrant.js +77 -0
- package/bin/gateway/v1beta1/referenceGrant.js.map +1 -0
- package/bin/gateway/v1beta1/referenceGrantList.d.ts +67 -0
- package/bin/gateway/v1beta1/referenceGrantList.js +65 -0
- package/bin/gateway/v1beta1/referenceGrantList.js.map +1 -0
- package/bin/gateway/v1beta1/referenceGrantPatch.d.ts +83 -0
- package/bin/gateway/v1beta1/referenceGrantPatch.js +83 -0
- package/bin/gateway/v1beta1/referenceGrantPatch.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 +19026 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +21341 -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/gateway/index.ts +17 -0
- package/gateway/v1/gateway.ts +104 -0
- package/gateway/v1/gatewayClass.ts +119 -0
- package/gateway/v1/gatewayClassList.ts +107 -0
- package/gateway/v1/gatewayClassPatch.ts +125 -0
- package/gateway/v1/gatewayList.ts +107 -0
- package/gateway/v1/gatewayPatch.ts +110 -0
- package/gateway/v1/grpcroute.ts +127 -0
- package/gateway/v1/grpcrouteList.ts +107 -0
- package/gateway/v1/grpcroutePatch.ts +133 -0
- package/gateway/v1/httproute.ts +106 -0
- package/gateway/v1/httprouteList.ts +107 -0
- package/gateway/v1/httproutePatch.ts +112 -0
- package/gateway/v1/index.ts +102 -0
- package/gateway/v1alpha2/backendLBPolicy.ts +102 -0
- package/gateway/v1alpha2/backendLBPolicyList.ts +107 -0
- package/gateway/v1alpha2/backendLBPolicyPatch.ts +108 -0
- package/gateway/v1alpha2/index.ts +102 -0
- package/gateway/v1alpha2/tcproute.ts +103 -0
- package/gateway/v1alpha2/tcprouteList.ts +107 -0
- package/gateway/v1alpha2/tcproutePatch.ts +109 -0
- package/gateway/v1alpha2/tlsroute.ts +106 -0
- package/gateway/v1alpha2/tlsrouteList.ts +107 -0
- package/gateway/v1alpha2/tlsroutePatch.ts +112 -0
- package/gateway/v1alpha2/udproute.ts +103 -0
- package/gateway/v1alpha2/udprouteList.ts +107 -0
- package/gateway/v1alpha2/udproutePatch.ts +109 -0
- package/gateway/v1alpha3/backendTLSPolicy.ts +102 -0
- package/gateway/v1alpha3/backendTLSPolicyList.ts +107 -0
- package/gateway/v1alpha3/backendTLSPolicyPatch.ts +108 -0
- package/gateway/v1alpha3/index.ts +39 -0
- package/gateway/v1beta1/gateway.ts +104 -0
- package/gateway/v1beta1/gatewayClass.ts +119 -0
- package/gateway/v1beta1/gatewayClassList.ts +107 -0
- package/gateway/v1beta1/gatewayClassPatch.ts +125 -0
- package/gateway/v1beta1/gatewayList.ts +107 -0
- package/gateway/v1beta1/gatewayPatch.ts +110 -0
- package/gateway/v1beta1/httproute.ts +106 -0
- package/gateway/v1beta1/httprouteList.ts +107 -0
- package/gateway/v1beta1/httproutePatch.ts +112 -0
- package/gateway/v1beta1/index.ts +102 -0
- package/gateway/v1beta1/referenceGrant.ts +113 -0
- package/gateway/v1beta1/referenceGrantList.ts +107 -0
- package/gateway/v1beta1/referenceGrantPatch.ts +119 -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 +67 -0
- package/types/index.ts +13 -0
- package/types/input.ts +19413 -0
- package/types/output.ts +21780 -0
- package/utilities.ts +97 -0
|
@@ -0,0 +1,83 @@
|
|
|
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.ReferenceGrantPatch = 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
|
+
* ReferenceGrant identifies kinds of resources in other namespaces that are
|
|
16
|
+
* trusted to reference the specified kinds of resources in the same namespace
|
|
17
|
+
* as the policy.
|
|
18
|
+
*
|
|
19
|
+
* Each ReferenceGrant can be used to represent a unique trust relationship.
|
|
20
|
+
* Additional Reference Grants can be used to add to the set of trusted
|
|
21
|
+
* sources of inbound references for the namespace they are defined within.
|
|
22
|
+
*
|
|
23
|
+
* All cross-namespace references in Gateway API (with the exception of cross-namespace
|
|
24
|
+
* Gateway-route attachment) require a ReferenceGrant.
|
|
25
|
+
*
|
|
26
|
+
* ReferenceGrant is a form of runtime verification allowing users to assert
|
|
27
|
+
* which cross-namespace object references are permitted. Implementations that
|
|
28
|
+
* support ReferenceGrant MUST NOT permit cross-namespace references which have
|
|
29
|
+
* no grant, and MUST respond to the removal of a grant by revoking the access
|
|
30
|
+
* that the grant allowed.
|
|
31
|
+
*/
|
|
32
|
+
class ReferenceGrantPatch extends pulumi.CustomResource {
|
|
33
|
+
/**
|
|
34
|
+
* Get an existing ReferenceGrantPatch resource's state with the given name, ID, and optional extra
|
|
35
|
+
* properties used to qualify the lookup.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resulting resource.
|
|
38
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, opts) {
|
|
42
|
+
return new ReferenceGrantPatch(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of ReferenceGrantPatch. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj) {
|
|
49
|
+
if (obj === undefined || obj === null) {
|
|
50
|
+
return false;
|
|
51
|
+
}
|
|
52
|
+
return obj['__pulumiType'] === ReferenceGrantPatch.__pulumiType;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Create a ReferenceGrantPatch resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name, args, opts) {
|
|
62
|
+
let resourceInputs = {};
|
|
63
|
+
opts = opts || {};
|
|
64
|
+
if (!opts.id) {
|
|
65
|
+
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1beta1";
|
|
66
|
+
resourceInputs["kind"] = "ReferenceGrant";
|
|
67
|
+
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
|
68
|
+
resourceInputs["spec"] = args ? args.spec : undefined;
|
|
69
|
+
}
|
|
70
|
+
else {
|
|
71
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(ReferenceGrantPatch.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.ReferenceGrantPatch = ReferenceGrantPatch;
|
|
81
|
+
/** @internal */
|
|
82
|
+
ReferenceGrantPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1beta1:ReferenceGrantPatch';
|
|
83
|
+
//# sourceMappingURL=referenceGrantPatch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"referenceGrantPatch.js","sourceRoot":"","sources":["../../../gateway/v1beta1/referenceGrantPatch.ts"],"names":[],"mappings":";AAAA,0DAA0D;AAC1D,iFAAiF;;;AAEjF,yCAAyC;AAGzC,6CAA6C;AAI7C;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAgBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA8B,EAAE,IAAmC;QACzF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;YACX,cAAc,CAAC,YAAY,CAAC,GAAG,mCAAmC,CAAC;YACnE,cAAc,CAAC,MAAM,CAAC,GAAG,gBAAgB,CAAC;YAC1C,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;QAC1D,CAAC;aAAM,CAAC;YACJ,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;QAC/C,CAAC;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAhEL,kDAiEC;AApDG,gBAAgB;AACO,gCAAY,GAAG,kEAAkE,CAAC"}
|
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 gateway from "./gateway";
|
|
5
|
+
import * as types from "./types";
|
|
6
|
+
export { gateway, 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.gateway = 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 gateway = require("./gateway");
|
|
12
|
+
exports.gateway = gateway;
|
|
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,qCAAqC;AAIjC,0BAAO;AAHX,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/gateway-api",
|
|
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/gateway-api",
|
|
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"}
|