@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
package/provider.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
5
|
+
import * as utilities from "./utilities";
|
|
6
|
+
|
|
7
|
+
export class Provider extends pulumi.ProviderResource {
|
|
8
|
+
/** @internal */
|
|
9
|
+
public static readonly __pulumiType = 'crds';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
13
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
14
|
+
*/
|
|
15
|
+
public static isInstance(obj: any): obj is Provider {
|
|
16
|
+
if (obj === undefined || obj === null) {
|
|
17
|
+
return false;
|
|
18
|
+
}
|
|
19
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resource.
|
|
27
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
28
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
29
|
+
*/
|
|
30
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions) {
|
|
31
|
+
let resourceInputs: pulumi.Inputs = {};
|
|
32
|
+
opts = opts || {};
|
|
33
|
+
{
|
|
34
|
+
}
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
36
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* The set of arguments for constructing a Provider resource.
|
|
42
|
+
*/
|
|
43
|
+
export interface ProviderArgs {
|
|
44
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
const fs = require("node:fs");
|
|
2
|
+
const path = require("node:path")
|
|
3
|
+
const process = require("node:process")
|
|
4
|
+
const { execSync } = require('node:child_process');
|
|
5
|
+
try {
|
|
6
|
+
const out = execSync('tsc')
|
|
7
|
+
console.log(out.toString())
|
|
8
|
+
} catch (error) {
|
|
9
|
+
console.error(error.message + ": " + error.stdout.toString() + "\n" + error.stderr.toString())
|
|
10
|
+
process.exit(1)
|
|
11
|
+
}
|
|
12
|
+
// TypeScript is compiled to "./bin", copy package.json to that directory so it can be read in "getVersion".
|
|
13
|
+
fs.copyFileSync(path.join(__dirname, "..", "package.json"), path.join(__dirname, "..", "bin", "package.json"));
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"outDir": "bin",
|
|
4
|
+
"target": "es2016",
|
|
5
|
+
"module": "commonjs",
|
|
6
|
+
"moduleResolution": "node",
|
|
7
|
+
"declaration": true,
|
|
8
|
+
"sourceMap": true,
|
|
9
|
+
"stripInternal": true,
|
|
10
|
+
"experimentalDecorators": true,
|
|
11
|
+
"noFallthroughCasesInSwitch": true,
|
|
12
|
+
"forceConsistentCasingInFileNames": true,
|
|
13
|
+
"strict": true
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"gateway/index.ts",
|
|
17
|
+
"gateway/v1/gateway.ts",
|
|
18
|
+
"gateway/v1/gatewayClass.ts",
|
|
19
|
+
"gateway/v1/gatewayClassList.ts",
|
|
20
|
+
"gateway/v1/gatewayClassPatch.ts",
|
|
21
|
+
"gateway/v1/gatewayList.ts",
|
|
22
|
+
"gateway/v1/gatewayPatch.ts",
|
|
23
|
+
"gateway/v1/grpcroute.ts",
|
|
24
|
+
"gateway/v1/grpcrouteList.ts",
|
|
25
|
+
"gateway/v1/grpcroutePatch.ts",
|
|
26
|
+
"gateway/v1/httproute.ts",
|
|
27
|
+
"gateway/v1/httprouteList.ts",
|
|
28
|
+
"gateway/v1/httproutePatch.ts",
|
|
29
|
+
"gateway/v1/index.ts",
|
|
30
|
+
"gateway/v1alpha2/backendLBPolicy.ts",
|
|
31
|
+
"gateway/v1alpha2/backendLBPolicyList.ts",
|
|
32
|
+
"gateway/v1alpha2/backendLBPolicyPatch.ts",
|
|
33
|
+
"gateway/v1alpha2/index.ts",
|
|
34
|
+
"gateway/v1alpha2/tcproute.ts",
|
|
35
|
+
"gateway/v1alpha2/tcprouteList.ts",
|
|
36
|
+
"gateway/v1alpha2/tcproutePatch.ts",
|
|
37
|
+
"gateway/v1alpha2/tlsroute.ts",
|
|
38
|
+
"gateway/v1alpha2/tlsrouteList.ts",
|
|
39
|
+
"gateway/v1alpha2/tlsroutePatch.ts",
|
|
40
|
+
"gateway/v1alpha2/udproute.ts",
|
|
41
|
+
"gateway/v1alpha2/udprouteList.ts",
|
|
42
|
+
"gateway/v1alpha2/udproutePatch.ts",
|
|
43
|
+
"gateway/v1alpha3/backendTLSPolicy.ts",
|
|
44
|
+
"gateway/v1alpha3/backendTLSPolicyList.ts",
|
|
45
|
+
"gateway/v1alpha3/backendTLSPolicyPatch.ts",
|
|
46
|
+
"gateway/v1alpha3/index.ts",
|
|
47
|
+
"gateway/v1beta1/gateway.ts",
|
|
48
|
+
"gateway/v1beta1/gatewayClass.ts",
|
|
49
|
+
"gateway/v1beta1/gatewayClassList.ts",
|
|
50
|
+
"gateway/v1beta1/gatewayClassPatch.ts",
|
|
51
|
+
"gateway/v1beta1/gatewayList.ts",
|
|
52
|
+
"gateway/v1beta1/gatewayPatch.ts",
|
|
53
|
+
"gateway/v1beta1/httproute.ts",
|
|
54
|
+
"gateway/v1beta1/httprouteList.ts",
|
|
55
|
+
"gateway/v1beta1/httproutePatch.ts",
|
|
56
|
+
"gateway/v1beta1/index.ts",
|
|
57
|
+
"gateway/v1beta1/referenceGrant.ts",
|
|
58
|
+
"gateway/v1beta1/referenceGrantList.ts",
|
|
59
|
+
"gateway/v1beta1/referenceGrantPatch.ts",
|
|
60
|
+
"index.ts",
|
|
61
|
+
"provider.ts",
|
|
62
|
+
"types/index.ts",
|
|
63
|
+
"types/input.ts",
|
|
64
|
+
"types/output.ts",
|
|
65
|
+
"utilities.ts"
|
|
66
|
+
]
|
|
67
|
+
}
|
package/types/index.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// *** WARNING: this file was generated by crd2pulumi. ***
|
|
2
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
3
|
+
|
|
4
|
+
import * as utilities from "../utilities";
|
|
5
|
+
|
|
6
|
+
// Export sub-modules:
|
|
7
|
+
import * as input from "./input";
|
|
8
|
+
import * as output from "./output";
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
input,
|
|
12
|
+
output,
|
|
13
|
+
};
|