Update CRDs
This commit is contained in:
1
.crd2pulumi-checksum
Normal file
1
.crd2pulumi-checksum
Normal file
@@ -0,0 +1 @@
|
||||
2eebf9968d1e434ea85182c1a229254ca0aefa30b6f433dd2ccfeca4751159ae
|
||||
14
generated/crds/README.md
Normal file
14
generated/crds/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
The Kubernetes provider package offers support for all Kubernetes resources and their properties.
|
||||
Resources are exposed as types from modules based on Kubernetes API groups such as 'apps', 'core',
|
||||
'rbac', and 'storage', among many others. Additionally, support for deploying Helm charts ('helm')
|
||||
and YAML files ('yaml') is available in this package. Using this package allows you to
|
||||
programmatically declare instances of any Kubernetes resources and any supported resource version
|
||||
using infrastructure as code, which Pulumi then uses to drive the Kubernetes API.
|
||||
|
||||
If this is your first time using this package, these two resources may be helpful:
|
||||
|
||||
* [Kubernetes Getting Started Guide](https://www.pulumi.com/docs/quickstart/kubernetes/): Get up and running quickly.
|
||||
* [Kubernetes Pulumi Setup Documentation](https://www.pulumi.com/docs/quickstart/kubernetes/configure/): How to configure Pulumi
|
||||
for use with your Kubernetes cluster.
|
||||
|
||||
Use the navigation below to see detailed documentation for each of the supported Kubernetes resources.
|
||||
2
generated/crds/acme/index.d.ts
vendored
Normal file
2
generated/crds/acme/index.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import * as v1 from "./v1";
|
||||
export { v1, };
|
||||
8
generated/crds/acme/index.js
Normal file
8
generated/crds/acme/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.v1 = void 0;
|
||||
// Export sub-modules:
|
||||
const v1 = require("./v1");
|
||||
exports.v1 = v1;
|
||||
11
generated/crds/acme/index.ts
Normal file
11
generated/crds/acme/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as utilities from "../utilities";
|
||||
|
||||
// Export sub-modules:
|
||||
import * as v1 from "./v1";
|
||||
|
||||
export {
|
||||
v1,
|
||||
};
|
||||
64
generated/crds/acme/v1/challenge.d.ts
vendored
Normal file
64
generated/crds/acme/v1/challenge.d.ts
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Challenge is a type to represent a Challenge request with an ACME server
|
||||
*/
|
||||
export declare class Challenge extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Challenge resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Challenge;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:acme.cert-manager.io/v1:Challenge";
|
||||
/**
|
||||
* Returns true if the given object is an instance of Challenge. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is Challenge;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.acme.v1.ChallengeSpec>;
|
||||
readonly status: pulumi.Output<outputs.acme.v1.ChallengeStatus>;
|
||||
/**
|
||||
* Create a Challenge resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ChallengeArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a Challenge resource.
|
||||
*/
|
||||
export interface ChallengeArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.ChallengeSpec>;
|
||||
}
|
||||
63
generated/crds/acme/v1/challenge.js
Normal file
63
generated/crds/acme/v1/challenge.js
Normal file
@@ -0,0 +1,63 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Challenge = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Challenge is a type to represent a Challenge request with an ACME server
|
||||
*/
|
||||
class Challenge extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Challenge resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new Challenge(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of Challenge. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Challenge.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a Challenge resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Challenge";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Challenge.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.Challenge = Challenge;
|
||||
/** @internal */
|
||||
Challenge.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:Challenge';
|
||||
99
generated/crds/acme/v1/challenge.ts
Normal file
99
generated/crds/acme/v1/challenge.ts
Normal file
@@ -0,0 +1,99 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Challenge is a type to represent a Challenge request with an ACME server
|
||||
*/
|
||||
export class Challenge extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Challenge resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Challenge {
|
||||
return new Challenge(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:Challenge';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Challenge. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is Challenge {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Challenge.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.acme.v1.ChallengeSpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.acme.v1.ChallengeStatus>;
|
||||
|
||||
/**
|
||||
* Create a Challenge resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ChallengeArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Challenge";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Challenge.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a Challenge resource.
|
||||
*/
|
||||
export interface ChallengeArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.ChallengeSpec>;
|
||||
}
|
||||
69
generated/crds/acme/v1/challengeList.d.ts
vendored
Normal file
69
generated/crds/acme/v1/challengeList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* ChallengeList is a list of Challenge
|
||||
*/
|
||||
export declare class ChallengeList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ChallengeList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ChallengeList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:acme.cert-manager.io/v1:ChallengeList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of ChallengeList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is ChallengeList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of challenges. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.acme.v1.Challenge[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"ChallengeList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a ChallengeList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ChallengeListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a ChallengeList resource.
|
||||
*/
|
||||
export interface ChallengeListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of challenges. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.acme.v1.Challenge>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ChallengeList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/acme/v1/challengeList.js
Normal file
64
generated/crds/acme/v1/challengeList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ChallengeList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* ChallengeList is a list of Challenge
|
||||
*/
|
||||
class ChallengeList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ChallengeList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new ChallengeList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of ChallengeList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ChallengeList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a ChallengeList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "ChallengeList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ChallengeList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.ChallengeList = ChallengeList;
|
||||
/** @internal */
|
||||
ChallengeList.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:ChallengeList';
|
||||
105
generated/crds/acme/v1/challengeList.ts
Normal file
105
generated/crds/acme/v1/challengeList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* ChallengeList is a list of Challenge
|
||||
*/
|
||||
export class ChallengeList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ChallengeList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ChallengeList {
|
||||
return new ChallengeList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:ChallengeList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of ChallengeList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is ChallengeList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ChallengeList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of challenges. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.acme.v1.Challenge[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"ChallengeList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a ChallengeList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ChallengeListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "ChallengeList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ChallengeList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a ChallengeList resource.
|
||||
*/
|
||||
export interface ChallengeListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of challenges. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.acme.v1.Challenge>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ChallengeList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
70
generated/crds/acme/v1/challengePatch.d.ts
vendored
Normal file
70
generated/crds/acme/v1/challengePatch.d.ts
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Challenge is a type to represent a Challenge request with an ACME server
|
||||
*/
|
||||
export declare class ChallengePatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ChallengePatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ChallengePatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:acme.cert-manager.io/v1:ChallengePatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of ChallengePatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is ChallengePatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.acme.v1.ChallengeSpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.acme.v1.ChallengeStatusPatch>;
|
||||
/**
|
||||
* Create a ChallengePatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ChallengePatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a ChallengePatch resource.
|
||||
*/
|
||||
export interface ChallengePatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.ChallengeSpecPatch>;
|
||||
}
|
||||
69
generated/crds/acme/v1/challengePatch.js
Normal file
69
generated/crds/acme/v1/challengePatch.js
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ChallengePatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Challenge is a type to represent a Challenge request with an ACME server
|
||||
*/
|
||||
class ChallengePatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ChallengePatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new ChallengePatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of ChallengePatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ChallengePatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a ChallengePatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Challenge";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ChallengePatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.ChallengePatch = ChallengePatch;
|
||||
/** @internal */
|
||||
ChallengePatch.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:ChallengePatch';
|
||||
105
generated/crds/acme/v1/challengePatch.ts
Normal file
105
generated/crds/acme/v1/challengePatch.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Challenge is a type to represent a Challenge request with an ACME server
|
||||
*/
|
||||
export class ChallengePatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ChallengePatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ChallengePatch {
|
||||
return new ChallengePatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:ChallengePatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of ChallengePatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is ChallengePatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ChallengePatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.acme.v1.ChallengeSpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.acme.v1.ChallengeStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a ChallengePatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ChallengePatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Challenge";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ChallengePatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a ChallengePatch resource.
|
||||
*/
|
||||
export interface ChallengePatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Challenge">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.ChallengeSpecPatch>;
|
||||
}
|
||||
18
generated/crds/acme/v1/index.d.ts
vendored
Normal file
18
generated/crds/acme/v1/index.d.ts
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
export { ChallengeArgs } from "./challenge";
|
||||
export type Challenge = import("./challenge").Challenge;
|
||||
export declare const Challenge: typeof import("./challenge").Challenge;
|
||||
export { ChallengeListArgs } from "./challengeList";
|
||||
export type ChallengeList = import("./challengeList").ChallengeList;
|
||||
export declare const ChallengeList: typeof import("./challengeList").ChallengeList;
|
||||
export { ChallengePatchArgs } from "./challengePatch";
|
||||
export type ChallengePatch = import("./challengePatch").ChallengePatch;
|
||||
export declare const ChallengePatch: typeof import("./challengePatch").ChallengePatch;
|
||||
export { OrderArgs } from "./order";
|
||||
export type Order = import("./order").Order;
|
||||
export declare const Order: typeof import("./order").Order;
|
||||
export { OrderListArgs } from "./orderList";
|
||||
export type OrderList = import("./orderList").OrderList;
|
||||
export declare const OrderList: typeof import("./orderList").OrderList;
|
||||
export { OrderPatchArgs } from "./orderPatch";
|
||||
export type OrderPatch = import("./orderPatch").OrderPatch;
|
||||
export declare const OrderPatch: typeof import("./orderPatch").OrderPatch;
|
||||
41
generated/crds/acme/v1/index.js
Normal file
41
generated/crds/acme/v1/index.js
Normal file
@@ -0,0 +1,41 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OrderPatch = exports.OrderList = exports.Order = exports.ChallengePatch = exports.ChallengeList = exports.Challenge = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
exports.Challenge = null;
|
||||
utilities.lazyLoad(exports, ["Challenge"], () => require("./challenge"));
|
||||
exports.ChallengeList = null;
|
||||
utilities.lazyLoad(exports, ["ChallengeList"], () => require("./challengeList"));
|
||||
exports.ChallengePatch = null;
|
||||
utilities.lazyLoad(exports, ["ChallengePatch"], () => require("./challengePatch"));
|
||||
exports.Order = null;
|
||||
utilities.lazyLoad(exports, ["Order"], () => require("./order"));
|
||||
exports.OrderList = null;
|
||||
utilities.lazyLoad(exports, ["OrderList"], () => require("./orderList"));
|
||||
exports.OrderPatch = null;
|
||||
utilities.lazyLoad(exports, ["OrderPatch"], () => require("./orderPatch"));
|
||||
const _module = {
|
||||
version: utilities.getVersion(),
|
||||
construct: (name, type, urn) => {
|
||||
switch (type) {
|
||||
case "kubernetes:acme.cert-manager.io/v1:Challenge":
|
||||
return new exports.Challenge(name, undefined, { urn });
|
||||
case "kubernetes:acme.cert-manager.io/v1:ChallengeList":
|
||||
return new exports.ChallengeList(name, undefined, { urn });
|
||||
case "kubernetes:acme.cert-manager.io/v1:ChallengePatch":
|
||||
return new exports.ChallengePatch(name, undefined, { urn });
|
||||
case "kubernetes:acme.cert-manager.io/v1:Order":
|
||||
return new exports.Order(name, undefined, { urn });
|
||||
case "kubernetes:acme.cert-manager.io/v1:OrderList":
|
||||
return new exports.OrderList(name, undefined, { urn });
|
||||
case "kubernetes:acme.cert-manager.io/v1:OrderPatch":
|
||||
return new exports.OrderPatch(name, undefined, { urn });
|
||||
default:
|
||||
throw new Error(`unknown resource type ${type}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
pulumi.runtime.registerResourceModule("crds", "acme.cert-manager.io/v1", _module);
|
||||
60
generated/crds/acme/v1/index.ts
Normal file
60
generated/crds/acme/v1/index.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
// Export members:
|
||||
export { ChallengeArgs } from "./challenge";
|
||||
export type Challenge = import("./challenge").Challenge;
|
||||
export const Challenge: typeof import("./challenge").Challenge = null as any;
|
||||
utilities.lazyLoad(exports, ["Challenge"], () => require("./challenge"));
|
||||
|
||||
export { ChallengeListArgs } from "./challengeList";
|
||||
export type ChallengeList = import("./challengeList").ChallengeList;
|
||||
export const ChallengeList: typeof import("./challengeList").ChallengeList = null as any;
|
||||
utilities.lazyLoad(exports, ["ChallengeList"], () => require("./challengeList"));
|
||||
|
||||
export { ChallengePatchArgs } from "./challengePatch";
|
||||
export type ChallengePatch = import("./challengePatch").ChallengePatch;
|
||||
export const ChallengePatch: typeof import("./challengePatch").ChallengePatch = null as any;
|
||||
utilities.lazyLoad(exports, ["ChallengePatch"], () => require("./challengePatch"));
|
||||
|
||||
export { OrderArgs } from "./order";
|
||||
export type Order = import("./order").Order;
|
||||
export const Order: typeof import("./order").Order = null as any;
|
||||
utilities.lazyLoad(exports, ["Order"], () => require("./order"));
|
||||
|
||||
export { OrderListArgs } from "./orderList";
|
||||
export type OrderList = import("./orderList").OrderList;
|
||||
export const OrderList: typeof import("./orderList").OrderList = null as any;
|
||||
utilities.lazyLoad(exports, ["OrderList"], () => require("./orderList"));
|
||||
|
||||
export { OrderPatchArgs } from "./orderPatch";
|
||||
export type OrderPatch = import("./orderPatch").OrderPatch;
|
||||
export const OrderPatch: typeof import("./orderPatch").OrderPatch = null as any;
|
||||
utilities.lazyLoad(exports, ["OrderPatch"], () => require("./orderPatch"));
|
||||
|
||||
|
||||
const _module = {
|
||||
version: utilities.getVersion(),
|
||||
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
||||
switch (type) {
|
||||
case "kubernetes:acme.cert-manager.io/v1:Challenge":
|
||||
return new Challenge(name, <any>undefined, { urn })
|
||||
case "kubernetes:acme.cert-manager.io/v1:ChallengeList":
|
||||
return new ChallengeList(name, <any>undefined, { urn })
|
||||
case "kubernetes:acme.cert-manager.io/v1:ChallengePatch":
|
||||
return new ChallengePatch(name, <any>undefined, { urn })
|
||||
case "kubernetes:acme.cert-manager.io/v1:Order":
|
||||
return new Order(name, <any>undefined, { urn })
|
||||
case "kubernetes:acme.cert-manager.io/v1:OrderList":
|
||||
return new OrderList(name, <any>undefined, { urn })
|
||||
case "kubernetes:acme.cert-manager.io/v1:OrderPatch":
|
||||
return new OrderPatch(name, <any>undefined, { urn })
|
||||
default:
|
||||
throw new Error(`unknown resource type ${type}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
pulumi.runtime.registerResourceModule("crds", "acme.cert-manager.io/v1", _module)
|
||||
64
generated/crds/acme/v1/order.d.ts
vendored
Normal file
64
generated/crds/acme/v1/order.d.ts
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Order is a type to represent an Order with an ACME server
|
||||
*/
|
||||
export declare class Order extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Order resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Order;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:acme.cert-manager.io/v1:Order";
|
||||
/**
|
||||
* Returns true if the given object is an instance of Order. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is Order;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.acme.v1.OrderSpec>;
|
||||
readonly status: pulumi.Output<outputs.acme.v1.OrderStatus>;
|
||||
/**
|
||||
* Create a Order resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: OrderArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a Order resource.
|
||||
*/
|
||||
export interface OrderArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.OrderSpec>;
|
||||
}
|
||||
63
generated/crds/acme/v1/order.js
Normal file
63
generated/crds/acme/v1/order.js
Normal file
@@ -0,0 +1,63 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Order = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Order is a type to represent an Order with an ACME server
|
||||
*/
|
||||
class Order extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Order resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new Order(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of Order. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Order.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a Order resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Order";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Order.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.Order = Order;
|
||||
/** @internal */
|
||||
Order.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:Order';
|
||||
99
generated/crds/acme/v1/order.ts
Normal file
99
generated/crds/acme/v1/order.ts
Normal file
@@ -0,0 +1,99 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Order is a type to represent an Order with an ACME server
|
||||
*/
|
||||
export class Order extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Order resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Order {
|
||||
return new Order(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:Order';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Order. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is Order {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Order.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.acme.v1.OrderSpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.acme.v1.OrderStatus>;
|
||||
|
||||
/**
|
||||
* Create a Order resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: OrderArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Order";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Order.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a Order resource.
|
||||
*/
|
||||
export interface OrderArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.OrderSpec>;
|
||||
}
|
||||
69
generated/crds/acme/v1/orderList.d.ts
vendored
Normal file
69
generated/crds/acme/v1/orderList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* OrderList is a list of Order
|
||||
*/
|
||||
export declare class OrderList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing OrderList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrderList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:acme.cert-manager.io/v1:OrderList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of OrderList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is OrderList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.acme.v1.Order[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"OrderList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a OrderList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: OrderListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a OrderList resource.
|
||||
*/
|
||||
export interface OrderListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.acme.v1.Order>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"OrderList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/acme/v1/orderList.js
Normal file
64
generated/crds/acme/v1/orderList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OrderList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* OrderList is a list of Order
|
||||
*/
|
||||
class OrderList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing OrderList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new OrderList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of OrderList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === OrderList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a OrderList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "OrderList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(OrderList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.OrderList = OrderList;
|
||||
/** @internal */
|
||||
OrderList.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:OrderList';
|
||||
105
generated/crds/acme/v1/orderList.ts
Normal file
105
generated/crds/acme/v1/orderList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* OrderList is a list of Order
|
||||
*/
|
||||
export class OrderList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing OrderList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrderList {
|
||||
return new OrderList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:OrderList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of OrderList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is OrderList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === OrderList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.acme.v1.Order[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"OrderList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a OrderList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: OrderListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "OrderList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(OrderList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a OrderList resource.
|
||||
*/
|
||||
export interface OrderListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* List of orders. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.acme.v1.Order>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"OrderList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
70
generated/crds/acme/v1/orderPatch.d.ts
vendored
Normal file
70
generated/crds/acme/v1/orderPatch.d.ts
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Order is a type to represent an Order with an ACME server
|
||||
*/
|
||||
export declare class OrderPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing OrderPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrderPatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:acme.cert-manager.io/v1:OrderPatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of OrderPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is OrderPatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.acme.v1.OrderSpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.acme.v1.OrderStatusPatch>;
|
||||
/**
|
||||
* Create a OrderPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: OrderPatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a OrderPatch resource.
|
||||
*/
|
||||
export interface OrderPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.OrderSpecPatch>;
|
||||
}
|
||||
69
generated/crds/acme/v1/orderPatch.js
Normal file
69
generated/crds/acme/v1/orderPatch.js
Normal file
@@ -0,0 +1,69 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.OrderPatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Order is a type to represent an Order with an ACME server
|
||||
*/
|
||||
class OrderPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing OrderPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new OrderPatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of OrderPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === OrderPatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a OrderPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Order";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(OrderPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.OrderPatch = OrderPatch;
|
||||
/** @internal */
|
||||
OrderPatch.__pulumiType = 'kubernetes:acme.cert-manager.io/v1:OrderPatch';
|
||||
105
generated/crds/acme/v1/orderPatch.ts
Normal file
105
generated/crds/acme/v1/orderPatch.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Order is a type to represent an Order with an ACME server
|
||||
*/
|
||||
export class OrderPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing OrderPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): OrderPatch {
|
||||
return new OrderPatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:acme.cert-manager.io/v1:OrderPatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of OrderPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is OrderPatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === OrderPatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.acme.v1.OrderSpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.acme.v1.OrderStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a OrderPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: OrderPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "acme.cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Order";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(OrderPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a OrderPatch resource.
|
||||
*/
|
||||
export interface OrderPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"acme.cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Order">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.acme.v1.OrderSpecPatch>;
|
||||
}
|
||||
2
generated/crds/cert_manager/index.d.ts
vendored
Normal file
2
generated/crds/cert_manager/index.d.ts
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
import * as v1 from "./v1";
|
||||
export { v1, };
|
||||
8
generated/crds/cert_manager/index.js
Normal file
8
generated/crds/cert_manager/index.js
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.v1 = void 0;
|
||||
// Export sub-modules:
|
||||
const v1 = require("./v1");
|
||||
exports.v1 = v1;
|
||||
11
generated/crds/cert_manager/index.ts
Normal file
11
generated/crds/cert_manager/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as utilities from "../utilities";
|
||||
|
||||
// Export sub-modules:
|
||||
import * as v1 from "./v1";
|
||||
|
||||
export {
|
||||
v1,
|
||||
};
|
||||
67
generated/crds/cert_manager/v1/certificate.d.ts
vendored
Normal file
67
generated/crds/cert_manager/v1/certificate.d.ts
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* A Certificate resource should be created to ensure an up to date and signed
|
||||
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
||||
*
|
||||
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
||||
*/
|
||||
export declare class Certificate extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Certificate;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:Certificate";
|
||||
/**
|
||||
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is Certificate;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateSpec>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateStatus>;
|
||||
/**
|
||||
* Create a Certificate resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a Certificate resource.
|
||||
*/
|
||||
export interface CertificateArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpec>;
|
||||
}
|
||||
66
generated/crds/cert_manager/v1/certificate.js
Normal file
66
generated/crds/cert_manager/v1/certificate.js
Normal file
@@ -0,0 +1,66 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Certificate = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* A Certificate resource should be created to ensure an up to date and signed
|
||||
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
||||
*
|
||||
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
||||
*/
|
||||
class Certificate extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new Certificate(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Certificate.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a Certificate resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Certificate";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Certificate.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.Certificate = Certificate;
|
||||
/** @internal */
|
||||
Certificate.__pulumiType = 'kubernetes:cert-manager.io/v1:Certificate';
|
||||
102
generated/crds/cert_manager/v1/certificate.ts
Normal file
102
generated/crds/cert_manager/v1/certificate.ts
Normal file
@@ -0,0 +1,102 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* A Certificate resource should be created to ensure an up to date and signed
|
||||
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
||||
*
|
||||
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
||||
*/
|
||||
export class Certificate extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Certificate resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Certificate {
|
||||
return new Certificate(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:Certificate';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Certificate. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is Certificate {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Certificate.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateSpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateStatus>;
|
||||
|
||||
/**
|
||||
* Create a Certificate resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Certificate";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Certificate.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a Certificate resource.
|
||||
*/
|
||||
export interface CertificateArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpec>;
|
||||
}
|
||||
69
generated/crds/cert_manager/v1/certificateList.d.ts
vendored
Normal file
69
generated/crds/cert_manager/v1/certificateList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* CertificateList is a list of Certificate
|
||||
*/
|
||||
export declare class CertificateList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is CertificateList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.cert_manager.v1.Certificate[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"CertificateList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a CertificateList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateList resource.
|
||||
*/
|
||||
export interface CertificateListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Certificate>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/cert_manager/v1/certificateList.js
Normal file
64
generated/crds/cert_manager/v1/certificateList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CertificateList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* CertificateList is a list of Certificate
|
||||
*/
|
||||
class CertificateList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new CertificateList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a CertificateList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "CertificateList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.CertificateList = CertificateList;
|
||||
/** @internal */
|
||||
CertificateList.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateList';
|
||||
105
generated/crds/cert_manager/v1/certificateList.ts
Normal file
105
generated/crds/cert_manager/v1/certificateList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* CertificateList is a list of Certificate
|
||||
*/
|
||||
export class CertificateList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateList {
|
||||
return new CertificateList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is CertificateList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.cert_manager.v1.Certificate[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"CertificateList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a CertificateList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "CertificateList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateList resource.
|
||||
*/
|
||||
export interface CertificateListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificates. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Certificate>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
73
generated/crds/cert_manager/v1/certificatePatch.d.ts
vendored
Normal file
73
generated/crds/cert_manager/v1/certificatePatch.d.ts
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A Certificate resource should be created to ensure an up to date and signed
|
||||
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
||||
*
|
||||
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
||||
*/
|
||||
export declare class CertificatePatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificatePatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificatePatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificatePatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificatePatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is CertificatePatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateSpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateStatusPatch>;
|
||||
/**
|
||||
* Create a CertificatePatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificatePatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a CertificatePatch resource.
|
||||
*/
|
||||
export interface CertificatePatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpecPatch>;
|
||||
}
|
||||
72
generated/crds/cert_manager/v1/certificatePatch.js
Normal file
72
generated/crds/cert_manager/v1/certificatePatch.js
Normal file
@@ -0,0 +1,72 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CertificatePatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A Certificate resource should be created to ensure an up to date and signed
|
||||
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
||||
*
|
||||
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
||||
*/
|
||||
class CertificatePatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificatePatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new CertificatePatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificatePatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificatePatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a CertificatePatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Certificate";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificatePatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.CertificatePatch = CertificatePatch;
|
||||
/** @internal */
|
||||
CertificatePatch.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificatePatch';
|
||||
108
generated/crds/cert_manager/v1/certificatePatch.ts
Normal file
108
generated/crds/cert_manager/v1/certificatePatch.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A Certificate resource should be created to ensure an up to date and signed
|
||||
* X.509 certificate is stored in the Kubernetes Secret resource named in `spec.secretName`.
|
||||
*
|
||||
* The stored certificate will be renewed before it expires (as configured by `spec.renewBefore`).
|
||||
*/
|
||||
export class CertificatePatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificatePatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificatePatch {
|
||||
return new CertificatePatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificatePatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificatePatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is CertificatePatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificatePatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateSpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a CertificatePatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificatePatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Certificate";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificatePatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a CertificatePatch resource.
|
||||
*/
|
||||
export interface CertificatePatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Certificate">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateSpecPatch>;
|
||||
}
|
||||
72
generated/crds/cert_manager/v1/certificateRequest.d.ts
vendored
Normal file
72
generated/crds/cert_manager/v1/certificateRequest.d.ts
vendored
Normal file
@@ -0,0 +1,72 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* A CertificateRequest is used to request a signed certificate from one of the
|
||||
* configured issuers.
|
||||
*
|
||||
* All fields within the CertificateRequest's `spec` are immutable after creation.
|
||||
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
|
||||
* condition and its `status.failureTime` field.
|
||||
*
|
||||
* A CertificateRequest is a one-shot resource, meaning it represents a single
|
||||
* point in time request for a certificate and cannot be re-used.
|
||||
*/
|
||||
export declare class CertificateRequest extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequest resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequest;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateRequest";
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequest. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is CertificateRequest;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpec>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatus>;
|
||||
/**
|
||||
* Create a CertificateRequest resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateRequestArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateRequest resource.
|
||||
*/
|
||||
export interface CertificateRequestArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpec>;
|
||||
}
|
||||
71
generated/crds/cert_manager/v1/certificateRequest.js
Normal file
71
generated/crds/cert_manager/v1/certificateRequest.js
Normal file
@@ -0,0 +1,71 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CertificateRequest = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* A CertificateRequest is used to request a signed certificate from one of the
|
||||
* configured issuers.
|
||||
*
|
||||
* All fields within the CertificateRequest's `spec` are immutable after creation.
|
||||
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
|
||||
* condition and its `status.failureTime` field.
|
||||
*
|
||||
* A CertificateRequest is a one-shot resource, meaning it represents a single
|
||||
* point in time request for a certificate and cannot be re-used.
|
||||
*/
|
||||
class CertificateRequest extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequest resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new CertificateRequest(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequest. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateRequest.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a CertificateRequest resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "CertificateRequest";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateRequest.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.CertificateRequest = CertificateRequest;
|
||||
/** @internal */
|
||||
CertificateRequest.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequest';
|
||||
107
generated/crds/cert_manager/v1/certificateRequest.ts
Normal file
107
generated/crds/cert_manager/v1/certificateRequest.ts
Normal file
@@ -0,0 +1,107 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* A CertificateRequest is used to request a signed certificate from one of the
|
||||
* configured issuers.
|
||||
*
|
||||
* All fields within the CertificateRequest's `spec` are immutable after creation.
|
||||
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
|
||||
* condition and its `status.failureTime` field.
|
||||
*
|
||||
* A CertificateRequest is a one-shot resource, meaning it represents a single
|
||||
* point in time request for a certificate and cannot be re-used.
|
||||
*/
|
||||
export class CertificateRequest extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequest resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequest {
|
||||
return new CertificateRequest(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequest';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequest. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is CertificateRequest {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateRequest.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatus>;
|
||||
|
||||
/**
|
||||
* Create a CertificateRequest resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateRequestArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "CertificateRequest";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateRequest.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateRequest resource.
|
||||
*/
|
||||
export interface CertificateRequestArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpec>;
|
||||
}
|
||||
69
generated/crds/cert_manager/v1/certificateRequestList.d.ts
vendored
Normal file
69
generated/crds/cert_manager/v1/certificateRequestList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* CertificateRequestList is a list of CertificateRequest
|
||||
*/
|
||||
export declare class CertificateRequestList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateRequestList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is CertificateRequestList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.cert_manager.v1.CertificateRequest[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"CertificateRequestList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a CertificateRequestList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateRequestListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateRequestList resource.
|
||||
*/
|
||||
export interface CertificateRequestListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.CertificateRequest>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateRequestList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/cert_manager/v1/certificateRequestList.js
Normal file
64
generated/crds/cert_manager/v1/certificateRequestList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CertificateRequestList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* CertificateRequestList is a list of CertificateRequest
|
||||
*/
|
||||
class CertificateRequestList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new CertificateRequestList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateRequestList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a CertificateRequestList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "CertificateRequestList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateRequestList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.CertificateRequestList = CertificateRequestList;
|
||||
/** @internal */
|
||||
CertificateRequestList.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestList';
|
||||
105
generated/crds/cert_manager/v1/certificateRequestList.ts
Normal file
105
generated/crds/cert_manager/v1/certificateRequestList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* CertificateRequestList is a list of CertificateRequest
|
||||
*/
|
||||
export class CertificateRequestList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequestList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestList {
|
||||
return new CertificateRequestList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequestList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is CertificateRequestList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateRequestList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.cert_manager.v1.CertificateRequest[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"CertificateRequestList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a CertificateRequestList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateRequestListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "CertificateRequestList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateRequestList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateRequestList resource.
|
||||
*/
|
||||
export interface CertificateRequestListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of certificaterequests. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.CertificateRequest>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateRequestList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
78
generated/crds/cert_manager/v1/certificateRequestPatch.d.ts
vendored
Normal file
78
generated/crds/cert_manager/v1/certificateRequestPatch.d.ts
vendored
Normal file
@@ -0,0 +1,78 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A CertificateRequest is used to request a signed certificate from one of the
|
||||
* configured issuers.
|
||||
*
|
||||
* All fields within the CertificateRequest's `spec` are immutable after creation.
|
||||
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
|
||||
* condition and its `status.failureTime` field.
|
||||
*
|
||||
* A CertificateRequest is a one-shot resource, meaning it represents a single
|
||||
* point in time request for a certificate and cannot be re-used.
|
||||
*/
|
||||
export declare class CertificateRequestPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequestPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestPatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:CertificateRequestPatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequestPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is CertificateRequestPatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatusPatch>;
|
||||
/**
|
||||
* Create a CertificateRequestPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateRequestPatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateRequestPatch resource.
|
||||
*/
|
||||
export interface CertificateRequestPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpecPatch>;
|
||||
}
|
||||
77
generated/crds/cert_manager/v1/certificateRequestPatch.js
Normal file
77
generated/crds/cert_manager/v1/certificateRequestPatch.js
Normal file
@@ -0,0 +1,77 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.CertificateRequestPatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A CertificateRequest is used to request a signed certificate from one of the
|
||||
* configured issuers.
|
||||
*
|
||||
* All fields within the CertificateRequest's `spec` are immutable after creation.
|
||||
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
|
||||
* condition and its `status.failureTime` field.
|
||||
*
|
||||
* A CertificateRequest is a one-shot resource, meaning it represents a single
|
||||
* point in time request for a certificate and cannot be re-used.
|
||||
*/
|
||||
class CertificateRequestPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequestPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new CertificateRequestPatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequestPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateRequestPatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a CertificateRequestPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "CertificateRequest";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateRequestPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.CertificateRequestPatch = CertificateRequestPatch;
|
||||
/** @internal */
|
||||
CertificateRequestPatch.__pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestPatch';
|
||||
113
generated/crds/cert_manager/v1/certificateRequestPatch.ts
Normal file
113
generated/crds/cert_manager/v1/certificateRequestPatch.ts
Normal file
@@ -0,0 +1,113 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A CertificateRequest is used to request a signed certificate from one of the
|
||||
* configured issuers.
|
||||
*
|
||||
* All fields within the CertificateRequest's `spec` are immutable after creation.
|
||||
* A CertificateRequest will either succeed or fail, as denoted by its `Ready` status
|
||||
* condition and its `status.failureTime` field.
|
||||
*
|
||||
* A CertificateRequest is a one-shot resource, meaning it represents a single
|
||||
* point in time request for a certificate and cannot be re-used.
|
||||
*/
|
||||
export class CertificateRequestPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing CertificateRequestPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): CertificateRequestPatch {
|
||||
return new CertificateRequestPatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:CertificateRequestPatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of CertificateRequestPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is CertificateRequestPatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === CertificateRequestPatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestSpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.CertificateRequestStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a CertificateRequestPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: CertificateRequestPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "CertificateRequest";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(CertificateRequestPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a CertificateRequestPatch resource.
|
||||
*/
|
||||
export interface CertificateRequestPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"CertificateRequest">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.CertificateRequestSpecPatch>;
|
||||
}
|
||||
68
generated/crds/cert_manager/v1/clusterIssuer.d.ts
vendored
Normal file
68
generated/crds/cert_manager/v1/clusterIssuer.d.ts
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* A ClusterIssuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
||||
* be referenced by resources that exist in *any* namespace, not just the same
|
||||
* namespace as the referent.
|
||||
*/
|
||||
export declare class ClusterIssuer extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuer;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:ClusterIssuer";
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is ClusterIssuer;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpec>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatus>;
|
||||
/**
|
||||
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ClusterIssuerArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a ClusterIssuer resource.
|
||||
*/
|
||||
export interface ClusterIssuerArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpec>;
|
||||
}
|
||||
67
generated/crds/cert_manager/v1/clusterIssuer.js
Normal file
67
generated/crds/cert_manager/v1/clusterIssuer.js
Normal file
@@ -0,0 +1,67 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ClusterIssuer = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* A ClusterIssuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
||||
* be referenced by resources that exist in *any* namespace, not just the same
|
||||
* namespace as the referent.
|
||||
*/
|
||||
class ClusterIssuer extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new ClusterIssuer(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterIssuer.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "ClusterIssuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ClusterIssuer.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.ClusterIssuer = ClusterIssuer;
|
||||
/** @internal */
|
||||
ClusterIssuer.__pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuer';
|
||||
103
generated/crds/cert_manager/v1/clusterIssuer.ts
Normal file
103
generated/crds/cert_manager/v1/clusterIssuer.ts
Normal file
@@ -0,0 +1,103 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* A ClusterIssuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
||||
* be referenced by resources that exist in *any* namespace, not just the same
|
||||
* namespace as the referent.
|
||||
*/
|
||||
export class ClusterIssuer extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuer resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuer {
|
||||
return new ClusterIssuer(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuer';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuer. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is ClusterIssuer {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterIssuer.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatus>;
|
||||
|
||||
/**
|
||||
* Create a ClusterIssuer resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ClusterIssuerArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "ClusterIssuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ClusterIssuer.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a ClusterIssuer resource.
|
||||
*/
|
||||
export interface ClusterIssuerArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpec>;
|
||||
}
|
||||
69
generated/crds/cert_manager/v1/clusterIssuerList.d.ts
vendored
Normal file
69
generated/crds/cert_manager/v1/clusterIssuerList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* ClusterIssuerList is a list of ClusterIssuer
|
||||
*/
|
||||
export declare class ClusterIssuerList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuerList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:ClusterIssuerList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuerList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is ClusterIssuerList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.cert_manager.v1.ClusterIssuer[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"ClusterIssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a ClusterIssuerList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ClusterIssuerListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a ClusterIssuerList resource.
|
||||
*/
|
||||
export interface ClusterIssuerListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.ClusterIssuer>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ClusterIssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/cert_manager/v1/clusterIssuerList.js
Normal file
64
generated/crds/cert_manager/v1/clusterIssuerList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ClusterIssuerList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* ClusterIssuerList is a list of ClusterIssuer
|
||||
*/
|
||||
class ClusterIssuerList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuerList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new ClusterIssuerList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuerList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterIssuerList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a ClusterIssuerList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "ClusterIssuerList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ClusterIssuerList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.ClusterIssuerList = ClusterIssuerList;
|
||||
/** @internal */
|
||||
ClusterIssuerList.__pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerList';
|
||||
105
generated/crds/cert_manager/v1/clusterIssuerList.ts
Normal file
105
generated/crds/cert_manager/v1/clusterIssuerList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* ClusterIssuerList is a list of ClusterIssuer
|
||||
*/
|
||||
export class ClusterIssuerList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuerList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerList {
|
||||
return new ClusterIssuerList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuerList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is ClusterIssuerList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterIssuerList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuer[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"ClusterIssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a ClusterIssuerList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ClusterIssuerListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "ClusterIssuerList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ClusterIssuerList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a ClusterIssuerList resource.
|
||||
*/
|
||||
export interface ClusterIssuerListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of clusterissuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.ClusterIssuer>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ClusterIssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
74
generated/crds/cert_manager/v1/clusterIssuerPatch.d.ts
vendored
Normal file
74
generated/crds/cert_manager/v1/clusterIssuerPatch.d.ts
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A ClusterIssuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
||||
* be referenced by resources that exist in *any* namespace, not just the same
|
||||
* namespace as the referent.
|
||||
*/
|
||||
export declare class ClusterIssuerPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuerPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerPatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:ClusterIssuerPatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuerPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is ClusterIssuerPatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatusPatch>;
|
||||
/**
|
||||
* Create a ClusterIssuerPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ClusterIssuerPatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a ClusterIssuerPatch resource.
|
||||
*/
|
||||
export interface ClusterIssuerPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpecPatch>;
|
||||
}
|
||||
73
generated/crds/cert_manager/v1/clusterIssuerPatch.js
Normal file
73
generated/crds/cert_manager/v1/clusterIssuerPatch.js
Normal file
@@ -0,0 +1,73 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.ClusterIssuerPatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A ClusterIssuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
||||
* be referenced by resources that exist in *any* namespace, not just the same
|
||||
* namespace as the referent.
|
||||
*/
|
||||
class ClusterIssuerPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuerPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new ClusterIssuerPatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuerPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterIssuerPatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a ClusterIssuerPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "ClusterIssuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ClusterIssuerPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.ClusterIssuerPatch = ClusterIssuerPatch;
|
||||
/** @internal */
|
||||
ClusterIssuerPatch.__pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerPatch';
|
||||
109
generated/crds/cert_manager/v1/clusterIssuerPatch.ts
Normal file
109
generated/crds/cert_manager/v1/clusterIssuerPatch.ts
Normal file
@@ -0,0 +1,109 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* A ClusterIssuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is similar to an Issuer, however it is cluster-scoped and therefore can
|
||||
* be referenced by resources that exist in *any* namespace, not just the same
|
||||
* namespace as the referent.
|
||||
*/
|
||||
export class ClusterIssuerPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing ClusterIssuerPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ClusterIssuerPatch {
|
||||
return new ClusterIssuerPatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:ClusterIssuerPatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of ClusterIssuerPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is ClusterIssuerPatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === ClusterIssuerPatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerSpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.ClusterIssuerStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a ClusterIssuerPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: ClusterIssuerPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "ClusterIssuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(ClusterIssuerPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a ClusterIssuerPatch resource.
|
||||
*/
|
||||
export interface ClusterIssuerPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"ClusterIssuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.ClusterIssuerSpecPatch>;
|
||||
}
|
||||
36
generated/crds/cert_manager/v1/index.d.ts
vendored
Normal file
36
generated/crds/cert_manager/v1/index.d.ts
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
export { CertificateArgs } from "./certificate";
|
||||
export type Certificate = import("./certificate").Certificate;
|
||||
export declare const Certificate: typeof import("./certificate").Certificate;
|
||||
export { CertificateListArgs } from "./certificateList";
|
||||
export type CertificateList = import("./certificateList").CertificateList;
|
||||
export declare const CertificateList: typeof import("./certificateList").CertificateList;
|
||||
export { CertificatePatchArgs } from "./certificatePatch";
|
||||
export type CertificatePatch = import("./certificatePatch").CertificatePatch;
|
||||
export declare const CertificatePatch: typeof import("./certificatePatch").CertificatePatch;
|
||||
export { CertificateRequestArgs } from "./certificateRequest";
|
||||
export type CertificateRequest = import("./certificateRequest").CertificateRequest;
|
||||
export declare const CertificateRequest: typeof import("./certificateRequest").CertificateRequest;
|
||||
export { CertificateRequestListArgs } from "./certificateRequestList";
|
||||
export type CertificateRequestList = import("./certificateRequestList").CertificateRequestList;
|
||||
export declare const CertificateRequestList: typeof import("./certificateRequestList").CertificateRequestList;
|
||||
export { CertificateRequestPatchArgs } from "./certificateRequestPatch";
|
||||
export type CertificateRequestPatch = import("./certificateRequestPatch").CertificateRequestPatch;
|
||||
export declare const CertificateRequestPatch: typeof import("./certificateRequestPatch").CertificateRequestPatch;
|
||||
export { ClusterIssuerArgs } from "./clusterIssuer";
|
||||
export type ClusterIssuer = import("./clusterIssuer").ClusterIssuer;
|
||||
export declare const ClusterIssuer: typeof import("./clusterIssuer").ClusterIssuer;
|
||||
export { ClusterIssuerListArgs } from "./clusterIssuerList";
|
||||
export type ClusterIssuerList = import("./clusterIssuerList").ClusterIssuerList;
|
||||
export declare const ClusterIssuerList: typeof import("./clusterIssuerList").ClusterIssuerList;
|
||||
export { ClusterIssuerPatchArgs } from "./clusterIssuerPatch";
|
||||
export type ClusterIssuerPatch = import("./clusterIssuerPatch").ClusterIssuerPatch;
|
||||
export declare const ClusterIssuerPatch: typeof import("./clusterIssuerPatch").ClusterIssuerPatch;
|
||||
export { IssuerArgs } from "./issuer";
|
||||
export type Issuer = import("./issuer").Issuer;
|
||||
export declare const Issuer: typeof import("./issuer").Issuer;
|
||||
export { IssuerListArgs } from "./issuerList";
|
||||
export type IssuerList = import("./issuerList").IssuerList;
|
||||
export declare const IssuerList: typeof import("./issuerList").IssuerList;
|
||||
export { IssuerPatchArgs } from "./issuerPatch";
|
||||
export type IssuerPatch = import("./issuerPatch").IssuerPatch;
|
||||
export declare const IssuerPatch: typeof import("./issuerPatch").IssuerPatch;
|
||||
65
generated/crds/cert_manager/v1/index.js
Normal file
65
generated/crds/cert_manager/v1/index.js
Normal file
@@ -0,0 +1,65 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.IssuerPatch = exports.IssuerList = exports.Issuer = exports.ClusterIssuerPatch = exports.ClusterIssuerList = exports.ClusterIssuer = exports.CertificateRequestPatch = exports.CertificateRequestList = exports.CertificateRequest = exports.CertificatePatch = exports.CertificateList = exports.Certificate = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
exports.Certificate = null;
|
||||
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
|
||||
exports.CertificateList = null;
|
||||
utilities.lazyLoad(exports, ["CertificateList"], () => require("./certificateList"));
|
||||
exports.CertificatePatch = null;
|
||||
utilities.lazyLoad(exports, ["CertificatePatch"], () => require("./certificatePatch"));
|
||||
exports.CertificateRequest = null;
|
||||
utilities.lazyLoad(exports, ["CertificateRequest"], () => require("./certificateRequest"));
|
||||
exports.CertificateRequestList = null;
|
||||
utilities.lazyLoad(exports, ["CertificateRequestList"], () => require("./certificateRequestList"));
|
||||
exports.CertificateRequestPatch = null;
|
||||
utilities.lazyLoad(exports, ["CertificateRequestPatch"], () => require("./certificateRequestPatch"));
|
||||
exports.ClusterIssuer = null;
|
||||
utilities.lazyLoad(exports, ["ClusterIssuer"], () => require("./clusterIssuer"));
|
||||
exports.ClusterIssuerList = null;
|
||||
utilities.lazyLoad(exports, ["ClusterIssuerList"], () => require("./clusterIssuerList"));
|
||||
exports.ClusterIssuerPatch = null;
|
||||
utilities.lazyLoad(exports, ["ClusterIssuerPatch"], () => require("./clusterIssuerPatch"));
|
||||
exports.Issuer = null;
|
||||
utilities.lazyLoad(exports, ["Issuer"], () => require("./issuer"));
|
||||
exports.IssuerList = null;
|
||||
utilities.lazyLoad(exports, ["IssuerList"], () => require("./issuerList"));
|
||||
exports.IssuerPatch = null;
|
||||
utilities.lazyLoad(exports, ["IssuerPatch"], () => require("./issuerPatch"));
|
||||
const _module = {
|
||||
version: utilities.getVersion(),
|
||||
construct: (name, type, urn) => {
|
||||
switch (type) {
|
||||
case "kubernetes:cert-manager.io/v1:Certificate":
|
||||
return new exports.Certificate(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:CertificateList":
|
||||
return new exports.CertificateList(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:CertificatePatch":
|
||||
return new exports.CertificatePatch(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:CertificateRequest":
|
||||
return new exports.CertificateRequest(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:CertificateRequestList":
|
||||
return new exports.CertificateRequestList(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:CertificateRequestPatch":
|
||||
return new exports.CertificateRequestPatch(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:ClusterIssuer":
|
||||
return new exports.ClusterIssuer(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:ClusterIssuerList":
|
||||
return new exports.ClusterIssuerList(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:ClusterIssuerPatch":
|
||||
return new exports.ClusterIssuerPatch(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:Issuer":
|
||||
return new exports.Issuer(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:IssuerList":
|
||||
return new exports.IssuerList(name, undefined, { urn });
|
||||
case "kubernetes:cert-manager.io/v1:IssuerPatch":
|
||||
return new exports.IssuerPatch(name, undefined, { urn });
|
||||
default:
|
||||
throw new Error(`unknown resource type ${type}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
pulumi.runtime.registerResourceModule("crds", "cert-manager.io/v1", _module);
|
||||
102
generated/crds/cert_manager/v1/index.ts
Normal file
102
generated/crds/cert_manager/v1/index.ts
Normal file
@@ -0,0 +1,102 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
// Export members:
|
||||
export { CertificateArgs } from "./certificate";
|
||||
export type Certificate = import("./certificate").Certificate;
|
||||
export const Certificate: typeof import("./certificate").Certificate = null as any;
|
||||
utilities.lazyLoad(exports, ["Certificate"], () => require("./certificate"));
|
||||
|
||||
export { CertificateListArgs } from "./certificateList";
|
||||
export type CertificateList = import("./certificateList").CertificateList;
|
||||
export const CertificateList: typeof import("./certificateList").CertificateList = null as any;
|
||||
utilities.lazyLoad(exports, ["CertificateList"], () => require("./certificateList"));
|
||||
|
||||
export { CertificatePatchArgs } from "./certificatePatch";
|
||||
export type CertificatePatch = import("./certificatePatch").CertificatePatch;
|
||||
export const CertificatePatch: typeof import("./certificatePatch").CertificatePatch = null as any;
|
||||
utilities.lazyLoad(exports, ["CertificatePatch"], () => require("./certificatePatch"));
|
||||
|
||||
export { CertificateRequestArgs } from "./certificateRequest";
|
||||
export type CertificateRequest = import("./certificateRequest").CertificateRequest;
|
||||
export const CertificateRequest: typeof import("./certificateRequest").CertificateRequest = null as any;
|
||||
utilities.lazyLoad(exports, ["CertificateRequest"], () => require("./certificateRequest"));
|
||||
|
||||
export { CertificateRequestListArgs } from "./certificateRequestList";
|
||||
export type CertificateRequestList = import("./certificateRequestList").CertificateRequestList;
|
||||
export const CertificateRequestList: typeof import("./certificateRequestList").CertificateRequestList = null as any;
|
||||
utilities.lazyLoad(exports, ["CertificateRequestList"], () => require("./certificateRequestList"));
|
||||
|
||||
export { CertificateRequestPatchArgs } from "./certificateRequestPatch";
|
||||
export type CertificateRequestPatch = import("./certificateRequestPatch").CertificateRequestPatch;
|
||||
export const CertificateRequestPatch: typeof import("./certificateRequestPatch").CertificateRequestPatch = null as any;
|
||||
utilities.lazyLoad(exports, ["CertificateRequestPatch"], () => require("./certificateRequestPatch"));
|
||||
|
||||
export { ClusterIssuerArgs } from "./clusterIssuer";
|
||||
export type ClusterIssuer = import("./clusterIssuer").ClusterIssuer;
|
||||
export const ClusterIssuer: typeof import("./clusterIssuer").ClusterIssuer = null as any;
|
||||
utilities.lazyLoad(exports, ["ClusterIssuer"], () => require("./clusterIssuer"));
|
||||
|
||||
export { ClusterIssuerListArgs } from "./clusterIssuerList";
|
||||
export type ClusterIssuerList = import("./clusterIssuerList").ClusterIssuerList;
|
||||
export const ClusterIssuerList: typeof import("./clusterIssuerList").ClusterIssuerList = null as any;
|
||||
utilities.lazyLoad(exports, ["ClusterIssuerList"], () => require("./clusterIssuerList"));
|
||||
|
||||
export { ClusterIssuerPatchArgs } from "./clusterIssuerPatch";
|
||||
export type ClusterIssuerPatch = import("./clusterIssuerPatch").ClusterIssuerPatch;
|
||||
export const ClusterIssuerPatch: typeof import("./clusterIssuerPatch").ClusterIssuerPatch = null as any;
|
||||
utilities.lazyLoad(exports, ["ClusterIssuerPatch"], () => require("./clusterIssuerPatch"));
|
||||
|
||||
export { IssuerArgs } from "./issuer";
|
||||
export type Issuer = import("./issuer").Issuer;
|
||||
export const Issuer: typeof import("./issuer").Issuer = null as any;
|
||||
utilities.lazyLoad(exports, ["Issuer"], () => require("./issuer"));
|
||||
|
||||
export { IssuerListArgs } from "./issuerList";
|
||||
export type IssuerList = import("./issuerList").IssuerList;
|
||||
export const IssuerList: typeof import("./issuerList").IssuerList = null as any;
|
||||
utilities.lazyLoad(exports, ["IssuerList"], () => require("./issuerList"));
|
||||
|
||||
export { IssuerPatchArgs } from "./issuerPatch";
|
||||
export type IssuerPatch = import("./issuerPatch").IssuerPatch;
|
||||
export const IssuerPatch: typeof import("./issuerPatch").IssuerPatch = null as any;
|
||||
utilities.lazyLoad(exports, ["IssuerPatch"], () => require("./issuerPatch"));
|
||||
|
||||
|
||||
const _module = {
|
||||
version: utilities.getVersion(),
|
||||
construct: (name: string, type: string, urn: string): pulumi.Resource => {
|
||||
switch (type) {
|
||||
case "kubernetes:cert-manager.io/v1:Certificate":
|
||||
return new Certificate(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:CertificateList":
|
||||
return new CertificateList(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:CertificatePatch":
|
||||
return new CertificatePatch(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:CertificateRequest":
|
||||
return new CertificateRequest(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:CertificateRequestList":
|
||||
return new CertificateRequestList(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:CertificateRequestPatch":
|
||||
return new CertificateRequestPatch(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:ClusterIssuer":
|
||||
return new ClusterIssuer(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:ClusterIssuerList":
|
||||
return new ClusterIssuerList(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:ClusterIssuerPatch":
|
||||
return new ClusterIssuerPatch(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:Issuer":
|
||||
return new Issuer(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:IssuerList":
|
||||
return new IssuerList(name, <any>undefined, { urn })
|
||||
case "kubernetes:cert-manager.io/v1:IssuerPatch":
|
||||
return new IssuerPatch(name, <any>undefined, { urn })
|
||||
default:
|
||||
throw new Error(`unknown resource type ${type}`);
|
||||
}
|
||||
},
|
||||
};
|
||||
pulumi.runtime.registerResourceModule("crds", "cert-manager.io/v1", _module)
|
||||
67
generated/crds/cert_manager/v1/issuer.d.ts
vendored
Normal file
67
generated/crds/cert_manager/v1/issuer.d.ts
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* An Issuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is scoped to a single namespace and can therefore only be referenced by
|
||||
* resources within the same namespace.
|
||||
*/
|
||||
export declare class Issuer extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Issuer resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Issuer;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:Issuer";
|
||||
/**
|
||||
* Returns true if the given object is an instance of Issuer. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is Issuer;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.IssuerSpec>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.IssuerStatus>;
|
||||
/**
|
||||
* Create a Issuer resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: IssuerArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a Issuer resource.
|
||||
*/
|
||||
export interface IssuerArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpec>;
|
||||
}
|
||||
66
generated/crds/cert_manager/v1/issuer.js
Normal file
66
generated/crds/cert_manager/v1/issuer.js
Normal file
@@ -0,0 +1,66 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Issuer = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* An Issuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is scoped to a single namespace and can therefore only be referenced by
|
||||
* resources within the same namespace.
|
||||
*/
|
||||
class Issuer extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Issuer resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new Issuer(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of Issuer. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Issuer.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a Issuer resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Issuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Issuer.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.Issuer = Issuer;
|
||||
/** @internal */
|
||||
Issuer.__pulumiType = 'kubernetes:cert-manager.io/v1:Issuer';
|
||||
102
generated/crds/cert_manager/v1/issuer.ts
Normal file
102
generated/crds/cert_manager/v1/issuer.ts
Normal file
@@ -0,0 +1,102 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* An Issuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is scoped to a single namespace and can therefore only be referenced by
|
||||
* resources within the same namespace.
|
||||
*/
|
||||
export class Issuer extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Issuer resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Issuer {
|
||||
return new Issuer(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:Issuer';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Issuer. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is Issuer {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Issuer.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.IssuerSpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.IssuerStatus>;
|
||||
|
||||
/**
|
||||
* Create a Issuer resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: IssuerArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Issuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(Issuer.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a Issuer resource.
|
||||
*/
|
||||
export interface IssuerArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpec>;
|
||||
}
|
||||
69
generated/crds/cert_manager/v1/issuerList.d.ts
vendored
Normal file
69
generated/crds/cert_manager/v1/issuerList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* IssuerList is a list of Issuer
|
||||
*/
|
||||
export declare class IssuerList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing IssuerList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:IssuerList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of IssuerList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is IssuerList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.cert_manager.v1.Issuer[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"IssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a IssuerList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: IssuerListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a IssuerList resource.
|
||||
*/
|
||||
export interface IssuerListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Issuer>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"IssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/cert_manager/v1/issuerList.js
Normal file
64
generated/crds/cert_manager/v1/issuerList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.IssuerList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* IssuerList is a list of Issuer
|
||||
*/
|
||||
class IssuerList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing IssuerList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new IssuerList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of IssuerList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === IssuerList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a IssuerList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "IssuerList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(IssuerList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.IssuerList = IssuerList;
|
||||
/** @internal */
|
||||
IssuerList.__pulumiType = 'kubernetes:cert-manager.io/v1:IssuerList';
|
||||
105
generated/crds/cert_manager/v1/issuerList.ts
Normal file
105
generated/crds/cert_manager/v1/issuerList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* IssuerList is a list of Issuer
|
||||
*/
|
||||
export class IssuerList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing IssuerList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerList {
|
||||
return new IssuerList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:IssuerList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of IssuerList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is IssuerList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === IssuerList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.cert_manager.v1.Issuer[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"IssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a IssuerList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: IssuerListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "IssuerList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(IssuerList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a IssuerList resource.
|
||||
*/
|
||||
export interface IssuerListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* List of issuers. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.cert_manager.v1.Issuer>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"IssuerList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
73
generated/crds/cert_manager/v1/issuerPatch.d.ts
vendored
Normal file
73
generated/crds/cert_manager/v1/issuerPatch.d.ts
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* An Issuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is scoped to a single namespace and can therefore only be referenced by
|
||||
* resources within the same namespace.
|
||||
*/
|
||||
export declare class IssuerPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing IssuerPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerPatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:cert-manager.io/v1:IssuerPatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of IssuerPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is IssuerPatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.cert_manager.v1.IssuerSpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.cert_manager.v1.IssuerStatusPatch>;
|
||||
/**
|
||||
* Create a IssuerPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: IssuerPatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a IssuerPatch resource.
|
||||
*/
|
||||
export interface IssuerPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpecPatch>;
|
||||
}
|
||||
72
generated/crds/cert_manager/v1/issuerPatch.js
Normal file
72
generated/crds/cert_manager/v1/issuerPatch.js
Normal file
@@ -0,0 +1,72 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.IssuerPatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* An Issuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is scoped to a single namespace and can therefore only be referenced by
|
||||
* resources within the same namespace.
|
||||
*/
|
||||
class IssuerPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing IssuerPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new IssuerPatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of IssuerPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === IssuerPatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a IssuerPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Issuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(IssuerPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.IssuerPatch = IssuerPatch;
|
||||
/** @internal */
|
||||
IssuerPatch.__pulumiType = 'kubernetes:cert-manager.io/v1:IssuerPatch';
|
||||
108
generated/crds/cert_manager/v1/issuerPatch.ts
Normal file
108
generated/crds/cert_manager/v1/issuerPatch.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* An Issuer represents a certificate issuing authority which can be
|
||||
* referenced as part of `issuerRef` fields.
|
||||
* It is scoped to a single namespace and can therefore only be referenced by
|
||||
* resources within the same namespace.
|
||||
*/
|
||||
export class IssuerPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing IssuerPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): IssuerPatch {
|
||||
return new IssuerPatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:cert-manager.io/v1:IssuerPatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of IssuerPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is IssuerPatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === IssuerPatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.cert_manager.v1.IssuerSpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.cert_manager.v1.IssuerStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a IssuerPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: IssuerPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "cert-manager.io/v1";
|
||||
resourceInputs["kind"] = "Issuer";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(IssuerPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a IssuerPatch resource.
|
||||
*/
|
||||
export interface IssuerPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"cert-manager.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Issuer">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.cert_manager.v1.IssuerSpecPatch>;
|
||||
}
|
||||
6
generated/crds/gateway/index.d.ts
vendored
Normal file
6
generated/crds/gateway/index.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
import * as v1 from "./v1";
|
||||
import * as v1alpha1 from "./v1alpha1";
|
||||
import * as v1alpha2 from "./v1alpha2";
|
||||
import * as v1alpha3 from "./v1alpha3";
|
||||
import * as v1beta1 from "./v1beta1";
|
||||
export { v1, v1alpha1, v1alpha2, v1alpha3, v1beta1, };
|
||||
16
generated/crds/gateway/index.js
Normal file
16
generated/crds/gateway/index.js
Normal file
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.v1beta1 = exports.v1alpha3 = exports.v1alpha2 = exports.v1alpha1 = exports.v1 = void 0;
|
||||
// Export sub-modules:
|
||||
const v1 = require("./v1");
|
||||
exports.v1 = v1;
|
||||
const v1alpha1 = require("./v1alpha1");
|
||||
exports.v1alpha1 = v1alpha1;
|
||||
const v1alpha2 = require("./v1alpha2");
|
||||
exports.v1alpha2 = v1alpha2;
|
||||
const v1alpha3 = require("./v1alpha3");
|
||||
exports.v1alpha3 = v1alpha3;
|
||||
const v1beta1 = require("./v1beta1");
|
||||
exports.v1beta1 = v1beta1;
|
||||
19
generated/crds/gateway/index.ts
Normal file
19
generated/crds/gateway/index.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as utilities from "../utilities";
|
||||
|
||||
// Export sub-modules:
|
||||
import * as v1 from "./v1";
|
||||
import * as v1alpha1 from "./v1alpha1";
|
||||
import * as v1alpha2 from "./v1alpha2";
|
||||
import * as v1alpha3 from "./v1alpha3";
|
||||
import * as v1beta1 from "./v1beta1";
|
||||
|
||||
export {
|
||||
v1,
|
||||
v1alpha1,
|
||||
v1alpha2,
|
||||
v1alpha3,
|
||||
v1beta1,
|
||||
};
|
||||
65
generated/crds/gateway/v1/backendTLSPolicy.d.ts
vendored
Normal file
65
generated/crds/gateway/v1/backendTLSPolicy.d.ts
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* BackendTLSPolicy provides a way to configure how a Gateway
|
||||
* connects to a Backend via TLS.
|
||||
*/
|
||||
export declare class BackendTLSPolicy extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicy resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicy;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicy";
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicy. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is BackendTLSPolicy;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.gateway.v1.BackendTLSPolicySpec>;
|
||||
readonly status: pulumi.Output<outputs.gateway.v1.BackendTLSPolicyStatus>;
|
||||
/**
|
||||
* Create a BackendTLSPolicy resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: BackendTLSPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a BackendTLSPolicy resource.
|
||||
*/
|
||||
export interface BackendTLSPolicyArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.BackendTLSPolicySpec>;
|
||||
}
|
||||
66
generated/crds/gateway/v1/backendTLSPolicy.js
Normal file
66
generated/crds/gateway/v1/backendTLSPolicy.js
Normal file
@@ -0,0 +1,66 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BackendTLSPolicy = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* BackendTLSPolicy provides a way to configure how a Gateway
|
||||
* connects to a Backend via TLS.
|
||||
*/
|
||||
class BackendTLSPolicy extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicy resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new BackendTLSPolicy(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicy. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === BackendTLSPolicy.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a BackendTLSPolicy resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "BackendTLSPolicy";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(BackendTLSPolicy.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.BackendTLSPolicy = BackendTLSPolicy;
|
||||
/** @internal */
|
||||
BackendTLSPolicy.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicy';
|
||||
102
generated/crds/gateway/v1/backendTLSPolicy.ts
Normal file
102
generated/crds/gateway/v1/backendTLSPolicy.ts
Normal file
@@ -0,0 +1,102 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* BackendTLSPolicy provides a way to configure how a Gateway
|
||||
* connects to a Backend via TLS.
|
||||
*/
|
||||
export class BackendTLSPolicy extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicy resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicy {
|
||||
return new BackendTLSPolicy(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicy';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicy. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is BackendTLSPolicy {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === BackendTLSPolicy.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.gateway.v1.BackendTLSPolicySpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.BackendTLSPolicyStatus>;
|
||||
|
||||
/**
|
||||
* Create a BackendTLSPolicy resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: BackendTLSPolicyArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "BackendTLSPolicy";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicy" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(BackendTLSPolicy.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a BackendTLSPolicy resource.
|
||||
*/
|
||||
export interface BackendTLSPolicyArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.BackendTLSPolicySpec>;
|
||||
}
|
||||
69
generated/crds/gateway/v1/backendTLSPolicyList.d.ts
vendored
Normal file
69
generated/crds/gateway/v1/backendTLSPolicyList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* BackendTLSPolicyList is a list of BackendTLSPolicy
|
||||
*/
|
||||
export declare class BackendTLSPolicyList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicyList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicyList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicyList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is BackendTLSPolicyList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.gateway.v1.BackendTLSPolicy[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"BackendTLSPolicyList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a BackendTLSPolicyList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: BackendTLSPolicyListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a BackendTLSPolicyList resource.
|
||||
*/
|
||||
export interface BackendTLSPolicyListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.BackendTLSPolicy>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"BackendTLSPolicyList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/gateway/v1/backendTLSPolicyList.js
Normal file
64
generated/crds/gateway/v1/backendTLSPolicyList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BackendTLSPolicyList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* BackendTLSPolicyList is a list of BackendTLSPolicy
|
||||
*/
|
||||
class BackendTLSPolicyList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicyList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new BackendTLSPolicyList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicyList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === BackendTLSPolicyList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a BackendTLSPolicyList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "BackendTLSPolicyList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(BackendTLSPolicyList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.BackendTLSPolicyList = BackendTLSPolicyList;
|
||||
/** @internal */
|
||||
BackendTLSPolicyList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyList';
|
||||
105
generated/crds/gateway/v1/backendTLSPolicyList.ts
Normal file
105
generated/crds/gateway/v1/backendTLSPolicyList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* BackendTLSPolicyList is a list of BackendTLSPolicy
|
||||
*/
|
||||
export class BackendTLSPolicyList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicyList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicyList {
|
||||
return new BackendTLSPolicyList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicyList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is BackendTLSPolicyList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === BackendTLSPolicyList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.gateway.v1.BackendTLSPolicy[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"BackendTLSPolicyList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a BackendTLSPolicyList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: BackendTLSPolicyListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "BackendTLSPolicyList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(BackendTLSPolicyList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a BackendTLSPolicyList resource.
|
||||
*/
|
||||
export interface BackendTLSPolicyListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of backendtlspolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.BackendTLSPolicy>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"BackendTLSPolicyList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
71
generated/crds/gateway/v1/backendTLSPolicyPatch.d.ts
vendored
Normal file
71
generated/crds/gateway/v1/backendTLSPolicyPatch.d.ts
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* BackendTLSPolicy provides a way to configure how a Gateway
|
||||
* connects to a Backend via TLS.
|
||||
*/
|
||||
export declare class BackendTLSPolicyPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicyPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicyPatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyPatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicyPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is BackendTLSPolicyPatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.gateway.v1.BackendTLSPolicySpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.gateway.v1.BackendTLSPolicyStatusPatch>;
|
||||
/**
|
||||
* Create a BackendTLSPolicyPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: BackendTLSPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a BackendTLSPolicyPatch resource.
|
||||
*/
|
||||
export interface BackendTLSPolicyPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.BackendTLSPolicySpecPatch>;
|
||||
}
|
||||
72
generated/crds/gateway/v1/backendTLSPolicyPatch.js
Normal file
72
generated/crds/gateway/v1/backendTLSPolicyPatch.js
Normal file
@@ -0,0 +1,72 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BackendTLSPolicyPatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* BackendTLSPolicy provides a way to configure how a Gateway
|
||||
* connects to a Backend via TLS.
|
||||
*/
|
||||
class BackendTLSPolicyPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicyPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new BackendTLSPolicyPatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicyPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === BackendTLSPolicyPatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a BackendTLSPolicyPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "BackendTLSPolicy";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(BackendTLSPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.BackendTLSPolicyPatch = BackendTLSPolicyPatch;
|
||||
/** @internal */
|
||||
BackendTLSPolicyPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyPatch';
|
||||
108
generated/crds/gateway/v1/backendTLSPolicyPatch.ts
Normal file
108
generated/crds/gateway/v1/backendTLSPolicyPatch.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* BackendTLSPolicy provides a way to configure how a Gateway
|
||||
* connects to a Backend via TLS.
|
||||
*/
|
||||
export class BackendTLSPolicyPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing BackendTLSPolicyPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): BackendTLSPolicyPatch {
|
||||
return new BackendTLSPolicyPatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyPatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of BackendTLSPolicyPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is BackendTLSPolicyPatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === BackendTLSPolicyPatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.gateway.v1.BackendTLSPolicySpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.BackendTLSPolicyStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a BackendTLSPolicyPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: BackendTLSPolicyPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "BackendTLSPolicy";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1alpha3:BackendTLSPolicyPatch" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(BackendTLSPolicyPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a BackendTLSPolicyPatch resource.
|
||||
*/
|
||||
export interface BackendTLSPolicyPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"BackendTLSPolicy">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.BackendTLSPolicySpecPatch>;
|
||||
}
|
||||
65
generated/crds/gateway/v1/gateway.d.ts
vendored
Normal file
65
generated/crds/gateway/v1/gateway.d.ts
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Gateway represents an instance of a service-traffic handling infrastructure
|
||||
* by binding Listeners to a set of IP addresses.
|
||||
*/
|
||||
export declare class Gateway extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Gateway;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:Gateway";
|
||||
/**
|
||||
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is Gateway;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.gateway.v1.GatewaySpec>;
|
||||
readonly status: pulumi.Output<outputs.gateway.v1.GatewayStatus>;
|
||||
/**
|
||||
* Create a Gateway resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a Gateway resource.
|
||||
*/
|
||||
export interface GatewayArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewaySpec>;
|
||||
}
|
||||
66
generated/crds/gateway/v1/gateway.js
Normal file
66
generated/crds/gateway/v1/gateway.js
Normal file
@@ -0,0 +1,66 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.Gateway = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Gateway represents an instance of a service-traffic handling infrastructure
|
||||
* by binding Listeners to a set of IP addresses.
|
||||
*/
|
||||
class Gateway extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new Gateway(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Gateway.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a Gateway resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "Gateway";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:Gateway" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.Gateway = Gateway;
|
||||
/** @internal */
|
||||
Gateway.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:Gateway';
|
||||
102
generated/crds/gateway/v1/gateway.ts
Normal file
102
generated/crds/gateway/v1/gateway.ts
Normal file
@@ -0,0 +1,102 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Gateway represents an instance of a service-traffic handling infrastructure
|
||||
* by binding Listeners to a set of IP addresses.
|
||||
*/
|
||||
export class Gateway extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing Gateway resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Gateway {
|
||||
return new Gateway(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:Gateway';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of Gateway. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is Gateway {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === Gateway.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewaySpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayStatus>;
|
||||
|
||||
/**
|
||||
* Create a Gateway resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "Gateway";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:Gateway" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(Gateway.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a Gateway resource.
|
||||
*/
|
||||
export interface GatewayArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewaySpec>;
|
||||
}
|
||||
80
generated/crds/gateway/v1/gatewayClass.d.ts
vendored
Normal file
80
generated/crds/gateway/v1/gatewayClass.d.ts
vendored
Normal file
@@ -0,0 +1,80 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* GatewayClass describes a class of Gateways available to the user for creating
|
||||
* Gateway resources.
|
||||
*
|
||||
* It is recommended that this resource be used as a template for Gateways. This
|
||||
* means that a Gateway is based on the state of the GatewayClass at the time it
|
||||
* was created and changes to the GatewayClass or associated parameters are not
|
||||
* propagated down to existing Gateways. This recommendation is intended to
|
||||
* limit the blast radius of changes to GatewayClass or associated parameters.
|
||||
* If implementations choose to propagate GatewayClass changes to existing
|
||||
* Gateways, that MUST be clearly documented by the implementation.
|
||||
*
|
||||
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
||||
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
||||
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
||||
* Gateway is not deleted while in use.
|
||||
*
|
||||
* GatewayClass is a Cluster level resource.
|
||||
*/
|
||||
export declare class GatewayClass extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClass;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayClass";
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is GatewayClass;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.gateway.v1.GatewayClassSpec>;
|
||||
readonly status: pulumi.Output<outputs.gateway.v1.GatewayClassStatus>;
|
||||
/**
|
||||
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayClassArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayClass resource.
|
||||
*/
|
||||
export interface GatewayClassArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpec>;
|
||||
}
|
||||
81
generated/crds/gateway/v1/gatewayClass.js
Normal file
81
generated/crds/gateway/v1/gatewayClass.js
Normal file
@@ -0,0 +1,81 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GatewayClass = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* GatewayClass describes a class of Gateways available to the user for creating
|
||||
* Gateway resources.
|
||||
*
|
||||
* It is recommended that this resource be used as a template for Gateways. This
|
||||
* means that a Gateway is based on the state of the GatewayClass at the time it
|
||||
* was created and changes to the GatewayClass or associated parameters are not
|
||||
* propagated down to existing Gateways. This recommendation is intended to
|
||||
* limit the blast radius of changes to GatewayClass or associated parameters.
|
||||
* If implementations choose to propagate GatewayClass changes to existing
|
||||
* Gateways, that MUST be clearly documented by the implementation.
|
||||
*
|
||||
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
||||
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
||||
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
||||
* Gateway is not deleted while in use.
|
||||
*
|
||||
* GatewayClass is a Cluster level resource.
|
||||
*/
|
||||
class GatewayClass extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new GatewayClass(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayClass.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "GatewayClass";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(GatewayClass.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.GatewayClass = GatewayClass;
|
||||
/** @internal */
|
||||
GatewayClass.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClass';
|
||||
117
generated/crds/gateway/v1/gatewayClass.ts
Normal file
117
generated/crds/gateway/v1/gatewayClass.ts
Normal file
@@ -0,0 +1,117 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* GatewayClass describes a class of Gateways available to the user for creating
|
||||
* Gateway resources.
|
||||
*
|
||||
* It is recommended that this resource be used as a template for Gateways. This
|
||||
* means that a Gateway is based on the state of the GatewayClass at the time it
|
||||
* was created and changes to the GatewayClass or associated parameters are not
|
||||
* propagated down to existing Gateways. This recommendation is intended to
|
||||
* limit the blast radius of changes to GatewayClass or associated parameters.
|
||||
* If implementations choose to propagate GatewayClass changes to existing
|
||||
* Gateways, that MUST be clearly documented by the implementation.
|
||||
*
|
||||
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
||||
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
||||
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
||||
* Gateway is not deleted while in use.
|
||||
*
|
||||
* GatewayClass is a Cluster level resource.
|
||||
*/
|
||||
export class GatewayClass extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClass resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClass {
|
||||
return new GatewayClass(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClass';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClass. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is GatewayClass {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayClass.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewayClassSpec>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayClassStatus>;
|
||||
|
||||
/**
|
||||
* Create a GatewayClass resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayClassArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "GatewayClass";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClass" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(GatewayClass.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayClass resource.
|
||||
*/
|
||||
export interface GatewayClassArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpec>;
|
||||
}
|
||||
69
generated/crds/gateway/v1/gatewayClassList.d.ts
vendored
Normal file
69
generated/crds/gateway/v1/gatewayClassList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* GatewayClassList is a list of GatewayClass
|
||||
*/
|
||||
export declare class GatewayClassList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClassList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClassList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is GatewayClassList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.gateway.v1.GatewayClass[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"GatewayClassList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a GatewayClassList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayClassListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayClassList resource.
|
||||
*/
|
||||
export interface GatewayClassListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GatewayClass>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayClassList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/gateway/v1/gatewayClassList.js
Normal file
64
generated/crds/gateway/v1/gatewayClassList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GatewayClassList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* GatewayClassList is a list of GatewayClass
|
||||
*/
|
||||
class GatewayClassList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClassList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new GatewayClassList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClassList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayClassList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a GatewayClassList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "GatewayClassList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(GatewayClassList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.GatewayClassList = GatewayClassList;
|
||||
/** @internal */
|
||||
GatewayClassList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassList';
|
||||
105
generated/crds/gateway/v1/gatewayClassList.ts
Normal file
105
generated/crds/gateway/v1/gatewayClassList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* GatewayClassList is a list of GatewayClass
|
||||
*/
|
||||
export class GatewayClassList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClassList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassList {
|
||||
return new GatewayClassList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClassList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is GatewayClassList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayClassList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.gateway.v1.GatewayClass[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"GatewayClassList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a GatewayClassList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayClassListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "GatewayClassList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(GatewayClassList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayClassList resource.
|
||||
*/
|
||||
export interface GatewayClassListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gatewayclasses. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GatewayClass>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayClassList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
86
generated/crds/gateway/v1/gatewayClassPatch.d.ts
vendored
Normal file
86
generated/crds/gateway/v1/gatewayClassPatch.d.ts
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* GatewayClass describes a class of Gateways available to the user for creating
|
||||
* Gateway resources.
|
||||
*
|
||||
* It is recommended that this resource be used as a template for Gateways. This
|
||||
* means that a Gateway is based on the state of the GatewayClass at the time it
|
||||
* was created and changes to the GatewayClass or associated parameters are not
|
||||
* propagated down to existing Gateways. This recommendation is intended to
|
||||
* limit the blast radius of changes to GatewayClass or associated parameters.
|
||||
* If implementations choose to propagate GatewayClass changes to existing
|
||||
* Gateways, that MUST be clearly documented by the implementation.
|
||||
*
|
||||
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
||||
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
||||
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
||||
* Gateway is not deleted while in use.
|
||||
*
|
||||
* GatewayClass is a Cluster level resource.
|
||||
*/
|
||||
export declare class GatewayClassPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassPatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is GatewayClassPatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.gateway.v1.GatewayClassSpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.gateway.v1.GatewayClassStatusPatch>;
|
||||
/**
|
||||
* Create a GatewayClassPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayClassPatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayClassPatch resource.
|
||||
*/
|
||||
export interface GatewayClassPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpecPatch>;
|
||||
}
|
||||
87
generated/crds/gateway/v1/gatewayClassPatch.js
Normal file
87
generated/crds/gateway/v1/gatewayClassPatch.js
Normal file
@@ -0,0 +1,87 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GatewayClassPatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* GatewayClass describes a class of Gateways available to the user for creating
|
||||
* Gateway resources.
|
||||
*
|
||||
* It is recommended that this resource be used as a template for Gateways. This
|
||||
* means that a Gateway is based on the state of the GatewayClass at the time it
|
||||
* was created and changes to the GatewayClass or associated parameters are not
|
||||
* propagated down to existing Gateways. This recommendation is intended to
|
||||
* limit the blast radius of changes to GatewayClass or associated parameters.
|
||||
* If implementations choose to propagate GatewayClass changes to existing
|
||||
* Gateways, that MUST be clearly documented by the implementation.
|
||||
*
|
||||
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
||||
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
||||
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
||||
* Gateway is not deleted while in use.
|
||||
*
|
||||
* GatewayClass is a Cluster level resource.
|
||||
*/
|
||||
class GatewayClassPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new GatewayClassPatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayClassPatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a GatewayClassPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "GatewayClass";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(GatewayClassPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.GatewayClassPatch = GatewayClassPatch;
|
||||
/** @internal */
|
||||
GatewayClassPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch';
|
||||
123
generated/crds/gateway/v1/gatewayClassPatch.ts
Normal file
123
generated/crds/gateway/v1/gatewayClassPatch.ts
Normal file
@@ -0,0 +1,123 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* GatewayClass describes a class of Gateways available to the user for creating
|
||||
* Gateway resources.
|
||||
*
|
||||
* It is recommended that this resource be used as a template for Gateways. This
|
||||
* means that a Gateway is based on the state of the GatewayClass at the time it
|
||||
* was created and changes to the GatewayClass or associated parameters are not
|
||||
* propagated down to existing Gateways. This recommendation is intended to
|
||||
* limit the blast radius of changes to GatewayClass or associated parameters.
|
||||
* If implementations choose to propagate GatewayClass changes to existing
|
||||
* Gateways, that MUST be clearly documented by the implementation.
|
||||
*
|
||||
* Whenever one or more Gateways are using a GatewayClass, implementations SHOULD
|
||||
* add the `gateway-exists-finalizer.gateway.networking.k8s.io` finalizer on the
|
||||
* associated GatewayClass. This ensures that a GatewayClass associated with a
|
||||
* Gateway is not deleted while in use.
|
||||
*
|
||||
* GatewayClass is a Cluster level resource.
|
||||
*/
|
||||
export class GatewayClassPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayClassPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayClassPatch {
|
||||
return new GatewayClassPatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayClassPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is GatewayClassPatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayClassPatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewayClassSpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayClassStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a GatewayClassPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayClassPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "GatewayClass";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayClassPatch" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(GatewayClassPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayClassPatch resource.
|
||||
*/
|
||||
export interface GatewayClassPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayClass">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewayClassSpecPatch>;
|
||||
}
|
||||
69
generated/crds/gateway/v1/gatewayList.d.ts
vendored
Normal file
69
generated/crds/gateway/v1/gatewayList.d.ts
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* GatewayList is a list of Gateway
|
||||
*/
|
||||
export declare class GatewayList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayList;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayList";
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is GatewayList;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gateways. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
readonly items: pulumi.Output<outputs.gateway.v1.Gateway[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"GatewayList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
/**
|
||||
* Create a GatewayList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayListArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayList resource.
|
||||
*/
|
||||
export interface GatewayListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gateways. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.Gateway>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
64
generated/crds/gateway/v1/gatewayList.js
Normal file
64
generated/crds/gateway/v1/gatewayList.js
Normal file
@@ -0,0 +1,64 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GatewayList = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* GatewayList is a list of Gateway
|
||||
*/
|
||||
class GatewayList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new GatewayList(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayList.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a GatewayList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "GatewayList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(GatewayList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.GatewayList = GatewayList;
|
||||
/** @internal */
|
||||
GatewayList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayList';
|
||||
105
generated/crds/gateway/v1/gatewayList.ts
Normal file
105
generated/crds/gateway/v1/gatewayList.ts
Normal file
@@ -0,0 +1,105 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* GatewayList is a list of Gateway
|
||||
*/
|
||||
export class GatewayList extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayList resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayList {
|
||||
return new GatewayList(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayList';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayList. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is GatewayList {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayList.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gateways. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
public readonly items!: pulumi.Output<outputs.gateway.v1.Gateway[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"GatewayList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ListMeta>;
|
||||
|
||||
/**
|
||||
* Create a GatewayList resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayListArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
if ((!args || args.items === undefined) && !opts.urn) {
|
||||
throw new Error("Missing required property 'items'");
|
||||
}
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["items"] = args ? args.items : undefined;
|
||||
resourceInputs["kind"] = "GatewayList";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["items"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(GatewayList.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayList resource.
|
||||
*/
|
||||
export interface GatewayListArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* List of gateways. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
|
||||
*/
|
||||
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.Gateway>[]>;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GatewayList">;
|
||||
/**
|
||||
* Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ListMeta>;
|
||||
}
|
||||
71
generated/crds/gateway/v1/gatewayPatch.d.ts
vendored
Normal file
71
generated/crds/gateway/v1/gatewayPatch.d.ts
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Gateway represents an instance of a service-traffic handling infrastructure
|
||||
* by binding Listeners to a set of IP addresses.
|
||||
*/
|
||||
export declare class GatewayPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayPatch;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch";
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is GatewayPatch;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
readonly spec: pulumi.Output<outputs.gateway.v1.GatewaySpecPatch>;
|
||||
readonly status: pulumi.Output<outputs.gateway.v1.GatewayStatusPatch>;
|
||||
/**
|
||||
* Create a GatewayPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayPatchArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayPatch resource.
|
||||
*/
|
||||
export interface GatewayPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewaySpecPatch>;
|
||||
}
|
||||
72
generated/crds/gateway/v1/gatewayPatch.js
Normal file
72
generated/crds/gateway/v1/gatewayPatch.js
Normal file
@@ -0,0 +1,72 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GatewayPatch = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Gateway represents an instance of a service-traffic handling infrastructure
|
||||
* by binding Listeners to a set of IP addresses.
|
||||
*/
|
||||
class GatewayPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new GatewayPatch(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayPatch.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a GatewayPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "Gateway";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayPatch" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(GatewayPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.GatewayPatch = GatewayPatch;
|
||||
/** @internal */
|
||||
GatewayPatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayPatch';
|
||||
108
generated/crds/gateway/v1/gatewayPatch.ts
Normal file
108
generated/crds/gateway/v1/gatewayPatch.ts
Normal file
@@ -0,0 +1,108 @@
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
import * as utilities from "../../utilities";
|
||||
|
||||
/**
|
||||
* Patch resources are used to modify existing Kubernetes resources by using
|
||||
* Server-Side Apply updates. The name of the resource must be specified, but all other properties are optional. More than
|
||||
* one patch may be applied to the same resource, and a random FieldManager name will be used for each Patch resource.
|
||||
* Conflicts will result in an error by default, but can be forced using the "pulumi.com/patchForce" annotation. See the
|
||||
* [Server-Side Apply Docs](https://www.pulumi.com/registry/packages/kubernetes/how-to-guides/managing-resources-with-server-side-apply/) for
|
||||
* additional information about using Server-Side Apply to manage Kubernetes resources with Pulumi.
|
||||
* Gateway represents an instance of a service-traffic handling infrastructure
|
||||
* by binding Listeners to a set of IP addresses.
|
||||
*/
|
||||
export class GatewayPatch extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GatewayPatch resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GatewayPatch {
|
||||
return new GatewayPatch(name, undefined as any, { ...opts, id: id });
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GatewayPatch';
|
||||
|
||||
/**
|
||||
* Returns true if the given object is an instance of GatewayPatch. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
public static isInstance(obj: any): obj is GatewayPatch {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GatewayPatch.__pulumiType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly apiVersion!: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
public readonly kind!: pulumi.Output<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
public readonly metadata!: pulumi.Output<outputs.meta.v1.ObjectMetaPatch>;
|
||||
public readonly spec!: pulumi.Output<outputs.gateway.v1.GatewaySpecPatch>;
|
||||
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GatewayStatusPatch>;
|
||||
|
||||
/**
|
||||
* Create a GatewayPatch resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GatewayPatchArgs, opts?: pulumi.CustomResourceOptions) {
|
||||
let resourceInputs: pulumi.Inputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "Gateway";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
} else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
const aliasOpts = { aliases: [{ type: "kubernetes:gateway.networking.k8s.io/v1beta1:GatewayPatch" }] };
|
||||
opts = pulumi.mergeOptions(opts, aliasOpts);
|
||||
super(GatewayPatch.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The set of arguments for constructing a GatewayPatch resource.
|
||||
*/
|
||||
export interface GatewayPatchArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"Gateway">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMetaPatch>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GatewaySpecPatch>;
|
||||
}
|
||||
90
generated/crds/gateway/v1/grpcroute.d.ts
vendored
Normal file
90
generated/crds/gateway/v1/grpcroute.d.ts
vendored
Normal file
@@ -0,0 +1,90 @@
|
||||
import * as pulumi from "@pulumi/pulumi";
|
||||
import * as inputs from "../../types/input";
|
||||
import * as outputs from "../../types/output";
|
||||
/**
|
||||
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
||||
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
||||
* Filters can be used to specify additional processing steps. Backends specify
|
||||
* where matching requests will be routed.
|
||||
*
|
||||
* GRPCRoute falls under extended support within the Gateway API. Within the
|
||||
* following specification, the word "MUST" indicates that an implementation
|
||||
* supporting GRPCRoute must conform to the indicated requirement, but an
|
||||
* implementation not supporting this route type need not follow the requirement
|
||||
* unless explicitly indicated.
|
||||
*
|
||||
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
||||
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
||||
* ALPN. If the implementation does not support this, then it MUST set the
|
||||
* "Accepted" condition to "False" for the affected listener with a reason of
|
||||
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
||||
* with an upgrade from HTTP/1.
|
||||
*
|
||||
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
||||
* support HTTP/2 over cleartext TCP (h2c,
|
||||
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
||||
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
||||
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
||||
* does not support this, then it MUST set the "Accepted" condition to "False"
|
||||
* for the affected listener with a reason of "UnsupportedProtocol".
|
||||
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
||||
* HTTP/1, i.e. without prior knowledge.
|
||||
*/
|
||||
export declare class GRPCRoute extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GRPCRoute resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRoute;
|
||||
/** @internal */
|
||||
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute";
|
||||
/**
|
||||
* Returns true if the given object is an instance of GRPCRoute. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj: any): obj is GRPCRoute;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly apiVersion: pulumi.Output<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
readonly kind: pulumi.Output<"GRPCRoute">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
readonly metadata: pulumi.Output<outputs.meta.v1.ObjectMeta>;
|
||||
readonly spec: pulumi.Output<outputs.gateway.v1.GRPCRouteSpec>;
|
||||
readonly status: pulumi.Output<outputs.gateway.v1.GRPCRouteStatus>;
|
||||
/**
|
||||
* Create a GRPCRoute resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name: string, args?: GRPCRouteArgs, opts?: pulumi.CustomResourceOptions);
|
||||
}
|
||||
/**
|
||||
* The set of arguments for constructing a GRPCRoute resource.
|
||||
*/
|
||||
export interface GRPCRouteArgs {
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
apiVersion?: pulumi.Input<"gateway.networking.k8s.io/v1">;
|
||||
/**
|
||||
* 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
|
||||
*/
|
||||
kind?: pulumi.Input<"GRPCRoute">;
|
||||
/**
|
||||
* Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
||||
*/
|
||||
metadata?: pulumi.Input<inputs.meta.v1.ObjectMeta>;
|
||||
spec?: pulumi.Input<inputs.gateway.v1.GRPCRouteSpec>;
|
||||
}
|
||||
89
generated/crds/gateway/v1/grpcroute.js
Normal file
89
generated/crds/gateway/v1/grpcroute.js
Normal file
@@ -0,0 +1,89 @@
|
||||
"use strict";
|
||||
// *** WARNING: this file was generated by crd2pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.GRPCRoute = void 0;
|
||||
const pulumi = require("@pulumi/pulumi");
|
||||
const utilities = require("../../utilities");
|
||||
/**
|
||||
* GRPCRoute provides a way to route gRPC requests. This includes the capability
|
||||
* to match requests by hostname, gRPC service, gRPC method, or HTTP/2 header.
|
||||
* Filters can be used to specify additional processing steps. Backends specify
|
||||
* where matching requests will be routed.
|
||||
*
|
||||
* GRPCRoute falls under extended support within the Gateway API. Within the
|
||||
* following specification, the word "MUST" indicates that an implementation
|
||||
* supporting GRPCRoute must conform to the indicated requirement, but an
|
||||
* implementation not supporting this route type need not follow the requirement
|
||||
* unless explicitly indicated.
|
||||
*
|
||||
* Implementations supporting `GRPCRoute` with the `HTTPS` `ProtocolType` MUST
|
||||
* accept HTTP/2 connections without an initial upgrade from HTTP/1.1, i.e. via
|
||||
* ALPN. If the implementation does not support this, then it MUST set the
|
||||
* "Accepted" condition to "False" for the affected listener with a reason of
|
||||
* "UnsupportedProtocol". Implementations MAY also accept HTTP/2 connections
|
||||
* with an upgrade from HTTP/1.
|
||||
*
|
||||
* Implementations supporting `GRPCRoute` with the `HTTP` `ProtocolType` MUST
|
||||
* support HTTP/2 over cleartext TCP (h2c,
|
||||
* https://www.rfc-editor.org/rfc/rfc7540#section-3.1) without an initial
|
||||
* upgrade from HTTP/1.1, i.e. with prior knowledge
|
||||
* (https://www.rfc-editor.org/rfc/rfc7540#section-3.4). If the implementation
|
||||
* does not support this, then it MUST set the "Accepted" condition to "False"
|
||||
* for the affected listener with a reason of "UnsupportedProtocol".
|
||||
* Implementations MAY also accept HTTP/2 connections with an upgrade from
|
||||
* HTTP/1, i.e. without prior knowledge.
|
||||
*/
|
||||
class GRPCRoute extends pulumi.CustomResource {
|
||||
/**
|
||||
* Get an existing GRPCRoute resource's state with the given name, ID, and optional extra
|
||||
* properties used to qualify the lookup.
|
||||
*
|
||||
* @param name The _unique_ name of the resulting resource.
|
||||
* @param id The _unique_ provider ID of the resource to lookup.
|
||||
* @param opts Optional settings to control the behavior of the CustomResource.
|
||||
*/
|
||||
static get(name, id, opts) {
|
||||
return new GRPCRoute(name, undefined, { ...opts, id: id });
|
||||
}
|
||||
/**
|
||||
* Returns true if the given object is an instance of GRPCRoute. This is designed to work even
|
||||
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
||||
*/
|
||||
static isInstance(obj) {
|
||||
if (obj === undefined || obj === null) {
|
||||
return false;
|
||||
}
|
||||
return obj['__pulumiType'] === GRPCRoute.__pulumiType;
|
||||
}
|
||||
/**
|
||||
* Create a GRPCRoute resource with the given unique name, arguments, and options.
|
||||
*
|
||||
* @param name The _unique_ name of the resource.
|
||||
* @param args The arguments to use to populate this resource's properties.
|
||||
* @param opts A bag of options that control this resource's behavior.
|
||||
*/
|
||||
constructor(name, args, opts) {
|
||||
let resourceInputs = {};
|
||||
opts = opts || {};
|
||||
if (!opts.id) {
|
||||
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
|
||||
resourceInputs["kind"] = "GRPCRoute";
|
||||
resourceInputs["metadata"] = args ? args.metadata : undefined;
|
||||
resourceInputs["spec"] = args ? args.spec : undefined;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
else {
|
||||
resourceInputs["apiVersion"] = undefined /*out*/;
|
||||
resourceInputs["kind"] = undefined /*out*/;
|
||||
resourceInputs["metadata"] = undefined /*out*/;
|
||||
resourceInputs["spec"] = undefined /*out*/;
|
||||
resourceInputs["status"] = undefined /*out*/;
|
||||
}
|
||||
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
||||
super(GRPCRoute.__pulumiType, name, resourceInputs, opts);
|
||||
}
|
||||
}
|
||||
exports.GRPCRoute = GRPCRoute;
|
||||
/** @internal */
|
||||
GRPCRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GRPCRoute';
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user