@highstate/gateway-api 0.6.2 → 0.7.1

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/bin/gateway/index.d.ts +1 -3
  3. package/bin/gateway/index.js +1 -5
  4. package/bin/gateway/index.js.map +1 -1
  5. package/bin/package.json +2 -2
  6. package/bin/types/input.d.ts +89 -5676
  7. package/bin/types/output.d.ts +191 -6999
  8. package/gateway/index.ts +0 -4
  9. package/package.json +3 -3
  10. package/tsconfig.json +0 -17
  11. package/types/input.ts +181 -5879
  12. package/types/output.ts +181 -7122
  13. package/bin/gateway/v1alpha2/backendLBPolicy.d.ts +0 -64
  14. package/bin/gateway/v1alpha2/backendLBPolicy.js +0 -65
  15. package/bin/gateway/v1alpha2/backendLBPolicy.js.map +0 -1
  16. package/bin/gateway/v1alpha2/backendLBPolicyList.d.ts +0 -67
  17. package/bin/gateway/v1alpha2/backendLBPolicyList.js +0 -65
  18. package/bin/gateway/v1alpha2/backendLBPolicyList.js.map +0 -1
  19. package/bin/gateway/v1alpha2/backendLBPolicyPatch.d.ts +0 -70
  20. package/bin/gateway/v1alpha2/backendLBPolicyPatch.js +0 -71
  21. package/bin/gateway/v1alpha2/backendLBPolicyPatch.js.map +0 -1
  22. package/bin/gateway/v1alpha2/index.d.ts +0 -36
  23. package/bin/gateway/v1alpha2/index.js +0 -66
  24. package/bin/gateway/v1alpha2/index.js.map +0 -1
  25. package/bin/gateway/v1alpha2/tcproute.d.ts +0 -65
  26. package/bin/gateway/v1alpha2/tcproute.js +0 -66
  27. package/bin/gateway/v1alpha2/tcproute.js.map +0 -1
  28. package/bin/gateway/v1alpha2/tcprouteList.d.ts +0 -67
  29. package/bin/gateway/v1alpha2/tcprouteList.js +0 -65
  30. package/bin/gateway/v1alpha2/tcprouteList.js.map +0 -1
  31. package/bin/gateway/v1alpha2/tcproutePatch.d.ts +0 -71
  32. package/bin/gateway/v1alpha2/tcproutePatch.js +0 -72
  33. package/bin/gateway/v1alpha2/tcproutePatch.js.map +0 -1
  34. package/bin/gateway/v1alpha2/tlsroute.d.ts +0 -68
  35. package/bin/gateway/v1alpha2/tlsroute.js +0 -69
  36. package/bin/gateway/v1alpha2/tlsroute.js.map +0 -1
  37. package/bin/gateway/v1alpha2/tlsrouteList.d.ts +0 -67
  38. package/bin/gateway/v1alpha2/tlsrouteList.js +0 -65
  39. package/bin/gateway/v1alpha2/tlsrouteList.js.map +0 -1
  40. package/bin/gateway/v1alpha2/tlsroutePatch.d.ts +0 -74
  41. package/bin/gateway/v1alpha2/tlsroutePatch.js +0 -75
  42. package/bin/gateway/v1alpha2/tlsroutePatch.js.map +0 -1
  43. package/bin/gateway/v1alpha2/udproute.d.ts +0 -65
  44. package/bin/gateway/v1alpha2/udproute.js +0 -66
  45. package/bin/gateway/v1alpha2/udproute.js.map +0 -1
  46. package/bin/gateway/v1alpha2/udprouteList.d.ts +0 -67
  47. package/bin/gateway/v1alpha2/udprouteList.js +0 -65
  48. package/bin/gateway/v1alpha2/udprouteList.js.map +0 -1
  49. package/bin/gateway/v1alpha2/udproutePatch.d.ts +0 -71
  50. package/bin/gateway/v1alpha2/udproutePatch.js +0 -72
  51. package/bin/gateway/v1alpha2/udproutePatch.js.map +0 -1
  52. package/bin/gateway/v1alpha3/backendTLSPolicy.d.ts +0 -64
  53. package/bin/gateway/v1alpha3/backendTLSPolicy.js +0 -65
  54. package/bin/gateway/v1alpha3/backendTLSPolicy.js.map +0 -1
  55. package/bin/gateway/v1alpha3/backendTLSPolicyList.d.ts +0 -67
  56. package/bin/gateway/v1alpha3/backendTLSPolicyList.js +0 -65
  57. package/bin/gateway/v1alpha3/backendTLSPolicyList.js.map +0 -1
  58. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.d.ts +0 -70
  59. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js +0 -71
  60. package/bin/gateway/v1alpha3/backendTLSPolicyPatch.js.map +0 -1
  61. package/bin/gateway/v1alpha3/index.d.ts +0 -9
  62. package/bin/gateway/v1alpha3/index.js +0 -30
  63. package/bin/gateway/v1alpha3/index.js.map +0 -1
  64. package/gateway/v1alpha2/backendLBPolicy.ts +0 -102
  65. package/gateway/v1alpha2/backendLBPolicyList.ts +0 -107
  66. package/gateway/v1alpha2/backendLBPolicyPatch.ts +0 -108
  67. package/gateway/v1alpha2/index.ts +0 -102
  68. package/gateway/v1alpha2/tcproute.ts +0 -103
  69. package/gateway/v1alpha2/tcprouteList.ts +0 -107
  70. package/gateway/v1alpha2/tcproutePatch.ts +0 -109
  71. package/gateway/v1alpha2/tlsroute.ts +0 -106
  72. package/gateway/v1alpha2/tlsrouteList.ts +0 -107
  73. package/gateway/v1alpha2/tlsroutePatch.ts +0 -112
  74. package/gateway/v1alpha2/udproute.ts +0 -103
  75. package/gateway/v1alpha2/udprouteList.ts +0 -107
  76. package/gateway/v1alpha2/udproutePatch.ts +0 -109
  77. package/gateway/v1alpha3/backendTLSPolicy.ts +0 -102
  78. package/gateway/v1alpha3/backendTLSPolicyList.ts +0 -107
  79. package/gateway/v1alpha3/backendTLSPolicyPatch.ts +0 -108
  80. package/gateway/v1alpha3/index.ts +0 -39
