@kilic.dev/pulumi-k8s-crds 4.0.6 → 4.1.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.
- package/README.md +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -1
- package/dist/lb/index.d.ts +2 -0
- package/dist/lb/index.js +41 -0
- package/dist/lb/v1alpha1/index.d.ts +18 -0
- package/dist/lb/v1alpha1/index.js +74 -0
- package/dist/lb/v1alpha1/loadBalancer.d.ts +65 -0
- package/dist/lb/v1alpha1/loadBalancer.js +98 -0
- package/dist/lb/v1alpha1/loadBalancerList.d.ts +70 -0
- package/dist/lb/v1alpha1/loadBalancerList.js +99 -0
- package/dist/lb/v1alpha1/loadBalancerPatch.d.ts +71 -0
- package/dist/lb/v1alpha1/loadBalancerPatch.js +102 -0
- package/dist/lb/v1alpha1/upstream.d.ts +65 -0
- package/dist/lb/v1alpha1/upstream.js +98 -0
- package/dist/lb/v1alpha1/upstreamList.d.ts +70 -0
- package/dist/lb/v1alpha1/upstreamList.js +99 -0
- package/dist/lb/v1alpha1/upstreamPatch.d.ts +71 -0
- package/dist/lb/v1alpha1/upstreamPatch.js +102 -0
- package/dist/package.json +1 -1
- package/dist/types/input.d.ts +261 -0
- package/dist/types/output.d.ts +408 -0
- package/dist/utilities.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.LoadBalancerPatch = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
43
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
44
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
45
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
+
* LoadBalancer is the Schema for the loadbalancers API.
|
|
49
|
+
*/
|
|
50
|
+
class LoadBalancerPatch extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing LoadBalancerPatch resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, opts) {
|
|
60
|
+
return new LoadBalancerPatch(name, undefined, { ...opts, id: id });
|
|
61
|
+
}
|
|
62
|
+
/** @internal */
|
|
63
|
+
static __pulumiType = 'pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancerPatch';
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of LoadBalancerPatch. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === LoadBalancerPatch.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Create a LoadBalancerPatch resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name, args, opts) {
|
|
82
|
+
let resourceInputs = {};
|
|
83
|
+
opts = opts || {};
|
|
84
|
+
if (!opts.id) {
|
|
85
|
+
resourceInputs["apiVersion"] = "lb.kilic.dev/v1alpha1";
|
|
86
|
+
resourceInputs["kind"] = "LoadBalancer";
|
|
87
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
88
|
+
resourceInputs["spec"] = args?.spec;
|
|
89
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(LoadBalancerPatch.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.LoadBalancerPatch = LoadBalancerPatch;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import * as pulumiKubernetes from "@pulumi/kubernetes";
|
|
5
|
+
/**
|
|
6
|
+
* Upstream is the Schema for the upstreams API.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Upstream extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Upstream resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Upstream;
|
|
18
|
+
/** @internal */
|
|
19
|
+
static readonly __pulumiType = "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:Upstream";
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of Upstream. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj: any): obj is Upstream;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
|
27
|
+
*/
|
|
28
|
+
readonly apiVersion: pulumi.Output<"lb.kilic.dev/v1alpha1">;
|
|
29
|
+
/**
|
|
30
|
+
* 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
|
|
31
|
+
*/
|
|
32
|
+
readonly kind: pulumi.Output<"Upstream">;
|
|
33
|
+
/**
|
|
34
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
35
|
+
*/
|
|
36
|
+
readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ObjectMeta>;
|
|
37
|
+
readonly spec: pulumi.Output<outputs.lb.v1alpha1.UpstreamSpec>;
|
|
38
|
+
readonly status: pulumi.Output<outputs.lb.v1alpha1.UpstreamStatus>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a Upstream resource with the given unique name, arguments, and options.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resource.
|
|
43
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
44
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
45
|
+
*/
|
|
46
|
+
constructor(name: string, args?: UpstreamArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a Upstream resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface UpstreamArgs {
|
|
52
|
+
/**
|
|
53
|
+
* 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
|
|
54
|
+
*/
|
|
55
|
+
apiVersion?: pulumi.Input<"lb.kilic.dev/v1alpha1" | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* 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
|
|
58
|
+
*/
|
|
59
|
+
kind?: pulumi.Input<"Upstream" | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
62
|
+
*/
|
|
63
|
+
metadata?: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ObjectMeta | undefined>;
|
|
64
|
+
spec?: pulumi.Input<inputs.lb.v1alpha1.UpstreamSpec | undefined>;
|
|
65
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.Upstream = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Upstream is the Schema for the upstreams API.
|
|
43
|
+
*/
|
|
44
|
+
class Upstream extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing Upstream resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, opts) {
|
|
54
|
+
return new Upstream(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'pulumi-k8s-crds:lb.kilic.dev/v1alpha1:Upstream';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of Upstream. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === Upstream.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Create a Upstream resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name, args, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (!opts.id) {
|
|
79
|
+
resourceInputs["apiVersion"] = "lb.kilic.dev/v1alpha1";
|
|
80
|
+
resourceInputs["kind"] = "Upstream";
|
|
81
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
82
|
+
resourceInputs["spec"] = args?.spec;
|
|
83
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
87
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
91
|
+
}
|
|
92
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
93
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:lb.kilic.dev/v1alpha1:Upstream" }] };
|
|
94
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
95
|
+
super(Upstream.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.Upstream = Upstream;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import * as pulumiKubernetes from "@pulumi/kubernetes";
|
|
5
|
+
/**
|
|
6
|
+
* UpstreamList is a list of Upstream
|
|
7
|
+
*/
|
|
8
|
+
export declare class UpstreamList extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing UpstreamList resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): UpstreamList;
|
|
18
|
+
/** @internal */
|
|
19
|
+
static readonly __pulumiType = "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:UpstreamList";
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of UpstreamList. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj: any): obj is UpstreamList;
|
|
25
|
+
/**
|
|
26
|
+
* 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
|
|
27
|
+
*/
|
|
28
|
+
readonly apiVersion: pulumi.Output<"lb.kilic.dev/v1alpha1">;
|
|
29
|
+
/**
|
|
30
|
+
* List of upstreams. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
31
|
+
*/
|
|
32
|
+
readonly items: pulumi.Output<outputs.lb.v1alpha1.Upstream[]>;
|
|
33
|
+
/**
|
|
34
|
+
* 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
|
|
35
|
+
*/
|
|
36
|
+
readonly kind: pulumi.Output<"UpstreamList">;
|
|
37
|
+
/**
|
|
38
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
39
|
+
*/
|
|
40
|
+
readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ListMeta>;
|
|
41
|
+
/**
|
|
42
|
+
* Create a UpstreamList resource with the given unique name, arguments, and options.
|
|
43
|
+
*
|
|
44
|
+
* @param name The _unique_ name of the resource.
|
|
45
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
46
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
47
|
+
*/
|
|
48
|
+
constructor(name: string, args?: UpstreamListArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The set of arguments for constructing a UpstreamList resource.
|
|
52
|
+
*/
|
|
53
|
+
export interface UpstreamListArgs {
|
|
54
|
+
/**
|
|
55
|
+
* 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
|
|
56
|
+
*/
|
|
57
|
+
apiVersion?: pulumi.Input<"lb.kilic.dev/v1alpha1" | undefined>;
|
|
58
|
+
/**
|
|
59
|
+
* List of upstreams. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
60
|
+
*/
|
|
61
|
+
items: pulumi.Input<pulumi.Input<inputs.lb.v1alpha1.Upstream>[]>;
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
kind?: pulumi.Input<"UpstreamList" | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
68
|
+
*/
|
|
69
|
+
metadata?: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ListMeta | undefined>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UpstreamList = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* UpstreamList is a list of Upstream
|
|
43
|
+
*/
|
|
44
|
+
class UpstreamList extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing UpstreamList resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
52
|
+
*/
|
|
53
|
+
static get(name, id, opts) {
|
|
54
|
+
return new UpstreamList(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'pulumi-k8s-crds:lb.kilic.dev/v1alpha1:UpstreamList';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of UpstreamList. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj) {
|
|
63
|
+
if (obj === undefined || obj === null) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return obj['__pulumiType'] === UpstreamList.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Create a UpstreamList resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name, args, opts) {
|
|
76
|
+
let resourceInputs = {};
|
|
77
|
+
opts = opts || {};
|
|
78
|
+
if (!opts.id) {
|
|
79
|
+
if (args?.items === undefined && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'items'");
|
|
81
|
+
}
|
|
82
|
+
resourceInputs["apiVersion"] = "lb.kilic.dev/v1alpha1";
|
|
83
|
+
resourceInputs["items"] = args?.items;
|
|
84
|
+
resourceInputs["kind"] = "UpstreamList";
|
|
85
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["items"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
const aliasOpts = { aliases: [{ type: "kubernetes:lb.kilic.dev/v1alpha1:UpstreamList" }] };
|
|
95
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
96
|
+
super(UpstreamList.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.UpstreamList = UpstreamList;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../../types/input";
|
|
3
|
+
import * as outputs from "../../types/output";
|
|
4
|
+
import * as pulumiKubernetes from "@pulumi/kubernetes";
|
|
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
|
+
* Upstream is the Schema for the upstreams API.
|
|
13
|
+
*/
|
|
14
|
+
export declare class UpstreamPatch extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing UpstreamPatch 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
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): UpstreamPatch;
|
|
24
|
+
/** @internal */
|
|
25
|
+
static readonly __pulumiType = "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:UpstreamPatch";
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of UpstreamPatch. This is designed to work even
|
|
28
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
29
|
+
*/
|
|
30
|
+
static isInstance(obj: any): obj is UpstreamPatch;
|
|
31
|
+
/**
|
|
32
|
+
* 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
|
|
33
|
+
*/
|
|
34
|
+
readonly apiVersion: pulumi.Output<"lb.kilic.dev/v1alpha1">;
|
|
35
|
+
/**
|
|
36
|
+
* 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
|
|
37
|
+
*/
|
|
38
|
+
readonly kind: pulumi.Output<"Upstream">;
|
|
39
|
+
/**
|
|
40
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
41
|
+
*/
|
|
42
|
+
readonly metadata: pulumi.Output<pulumiKubernetes.types.output.meta.v1.ObjectMetaPatch>;
|
|
43
|
+
readonly spec: pulumi.Output<outputs.lb.v1alpha1.UpstreamSpecPatch>;
|
|
44
|
+
readonly status: pulumi.Output<outputs.lb.v1alpha1.UpstreamStatusPatch>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a UpstreamPatch resource with the given unique name, arguments, and options.
|
|
47
|
+
*
|
|
48
|
+
* @param name The _unique_ name of the resource.
|
|
49
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
50
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
51
|
+
*/
|
|
52
|
+
constructor(name: string, args?: UpstreamPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a UpstreamPatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface UpstreamPatchArgs {
|
|
58
|
+
/**
|
|
59
|
+
* 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
|
|
60
|
+
*/
|
|
61
|
+
apiVersion?: pulumi.Input<"lb.kilic.dev/v1alpha1" | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* 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
|
|
64
|
+
*/
|
|
65
|
+
kind?: pulumi.Input<"Upstream" | undefined>;
|
|
66
|
+
/**
|
|
67
|
+
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
68
|
+
*/
|
|
69
|
+
metadata?: pulumi.Input<pulumiKubernetes.types.input.meta.v1.ObjectMetaPatch | undefined>;
|
|
70
|
+
spec?: pulumi.Input<inputs.lb.v1alpha1.UpstreamSpecPatch | undefined>;
|
|
71
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
21
|
+
var ownKeys = function(o) {
|
|
22
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
23
|
+
var ar = [];
|
|
24
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
25
|
+
return ar;
|
|
26
|
+
};
|
|
27
|
+
return ownKeys(o);
|
|
28
|
+
};
|
|
29
|
+
return function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
})();
|
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
+
exports.UpstreamPatch = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* Patch resources are used to modify existing Kubernetes resources by using
|
|
43
|
+
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
|
44
|
+
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
|
45
|
+
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
|
46
|
+
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
|
47
|
+
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
|
48
|
+
* Upstream is the Schema for the upstreams API.
|
|
49
|
+
*/
|
|
50
|
+
class UpstreamPatch extends pulumi.CustomResource {
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing UpstreamPatch resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
58
|
+
*/
|
|
59
|
+
static get(name, id, opts) {
|
|
60
|
+
return new UpstreamPatch(name, undefined, { ...opts, id: id });
|
|
61
|
+
}
|
|
62
|
+
/** @internal */
|
|
63
|
+
static __pulumiType = 'pulumi-k8s-crds:lb.kilic.dev/v1alpha1:UpstreamPatch';
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the given object is an instance of UpstreamPatch. This is designed to work even
|
|
66
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
67
|
+
*/
|
|
68
|
+
static isInstance(obj) {
|
|
69
|
+
if (obj === undefined || obj === null) {
|
|
70
|
+
return false;
|
|
71
|
+
}
|
|
72
|
+
return obj['__pulumiType'] === UpstreamPatch.__pulumiType;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Create a UpstreamPatch resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name, args, opts) {
|
|
82
|
+
let resourceInputs = {};
|
|
83
|
+
opts = opts || {};
|
|
84
|
+
if (!opts.id) {
|
|
85
|
+
resourceInputs["apiVersion"] = "lb.kilic.dev/v1alpha1";
|
|
86
|
+
resourceInputs["kind"] = "Upstream";
|
|
87
|
+
resourceInputs["metadata"] = args?.metadata;
|
|
88
|
+
resourceInputs["spec"] = args?.spec;
|
|
89
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
resourceInputs["apiVersion"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["kind"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["metadata"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["spec"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
97
|
+
}
|
|
98
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
99
|
+
super(UpstreamPatch.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.UpstreamPatch = UpstreamPatch;
|