Update CRDs
This commit is contained in:
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>;
|
||||
}
|
||||
Reference in New Issue
Block a user