@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
package/README.md
CHANGED
|
@@ -14,6 +14,8 @@ The published manifest carries **no `pulumi` block**. The generated SDK register
|
|
|
14
14
|
|
|
15
15
|
`pulumi-k8s-crds` is the extension name and the first segment of every resource token (`pulumi-k8s-crds:argoproj.io/v1alpha1:Application`), so it can never change. Resource tokens moved from the `kubernetes:` namespace when this package left `crd2pulumi`.
|
|
16
16
|
|
|
17
|
+
The private `cluster/operators/operator-lb` CRDs are cloned rather than curled: with the CI job token in pipelines, and over SSH with your own key when `CI_JOB_TOKEN` is unset, so a local run needs a key with access to that project. The token prefix stays `pulumi-k8s-crds` and the `lb.kilic.dev` group lands as `crds.lb.v1alpha1`.
|
|
18
|
+
|
|
17
19
|
Adding a CRD means adding its manifest URL to `generate.sh`. **Every apiVersion the manifest serves is emitted**, so a CRD that serves both `v1` and `v1alpha2` produces both without listing either — but a project that ships one file per version directory (cilium) needs the URL for the version you want. Alongside each `<Kind>`, the extension also emits `<Kind>Patch` and `<Kind>List`.
|
|
18
20
|
|
|
19
21
|
## Searching this package
|
package/dist/index.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ import * as cilium from "./cilium";
|
|
|
4
4
|
import * as external_secrets from "./external_secrets";
|
|
5
5
|
import * as externaldns from "./externaldns";
|
|
6
6
|
import * as gateway from "./gateway";
|
|
7
|
+
import * as lb from "./lb";
|
|
7
8
|
import * as types from "./types";
|
|
8
|
-
export { argoproj, cert_manager, cilium, external_secrets, externaldns, gateway, types, };
|
|
9
|
+
export { argoproj, cert_manager, cilium, external_secrets, externaldns, gateway, lb, types, };
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
35
35
|
};
|
|
36
36
|
})();
|
|
37
37
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
|
-
exports.types = exports.gateway = exports.externaldns = exports.external_secrets = exports.cilium = exports.cert_manager = exports.argoproj = void 0;
|
|
38
|
+
exports.types = exports.lb = exports.gateway = exports.externaldns = exports.external_secrets = exports.cilium = exports.cert_manager = exports.argoproj = void 0;
|
|
39
39
|
// Export sub-modules:
|
|
40
40
|
const argoproj = __importStar(require("./argoproj"));
|
|
41
41
|
exports.argoproj = argoproj;
|
|
@@ -49,5 +49,7 @@ const externaldns = __importStar(require("./externaldns"));
|
|
|
49
49
|
exports.externaldns = externaldns;
|
|
50
50
|
const gateway = __importStar(require("./gateway"));
|
|
51
51
|
exports.gateway = gateway;
|
|
52
|
+
const lb = __importStar(require("./lb"));
|
|
53
|
+
exports.lb = lb;
|
|
52
54
|
const types = __importStar(require("./types"));
|
|
53
55
|
exports.types = types;
|
package/dist/lb/index.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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.v1alpha1 = void 0;
|
|
39
|
+
// Export sub-modules:
|
|
40
|
+
const v1alpha1 = __importStar(require("./v1alpha1"));
|
|
41
|
+
exports.v1alpha1 = v1alpha1;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { LoadBalancerArgs } from "./loadBalancer";
|
|
2
|
+
export type LoadBalancer = import("./loadBalancer").LoadBalancer;
|
|
3
|
+
export declare const LoadBalancer: typeof import("./loadBalancer").LoadBalancer;
|
|
4
|
+
export { LoadBalancerListArgs } from "./loadBalancerList";
|
|
5
|
+
export type LoadBalancerList = import("./loadBalancerList").LoadBalancerList;
|
|
6
|
+
export declare const LoadBalancerList: typeof import("./loadBalancerList").LoadBalancerList;
|
|
7
|
+
export { LoadBalancerPatchArgs } from "./loadBalancerPatch";
|
|
8
|
+
export type LoadBalancerPatch = import("./loadBalancerPatch").LoadBalancerPatch;
|
|
9
|
+
export declare const LoadBalancerPatch: typeof import("./loadBalancerPatch").LoadBalancerPatch;
|
|
10
|
+
export { UpstreamArgs } from "./upstream";
|
|
11
|
+
export type Upstream = import("./upstream").Upstream;
|
|
12
|
+
export declare const Upstream: typeof import("./upstream").Upstream;
|
|
13
|
+
export { UpstreamListArgs } from "./upstreamList";
|
|
14
|
+
export type UpstreamList = import("./upstreamList").UpstreamList;
|
|
15
|
+
export declare const UpstreamList: typeof import("./upstreamList").UpstreamList;
|
|
16
|
+
export { UpstreamPatchArgs } from "./upstreamPatch";
|
|
17
|
+
export type UpstreamPatch = import("./upstreamPatch").UpstreamPatch;
|
|
18
|
+
export declare const UpstreamPatch: typeof import("./upstreamPatch").UpstreamPatch;
|
|
@@ -0,0 +1,74 @@
|
|
|
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 = exports.UpstreamList = exports.Upstream = exports.LoadBalancerPatch = exports.LoadBalancerList = exports.LoadBalancer = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
exports.LoadBalancer = null;
|
|
42
|
+
utilities.lazyLoad(exports, ["LoadBalancer"], () => require("./loadBalancer"));
|
|
43
|
+
exports.LoadBalancerList = null;
|
|
44
|
+
utilities.lazyLoad(exports, ["LoadBalancerList"], () => require("./loadBalancerList"));
|
|
45
|
+
exports.LoadBalancerPatch = null;
|
|
46
|
+
utilities.lazyLoad(exports, ["LoadBalancerPatch"], () => require("./loadBalancerPatch"));
|
|
47
|
+
exports.Upstream = null;
|
|
48
|
+
utilities.lazyLoad(exports, ["Upstream"], () => require("./upstream"));
|
|
49
|
+
exports.UpstreamList = null;
|
|
50
|
+
utilities.lazyLoad(exports, ["UpstreamList"], () => require("./upstreamList"));
|
|
51
|
+
exports.UpstreamPatch = null;
|
|
52
|
+
utilities.lazyLoad(exports, ["UpstreamPatch"], () => require("./upstreamPatch"));
|
|
53
|
+
const _module = {
|
|
54
|
+
version: utilities.getVersion(),
|
|
55
|
+
construct: (name, type, urn) => {
|
|
56
|
+
switch (type) {
|
|
57
|
+
case "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancer":
|
|
58
|
+
return new exports.LoadBalancer(name, undefined, { urn });
|
|
59
|
+
case "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancerList":
|
|
60
|
+
return new exports.LoadBalancerList(name, undefined, { urn });
|
|
61
|
+
case "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancerPatch":
|
|
62
|
+
return new exports.LoadBalancerPatch(name, undefined, { urn });
|
|
63
|
+
case "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:Upstream":
|
|
64
|
+
return new exports.Upstream(name, undefined, { urn });
|
|
65
|
+
case "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:UpstreamList":
|
|
66
|
+
return new exports.UpstreamList(name, undefined, { urn });
|
|
67
|
+
case "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:UpstreamPatch":
|
|
68
|
+
return new exports.UpstreamPatch(name, undefined, { urn });
|
|
69
|
+
default:
|
|
70
|
+
throw new Error(`unknown resource type ${type}`);
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
};
|
|
74
|
+
pulumi.runtime.registerResourceModule("pulumi-k8s-crds", "lb.kilic.dev/v1alpha1", _module);
|
|
@@ -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
|
+
* LoadBalancer is the Schema for the loadbalancers API.
|
|
7
|
+
*/
|
|
8
|
+
export declare class LoadBalancer extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing LoadBalancer 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): LoadBalancer;
|
|
18
|
+
/** @internal */
|
|
19
|
+
static readonly __pulumiType = "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancer";
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of LoadBalancer. 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 LoadBalancer;
|
|
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<"LoadBalancer">;
|
|
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.LoadBalancerSpec>;
|
|
38
|
+
readonly status: pulumi.Output<outputs.lb.v1alpha1.LoadBalancerStatus>;
|
|
39
|
+
/**
|
|
40
|
+
* Create a LoadBalancer 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?: LoadBalancerArgs, opts?: pulumi.CustomResourceOptions);
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* The set of arguments for constructing a LoadBalancer resource.
|
|
50
|
+
*/
|
|
51
|
+
export interface LoadBalancerArgs {
|
|
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<"LoadBalancer" | 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.LoadBalancerSpec | 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.LoadBalancer = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* LoadBalancer is the Schema for the loadbalancers API.
|
|
43
|
+
*/
|
|
44
|
+
class LoadBalancer extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing LoadBalancer 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 LoadBalancer(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancer';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of LoadBalancer. 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'] === LoadBalancer.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Create a LoadBalancer 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"] = "LoadBalancer";
|
|
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:LoadBalancer" }] };
|
|
94
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
95
|
+
super(LoadBalancer.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
exports.LoadBalancer = LoadBalancer;
|
|
@@ -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
|
+
* LoadBalancerList is a list of LoadBalancer
|
|
7
|
+
*/
|
|
8
|
+
export declare class LoadBalancerList extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing LoadBalancerList 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): LoadBalancerList;
|
|
18
|
+
/** @internal */
|
|
19
|
+
static readonly __pulumiType = "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancerList";
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of LoadBalancerList. 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 LoadBalancerList;
|
|
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 loadbalancers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
31
|
+
*/
|
|
32
|
+
readonly items: pulumi.Output<outputs.lb.v1alpha1.LoadBalancer[]>;
|
|
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<"LoadBalancerList">;
|
|
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 LoadBalancerList 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?: LoadBalancerListArgs, opts?: pulumi.CustomResourceOptions);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* The set of arguments for constructing a LoadBalancerList resource.
|
|
52
|
+
*/
|
|
53
|
+
export interface LoadBalancerListArgs {
|
|
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 loadbalancers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
|
60
|
+
*/
|
|
61
|
+
items: pulumi.Input<pulumi.Input<inputs.lb.v1alpha1.LoadBalancer>[]>;
|
|
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<"LoadBalancerList" | 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.LoadBalancerList = void 0;
|
|
39
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
40
|
+
const utilities = __importStar(require("../../utilities"));
|
|
41
|
+
/**
|
|
42
|
+
* LoadBalancerList is a list of LoadBalancer
|
|
43
|
+
*/
|
|
44
|
+
class LoadBalancerList extends pulumi.CustomResource {
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing LoadBalancerList 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 LoadBalancerList(name, undefined, { ...opts, id: id });
|
|
55
|
+
}
|
|
56
|
+
/** @internal */
|
|
57
|
+
static __pulumiType = 'pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancerList';
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of LoadBalancerList. 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'] === LoadBalancerList.__pulumiType;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Create a LoadBalancerList 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"] = "LoadBalancerList";
|
|
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:LoadBalancerList" }] };
|
|
95
|
+
opts = pulumi.mergeOptions(opts, aliasOpts);
|
|
96
|
+
super(LoadBalancerList.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.LoadBalancerList = LoadBalancerList;
|
|
@@ -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
|
+
* LoadBalancer is the Schema for the loadbalancers API.
|
|
13
|
+
*/
|
|
14
|
+
export declare class LoadBalancerPatch extends pulumi.CustomResource {
|
|
15
|
+
/**
|
|
16
|
+
* Get an existing LoadBalancerPatch 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): LoadBalancerPatch;
|
|
24
|
+
/** @internal */
|
|
25
|
+
static readonly __pulumiType = "pulumi-k8s-crds:lb.kilic.dev/v1alpha1:LoadBalancerPatch";
|
|
26
|
+
/**
|
|
27
|
+
* Returns true if the given object is an instance of LoadBalancerPatch. 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 LoadBalancerPatch;
|
|
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<"LoadBalancer">;
|
|
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.LoadBalancerSpecPatch>;
|
|
44
|
+
readonly status: pulumi.Output<outputs.lb.v1alpha1.LoadBalancerStatusPatch>;
|
|
45
|
+
/**
|
|
46
|
+
* Create a LoadBalancerPatch 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?: LoadBalancerPatchArgs, opts?: pulumi.CustomResourceOptions);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The set of arguments for constructing a LoadBalancerPatch resource.
|
|
56
|
+
*/
|
|
57
|
+
export interface LoadBalancerPatchArgs {
|
|
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<"LoadBalancer" | 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.LoadBalancerSpecPatch | undefined>;
|
|
71
|
+
}
|