Update CRDs

This commit is contained in:
github-actions[bot]
2025-11-24 06:29:12 +00:00
parent 80143bb811
commit 594b3cd9db
263 changed files with 220875 additions and 0 deletions

6
generated/crds/gateway/index.d.ts vendored Normal file
View 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, };

View 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;

View 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,
};

View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View 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
View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View 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>;
}

View 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>;
}

View 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';

View File

@@ -0,0 +1,125 @@
// *** 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";
/**
* 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 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.
*/
public static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): GRPCRoute {
return new GRPCRoute(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public 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.
*/
public static isInstance(obj: any): obj is GRPCRoute {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === GRPCRoute.__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<"GRPCRoute">;
/**
* 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.GRPCRouteSpec>;
public /*out*/ 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) {
let resourceInputs: pulumi.Inputs = {};
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);
}
}
/**
* 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>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* GRPCRouteList is a list of GRPCRoute
*/
export declare class GRPCRouteList extends pulumi.CustomResource {
/**
* Get an existing GRPCRouteList 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): GRPCRouteList;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList";
/**
* Returns true if the given object is an instance of GRPCRouteList. 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 GRPCRouteList;
/**
* 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 grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.gateway.v1.GRPCRoute[]>;
/**
* 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<"GRPCRouteList">;
/**
* 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 GRPCRouteList 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?: GRPCRouteListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a GRPCRouteList resource.
*/
export interface GRPCRouteListArgs {
/**
* 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 grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GRPCRoute>[]>;
/**
* 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<"GRPCRouteList">;
/**
* 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>;
}

View 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.GRPCRouteList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* GRPCRouteList is a list of GRPCRoute
*/
class GRPCRouteList extends pulumi.CustomResource {
/**
* Get an existing GRPCRouteList 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 GRPCRouteList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of GRPCRouteList. 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'] === GRPCRouteList.__pulumiType;
}
/**
* Create a GRPCRouteList 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"] = "GRPCRouteList";
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(GRPCRouteList.__pulumiType, name, resourceInputs, opts);
}
}
exports.GRPCRouteList = GRPCRouteList;
/** @internal */
GRPCRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList';

View 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";
/**
* GRPCRouteList is a list of GRPCRoute
*/
export class GRPCRouteList extends pulumi.CustomResource {
/**
* Get an existing GRPCRouteList 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): GRPCRouteList {
return new GRPCRouteList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList';
/**
* Returns true if the given object is an instance of GRPCRouteList. 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 GRPCRouteList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === GRPCRouteList.__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 grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.gateway.v1.GRPCRoute[]>;
/**
* 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<"GRPCRouteList">;
/**
* 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 GRPCRouteList 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?: GRPCRouteListArgs, 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"] = "GRPCRouteList";
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(GRPCRouteList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a GRPCRouteList resource.
*/
export interface GRPCRouteListArgs {
/**
* 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 grpcroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.GRPCRoute>[]>;
/**
* 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<"GRPCRouteList">;
/**
* 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>;
}

View File

@@ -0,0 +1,96 @@
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.
* 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 GRPCRoutePatch extends pulumi.CustomResource {
/**
* Get an existing GRPCRoutePatch 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): GRPCRoutePatch;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch";
/**
* Returns true if the given object is an instance of GRPCRoutePatch. 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 GRPCRoutePatch;
/**
* 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.ObjectMetaPatch>;
readonly spec: pulumi.Output<outputs.gateway.v1.GRPCRouteSpecPatch>;
readonly status: pulumi.Output<outputs.gateway.v1.GRPCRouteStatusPatch>;
/**
* Create a GRPCRoutePatch 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?: GRPCRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a GRPCRoutePatch resource.
*/
export interface GRPCRoutePatchArgs {
/**
* 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.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.gateway.v1.GRPCRouteSpecPatch>;
}

View File

@@ -0,0 +1,95 @@
"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.GRPCRoutePatch = 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.
* 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 GRPCRoutePatch extends pulumi.CustomResource {
/**
* Get an existing GRPCRoutePatch 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 GRPCRoutePatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of GRPCRoutePatch. 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'] === GRPCRoutePatch.__pulumiType;
}
/**
* Create a GRPCRoutePatch 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(GRPCRoutePatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.GRPCRoutePatch = GRPCRoutePatch;
/** @internal */
GRPCRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch';

View File

@@ -0,0 +1,131 @@
// *** 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.
* 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 class GRPCRoutePatch extends pulumi.CustomResource {
/**
* Get an existing GRPCRoutePatch 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): GRPCRoutePatch {
return new GRPCRoutePatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch';
/**
* Returns true if the given object is an instance of GRPCRoutePatch. 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 GRPCRoutePatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === GRPCRoutePatch.__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<"GRPCRoute">;
/**
* 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.GRPCRouteSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.GRPCRouteStatusPatch>;
/**
* Create a GRPCRoutePatch 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?: GRPCRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
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(GRPCRoutePatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a GRPCRoutePatch resource.
*/
export interface GRPCRoutePatchArgs {
/**
* 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.ObjectMetaPatch>;
spec?: pulumi.Input<inputs.gateway.v1.GRPCRouteSpecPatch>;
}

View File

@@ -0,0 +1,67 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* HTTPRoute provides a way to route HTTP requests. This includes the capability
* to match requests by hostname, path, header, or query param. Filters can be
* used to specify additional processing steps. Backends specify where matching
* requests should be routed.
*/
export declare class HTTPRoute extends pulumi.CustomResource {
/**
* Get an existing HTTPRoute 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): HTTPRoute;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:HTTPRoute";
/**
* Returns true if the given object is an instance of HTTPRoute. 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 HTTPRoute;
/**
* 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<"HTTPRoute">;
/**
* 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.HTTPRouteSpec>;
readonly status: pulumi.Output<outputs.gateway.v1.HTTPRouteStatus>;
/**
* Create a HTTPRoute 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?: HTTPRouteArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a HTTPRoute resource.
*/
export interface HTTPRouteArgs {
/**
* 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<"HTTPRoute">;
/**
* 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.HTTPRouteSpec>;
}

View File

@@ -0,0 +1,68 @@
"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.HTTPRoute = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* HTTPRoute provides a way to route HTTP requests. This includes the capability
* to match requests by hostname, path, header, or query param. Filters can be
* used to specify additional processing steps. Backends specify where matching
* requests should be routed.
*/
class HTTPRoute extends pulumi.CustomResource {
/**
* Get an existing HTTPRoute 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 HTTPRoute(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of HTTPRoute. 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'] === HTTPRoute.__pulumiType;
}
/**
* Create a HTTPRoute 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"] = "HTTPRoute";
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:HTTPRoute" }] };
opts = pulumi.mergeOptions(opts, aliasOpts);
super(HTTPRoute.__pulumiType, name, resourceInputs, opts);
}
}
exports.HTTPRoute = HTTPRoute;
/** @internal */
HTTPRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoute';

View File

@@ -0,0 +1,104 @@
// *** 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";
/**
* HTTPRoute provides a way to route HTTP requests. This includes the capability
* to match requests by hostname, path, header, or query param. Filters can be
* used to specify additional processing steps. Backends specify where matching
* requests should be routed.
*/
export class HTTPRoute extends pulumi.CustomResource {
/**
* Get an existing HTTPRoute 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): HTTPRoute {
return new HTTPRoute(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoute';
/**
* Returns true if the given object is an instance of HTTPRoute. 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 HTTPRoute {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === HTTPRoute.__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<"HTTPRoute">;
/**
* 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.HTTPRouteSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.HTTPRouteStatus>;
/**
* Create a HTTPRoute 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?: HTTPRouteArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
resourceInputs["kind"] = "HTTPRoute";
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:HTTPRoute" }] };
opts = pulumi.mergeOptions(opts, aliasOpts);
super(HTTPRoute.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a HTTPRoute resource.
*/
export interface HTTPRouteArgs {
/**
* 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<"HTTPRoute">;
/**
* 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.HTTPRouteSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* HTTPRouteList is a list of HTTPRoute
*/
export declare class HTTPRouteList extends pulumi.CustomResource {
/**
* Get an existing HTTPRouteList 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): HTTPRouteList;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList";
/**
* Returns true if the given object is an instance of HTTPRouteList. 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 HTTPRouteList;
/**
* 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 httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.gateway.v1.HTTPRoute[]>;
/**
* 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<"HTTPRouteList">;
/**
* 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 HTTPRouteList 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?: HTTPRouteListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a HTTPRouteList resource.
*/
export interface HTTPRouteListArgs {
/**
* 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 httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.HTTPRoute>[]>;
/**
* 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<"HTTPRouteList">;
/**
* 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>;
}

View 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.HTTPRouteList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* HTTPRouteList is a list of HTTPRoute
*/
class HTTPRouteList extends pulumi.CustomResource {
/**
* Get an existing HTTPRouteList 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 HTTPRouteList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of HTTPRouteList. 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'] === HTTPRouteList.__pulumiType;
}
/**
* Create a HTTPRouteList 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"] = "HTTPRouteList";
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(HTTPRouteList.__pulumiType, name, resourceInputs, opts);
}
}
exports.HTTPRouteList = HTTPRouteList;
/** @internal */
HTTPRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList';

View 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";
/**
* HTTPRouteList is a list of HTTPRoute
*/
export class HTTPRouteList extends pulumi.CustomResource {
/**
* Get an existing HTTPRouteList 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): HTTPRouteList {
return new HTTPRouteList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList';
/**
* Returns true if the given object is an instance of HTTPRouteList. 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 HTTPRouteList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === HTTPRouteList.__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 httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.gateway.v1.HTTPRoute[]>;
/**
* 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<"HTTPRouteList">;
/**
* 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 HTTPRouteList 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?: HTTPRouteListArgs, 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"] = "HTTPRouteList";
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(HTTPRouteList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a HTTPRouteList resource.
*/
export interface HTTPRouteListArgs {
/**
* 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 httproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1.HTTPRoute>[]>;
/**
* 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<"HTTPRouteList">;
/**
* 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>;
}

View 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.
* HTTPRoute provides a way to route HTTP requests. This includes the capability
* to match requests by hostname, path, header, or query param. Filters can be
* used to specify additional processing steps. Backends specify where matching
* requests should be routed.
*/
export declare class HTTPRoutePatch extends pulumi.CustomResource {
/**
* Get an existing HTTPRoutePatch 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): HTTPRoutePatch;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch";
/**
* Returns true if the given object is an instance of HTTPRoutePatch. 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 HTTPRoutePatch;
/**
* 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<"HTTPRoute">;
/**
* 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.HTTPRouteSpecPatch>;
readonly status: pulumi.Output<outputs.gateway.v1.HTTPRouteStatusPatch>;
/**
* Create a HTTPRoutePatch 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?: HTTPRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a HTTPRoutePatch resource.
*/
export interface HTTPRoutePatchArgs {
/**
* 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<"HTTPRoute">;
/**
* 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.HTTPRouteSpecPatch>;
}

View File

@@ -0,0 +1,74 @@
"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.HTTPRoutePatch = 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.
* HTTPRoute provides a way to route HTTP requests. This includes the capability
* to match requests by hostname, path, header, or query param. Filters can be
* used to specify additional processing steps. Backends specify where matching
* requests should be routed.
*/
class HTTPRoutePatch extends pulumi.CustomResource {
/**
* Get an existing HTTPRoutePatch 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 HTTPRoutePatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of HTTPRoutePatch. 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'] === HTTPRoutePatch.__pulumiType;
}
/**
* Create a HTTPRoutePatch 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"] = "HTTPRoute";
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:HTTPRoutePatch" }] };
opts = pulumi.mergeOptions(opts, aliasOpts);
super(HTTPRoutePatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.HTTPRoutePatch = HTTPRoutePatch;
/** @internal */
HTTPRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch';

View File

@@ -0,0 +1,110 @@
// *** 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.
* HTTPRoute provides a way to route HTTP requests. This includes the capability
* to match requests by hostname, path, header, or query param. Filters can be
* used to specify additional processing steps. Backends specify where matching
* requests should be routed.
*/
export class HTTPRoutePatch extends pulumi.CustomResource {
/**
* Get an existing HTTPRoutePatch 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): HTTPRoutePatch {
return new HTTPRoutePatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch';
/**
* Returns true if the given object is an instance of HTTPRoutePatch. 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 HTTPRoutePatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === HTTPRoutePatch.__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<"HTTPRoute">;
/**
* 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.HTTPRouteSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1.HTTPRouteStatusPatch>;
/**
* Create a HTTPRoutePatch 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?: HTTPRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1";
resourceInputs["kind"] = "HTTPRoute";
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:HTTPRoutePatch" }] };
opts = pulumi.mergeOptions(opts, aliasOpts);
super(HTTPRoutePatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a HTTPRoutePatch resource.
*/
export interface HTTPRoutePatchArgs {
/**
* 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<"HTTPRoute">;
/**
* 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.HTTPRouteSpecPatch>;
}

45
generated/crds/gateway/v1/index.d.ts vendored Normal file
View File

@@ -0,0 +1,45 @@
export { BackendTLSPolicyArgs } from "./backendTLSPolicy";
export type BackendTLSPolicy = import("./backendTLSPolicy").BackendTLSPolicy;
export declare const BackendTLSPolicy: typeof import("./backendTLSPolicy").BackendTLSPolicy;
export { BackendTLSPolicyListArgs } from "./backendTLSPolicyList";
export type BackendTLSPolicyList = import("./backendTLSPolicyList").BackendTLSPolicyList;
export declare const BackendTLSPolicyList: typeof import("./backendTLSPolicyList").BackendTLSPolicyList;
export { BackendTLSPolicyPatchArgs } from "./backendTLSPolicyPatch";
export type BackendTLSPolicyPatch = import("./backendTLSPolicyPatch").BackendTLSPolicyPatch;
export declare const BackendTLSPolicyPatch: typeof import("./backendTLSPolicyPatch").BackendTLSPolicyPatch;
export { GatewayArgs } from "./gateway";
export type Gateway = import("./gateway").Gateway;
export declare const Gateway: typeof import("./gateway").Gateway;
export { GatewayClassArgs } from "./gatewayClass";
export type GatewayClass = import("./gatewayClass").GatewayClass;
export declare const GatewayClass: typeof import("./gatewayClass").GatewayClass;
export { GatewayClassListArgs } from "./gatewayClassList";
export type GatewayClassList = import("./gatewayClassList").GatewayClassList;
export declare const GatewayClassList: typeof import("./gatewayClassList").GatewayClassList;
export { GatewayClassPatchArgs } from "./gatewayClassPatch";
export type GatewayClassPatch = import("./gatewayClassPatch").GatewayClassPatch;
export declare const GatewayClassPatch: typeof import("./gatewayClassPatch").GatewayClassPatch;
export { GatewayListArgs } from "./gatewayList";
export type GatewayList = import("./gatewayList").GatewayList;
export declare const GatewayList: typeof import("./gatewayList").GatewayList;
export { GatewayPatchArgs } from "./gatewayPatch";
export type GatewayPatch = import("./gatewayPatch").GatewayPatch;
export declare const GatewayPatch: typeof import("./gatewayPatch").GatewayPatch;
export { GRPCRouteArgs } from "./grpcroute";
export type GRPCRoute = import("./grpcroute").GRPCRoute;
export declare const GRPCRoute: typeof import("./grpcroute").GRPCRoute;
export { GRPCRouteListArgs } from "./grpcrouteList";
export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
export declare const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList;
export { GRPCRoutePatchArgs } from "./grpcroutePatch";
export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
export declare const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch;
export { HTTPRouteArgs } from "./httproute";
export type HTTPRoute = import("./httproute").HTTPRoute;
export declare const HTTPRoute: typeof import("./httproute").HTTPRoute;
export { HTTPRouteListArgs } from "./httprouteList";
export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
export declare const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList;
export { HTTPRoutePatchArgs } from "./httproutePatch";
export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
export declare const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch;

View 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.HTTPRoutePatch = exports.HTTPRouteList = exports.HTTPRoute = exports.GRPCRoutePatch = exports.GRPCRouteList = exports.GRPCRoute = exports.GatewayPatch = exports.GatewayList = exports.GatewayClassPatch = exports.GatewayClassList = exports.GatewayClass = exports.Gateway = exports.BackendTLSPolicyPatch = exports.BackendTLSPolicyList = exports.BackendTLSPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.BackendTLSPolicy = null;
utilities.lazyLoad(exports, ["BackendTLSPolicy"], () => require("./backendTLSPolicy"));
exports.BackendTLSPolicyList = null;
utilities.lazyLoad(exports, ["BackendTLSPolicyList"], () => require("./backendTLSPolicyList"));
exports.BackendTLSPolicyPatch = null;
utilities.lazyLoad(exports, ["BackendTLSPolicyPatch"], () => require("./backendTLSPolicyPatch"));
exports.Gateway = null;
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
exports.GatewayClass = null;
utilities.lazyLoad(exports, ["GatewayClass"], () => require("./gatewayClass"));
exports.GatewayClassList = null;
utilities.lazyLoad(exports, ["GatewayClassList"], () => require("./gatewayClassList"));
exports.GatewayClassPatch = null;
utilities.lazyLoad(exports, ["GatewayClassPatch"], () => require("./gatewayClassPatch"));
exports.GatewayList = null;
utilities.lazyLoad(exports, ["GatewayList"], () => require("./gatewayList"));
exports.GatewayPatch = null;
utilities.lazyLoad(exports, ["GatewayPatch"], () => require("./gatewayPatch"));
exports.GRPCRoute = null;
utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
exports.GRPCRouteList = null;
utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
exports.GRPCRoutePatch = null;
utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
exports.HTTPRoute = null;
utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
exports.HTTPRouteList = null;
utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
exports.HTTPRoutePatch = null;
utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicy":
return new exports.BackendTLSPolicy(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyList":
return new exports.BackendTLSPolicyList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyPatch":
return new exports.BackendTLSPolicyPatch(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute":
return new exports.GRPCRoute(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList":
return new exports.GRPCRouteList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch":
return new exports.GRPCRoutePatch(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:Gateway":
return new exports.Gateway(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClass":
return new exports.GatewayClass(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList":
return new exports.GatewayClassList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch":
return new exports.GatewayClassPatch(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GatewayList":
return new exports.GatewayList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch":
return new exports.GatewayPatch(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoute":
return new exports.HTTPRoute(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList":
return new exports.HTTPRouteList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch":
return new exports.HTTPRoutePatch(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1", _module);

View 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 utilities from "../../utilities";
// Export members:
export { BackendTLSPolicyArgs } from "./backendTLSPolicy";
export type BackendTLSPolicy = import("./backendTLSPolicy").BackendTLSPolicy;
export const BackendTLSPolicy: typeof import("./backendTLSPolicy").BackendTLSPolicy = null as any;
utilities.lazyLoad(exports, ["BackendTLSPolicy"], () => require("./backendTLSPolicy"));
export { BackendTLSPolicyListArgs } from "./backendTLSPolicyList";
export type BackendTLSPolicyList = import("./backendTLSPolicyList").BackendTLSPolicyList;
export const BackendTLSPolicyList: typeof import("./backendTLSPolicyList").BackendTLSPolicyList = null as any;
utilities.lazyLoad(exports, ["BackendTLSPolicyList"], () => require("./backendTLSPolicyList"));
export { BackendTLSPolicyPatchArgs } from "./backendTLSPolicyPatch";
export type BackendTLSPolicyPatch = import("./backendTLSPolicyPatch").BackendTLSPolicyPatch;
export const BackendTLSPolicyPatch: typeof import("./backendTLSPolicyPatch").BackendTLSPolicyPatch = null as any;
utilities.lazyLoad(exports, ["BackendTLSPolicyPatch"], () => require("./backendTLSPolicyPatch"));
export { GatewayArgs } from "./gateway";
export type Gateway = import("./gateway").Gateway;
export const Gateway: typeof import("./gateway").Gateway = null as any;
utilities.lazyLoad(exports, ["Gateway"], () => require("./gateway"));
export { GatewayClassArgs } from "./gatewayClass";
export type GatewayClass = import("./gatewayClass").GatewayClass;
export const GatewayClass: typeof import("./gatewayClass").GatewayClass = null as any;
utilities.lazyLoad(exports, ["GatewayClass"], () => require("./gatewayClass"));
export { GatewayClassListArgs } from "./gatewayClassList";
export type GatewayClassList = import("./gatewayClassList").GatewayClassList;
export const GatewayClassList: typeof import("./gatewayClassList").GatewayClassList = null as any;
utilities.lazyLoad(exports, ["GatewayClassList"], () => require("./gatewayClassList"));
export { GatewayClassPatchArgs } from "./gatewayClassPatch";
export type GatewayClassPatch = import("./gatewayClassPatch").GatewayClassPatch;
export const GatewayClassPatch: typeof import("./gatewayClassPatch").GatewayClassPatch = null as any;
utilities.lazyLoad(exports, ["GatewayClassPatch"], () => require("./gatewayClassPatch"));
export { GatewayListArgs } from "./gatewayList";
export type GatewayList = import("./gatewayList").GatewayList;
export const GatewayList: typeof import("./gatewayList").GatewayList = null as any;
utilities.lazyLoad(exports, ["GatewayList"], () => require("./gatewayList"));
export { GatewayPatchArgs } from "./gatewayPatch";
export type GatewayPatch = import("./gatewayPatch").GatewayPatch;
export const GatewayPatch: typeof import("./gatewayPatch").GatewayPatch = null as any;
utilities.lazyLoad(exports, ["GatewayPatch"], () => require("./gatewayPatch"));
export { GRPCRouteArgs } from "./grpcroute";
export type GRPCRoute = import("./grpcroute").GRPCRoute;
export const GRPCRoute: typeof import("./grpcroute").GRPCRoute = null as any;
utilities.lazyLoad(exports, ["GRPCRoute"], () => require("./grpcroute"));
export { GRPCRouteListArgs } from "./grpcrouteList";
export type GRPCRouteList = import("./grpcrouteList").GRPCRouteList;
export const GRPCRouteList: typeof import("./grpcrouteList").GRPCRouteList = null as any;
utilities.lazyLoad(exports, ["GRPCRouteList"], () => require("./grpcrouteList"));
export { GRPCRoutePatchArgs } from "./grpcroutePatch";
export type GRPCRoutePatch = import("./grpcroutePatch").GRPCRoutePatch;
export const GRPCRoutePatch: typeof import("./grpcroutePatch").GRPCRoutePatch = null as any;
utilities.lazyLoad(exports, ["GRPCRoutePatch"], () => require("./grpcroutePatch"));
export { HTTPRouteArgs } from "./httproute";
export type HTTPRoute = import("./httproute").HTTPRoute;
export const HTTPRoute: typeof import("./httproute").HTTPRoute = null as any;
utilities.lazyLoad(exports, ["HTTPRoute"], () => require("./httproute"));
export { HTTPRouteListArgs } from "./httprouteList";
export type HTTPRouteList = import("./httprouteList").HTTPRouteList;
export const HTTPRouteList: typeof import("./httprouteList").HTTPRouteList = null as any;
utilities.lazyLoad(exports, ["HTTPRouteList"], () => require("./httprouteList"));
export { HTTPRoutePatchArgs } from "./httproutePatch";
export type HTTPRoutePatch = import("./httproutePatch").HTTPRoutePatch;
export const HTTPRoutePatch: typeof import("./httproutePatch").HTTPRoutePatch = null as any;
utilities.lazyLoad(exports, ["HTTPRoutePatch"], () => require("./httproutePatch"));
const _module = {
version: utilities.getVersion(),
construct: (name: string, type: string, urn: string): pulumi.Resource => {
switch (type) {
case "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicy":
return new BackendTLSPolicy(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyList":
return new BackendTLSPolicyList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:BackendTLSPolicyPatch":
return new BackendTLSPolicyPatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoute":
return new GRPCRoute(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRouteList":
return new GRPCRouteList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GRPCRoutePatch":
return new GRPCRoutePatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:Gateway":
return new Gateway(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClass":
return new GatewayClass(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassList":
return new GatewayClassList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GatewayClassPatch":
return new GatewayClassPatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GatewayList":
return new GatewayList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:GatewayPatch":
return new GatewayPatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoute":
return new HTTPRoute(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRouteList":
return new HTTPRouteList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1:HTTPRoutePatch":
return new HTTPRoutePatch(name, <any>undefined, { urn })
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1", _module)

View File

@@ -0,0 +1,27 @@
export { XBackendTrafficPolicyArgs } from "./xbackendTrafficPolicy";
export type XBackendTrafficPolicy = import("./xbackendTrafficPolicy").XBackendTrafficPolicy;
export declare const XBackendTrafficPolicy: typeof import("./xbackendTrafficPolicy").XBackendTrafficPolicy;
export { XBackendTrafficPolicyListArgs } from "./xbackendTrafficPolicyList";
export type XBackendTrafficPolicyList = import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList;
export declare const XBackendTrafficPolicyList: typeof import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList;
export { XBackendTrafficPolicyPatchArgs } from "./xbackendTrafficPolicyPatch";
export type XBackendTrafficPolicyPatch = import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch;
export declare const XBackendTrafficPolicyPatch: typeof import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch;
export { XListenerSetArgs } from "./xlistenerSet";
export type XListenerSet = import("./xlistenerSet").XListenerSet;
export declare const XListenerSet: typeof import("./xlistenerSet").XListenerSet;
export { XListenerSetListArgs } from "./xlistenerSetList";
export type XListenerSetList = import("./xlistenerSetList").XListenerSetList;
export declare const XListenerSetList: typeof import("./xlistenerSetList").XListenerSetList;
export { XListenerSetPatchArgs } from "./xlistenerSetPatch";
export type XListenerSetPatch = import("./xlistenerSetPatch").XListenerSetPatch;
export declare const XListenerSetPatch: typeof import("./xlistenerSetPatch").XListenerSetPatch;
export { XMeshArgs } from "./xmesh";
export type XMesh = import("./xmesh").XMesh;
export declare const XMesh: typeof import("./xmesh").XMesh;
export { XMeshListArgs } from "./xmeshList";
export type XMeshList = import("./xmeshList").XMeshList;
export declare const XMeshList: typeof import("./xmeshList").XMeshList;
export { XMeshPatchArgs } from "./xmeshPatch";
export type XMeshPatch = import("./xmeshPatch").XMeshPatch;
export declare const XMeshPatch: typeof import("./xmeshPatch").XMeshPatch;

View File

@@ -0,0 +1,53 @@
"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.XMeshPatch = exports.XMeshList = exports.XMesh = exports.XListenerSetPatch = exports.XListenerSetList = exports.XListenerSet = exports.XBackendTrafficPolicyPatch = exports.XBackendTrafficPolicyList = exports.XBackendTrafficPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.XBackendTrafficPolicy = null;
utilities.lazyLoad(exports, ["XBackendTrafficPolicy"], () => require("./xbackendTrafficPolicy"));
exports.XBackendTrafficPolicyList = null;
utilities.lazyLoad(exports, ["XBackendTrafficPolicyList"], () => require("./xbackendTrafficPolicyList"));
exports.XBackendTrafficPolicyPatch = null;
utilities.lazyLoad(exports, ["XBackendTrafficPolicyPatch"], () => require("./xbackendTrafficPolicyPatch"));
exports.XListenerSet = null;
utilities.lazyLoad(exports, ["XListenerSet"], () => require("./xlistenerSet"));
exports.XListenerSetList = null;
utilities.lazyLoad(exports, ["XListenerSetList"], () => require("./xlistenerSetList"));
exports.XListenerSetPatch = null;
utilities.lazyLoad(exports, ["XListenerSetPatch"], () => require("./xlistenerSetPatch"));
exports.XMesh = null;
utilities.lazyLoad(exports, ["XMesh"], () => require("./xmesh"));
exports.XMeshList = null;
utilities.lazyLoad(exports, ["XMeshList"], () => require("./xmeshList"));
exports.XMeshPatch = null;
utilities.lazyLoad(exports, ["XMeshPatch"], () => require("./xmeshPatch"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy":
return new exports.XBackendTrafficPolicy(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList":
return new exports.XBackendTrafficPolicyList(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch":
return new exports.XBackendTrafficPolicyPatch(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet":
return new exports.XListenerSet(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList":
return new exports.XListenerSetList(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch":
return new exports.XListenerSetPatch(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMesh":
return new exports.XMesh(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshList":
return new exports.XMeshList(name, undefined, { urn });
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshPatch":
return new exports.XMeshPatch(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.x-k8s.io/v1alpha1", _module);

View File

@@ -0,0 +1,81 @@
// *** 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 { XBackendTrafficPolicyArgs } from "./xbackendTrafficPolicy";
export type XBackendTrafficPolicy = import("./xbackendTrafficPolicy").XBackendTrafficPolicy;
export const XBackendTrafficPolicy: typeof import("./xbackendTrafficPolicy").XBackendTrafficPolicy = null as any;
utilities.lazyLoad(exports, ["XBackendTrafficPolicy"], () => require("./xbackendTrafficPolicy"));
export { XBackendTrafficPolicyListArgs } from "./xbackendTrafficPolicyList";
export type XBackendTrafficPolicyList = import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList;
export const XBackendTrafficPolicyList: typeof import("./xbackendTrafficPolicyList").XBackendTrafficPolicyList = null as any;
utilities.lazyLoad(exports, ["XBackendTrafficPolicyList"], () => require("./xbackendTrafficPolicyList"));
export { XBackendTrafficPolicyPatchArgs } from "./xbackendTrafficPolicyPatch";
export type XBackendTrafficPolicyPatch = import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch;
export const XBackendTrafficPolicyPatch: typeof import("./xbackendTrafficPolicyPatch").XBackendTrafficPolicyPatch = null as any;
utilities.lazyLoad(exports, ["XBackendTrafficPolicyPatch"], () => require("./xbackendTrafficPolicyPatch"));
export { XListenerSetArgs } from "./xlistenerSet";
export type XListenerSet = import("./xlistenerSet").XListenerSet;
export const XListenerSet: typeof import("./xlistenerSet").XListenerSet = null as any;
utilities.lazyLoad(exports, ["XListenerSet"], () => require("./xlistenerSet"));
export { XListenerSetListArgs } from "./xlistenerSetList";
export type XListenerSetList = import("./xlistenerSetList").XListenerSetList;
export const XListenerSetList: typeof import("./xlistenerSetList").XListenerSetList = null as any;
utilities.lazyLoad(exports, ["XListenerSetList"], () => require("./xlistenerSetList"));
export { XListenerSetPatchArgs } from "./xlistenerSetPatch";
export type XListenerSetPatch = import("./xlistenerSetPatch").XListenerSetPatch;
export const XListenerSetPatch: typeof import("./xlistenerSetPatch").XListenerSetPatch = null as any;
utilities.lazyLoad(exports, ["XListenerSetPatch"], () => require("./xlistenerSetPatch"));
export { XMeshArgs } from "./xmesh";
export type XMesh = import("./xmesh").XMesh;
export const XMesh: typeof import("./xmesh").XMesh = null as any;
utilities.lazyLoad(exports, ["XMesh"], () => require("./xmesh"));
export { XMeshListArgs } from "./xmeshList";
export type XMeshList = import("./xmeshList").XMeshList;
export const XMeshList: typeof import("./xmeshList").XMeshList = null as any;
utilities.lazyLoad(exports, ["XMeshList"], () => require("./xmeshList"));
export { XMeshPatchArgs } from "./xmeshPatch";
export type XMeshPatch = import("./xmeshPatch").XMeshPatch;
export const XMeshPatch: typeof import("./xmeshPatch").XMeshPatch = null as any;
utilities.lazyLoad(exports, ["XMeshPatch"], () => require("./xmeshPatch"));
const _module = {
version: utilities.getVersion(),
construct: (name: string, type: string, urn: string): pulumi.Resource => {
switch (type) {
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy":
return new XBackendTrafficPolicy(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList":
return new XBackendTrafficPolicyList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch":
return new XBackendTrafficPolicyPatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet":
return new XListenerSet(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList":
return new XListenerSetList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch":
return new XListenerSetPatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMesh":
return new XMesh(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshList":
return new XMeshList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshPatch":
return new XMeshPatch(name, <any>undefined, { urn })
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.x-k8s.io/v1alpha1", _module)

View File

@@ -0,0 +1,65 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* XBackendTrafficPolicy defines the configuration for how traffic to a
* target backend should be handled.
*/
export declare class XBackendTrafficPolicy extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicy 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): XBackendTrafficPolicy;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy";
/**
* Returns true if the given object is an instance of XBackendTrafficPolicy. 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 XBackendTrafficPolicy;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpec>;
readonly status: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatus>;
/**
* Create a XBackendTrafficPolicy 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?: XBackendTrafficPolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XBackendTrafficPolicy resource.
*/
export interface XBackendTrafficPolicyArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpec>;
}

View 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.XBackendTrafficPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* XBackendTrafficPolicy defines the configuration for how traffic to a
* target backend should be handled.
*/
class XBackendTrafficPolicy extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicy 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 XBackendTrafficPolicy(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XBackendTrafficPolicy. 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'] === XBackendTrafficPolicy.__pulumiType;
}
/**
* Create a XBackendTrafficPolicy 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.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XBackendTrafficPolicy";
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(XBackendTrafficPolicy.__pulumiType, name, resourceInputs, opts);
}
}
exports.XBackendTrafficPolicy = XBackendTrafficPolicy;
/** @internal */
XBackendTrafficPolicy.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy';

View File

@@ -0,0 +1,100 @@
// *** 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";
/**
* XBackendTrafficPolicy defines the configuration for how traffic to a
* target backend should be handled.
*/
export class XBackendTrafficPolicy extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicy 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): XBackendTrafficPolicy {
return new XBackendTrafficPolicy(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicy';
/**
* Returns true if the given object is an instance of XBackendTrafficPolicy. 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 XBackendTrafficPolicy {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XBackendTrafficPolicy.__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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatus>;
/**
* Create a XBackendTrafficPolicy 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?: XBackendTrafficPolicyArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XBackendTrafficPolicy";
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(XBackendTrafficPolicy.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XBackendTrafficPolicy resource.
*/
export interface XBackendTrafficPolicyArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* XBackendTrafficPolicyList is a list of XBackendTrafficPolicy
*/
export declare class XBackendTrafficPolicyList extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicyList 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): XBackendTrafficPolicyList;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList";
/**
* Returns true if the given object is an instance of XBackendTrafficPolicyList. 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 XBackendTrafficPolicyList;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicy[]>;
/**
* 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<"XBackendTrafficPolicyList">;
/**
* 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 XBackendTrafficPolicyList 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?: XBackendTrafficPolicyListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XBackendTrafficPolicyList resource.
*/
export interface XBackendTrafficPolicyListArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicy>[]>;
/**
* 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<"XBackendTrafficPolicyList">;
/**
* 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>;
}

View 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.XBackendTrafficPolicyList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* XBackendTrafficPolicyList is a list of XBackendTrafficPolicy
*/
class XBackendTrafficPolicyList extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicyList 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 XBackendTrafficPolicyList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XBackendTrafficPolicyList. 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'] === XBackendTrafficPolicyList.__pulumiType;
}
/**
* Create a XBackendTrafficPolicyList 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.x-k8s.io/v1alpha1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "XBackendTrafficPolicyList";
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(XBackendTrafficPolicyList.__pulumiType, name, resourceInputs, opts);
}
}
exports.XBackendTrafficPolicyList = XBackendTrafficPolicyList;
/** @internal */
XBackendTrafficPolicyList.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList';

View 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";
/**
* XBackendTrafficPolicyList is a list of XBackendTrafficPolicy
*/
export class XBackendTrafficPolicyList extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicyList 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): XBackendTrafficPolicyList {
return new XBackendTrafficPolicyList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyList';
/**
* Returns true if the given object is an instance of XBackendTrafficPolicyList. 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 XBackendTrafficPolicyList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XBackendTrafficPolicyList.__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.x-k8s.io/v1alpha1">;
/**
* List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicy[]>;
/**
* 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<"XBackendTrafficPolicyList">;
/**
* 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 XBackendTrafficPolicyList 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?: XBackendTrafficPolicyListArgs, 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.x-k8s.io/v1alpha1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "XBackendTrafficPolicyList";
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(XBackendTrafficPolicyList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XBackendTrafficPolicyList resource.
*/
export interface XBackendTrafficPolicyListArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xbackendtrafficpolicies. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XBackendTrafficPolicy>[]>;
/**
* 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<"XBackendTrafficPolicyList">;
/**
* 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>;
}

View 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.
* XBackendTrafficPolicy defines the configuration for how traffic to a
* target backend should be handled.
*/
export declare class XBackendTrafficPolicyPatch extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicyPatch 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): XBackendTrafficPolicyPatch;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch";
/**
* Returns true if the given object is an instance of XBackendTrafficPolicyPatch. 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 XBackendTrafficPolicyPatch;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpecPatch>;
readonly status: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatusPatch>;
/**
* Create a XBackendTrafficPolicyPatch 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?: XBackendTrafficPolicyPatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XBackendTrafficPolicyPatch resource.
*/
export interface XBackendTrafficPolicyPatchArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpecPatch>;
}

View File

@@ -0,0 +1,70 @@
"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.XBackendTrafficPolicyPatch = 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.
* XBackendTrafficPolicy defines the configuration for how traffic to a
* target backend should be handled.
*/
class XBackendTrafficPolicyPatch extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicyPatch 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 XBackendTrafficPolicyPatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XBackendTrafficPolicyPatch. 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'] === XBackendTrafficPolicyPatch.__pulumiType;
}
/**
* Create a XBackendTrafficPolicyPatch 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.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XBackendTrafficPolicy";
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(XBackendTrafficPolicyPatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.XBackendTrafficPolicyPatch = XBackendTrafficPolicyPatch;
/** @internal */
XBackendTrafficPolicyPatch.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch';

View File

@@ -0,0 +1,106 @@
// *** 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.
* XBackendTrafficPolicy defines the configuration for how traffic to a
* target backend should be handled.
*/
export class XBackendTrafficPolicyPatch extends pulumi.CustomResource {
/**
* Get an existing XBackendTrafficPolicyPatch 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): XBackendTrafficPolicyPatch {
return new XBackendTrafficPolicyPatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XBackendTrafficPolicyPatch';
/**
* Returns true if the given object is an instance of XBackendTrafficPolicyPatch. 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 XBackendTrafficPolicyPatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XBackendTrafficPolicyPatch.__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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XBackendTrafficPolicyStatusPatch>;
/**
* Create a XBackendTrafficPolicyPatch 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?: XBackendTrafficPolicyPatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XBackendTrafficPolicy";
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(XBackendTrafficPolicyPatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XBackendTrafficPolicyPatch resource.
*/
export interface XBackendTrafficPolicyPatchArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XBackendTrafficPolicy">;
/**
* 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.v1alpha1.XBackendTrafficPolicySpecPatch>;
}

View File

@@ -0,0 +1,90 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* XListenerSet defines a set of additional listeners to attach to an existing Gateway.
* This resource provides a mechanism to merge multiple listeners into a single Gateway.
*
* The parent Gateway must explicitly allow ListenerSet attachment through its
* AllowedListeners configuration. By default, Gateways do not allow ListenerSet
* attachment.
*
* Routes can attach to a ListenerSet by specifying it as a parentRef, and can
* optionally target specific listeners using the sectionName field.
*
* Policy Attachment:
* - Policies that attach to a ListenerSet apply to all listeners defined in that resource
* - Policies do not impact listeners in the parent Gateway
* - Different ListenerSets attached to the same Gateway can have different policies
* - If an implementation cannot apply a policy to specific listeners, it should reject the policy
*
* ReferenceGrant Semantics:
* - ReferenceGrants applied to a Gateway are not inherited by child ListenerSets
* - ReferenceGrants applied to a ListenerSet do not grant permission to the parent Gateway's listeners
* - A ListenerSet can reference secrets/backends in its own namespace without a ReferenceGrant
*
* Gateway Integration:
* - The parent Gateway's status will include an "AttachedListenerSets" condition
* - This condition will be:
* - True: when AllowedListeners is set and at least one child ListenerSet is attached
* - False: when AllowedListeners is set but no valid listeners are attached, or when AllowedListeners is not set or false
* - Unknown: when no AllowedListeners config is present
*/
export declare class XListenerSet extends pulumi.CustomResource {
/**
* Get an existing XListenerSet 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): XListenerSet;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet";
/**
* Returns true if the given object is an instance of XListenerSet. 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 XListenerSet;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpec>;
readonly status: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetStatus>;
/**
* Create a XListenerSet 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?: XListenerSetArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XListenerSet resource.
*/
export interface XListenerSetArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpec>;
}

View 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.XListenerSet = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* XListenerSet defines a set of additional listeners to attach to an existing Gateway.
* This resource provides a mechanism to merge multiple listeners into a single Gateway.
*
* The parent Gateway must explicitly allow ListenerSet attachment through its
* AllowedListeners configuration. By default, Gateways do not allow ListenerSet
* attachment.
*
* Routes can attach to a ListenerSet by specifying it as a parentRef, and can
* optionally target specific listeners using the sectionName field.
*
* Policy Attachment:
* - Policies that attach to a ListenerSet apply to all listeners defined in that resource
* - Policies do not impact listeners in the parent Gateway
* - Different ListenerSets attached to the same Gateway can have different policies
* - If an implementation cannot apply a policy to specific listeners, it should reject the policy
*
* ReferenceGrant Semantics:
* - ReferenceGrants applied to a Gateway are not inherited by child ListenerSets
* - ReferenceGrants applied to a ListenerSet do not grant permission to the parent Gateway's listeners
* - A ListenerSet can reference secrets/backends in its own namespace without a ReferenceGrant
*
* Gateway Integration:
* - The parent Gateway's status will include an "AttachedListenerSets" condition
* - This condition will be:
* - True: when AllowedListeners is set and at least one child ListenerSet is attached
* - False: when AllowedListeners is set but no valid listeners are attached, or when AllowedListeners is not set or false
* - Unknown: when no AllowedListeners config is present
*/
class XListenerSet extends pulumi.CustomResource {
/**
* Get an existing XListenerSet 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 XListenerSet(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XListenerSet. 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'] === XListenerSet.__pulumiType;
}
/**
* Create a XListenerSet 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.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XListenerSet";
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(XListenerSet.__pulumiType, name, resourceInputs, opts);
}
}
exports.XListenerSet = XListenerSet;
/** @internal */
XListenerSet.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet';

View File

@@ -0,0 +1,125 @@
// *** 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";
/**
* XListenerSet defines a set of additional listeners to attach to an existing Gateway.
* This resource provides a mechanism to merge multiple listeners into a single Gateway.
*
* The parent Gateway must explicitly allow ListenerSet attachment through its
* AllowedListeners configuration. By default, Gateways do not allow ListenerSet
* attachment.
*
* Routes can attach to a ListenerSet by specifying it as a parentRef, and can
* optionally target specific listeners using the sectionName field.
*
* Policy Attachment:
* - Policies that attach to a ListenerSet apply to all listeners defined in that resource
* - Policies do not impact listeners in the parent Gateway
* - Different ListenerSets attached to the same Gateway can have different policies
* - If an implementation cannot apply a policy to specific listeners, it should reject the policy
*
* ReferenceGrant Semantics:
* - ReferenceGrants applied to a Gateway are not inherited by child ListenerSets
* - ReferenceGrants applied to a ListenerSet do not grant permission to the parent Gateway's listeners
* - A ListenerSet can reference secrets/backends in its own namespace without a ReferenceGrant
*
* Gateway Integration:
* - The parent Gateway's status will include an "AttachedListenerSets" condition
* - This condition will be:
* - True: when AllowedListeners is set and at least one child ListenerSet is attached
* - False: when AllowedListeners is set but no valid listeners are attached, or when AllowedListeners is not set or false
* - Unknown: when no AllowedListeners config is present
*/
export class XListenerSet extends pulumi.CustomResource {
/**
* Get an existing XListenerSet 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): XListenerSet {
return new XListenerSet(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSet';
/**
* Returns true if the given object is an instance of XListenerSet. 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 XListenerSet {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XListenerSet.__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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetStatus>;
/**
* Create a XListenerSet 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?: XListenerSetArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XListenerSet";
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(XListenerSet.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XListenerSet resource.
*/
export interface XListenerSetArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* XListenerSetList is a list of XListenerSet
*/
export declare class XListenerSetList extends pulumi.CustomResource {
/**
* Get an existing XListenerSetList 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): XListenerSetList;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList";
/**
* Returns true if the given object is an instance of XListenerSetList. 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 XListenerSetList;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xlistenersets. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.gateway.v1alpha1.XListenerSet[]>;
/**
* 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<"XListenerSetList">;
/**
* 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 XListenerSetList 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?: XListenerSetListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XListenerSetList resource.
*/
export interface XListenerSetListArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xlistenersets. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XListenerSet>[]>;
/**
* 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<"XListenerSetList">;
/**
* 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>;
}

View 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.XListenerSetList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* XListenerSetList is a list of XListenerSet
*/
class XListenerSetList extends pulumi.CustomResource {
/**
* Get an existing XListenerSetList 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 XListenerSetList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XListenerSetList. 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'] === XListenerSetList.__pulumiType;
}
/**
* Create a XListenerSetList 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.x-k8s.io/v1alpha1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "XListenerSetList";
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(XListenerSetList.__pulumiType, name, resourceInputs, opts);
}
}
exports.XListenerSetList = XListenerSetList;
/** @internal */
XListenerSetList.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList';

View 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";
/**
* XListenerSetList is a list of XListenerSet
*/
export class XListenerSetList extends pulumi.CustomResource {
/**
* Get an existing XListenerSetList 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): XListenerSetList {
return new XListenerSetList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetList';
/**
* Returns true if the given object is an instance of XListenerSetList. 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 XListenerSetList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XListenerSetList.__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.x-k8s.io/v1alpha1">;
/**
* List of xlistenersets. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSet[]>;
/**
* 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<"XListenerSetList">;
/**
* 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 XListenerSetList 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?: XListenerSetListArgs, 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.x-k8s.io/v1alpha1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "XListenerSetList";
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(XListenerSetList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XListenerSetList resource.
*/
export interface XListenerSetListArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xlistenersets. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XListenerSet>[]>;
/**
* 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<"XListenerSetList">;
/**
* 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>;
}

View File

@@ -0,0 +1,96 @@
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.
* XListenerSet defines a set of additional listeners to attach to an existing Gateway.
* This resource provides a mechanism to merge multiple listeners into a single Gateway.
*
* The parent Gateway must explicitly allow ListenerSet attachment through its
* AllowedListeners configuration. By default, Gateways do not allow ListenerSet
* attachment.
*
* Routes can attach to a ListenerSet by specifying it as a parentRef, and can
* optionally target specific listeners using the sectionName field.
*
* Policy Attachment:
* - Policies that attach to a ListenerSet apply to all listeners defined in that resource
* - Policies do not impact listeners in the parent Gateway
* - Different ListenerSets attached to the same Gateway can have different policies
* - If an implementation cannot apply a policy to specific listeners, it should reject the policy
*
* ReferenceGrant Semantics:
* - ReferenceGrants applied to a Gateway are not inherited by child ListenerSets
* - ReferenceGrants applied to a ListenerSet do not grant permission to the parent Gateway's listeners
* - A ListenerSet can reference secrets/backends in its own namespace without a ReferenceGrant
*
* Gateway Integration:
* - The parent Gateway's status will include an "AttachedListenerSets" condition
* - This condition will be:
* - True: when AllowedListeners is set and at least one child ListenerSet is attached
* - False: when AllowedListeners is set but no valid listeners are attached, or when AllowedListeners is not set or false
* - Unknown: when no AllowedListeners config is present
*/
export declare class XListenerSetPatch extends pulumi.CustomResource {
/**
* Get an existing XListenerSetPatch 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): XListenerSetPatch;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch";
/**
* Returns true if the given object is an instance of XListenerSetPatch. 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 XListenerSetPatch;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpecPatch>;
readonly status: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetStatusPatch>;
/**
* Create a XListenerSetPatch 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?: XListenerSetPatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XListenerSetPatch resource.
*/
export interface XListenerSetPatchArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpecPatch>;
}

View File

@@ -0,0 +1,95 @@
"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.XListenerSetPatch = 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.
* XListenerSet defines a set of additional listeners to attach to an existing Gateway.
* This resource provides a mechanism to merge multiple listeners into a single Gateway.
*
* The parent Gateway must explicitly allow ListenerSet attachment through its
* AllowedListeners configuration. By default, Gateways do not allow ListenerSet
* attachment.
*
* Routes can attach to a ListenerSet by specifying it as a parentRef, and can
* optionally target specific listeners using the sectionName field.
*
* Policy Attachment:
* - Policies that attach to a ListenerSet apply to all listeners defined in that resource
* - Policies do not impact listeners in the parent Gateway
* - Different ListenerSets attached to the same Gateway can have different policies
* - If an implementation cannot apply a policy to specific listeners, it should reject the policy
*
* ReferenceGrant Semantics:
* - ReferenceGrants applied to a Gateway are not inherited by child ListenerSets
* - ReferenceGrants applied to a ListenerSet do not grant permission to the parent Gateway's listeners
* - A ListenerSet can reference secrets/backends in its own namespace without a ReferenceGrant
*
* Gateway Integration:
* - The parent Gateway's status will include an "AttachedListenerSets" condition
* - This condition will be:
* - True: when AllowedListeners is set and at least one child ListenerSet is attached
* - False: when AllowedListeners is set but no valid listeners are attached, or when AllowedListeners is not set or false
* - Unknown: when no AllowedListeners config is present
*/
class XListenerSetPatch extends pulumi.CustomResource {
/**
* Get an existing XListenerSetPatch 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 XListenerSetPatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XListenerSetPatch. 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'] === XListenerSetPatch.__pulumiType;
}
/**
* Create a XListenerSetPatch 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.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XListenerSet";
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(XListenerSetPatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.XListenerSetPatch = XListenerSetPatch;
/** @internal */
XListenerSetPatch.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch';

View File

@@ -0,0 +1,131 @@
// *** 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.
* XListenerSet defines a set of additional listeners to attach to an existing Gateway.
* This resource provides a mechanism to merge multiple listeners into a single Gateway.
*
* The parent Gateway must explicitly allow ListenerSet attachment through its
* AllowedListeners configuration. By default, Gateways do not allow ListenerSet
* attachment.
*
* Routes can attach to a ListenerSet by specifying it as a parentRef, and can
* optionally target specific listeners using the sectionName field.
*
* Policy Attachment:
* - Policies that attach to a ListenerSet apply to all listeners defined in that resource
* - Policies do not impact listeners in the parent Gateway
* - Different ListenerSets attached to the same Gateway can have different policies
* - If an implementation cannot apply a policy to specific listeners, it should reject the policy
*
* ReferenceGrant Semantics:
* - ReferenceGrants applied to a Gateway are not inherited by child ListenerSets
* - ReferenceGrants applied to a ListenerSet do not grant permission to the parent Gateway's listeners
* - A ListenerSet can reference secrets/backends in its own namespace without a ReferenceGrant
*
* Gateway Integration:
* - The parent Gateway's status will include an "AttachedListenerSets" condition
* - This condition will be:
* - True: when AllowedListeners is set and at least one child ListenerSet is attached
* - False: when AllowedListeners is set but no valid listeners are attached, or when AllowedListeners is not set or false
* - Unknown: when no AllowedListeners config is present
*/
export class XListenerSetPatch extends pulumi.CustomResource {
/**
* Get an existing XListenerSetPatch 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): XListenerSetPatch {
return new XListenerSetPatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XListenerSetPatch';
/**
* Returns true if the given object is an instance of XListenerSetPatch. 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 XListenerSetPatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XListenerSetPatch.__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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XListenerSetStatusPatch>;
/**
* Create a XListenerSetPatch 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?: XListenerSetPatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XListenerSet";
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(XListenerSetPatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XListenerSetPatch resource.
*/
export interface XListenerSetPatchArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XListenerSet">;
/**
* 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.v1alpha1.XListenerSetSpecPatch>;
}

View File

@@ -0,0 +1,64 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* XMesh defines mesh-wide characteristics of a GAMMA-compliant service mesh.
*/
export declare class XMesh extends pulumi.CustomResource {
/**
* Get an existing XMesh 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): XMesh;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMesh";
/**
* Returns true if the given object is an instance of XMesh. 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 XMesh;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpec>;
readonly status: pulumi.Output<outputs.gateway.v1alpha1.XMeshStatus>;
/**
* Create a XMesh 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?: XMeshArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XMesh resource.
*/
export interface XMeshArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpec>;
}

View 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.XMesh = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* XMesh defines mesh-wide characteristics of a GAMMA-compliant service mesh.
*/
class XMesh extends pulumi.CustomResource {
/**
* Get an existing XMesh 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 XMesh(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XMesh. 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'] === XMesh.__pulumiType;
}
/**
* Create a XMesh 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.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XMesh";
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(XMesh.__pulumiType, name, resourceInputs, opts);
}
}
exports.XMesh = XMesh;
/** @internal */
XMesh.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMesh';

View 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";
/**
* XMesh defines mesh-wide characteristics of a GAMMA-compliant service mesh.
*/
export class XMesh extends pulumi.CustomResource {
/**
* Get an existing XMesh 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): XMesh {
return new XMesh(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMesh';
/**
* Returns true if the given object is an instance of XMesh. 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 XMesh {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XMesh.__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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XMeshStatus>;
/**
* Create a XMesh 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?: XMeshArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XMesh";
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(XMesh.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XMesh resource.
*/
export interface XMeshArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* XMeshList is a list of XMesh
*/
export declare class XMeshList extends pulumi.CustomResource {
/**
* Get an existing XMeshList 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): XMeshList;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshList";
/**
* Returns true if the given object is an instance of XMeshList. 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 XMeshList;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xmeshes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.gateway.v1alpha1.XMesh[]>;
/**
* 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<"XMeshList">;
/**
* 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 XMeshList 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?: XMeshListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XMeshList resource.
*/
export interface XMeshListArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xmeshes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XMesh>[]>;
/**
* 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<"XMeshList">;
/**
* 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>;
}

View 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.XMeshList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* XMeshList is a list of XMesh
*/
class XMeshList extends pulumi.CustomResource {
/**
* Get an existing XMeshList 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 XMeshList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XMeshList. 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'] === XMeshList.__pulumiType;
}
/**
* Create a XMeshList 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.x-k8s.io/v1alpha1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "XMeshList";
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(XMeshList.__pulumiType, name, resourceInputs, opts);
}
}
exports.XMeshList = XMeshList;
/** @internal */
XMeshList.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshList';

View 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";
/**
* XMeshList is a list of XMesh
*/
export class XMeshList extends pulumi.CustomResource {
/**
* Get an existing XMeshList 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): XMeshList {
return new XMeshList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshList';
/**
* Returns true if the given object is an instance of XMeshList. 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 XMeshList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XMeshList.__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.x-k8s.io/v1alpha1">;
/**
* List of xmeshes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.gateway.v1alpha1.XMesh[]>;
/**
* 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<"XMeshList">;
/**
* 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 XMeshList 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?: XMeshListArgs, 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.x-k8s.io/v1alpha1";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "XMeshList";
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(XMeshList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XMeshList resource.
*/
export interface XMeshListArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* List of xmeshes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha1.XMesh>[]>;
/**
* 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<"XMeshList">;
/**
* 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>;
}

View 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.
* XMesh defines mesh-wide characteristics of a GAMMA-compliant service mesh.
*/
export declare class XMeshPatch extends pulumi.CustomResource {
/**
* Get an existing XMeshPatch 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): XMeshPatch;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshPatch";
/**
* Returns true if the given object is an instance of XMeshPatch. 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 XMeshPatch;
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpecPatch>;
readonly status: pulumi.Output<outputs.gateway.v1alpha1.XMeshStatusPatch>;
/**
* Create a XMeshPatch 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?: XMeshPatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a XMeshPatch resource.
*/
export interface XMeshPatchArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpecPatch>;
}

View 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.XMeshPatch = 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.
* XMesh defines mesh-wide characteristics of a GAMMA-compliant service mesh.
*/
class XMeshPatch extends pulumi.CustomResource {
/**
* Get an existing XMeshPatch 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 XMeshPatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of XMeshPatch. 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'] === XMeshPatch.__pulumiType;
}
/**
* Create a XMeshPatch 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.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XMesh";
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(XMeshPatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.XMeshPatch = XMeshPatch;
/** @internal */
XMeshPatch.__pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshPatch';

View 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.
* XMesh defines mesh-wide characteristics of a GAMMA-compliant service mesh.
*/
export class XMeshPatch extends pulumi.CustomResource {
/**
* Get an existing XMeshPatch 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): XMeshPatch {
return new XMeshPatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.x-k8s.io/v1alpha1:XMeshPatch';
/**
* Returns true if the given object is an instance of XMeshPatch. 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 XMeshPatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === XMeshPatch.__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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha1.XMeshStatusPatch>;
/**
* Create a XMeshPatch 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?: XMeshPatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.x-k8s.io/v1alpha1";
resourceInputs["kind"] = "XMesh";
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(XMeshPatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a XMeshPatch resource.
*/
export interface XMeshPatchArgs {
/**
* 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.x-k8s.io/v1alpha1">;
/**
* 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<"XMesh">;
/**
* 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.v1alpha1.XMeshSpecPatch>;
}

View File

@@ -0,0 +1,27 @@
export { TCPRouteArgs } from "./tcproute";
export type TCPRoute = import("./tcproute").TCPRoute;
export declare const TCPRoute: typeof import("./tcproute").TCPRoute;
export { TCPRouteListArgs } from "./tcprouteList";
export type TCPRouteList = import("./tcprouteList").TCPRouteList;
export declare const TCPRouteList: typeof import("./tcprouteList").TCPRouteList;
export { TCPRoutePatchArgs } from "./tcproutePatch";
export type TCPRoutePatch = import("./tcproutePatch").TCPRoutePatch;
export declare const TCPRoutePatch: typeof import("./tcproutePatch").TCPRoutePatch;
export { TLSRouteArgs } from "./tlsroute";
export type TLSRoute = import("./tlsroute").TLSRoute;
export declare const TLSRoute: typeof import("./tlsroute").TLSRoute;
export { TLSRouteListArgs } from "./tlsrouteList";
export type TLSRouteList = import("./tlsrouteList").TLSRouteList;
export declare const TLSRouteList: typeof import("./tlsrouteList").TLSRouteList;
export { TLSRoutePatchArgs } from "./tlsroutePatch";
export type TLSRoutePatch = import("./tlsroutePatch").TLSRoutePatch;
export declare const TLSRoutePatch: typeof import("./tlsroutePatch").TLSRoutePatch;
export { UDPRouteArgs } from "./udproute";
export type UDPRoute = import("./udproute").UDPRoute;
export declare const UDPRoute: typeof import("./udproute").UDPRoute;
export { UDPRouteListArgs } from "./udprouteList";
export type UDPRouteList = import("./udprouteList").UDPRouteList;
export declare const UDPRouteList: typeof import("./udprouteList").UDPRouteList;
export { UDPRoutePatchArgs } from "./udproutePatch";
export type UDPRoutePatch = import("./udproutePatch").UDPRoutePatch;
export declare const UDPRoutePatch: typeof import("./udproutePatch").UDPRoutePatch;

View File

@@ -0,0 +1,53 @@
"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.UDPRoutePatch = exports.UDPRouteList = exports.UDPRoute = exports.TLSRoutePatch = exports.TLSRouteList = exports.TLSRoute = exports.TCPRoutePatch = exports.TCPRouteList = exports.TCPRoute = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
exports.TCPRoute = null;
utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
exports.TCPRouteList = null;
utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
exports.TCPRoutePatch = null;
utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
exports.TLSRoute = null;
utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
exports.TLSRouteList = null;
utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
exports.TLSRoutePatch = null;
utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
exports.UDPRoute = null;
utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
exports.UDPRouteList = null;
utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
exports.UDPRoutePatch = null;
utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
const _module = {
version: utilities.getVersion(),
construct: (name, type, urn) => {
switch (type) {
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute":
return new exports.TCPRoute(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList":
return new exports.TCPRouteList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch":
return new exports.TCPRoutePatch(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute":
return new exports.TLSRoute(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList":
return new exports.TLSRouteList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch":
return new exports.TLSRoutePatch(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
return new exports.UDPRoute(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList":
return new exports.UDPRouteList(name, undefined, { urn });
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch":
return new exports.UDPRoutePatch(name, undefined, { urn });
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha2", _module);

View File

@@ -0,0 +1,81 @@
// *** 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 { TCPRouteArgs } from "./tcproute";
export type TCPRoute = import("./tcproute").TCPRoute;
export const TCPRoute: typeof import("./tcproute").TCPRoute = null as any;
utilities.lazyLoad(exports, ["TCPRoute"], () => require("./tcproute"));
export { TCPRouteListArgs } from "./tcprouteList";
export type TCPRouteList = import("./tcprouteList").TCPRouteList;
export const TCPRouteList: typeof import("./tcprouteList").TCPRouteList = null as any;
utilities.lazyLoad(exports, ["TCPRouteList"], () => require("./tcprouteList"));
export { TCPRoutePatchArgs } from "./tcproutePatch";
export type TCPRoutePatch = import("./tcproutePatch").TCPRoutePatch;
export const TCPRoutePatch: typeof import("./tcproutePatch").TCPRoutePatch = null as any;
utilities.lazyLoad(exports, ["TCPRoutePatch"], () => require("./tcproutePatch"));
export { TLSRouteArgs } from "./tlsroute";
export type TLSRoute = import("./tlsroute").TLSRoute;
export const TLSRoute: typeof import("./tlsroute").TLSRoute = null as any;
utilities.lazyLoad(exports, ["TLSRoute"], () => require("./tlsroute"));
export { TLSRouteListArgs } from "./tlsrouteList";
export type TLSRouteList = import("./tlsrouteList").TLSRouteList;
export const TLSRouteList: typeof import("./tlsrouteList").TLSRouteList = null as any;
utilities.lazyLoad(exports, ["TLSRouteList"], () => require("./tlsrouteList"));
export { TLSRoutePatchArgs } from "./tlsroutePatch";
export type TLSRoutePatch = import("./tlsroutePatch").TLSRoutePatch;
export const TLSRoutePatch: typeof import("./tlsroutePatch").TLSRoutePatch = null as any;
utilities.lazyLoad(exports, ["TLSRoutePatch"], () => require("./tlsroutePatch"));
export { UDPRouteArgs } from "./udproute";
export type UDPRoute = import("./udproute").UDPRoute;
export const UDPRoute: typeof import("./udproute").UDPRoute = null as any;
utilities.lazyLoad(exports, ["UDPRoute"], () => require("./udproute"));
export { UDPRouteListArgs } from "./udprouteList";
export type UDPRouteList = import("./udprouteList").UDPRouteList;
export const UDPRouteList: typeof import("./udprouteList").UDPRouteList = null as any;
utilities.lazyLoad(exports, ["UDPRouteList"], () => require("./udprouteList"));
export { UDPRoutePatchArgs } from "./udproutePatch";
export type UDPRoutePatch = import("./udproutePatch").UDPRoutePatch;
export const UDPRoutePatch: typeof import("./udproutePatch").UDPRoutePatch = null as any;
utilities.lazyLoad(exports, ["UDPRoutePatch"], () => require("./udproutePatch"));
const _module = {
version: utilities.getVersion(),
construct: (name: string, type: string, urn: string): pulumi.Resource => {
switch (type) {
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute":
return new TCPRoute(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList":
return new TCPRouteList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch":
return new TCPRoutePatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute":
return new TLSRoute(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList":
return new TLSRouteList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch":
return new TLSRoutePatch(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoute":
return new UDPRoute(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRouteList":
return new UDPRouteList(name, <any>undefined, { urn })
case "kubernetes:gateway.networking.k8s.io/v1alpha2:UDPRoutePatch":
return new UDPRoutePatch(name, <any>undefined, { urn })
default:
throw new Error(`unknown resource type ${type}`);
}
},
};
pulumi.runtime.registerResourceModule("crds", "gateway.networking.k8s.io/v1alpha2", _module)

View File

@@ -0,0 +1,66 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
* listener, it can be used to forward connections on the port specified by the
* listener to a set of backends specified by the TCPRoute.
*/
export declare class TCPRoute extends pulumi.CustomResource {
/**
* Get an existing TCPRoute 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): TCPRoute;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute";
/**
* Returns true if the given object is an instance of TCPRoute. 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 TCPRoute;
/**
* 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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpec>;
readonly status: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatus>;
/**
* Create a TCPRoute 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?: TCPRouteArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TCPRoute resource.
*/
export interface TCPRouteArgs {
/**
* 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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpec>;
}

View 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.TCPRoute = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
* listener, it can be used to forward connections on the port specified by the
* listener to a set of backends specified by the TCPRoute.
*/
class TCPRoute extends pulumi.CustomResource {
/**
* Get an existing TCPRoute 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 TCPRoute(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of TCPRoute. 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'] === TCPRoute.__pulumiType;
}
/**
* Create a TCPRoute 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/v1alpha2";
resourceInputs["kind"] = "TCPRoute";
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(TCPRoute.__pulumiType, name, resourceInputs, opts);
}
}
exports.TCPRoute = TCPRoute;
/** @internal */
TCPRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute';

View File

@@ -0,0 +1,101 @@
// *** 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";
/**
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
* listener, it can be used to forward connections on the port specified by the
* listener to a set of backends specified by the TCPRoute.
*/
export class TCPRoute extends pulumi.CustomResource {
/**
* Get an existing TCPRoute 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): TCPRoute {
return new TCPRoute(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoute';
/**
* Returns true if the given object is an instance of TCPRoute. 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 TCPRoute {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === TCPRoute.__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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatus>;
/**
* Create a TCPRoute 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?: TCPRouteArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
resourceInputs["kind"] = "TCPRoute";
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(TCPRoute.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a TCPRoute resource.
*/
export interface TCPRouteArgs {
/**
* 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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* TCPRouteList is a list of TCPRoute
*/
export declare class TCPRouteList extends pulumi.CustomResource {
/**
* Get an existing TCPRouteList 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): TCPRouteList;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList";
/**
* Returns true if the given object is an instance of TCPRouteList. 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 TCPRouteList;
/**
* 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/v1alpha2">;
/**
* List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.gateway.v1alpha2.TCPRoute[]>;
/**
* 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<"TCPRouteList">;
/**
* 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 TCPRouteList 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?: TCPRouteListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TCPRouteList resource.
*/
export interface TCPRouteListArgs {
/**
* 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/v1alpha2">;
/**
* List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TCPRoute>[]>;
/**
* 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<"TCPRouteList">;
/**
* 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>;
}

View 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.TCPRouteList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* TCPRouteList is a list of TCPRoute
*/
class TCPRouteList extends pulumi.CustomResource {
/**
* Get an existing TCPRouteList 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 TCPRouteList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of TCPRouteList. 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'] === TCPRouteList.__pulumiType;
}
/**
* Create a TCPRouteList 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/v1alpha2";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "TCPRouteList";
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(TCPRouteList.__pulumiType, name, resourceInputs, opts);
}
}
exports.TCPRouteList = TCPRouteList;
/** @internal */
TCPRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList';

View 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";
/**
* TCPRouteList is a list of TCPRoute
*/
export class TCPRouteList extends pulumi.CustomResource {
/**
* Get an existing TCPRouteList 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): TCPRouteList {
return new TCPRouteList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRouteList';
/**
* Returns true if the given object is an instance of TCPRouteList. 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 TCPRouteList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === TCPRouteList.__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/v1alpha2">;
/**
* List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.gateway.v1alpha2.TCPRoute[]>;
/**
* 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<"TCPRouteList">;
/**
* 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 TCPRouteList 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?: TCPRouteListArgs, 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/v1alpha2";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "TCPRouteList";
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(TCPRouteList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a TCPRouteList resource.
*/
export interface TCPRouteListArgs {
/**
* 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/v1alpha2">;
/**
* List of tcproutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TCPRoute>[]>;
/**
* 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<"TCPRouteList">;
/**
* 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>;
}

View File

@@ -0,0 +1,72 @@
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.
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
* listener, it can be used to forward connections on the port specified by the
* listener to a set of backends specified by the TCPRoute.
*/
export declare class TCPRoutePatch extends pulumi.CustomResource {
/**
* Get an existing TCPRoutePatch 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): TCPRoutePatch;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch";
/**
* Returns true if the given object is an instance of TCPRoutePatch. 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 TCPRoutePatch;
/**
* 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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpecPatch>;
readonly status: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatusPatch>;
/**
* Create a TCPRoutePatch 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?: TCPRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TCPRoutePatch resource.
*/
export interface TCPRoutePatchArgs {
/**
* 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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpecPatch>;
}

View 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.TCPRoutePatch = 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.
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
* listener, it can be used to forward connections on the port specified by the
* listener to a set of backends specified by the TCPRoute.
*/
class TCPRoutePatch extends pulumi.CustomResource {
/**
* Get an existing TCPRoutePatch 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 TCPRoutePatch(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of TCPRoutePatch. 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'] === TCPRoutePatch.__pulumiType;
}
/**
* Create a TCPRoutePatch 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/v1alpha2";
resourceInputs["kind"] = "TCPRoute";
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(TCPRoutePatch.__pulumiType, name, resourceInputs, opts);
}
}
exports.TCPRoutePatch = TCPRoutePatch;
/** @internal */
TCPRoutePatch.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch';

View 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";
/**
* 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.
* TCPRoute provides a way to route TCP requests. When combined with a Gateway
* listener, it can be used to forward connections on the port specified by the
* listener to a set of backends specified by the TCPRoute.
*/
export class TCPRoutePatch extends pulumi.CustomResource {
/**
* Get an existing TCPRoutePatch 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): TCPRoutePatch {
return new TCPRoutePatch(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TCPRoutePatch';
/**
* Returns true if the given object is an instance of TCPRoutePatch. 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 TCPRoutePatch {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === TCPRoutePatch.__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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpecPatch>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TCPRouteStatusPatch>;
/**
* Create a TCPRoutePatch 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?: TCPRoutePatchArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
resourceInputs["kind"] = "TCPRoute";
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(TCPRoutePatch.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a TCPRoutePatch resource.
*/
export interface TCPRoutePatchArgs {
/**
* 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/v1alpha2">;
/**
* 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<"TCPRoute">;
/**
* 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.v1alpha2.TCPRouteSpecPatch>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* The TLSRoute resource is similar to TCPRoute, but can be configured
* to match against TLS-specific metadata. This allows more flexibility
* in matching streams for a given TLS listener.
*
* If you need to forward traffic to a single target for a TLS listener, you
* could choose to use a TCPRoute with a TLS listener.
*/
export declare class TLSRoute extends pulumi.CustomResource {
/**
* Get an existing TLSRoute 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): TLSRoute;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute";
/**
* Returns true if the given object is an instance of TLSRoute. 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 TLSRoute;
/**
* 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/v1alpha2">;
/**
* 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<"TLSRoute">;
/**
* 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.v1alpha2.TLSRouteSpec>;
readonly status: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteStatus>;
/**
* Create a TLSRoute 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?: TLSRouteArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TLSRoute resource.
*/
export interface TLSRouteArgs {
/**
* 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/v1alpha2">;
/**
* 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<"TLSRoute">;
/**
* 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.v1alpha2.TLSRouteSpec>;
}

View File

@@ -0,0 +1,70 @@
"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.TLSRoute = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* The TLSRoute resource is similar to TCPRoute, but can be configured
* to match against TLS-specific metadata. This allows more flexibility
* in matching streams for a given TLS listener.
*
* If you need to forward traffic to a single target for a TLS listener, you
* could choose to use a TCPRoute with a TLS listener.
*/
class TLSRoute extends pulumi.CustomResource {
/**
* Get an existing TLSRoute 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 TLSRoute(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of TLSRoute. 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'] === TLSRoute.__pulumiType;
}
/**
* Create a TLSRoute 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/v1alpha2";
resourceInputs["kind"] = "TLSRoute";
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:TLSRoute" }] };
opts = pulumi.mergeOptions(opts, aliasOpts);
super(TLSRoute.__pulumiType, name, resourceInputs, opts);
}
}
exports.TLSRoute = TLSRoute;
/** @internal */
TLSRoute.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute';

View File

@@ -0,0 +1,106 @@
// *** 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";
/**
* The TLSRoute resource is similar to TCPRoute, but can be configured
* to match against TLS-specific metadata. This allows more flexibility
* in matching streams for a given TLS listener.
*
* If you need to forward traffic to a single target for a TLS listener, you
* could choose to use a TCPRoute with a TLS listener.
*/
export class TLSRoute extends pulumi.CustomResource {
/**
* Get an existing TLSRoute 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): TLSRoute {
return new TLSRoute(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoute';
/**
* Returns true if the given object is an instance of TLSRoute. 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 TLSRoute {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === TLSRoute.__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/v1alpha2">;
/**
* 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<"TLSRoute">;
/**
* 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.v1alpha2.TLSRouteSpec>;
public /*out*/ readonly status!: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteStatus>;
/**
* Create a TLSRoute 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?: TLSRouteArgs, opts?: pulumi.CustomResourceOptions) {
let resourceInputs: pulumi.Inputs = {};
opts = opts || {};
if (!opts.id) {
resourceInputs["apiVersion"] = "gateway.networking.k8s.io/v1alpha2";
resourceInputs["kind"] = "TLSRoute";
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:TLSRoute" }] };
opts = pulumi.mergeOptions(opts, aliasOpts);
super(TLSRoute.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a TLSRoute resource.
*/
export interface TLSRouteArgs {
/**
* 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/v1alpha2">;
/**
* 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<"TLSRoute">;
/**
* 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.v1alpha2.TLSRouteSpec>;
}

View File

@@ -0,0 +1,69 @@
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../../types/input";
import * as outputs from "../../types/output";
/**
* TLSRouteList is a list of TLSRoute
*/
export declare class TLSRouteList extends pulumi.CustomResource {
/**
* Get an existing TLSRouteList 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): TLSRouteList;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList";
/**
* Returns true if the given object is an instance of TLSRouteList. 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 TLSRouteList;
/**
* 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/v1alpha2">;
/**
* List of tlsroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
readonly items: pulumi.Output<outputs.gateway.v1alpha2.TLSRoute[]>;
/**
* 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<"TLSRouteList">;
/**
* 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 TLSRouteList 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?: TLSRouteListArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TLSRouteList resource.
*/
export interface TLSRouteListArgs {
/**
* 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/v1alpha2">;
/**
* List of tlsroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TLSRoute>[]>;
/**
* 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<"TLSRouteList">;
/**
* 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>;
}

View 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.TLSRouteList = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../../utilities");
/**
* TLSRouteList is a list of TLSRoute
*/
class TLSRouteList extends pulumi.CustomResource {
/**
* Get an existing TLSRouteList 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 TLSRouteList(name, undefined, { ...opts, id: id });
}
/**
* Returns true if the given object is an instance of TLSRouteList. 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'] === TLSRouteList.__pulumiType;
}
/**
* Create a TLSRouteList 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/v1alpha2";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "TLSRouteList";
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(TLSRouteList.__pulumiType, name, resourceInputs, opts);
}
}
exports.TLSRouteList = TLSRouteList;
/** @internal */
TLSRouteList.__pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList';

View 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";
/**
* TLSRouteList is a list of TLSRoute
*/
export class TLSRouteList extends pulumi.CustomResource {
/**
* Get an existing TLSRouteList 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): TLSRouteList {
return new TLSRouteList(name, undefined as any, { ...opts, id: id });
}
/** @internal */
public static readonly __pulumiType = 'kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRouteList';
/**
* Returns true if the given object is an instance of TLSRouteList. 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 TLSRouteList {
if (obj === undefined || obj === null) {
return false;
}
return obj['__pulumiType'] === TLSRouteList.__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/v1alpha2">;
/**
* List of tlsroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
public readonly items!: pulumi.Output<outputs.gateway.v1alpha2.TLSRoute[]>;
/**
* 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<"TLSRouteList">;
/**
* 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 TLSRouteList 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?: TLSRouteListArgs, 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/v1alpha2";
resourceInputs["items"] = args ? args.items : undefined;
resourceInputs["kind"] = "TLSRouteList";
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(TLSRouteList.__pulumiType, name, resourceInputs, opts);
}
}
/**
* The set of arguments for constructing a TLSRouteList resource.
*/
export interface TLSRouteListArgs {
/**
* 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/v1alpha2">;
/**
* List of tlsroutes. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md
*/
items: pulumi.Input<pulumi.Input<inputs.gateway.v1alpha2.TLSRoute>[]>;
/**
* 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<"TLSRouteList">;
/**
* 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>;
}

View File

@@ -0,0 +1,75 @@
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.
* The TLSRoute resource is similar to TCPRoute, but can be configured
* to match against TLS-specific metadata. This allows more flexibility
* in matching streams for a given TLS listener.
*
* If you need to forward traffic to a single target for a TLS listener, you
* could choose to use a TCPRoute with a TLS listener.
*/
export declare class TLSRoutePatch extends pulumi.CustomResource {
/**
* Get an existing TLSRoutePatch 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): TLSRoutePatch;
/** @internal */
static readonly __pulumiType = "kubernetes:gateway.networking.k8s.io/v1alpha2:TLSRoutePatch";
/**
* Returns true if the given object is an instance of TLSRoutePatch. 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 TLSRoutePatch;
/**
* 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/v1alpha2">;
/**
* 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<"TLSRoute">;
/**
* 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.v1alpha2.TLSRouteSpecPatch>;
readonly status: pulumi.Output<outputs.gateway.v1alpha2.TLSRouteStatusPatch>;
/**
* Create a TLSRoutePatch 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?: TLSRoutePatchArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a TLSRoutePatch resource.
*/
export interface TLSRoutePatchArgs {
/**
* 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/v1alpha2">;
/**
* 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<"TLSRoute">;
/**
* 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.v1alpha2.TLSRouteSpecPatch>;
}

Some files were not shown because too many files have changed in this diff Show More