@@ -1,102 +0,0 @@
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 inputs from "../../types/input";
6
- import * as outputs from "../../types/output";
7
- import * as utilities from "../../utilities";
8
-
9
- import {ObjectMeta} from "../../meta/v1";
10
-
11
- /**
12
- * BackendTLSPolicy provides a way to configure how a Gateway
13
- * connects to a Backend via TLS.
14
- */
15
- export class BackendTLSPolicy extends pulumi.CustomResource {
16
- /**
17
- * Get an existing BackendTLSPolicy 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
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicy {
25
- return new BackendTLSPolicy(name, undefined as any, { ...opts, id: id });
26
- }
27
-
28
- /** @internal */
29
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy';
30
-
31
- /**
32
- * Returns true if the given object is an instance of BackendTLSPolicy. This is designed to work even
33
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
34
- */
35
- public static isInstance(obj: any): obj is BackendTLSPolicy {
36
- if (obj === undefined || obj === null) {
37
- return false;
38
- }
39
- return obj['__pulumiType'] === BackendTLSPolicy.__pulumiType;
40
- }
41
-
42
- /**
43
- * 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
44
- */
45
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha3">;
46
- /**
47
- * 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
48
- */
49
- public readonly kind!: pulumi.Output<"BackendTLSPolicy">;
50
- /**
51
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
52
- */
53
- public readonly metadata!: pulumi.Output<ObjectMeta>;
54
- public readonly spec!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicySpec>;
55
- public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicyStatus>;
56
-
57
- /**
58
- * Create a BackendTLSPolicy resource with the given unique name, arguments, and options.
59
- *
60
- * @param name The _unique_ name of the resource.
61
- * @param args The arguments to use to populate this resource's properties.
62
- * @param opts A bag of options that control this resource's behavior.
63
- */
64
- constructor(name: string, args?: BackendTLSPolicyArgs, opts?: pulumi.CustomResourceOptions) {
65
- let resourceInputs: pulumi.Inputs = {};
66
- opts = opts || {};
67
- if (!opts.id) {
68
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha3";
69
- resourceInputs["kind"] = "BackendTLSPolicy";
70
- resourceInputs["metadata"] = args ? args.metadata : undefined;
71
- resourceInputs["spec"] = args ? args.spec : undefined;
72
- resourceInputs["status"] = undefined /*out*/;
73
- } else {
74
- resourceInputs["apiVersion"] = undefined /*out*/;
75
- resourceInputs["kind"] = undefined /*out*/;
76
- resourceInputs["metadata"] = undefined /*out*/;
77
- resourceInputs["spec"] = undefined /*out*/;
78
- resourceInputs["status"] = undefined /*out*/;
79
- }
80
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
81
- super(BackendTLSPolicy.__pulumiType, name, resourceInputs, opts);
82
- }
83
- }
84
-
85
- /**
86
- * The set of arguments for constructing a BackendTLSPolicy resource.
87
- */
88
- export interface BackendTLSPolicyArgs {
89
- /**
90
- * 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
91
- */
92
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha3">;
93
- /**
94
- * 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
95
- */
96
- kind?: pulumi.Input<"BackendTLSPolicy">;
97
- /**
98
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
99
- */
100
- metadata?: pulumi.Input<ObjectMeta>;
101
- spec?: pulumi.Input<inputs.gateway.v1alpha3.BackendTLSPolicySpec>;
102
- }
@@ -1,107 +0,0 @@
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 inputs from "../../types/input";
6
- import * as outputs from "../../types/output";
7
- import * as utilities from "../../utilities";
8
-
9
- import {ObjectMeta} from "../../meta/v1";
10
-
11
- /**
12
- * BackendTLSPolicyList is a list of BackendTLSPolicy
13
- */
14
- export class BackendTLSPolicyList extends pulumi.CustomResource {
15
- /**
16
- * Get an existing BackendTLSPolicyList resource's state with the given name, ID, and optional extra
17
- * properties used to qualify the lookup.
18
- *
19
- * @param name The _unique_ name of the resulting resource.
20
- * @param id The _unique_ provider ID of the resource to lookup.
21
- * @param opts Optional settings to control the behavior of the CustomResource.
22
- */
23
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicyList {
24
- return new BackendTLSPolicyList(name, undefined as any, { ...opts, id: id });
25
- }
26
-
27
- /** @internal */
28
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyList';
29
-
30
- /**
31
- * Returns true if the given object is an instance of BackendTLSPolicyList. This is designed to work even
32
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
- */
34
- public static isInstance(obj: any): obj is BackendTLSPolicyList {
35
- if (obj === undefined || obj === null) {
36
- return false;
37
- }
38
- return obj['__pulumiType'] === BackendTLSPolicyList.__pulumiType;
39
- }
40
-
41
- /**
42
- * 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
43
- */
44
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha3">;
45
- /**
46
- * List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
47
- */
48
- public readonly items!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicy[]>;
49
- /**
50
- * 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
51
- */
52
- public readonly kind!: pulumi.Output<"BackendTLSPolicyList">;
53
- /**
54
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55
- */
56
- public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
57
-
58
- /**
59
- * Create a BackendTLSPolicyList resource with the given unique name, arguments, and options.
60
- *
61
- * @param name The _unique_ name of the resource.
62
- * @param args The arguments to use to populate this resource's properties.
63
- * @param opts A bag of options that control this resource's behavior.
64
- */
65
- constructor(name: string, args?: BackendTLSPolicyListArgs, opts?: pulumi.CustomResourceOptions) {
66
- let resourceInputs: pulumi.Inputs = {};
67
- opts = opts || {};
68
- if (!opts.id) {
69
- if ((!args || args.items === undefined) && !opts.urn) {
70
- throw new Error("Missing required property 'items'");
71
- }
72
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha3";
73
- resourceInputs["items"] = args ? args.items : undefined;
74
- resourceInputs["kind"] = "BackendTLSPolicyList";
75
- resourceInputs["metadata"] = args ? args.metadata : undefined;
76
- } else {
77
- resourceInputs["apiVersion"] = undefined /*out*/;
78
- resourceInputs["items"] = undefined /*out*/;
79
- resourceInputs["kind"] = undefined /*out*/;
80
- resourceInputs["metadata"] = undefined /*out*/;
81
- }
82
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
- super(BackendTLSPolicyList.__pulumiType, name, resourceInputs, opts);
84
- }
85
- }
86
-
87
- /**
88
- * The set of arguments for constructing a BackendTLSPolicyList resource.
89
- */
90
- export interface BackendTLSPolicyListArgs {
91
- /**
92
- * 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
93
- */
94
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha3">;
95
- /**
96
- * List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
97
- */
98
- items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha3.BackendTLSPolicy>[]>;
99
- /**
100
- * 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
101
- */
102
- kind?: pulumi.Input<"BackendTLSPolicyList">;
103
- /**
104
- * Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
105
- */
106
- metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
107
- }
@@ -1,108 +0,0 @@
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 inputs from "../../types/input";
6
- import * as outputs from "../../types/output";
7
- import * as utilities from "../../utilities";
8
-
9
- import {ObjectMetaPatch} from "../../meta/v1";
10
-
11
- /**
12
- * Patch resources are used to modify existing Kubernetes resources by using
13
- * Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
14
- * one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
15
- * Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
16
- * [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
17
- * additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
18
- * BackendTLSPolicy provides a way to configure how a Gateway
19
- * connects to a Backend via TLS.
20
- */
21
- export class BackendTLSPolicyPatch extends pulumi.CustomResource {
22
- /**
23
- * Get an existing BackendTLSPolicyPatch resource's state with the given name, ID, and optional extra
24
- * properties used to qualify the lookup.
25
- *
26
- * @param name The _unique_ name of the resulting resource.
27
- * @param id The _unique_ provider ID of the resource to lookup.
28
- * @param opts Optional settings to control the behavior of the CustomResource.
29
- */
30
- public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicyPatch {
31
- return new BackendTLSPolicyPatch(name, undefined as any, { ...opts, id: id });
32
- }
33
-
34
- /** @internal */
35
- public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch';
36
-
37
- /**
38
- * Returns true if the given object is an instance of BackendTLSPolicyPatch. This is designed to work even
39
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
40
- */
41
- public static isInstance(obj: any): obj is BackendTLSPolicyPatch {
42
- if (obj === undefined || obj === null) {
43
- return false;
44
- }
45
- return obj['__pulumiType'] === BackendTLSPolicyPatch.__pulumiType;
46
- }
47
-
48
- /**
49
- * 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
50
- */
51
- public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1alpha3">;
52
- /**
53
- * 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
54
- */
55
- public readonly kind!: pulumi.Output<"BackendTLSPolicy">;
56
- /**
57
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
58
- */
59
- public readonly metadata!: pulumi.Output<ObjectMetaPatch>;
60
- public readonly spec!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicySpecPatch>;
61
- public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha3.BackendTLSPolicyStatusPatch>;
62
-
63
- /**
64
- * Create a BackendTLSPolicyPatch resource with the given unique name, arguments, and options.
65
- *
66
- * @param name The _unique_ name of the resource.
67
- * @param args The arguments to use to populate this resource's properties.
68
- * @param opts A bag of options that control this resource's behavior.
69
- */
70
- constructor(name: string, args?: BackendTLSPolicyPatchArgs, opts?: pulumi.CustomResourceOptions) {
71
- let resourceInputs: pulumi.Inputs = {};
72
- opts = opts || {};
73
- if (!opts.id) {
74
- resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha3";
75
- resourceInputs["kind"] = "BackendTLSPolicy";
76
- resourceInputs["metadata"] = args ? args.metadata : undefined;
77
- resourceInputs["spec"] = args ? args.spec : undefined;
78
- resourceInputs["status"] = undefined /*out*/;
79
- } else {
80
- resourceInputs["apiVersion"] = undefined /*out*/;
81
- resourceInputs["kind"] = undefined /*out*/;
82
- resourceInputs["metadata"] = undefined /*out*/;
83
- resourceInputs["spec"] = undefined /*out*/;
84
- resourceInputs["status"] = undefined /*out*/;
85
- }
86
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
87
- super(BackendTLSPolicyPatch.__pulumiType, name, resourceInputs, opts);
88
- }
89
- }
90
-
91
- /**
92
- * The set of arguments for constructing a BackendTLSPolicyPatch resource.
93
- */
94
- export interface BackendTLSPolicyPatchArgs {
95
- /**
96
- * 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
97
- */
98
- apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1alpha3">;
99
- /**
100
- * 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
101
- */
102
- kind?: pulumi.Input<"BackendTLSPolicy">;
103
- /**
104
- * Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
105
- */
106
- metadata?: pulumi.Input<ObjectMetaPatch>;
107
- spec?: pulumi.Input<inputs.gateway.v1alpha3.BackendTLSPolicySpecPatch>;
108
- }
@@ -1,39 +0,0 @@
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 members:
8
- export { BackendTLSPolicyArgs } from "./backendTLSPolicy";
9
- export type BackendTLSPolicy = import("./backendTLSPolicy").BackendTLSPolicy;
10
- export const BackendTLSPolicy: typeof import("./backendTLSPolicy").BackendTLSPolicy = null as any;
11
- utilities.lazyLoad(exports, ["BackendTLSPolicy"], () => require("./backendTLSPolicy"));
12
-
13
- export { BackendTLSPolicyListArgs } from "./backendTLSPolicyList";
14
- export type BackendTLSPolicyList = import("./backendTLSPolicyList").BackendTLSPolicyList;
15
- export const BackendTLSPolicyList: typeof import("./backendTLSPolicyList").BackendTLSPolicyList = null as any;
16
- utilities.lazyLoad(exports, ["BackendTLSPolicyList"], () => require("./backendTLSPolicyList"));
17
-
18
- export { BackendTLSPolicyPatchArgs } from "./backendTLSPolicyPatch";
19
- export type BackendTLSPolicyPatch = import("./backendTLSPolicyPatch").BackendTLSPolicyPatch;
20
- export const BackendTLSPolicyPatch: typeof import("./backendTLSPolicyPatch").BackendTLSPolicyPatch = null as any;
21
- utilities.lazyLoad(exports, ["BackendTLSPolicyPatch"], () => require("./backendTLSPolicyPatch"));
22
-
23
-
24
- const _module = {
25
- version: utilities.getVersion(),
26
- construct: (name: string, type: string, urn: string): pulumi.Resource => {
27
- switch (type) {
28
- case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy":
29
- return new BackendTLSPolicy(name, <any>undefined, { urn })
30
- case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyList":
31
- return new BackendTLSPolicyList(name, <any>undefined, { urn })
32
- case "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch":
33
- return new BackendTLSPolicyPatch(name, <any>undefined, { urn })
34
- default:
35
- throw new Error(`unknown resource type ${type}`);
36
- }
37
- },
38
- };
39
- pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha3", _module)