v1

package
v2.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPIngressPath added in v2.5.0

type HTTPIngressPath struct {
	// Backend defines the referenced service endpoint to which the traffic will be forwarded to.
	Backend IngressBackend `pulumi:"backend"`
	// Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.
	Path *string `pulumi:"path"`
	// PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
	//   done on a path element by element basis. A path element refers is the
	//   list of labels in the path split by the '/' separator. A request is a
	//   match for path p if every p is an element-wise prefix of p of the
	//   request path. Note that if the last element of the path is a substring
	//   of the last element in request path, it is not a match (e.g. /foo/bar
	//   matches /foo/bar/baz, but does not match /foo/barbaz).
	// * ImplementationSpecific: Interpretation of the Path matching is up to
	//   the IngressClass. Implementations can treat this as a separate PathType
	//   or treat it identically to Prefix or Exact path types.
	//   Implementations are required to support all path types.
	PathType *string `pulumi:"pathType"`
}

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

type HTTPIngressPathArgs added in v2.5.0

type HTTPIngressPathArgs struct {
	// Backend defines the referenced service endpoint to which the traffic will be forwarded to.
	Backend IngressBackendInput `pulumi:"backend"`
	// Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is
	//   done on a path element by element basis. A path element refers is the
	//   list of labels in the path split by the '/' separator. A request is a
	//   match for path p if every p is an element-wise prefix of p of the
	//   request path. Note that if the last element of the path is a substring
	//   of the last element in request path, it is not a match (e.g. /foo/bar
	//   matches /foo/bar/baz, but does not match /foo/barbaz).
	// * ImplementationSpecific: Interpretation of the Path matching is up to
	//   the IngressClass. Implementations can treat this as a separate PathType
	//   or treat it identically to Prefix or Exact path types.
	//   Implementations are required to support all path types.
	PathType pulumi.StringPtrInput `pulumi:"pathType"`
}

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

func (HTTPIngressPathArgs) ElementType added in v2.5.0

func (HTTPIngressPathArgs) ElementType() reflect.Type

func (HTTPIngressPathArgs) ToHTTPIngressPathOutput added in v2.5.0

func (i HTTPIngressPathArgs) ToHTTPIngressPathOutput() HTTPIngressPathOutput

func (HTTPIngressPathArgs) ToHTTPIngressPathOutputWithContext added in v2.5.0

func (i HTTPIngressPathArgs) ToHTTPIngressPathOutputWithContext(ctx context.Context) HTTPIngressPathOutput

type HTTPIngressPathArray added in v2.5.0

type HTTPIngressPathArray []HTTPIngressPathInput

func (HTTPIngressPathArray) ElementType added in v2.5.0

func (HTTPIngressPathArray) ElementType() reflect.Type

func (HTTPIngressPathArray) ToHTTPIngressPathArrayOutput added in v2.5.0

func (i HTTPIngressPathArray) ToHTTPIngressPathArrayOutput() HTTPIngressPathArrayOutput

func (HTTPIngressPathArray) ToHTTPIngressPathArrayOutputWithContext added in v2.5.0

func (i HTTPIngressPathArray) ToHTTPIngressPathArrayOutputWithContext(ctx context.Context) HTTPIngressPathArrayOutput

type HTTPIngressPathArrayInput added in v2.5.0

type HTTPIngressPathArrayInput interface {
	pulumi.Input

	ToHTTPIngressPathArrayOutput() HTTPIngressPathArrayOutput
	ToHTTPIngressPathArrayOutputWithContext(context.Context) HTTPIngressPathArrayOutput
}

HTTPIngressPathArrayInput is an input type that accepts HTTPIngressPathArray and HTTPIngressPathArrayOutput values. You can construct a concrete instance of `HTTPIngressPathArrayInput` via:

HTTPIngressPathArray{ HTTPIngressPathArgs{...} }

type HTTPIngressPathArrayOutput added in v2.5.0

type HTTPIngressPathArrayOutput struct{ *pulumi.OutputState }

func (HTTPIngressPathArrayOutput) ElementType added in v2.5.0

func (HTTPIngressPathArrayOutput) ElementType() reflect.Type

func (HTTPIngressPathArrayOutput) Index added in v2.5.0

func (HTTPIngressPathArrayOutput) ToHTTPIngressPathArrayOutput added in v2.5.0

func (o HTTPIngressPathArrayOutput) ToHTTPIngressPathArrayOutput() HTTPIngressPathArrayOutput

func (HTTPIngressPathArrayOutput) ToHTTPIngressPathArrayOutputWithContext added in v2.5.0

func (o HTTPIngressPathArrayOutput) ToHTTPIngressPathArrayOutputWithContext(ctx context.Context) HTTPIngressPathArrayOutput

type HTTPIngressPathInput added in v2.5.0

type HTTPIngressPathInput interface {
	pulumi.Input

	ToHTTPIngressPathOutput() HTTPIngressPathOutput
	ToHTTPIngressPathOutputWithContext(context.Context) HTTPIngressPathOutput
}

HTTPIngressPathInput is an input type that accepts HTTPIngressPathArgs and HTTPIngressPathOutput values. You can construct a concrete instance of `HTTPIngressPathInput` via:

HTTPIngressPathArgs{...}

type HTTPIngressPathOutput added in v2.5.0

type HTTPIngressPathOutput struct{ *pulumi.OutputState }

HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.

func (HTTPIngressPathOutput) Backend added in v2.5.0

Backend defines the referenced service endpoint to which the traffic will be forwarded to.

func (HTTPIngressPathOutput) ElementType added in v2.5.0

func (HTTPIngressPathOutput) ElementType() reflect.Type

func (HTTPIngressPathOutput) Path added in v2.5.0

Path is matched against the path of an incoming request. Currently it can contain characters disallowed from the conventional "path" part of a URL as defined by RFC 3986. Paths must begin with a '/'. When unspecified, all paths from incoming requests are matched.

func (HTTPIngressPathOutput) PathType added in v2.5.0

PathType determines the interpretation of the Path matching. PathType can be one of the following values: * Exact: Matches the URL path exactly. * Prefix: Matches based on a URL path prefix split by '/'. Matching is

done on a path element by element basis. A path element refers is the
list of labels in the path split by the '/' separator. A request is a
match for path p if every p is an element-wise prefix of p of the
request path. Note that if the last element of the path is a substring
of the last element in request path, it is not a match (e.g. /foo/bar
matches /foo/bar/baz, but does not match /foo/barbaz).
  • ImplementationSpecific: Interpretation of the Path matching is up to the IngressClass. Implementations can treat this as a separate PathType or treat it identically to Prefix or Exact path types. Implementations are required to support all path types.

func (HTTPIngressPathOutput) ToHTTPIngressPathOutput added in v2.5.0

func (o HTTPIngressPathOutput) ToHTTPIngressPathOutput() HTTPIngressPathOutput

func (HTTPIngressPathOutput) ToHTTPIngressPathOutputWithContext added in v2.5.0

func (o HTTPIngressPathOutput) ToHTTPIngressPathOutputWithContext(ctx context.Context) HTTPIngressPathOutput

type HTTPIngressRuleValue added in v2.5.0

type HTTPIngressRuleValue struct {
	// A collection of paths that map requests to backends.
	Paths []HTTPIngressPath `pulumi:"paths"`
}

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

type HTTPIngressRuleValueArgs added in v2.5.0

type HTTPIngressRuleValueArgs struct {
	// A collection of paths that map requests to backends.
	Paths HTTPIngressPathArrayInput `pulumi:"paths"`
}

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

func (HTTPIngressRuleValueArgs) ElementType added in v2.5.0

func (HTTPIngressRuleValueArgs) ElementType() reflect.Type

func (HTTPIngressRuleValueArgs) ToHTTPIngressRuleValueOutput added in v2.5.0

func (i HTTPIngressRuleValueArgs) ToHTTPIngressRuleValueOutput() HTTPIngressRuleValueOutput

func (HTTPIngressRuleValueArgs) ToHTTPIngressRuleValueOutputWithContext added in v2.5.0

func (i HTTPIngressRuleValueArgs) ToHTTPIngressRuleValueOutputWithContext(ctx context.Context) HTTPIngressRuleValueOutput

func (HTTPIngressRuleValueArgs) ToHTTPIngressRuleValuePtrOutput added in v2.5.0

func (i HTTPIngressRuleValueArgs) ToHTTPIngressRuleValuePtrOutput() HTTPIngressRuleValuePtrOutput

func (HTTPIngressRuleValueArgs) ToHTTPIngressRuleValuePtrOutputWithContext added in v2.5.0

func (i HTTPIngressRuleValueArgs) ToHTTPIngressRuleValuePtrOutputWithContext(ctx context.Context) HTTPIngressRuleValuePtrOutput

type HTTPIngressRuleValueInput added in v2.5.0

type HTTPIngressRuleValueInput interface {
	pulumi.Input

	ToHTTPIngressRuleValueOutput() HTTPIngressRuleValueOutput
	ToHTTPIngressRuleValueOutputWithContext(context.Context) HTTPIngressRuleValueOutput
}

HTTPIngressRuleValueInput is an input type that accepts HTTPIngressRuleValueArgs and HTTPIngressRuleValueOutput values. You can construct a concrete instance of `HTTPIngressRuleValueInput` via:

HTTPIngressRuleValueArgs{...}

type HTTPIngressRuleValueOutput added in v2.5.0

type HTTPIngressRuleValueOutput struct{ *pulumi.OutputState }

HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.

func (HTTPIngressRuleValueOutput) ElementType added in v2.5.0

func (HTTPIngressRuleValueOutput) ElementType() reflect.Type

func (HTTPIngressRuleValueOutput) Paths added in v2.5.0

A collection of paths that map requests to backends.

func (HTTPIngressRuleValueOutput) ToHTTPIngressRuleValueOutput added in v2.5.0

func (o HTTPIngressRuleValueOutput) ToHTTPIngressRuleValueOutput() HTTPIngressRuleValueOutput

func (HTTPIngressRuleValueOutput) ToHTTPIngressRuleValueOutputWithContext added in v2.5.0

func (o HTTPIngressRuleValueOutput) ToHTTPIngressRuleValueOutputWithContext(ctx context.Context) HTTPIngressRuleValueOutput

func (HTTPIngressRuleValueOutput) ToHTTPIngressRuleValuePtrOutput added in v2.5.0

func (o HTTPIngressRuleValueOutput) ToHTTPIngressRuleValuePtrOutput() HTTPIngressRuleValuePtrOutput

func (HTTPIngressRuleValueOutput) ToHTTPIngressRuleValuePtrOutputWithContext added in v2.5.0

func (o HTTPIngressRuleValueOutput) ToHTTPIngressRuleValuePtrOutputWithContext(ctx context.Context) HTTPIngressRuleValuePtrOutput

type HTTPIngressRuleValuePtrInput added in v2.5.0

type HTTPIngressRuleValuePtrInput interface {
	pulumi.Input

	ToHTTPIngressRuleValuePtrOutput() HTTPIngressRuleValuePtrOutput
	ToHTTPIngressRuleValuePtrOutputWithContext(context.Context) HTTPIngressRuleValuePtrOutput
}

HTTPIngressRuleValuePtrInput is an input type that accepts HTTPIngressRuleValueArgs, HTTPIngressRuleValuePtr and HTTPIngressRuleValuePtrOutput values. You can construct a concrete instance of `HTTPIngressRuleValuePtrInput` via:

        HTTPIngressRuleValueArgs{...}

or:

        nil

func HTTPIngressRuleValuePtr added in v2.5.0

func HTTPIngressRuleValuePtr(v *HTTPIngressRuleValueArgs) HTTPIngressRuleValuePtrInput

type HTTPIngressRuleValuePtrOutput added in v2.5.0

type HTTPIngressRuleValuePtrOutput struct{ *pulumi.OutputState }

func (HTTPIngressRuleValuePtrOutput) Elem added in v2.5.0

func (HTTPIngressRuleValuePtrOutput) ElementType added in v2.5.0

func (HTTPIngressRuleValuePtrOutput) Paths added in v2.5.0

A collection of paths that map requests to backends.

func (HTTPIngressRuleValuePtrOutput) ToHTTPIngressRuleValuePtrOutput added in v2.5.0

func (o HTTPIngressRuleValuePtrOutput) ToHTTPIngressRuleValuePtrOutput() HTTPIngressRuleValuePtrOutput

func (HTTPIngressRuleValuePtrOutput) ToHTTPIngressRuleValuePtrOutputWithContext added in v2.5.0

func (o HTTPIngressRuleValuePtrOutput) ToHTTPIngressRuleValuePtrOutputWithContext(ctx context.Context) HTTPIngressRuleValuePtrOutput

type IPBlock

type IPBlock struct {
	// CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64"
	Cidr string `pulumi:"cidr"`
	// Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range
	Except []string `pulumi:"except"`
}

IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

type IPBlockArgs

type IPBlockArgs struct {
	// CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64"
	Cidr pulumi.StringInput `pulumi:"cidr"`
	// Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range
	Except pulumi.StringArrayInput `pulumi:"except"`
}

IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

func (IPBlockArgs) ElementType

func (IPBlockArgs) ElementType() reflect.Type

func (IPBlockArgs) ToIPBlockOutput

func (i IPBlockArgs) ToIPBlockOutput() IPBlockOutput

func (IPBlockArgs) ToIPBlockOutputWithContext

func (i IPBlockArgs) ToIPBlockOutputWithContext(ctx context.Context) IPBlockOutput

func (IPBlockArgs) ToIPBlockPtrOutput

func (i IPBlockArgs) ToIPBlockPtrOutput() IPBlockPtrOutput

func (IPBlockArgs) ToIPBlockPtrOutputWithContext

func (i IPBlockArgs) ToIPBlockPtrOutputWithContext(ctx context.Context) IPBlockPtrOutput

type IPBlockInput

type IPBlockInput interface {
	pulumi.Input

	ToIPBlockOutput() IPBlockOutput
	ToIPBlockOutputWithContext(context.Context) IPBlockOutput
}

IPBlockInput is an input type that accepts IPBlockArgs and IPBlockOutput values. You can construct a concrete instance of `IPBlockInput` via:

IPBlockArgs{...}

type IPBlockOutput

type IPBlockOutput struct{ *pulumi.OutputState }

IPBlock describes a particular CIDR (Ex. "192.168.1.1/24","2001:db9::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.

func (IPBlockOutput) Cidr

CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64"

func (IPBlockOutput) ElementType

func (IPBlockOutput) ElementType() reflect.Type

func (IPBlockOutput) Except

Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range

func (IPBlockOutput) ToIPBlockOutput

func (o IPBlockOutput) ToIPBlockOutput() IPBlockOutput

func (IPBlockOutput) ToIPBlockOutputWithContext

func (o IPBlockOutput) ToIPBlockOutputWithContext(ctx context.Context) IPBlockOutput

func (IPBlockOutput) ToIPBlockPtrOutput

func (o IPBlockOutput) ToIPBlockPtrOutput() IPBlockPtrOutput

func (IPBlockOutput) ToIPBlockPtrOutputWithContext

func (o IPBlockOutput) ToIPBlockPtrOutputWithContext(ctx context.Context) IPBlockPtrOutput

type IPBlockPtrInput

type IPBlockPtrInput interface {
	pulumi.Input

	ToIPBlockPtrOutput() IPBlockPtrOutput
	ToIPBlockPtrOutputWithContext(context.Context) IPBlockPtrOutput
}

IPBlockPtrInput is an input type that accepts IPBlockArgs, IPBlockPtr and IPBlockPtrOutput values. You can construct a concrete instance of `IPBlockPtrInput` via:

        IPBlockArgs{...}

or:

        nil

func IPBlockPtr

func IPBlockPtr(v *IPBlockArgs) IPBlockPtrInput

type IPBlockPtrOutput

type IPBlockPtrOutput struct{ *pulumi.OutputState }

func (IPBlockPtrOutput) Cidr

CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64"

func (IPBlockPtrOutput) Elem

func (IPBlockPtrOutput) ElementType

func (IPBlockPtrOutput) ElementType() reflect.Type

func (IPBlockPtrOutput) Except

Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" or "2001:db9::/64" Except values will be rejected if they are outside the CIDR range

func (IPBlockPtrOutput) ToIPBlockPtrOutput

func (o IPBlockPtrOutput) ToIPBlockPtrOutput() IPBlockPtrOutput

func (IPBlockPtrOutput) ToIPBlockPtrOutputWithContext

func (o IPBlockPtrOutput) ToIPBlockPtrOutputWithContext(ctx context.Context) IPBlockPtrOutput

type Ingress added in v2.5.0

type Ingress struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressSpecPtrOutput `pulumi:"spec"`
	// Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status IngressStatusPtrOutput `pulumi:"status"`
}

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. Ingress object exists.
  2. Endpoint objects exist with matching names for each Ingress path (except when Service type is ExternalName).
  3. Ingress entry exists for '.status.loadBalancer.ingress'.

If the Ingress has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func GetIngress added in v2.5.0

func GetIngress(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IngressState, opts ...pulumi.ResourceOption) (*Ingress, error)

GetIngress gets an existing Ingress resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIngress added in v2.5.0

func NewIngress(ctx *pulumi.Context,
	name string, args *IngressArgs, opts ...pulumi.ResourceOption) (*Ingress, error)

NewIngress registers a new resource with the given unique name, arguments, and options.

func (*Ingress) ElementType added in v2.7.2

func (*Ingress) ElementType() reflect.Type

func (*Ingress) ToIngressOutput added in v2.7.2

func (i *Ingress) ToIngressOutput() IngressOutput

func (*Ingress) ToIngressOutputWithContext added in v2.7.2

func (i *Ingress) ToIngressOutputWithContext(ctx context.Context) IngressOutput

func (*Ingress) ToIngressPtrOutput added in v2.7.7

func (i *Ingress) ToIngressPtrOutput() IngressPtrOutput

func (*Ingress) ToIngressPtrOutputWithContext added in v2.7.7

func (i *Ingress) ToIngressPtrOutputWithContext(ctx context.Context) IngressPtrOutput

type IngressArgs added in v2.5.0

type IngressArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressSpecPtrInput
}

The set of arguments for constructing a Ingress resource.

func (IngressArgs) ElementType added in v2.5.0

func (IngressArgs) ElementType() reflect.Type

type IngressArray added in v2.7.7

type IngressArray []IngressInput

func (IngressArray) ElementType added in v2.7.7

func (IngressArray) ElementType() reflect.Type

func (IngressArray) ToIngressArrayOutput added in v2.7.7

func (i IngressArray) ToIngressArrayOutput() IngressArrayOutput

func (IngressArray) ToIngressArrayOutputWithContext added in v2.7.7

func (i IngressArray) ToIngressArrayOutputWithContext(ctx context.Context) IngressArrayOutput

type IngressArrayInput added in v2.7.7

type IngressArrayInput interface {
	pulumi.Input

	ToIngressArrayOutput() IngressArrayOutput
	ToIngressArrayOutputWithContext(context.Context) IngressArrayOutput
}

IngressArrayInput is an input type that accepts IngressArray and IngressArrayOutput values. You can construct a concrete instance of `IngressArrayInput` via:

IngressArray{ IngressArgs{...} }

type IngressArrayOutput added in v2.7.7

type IngressArrayOutput struct{ *pulumi.OutputState }

func (IngressArrayOutput) ElementType added in v2.7.7

func (IngressArrayOutput) ElementType() reflect.Type

func (IngressArrayOutput) Index added in v2.7.7

func (IngressArrayOutput) ToIngressArrayOutput added in v2.7.7

func (o IngressArrayOutput) ToIngressArrayOutput() IngressArrayOutput

func (IngressArrayOutput) ToIngressArrayOutputWithContext added in v2.7.7

func (o IngressArrayOutput) ToIngressArrayOutputWithContext(ctx context.Context) IngressArrayOutput

type IngressBackend added in v2.5.0

type IngressBackend struct {
	// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".
	Resource *corev1.TypedLocalObjectReference `pulumi:"resource"`
	// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".
	Service *IngressServiceBackend `pulumi:"service"`
}

IngressBackend describes all endpoints for a given service and port.

type IngressBackendArgs added in v2.5.0

type IngressBackendArgs struct {
	// Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".
	Resource corev1.TypedLocalObjectReferencePtrInput `pulumi:"resource"`
	// Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".
	Service IngressServiceBackendPtrInput `pulumi:"service"`
}

IngressBackend describes all endpoints for a given service and port.

func (IngressBackendArgs) ElementType added in v2.5.0

func (IngressBackendArgs) ElementType() reflect.Type

func (IngressBackendArgs) ToIngressBackendOutput added in v2.5.0

func (i IngressBackendArgs) ToIngressBackendOutput() IngressBackendOutput

func (IngressBackendArgs) ToIngressBackendOutputWithContext added in v2.5.0

func (i IngressBackendArgs) ToIngressBackendOutputWithContext(ctx context.Context) IngressBackendOutput

func (IngressBackendArgs) ToIngressBackendPtrOutput added in v2.5.0

func (i IngressBackendArgs) ToIngressBackendPtrOutput() IngressBackendPtrOutput

func (IngressBackendArgs) ToIngressBackendPtrOutputWithContext added in v2.5.0

func (i IngressBackendArgs) ToIngressBackendPtrOutputWithContext(ctx context.Context) IngressBackendPtrOutput

type IngressBackendInput added in v2.5.0

type IngressBackendInput interface {
	pulumi.Input

	ToIngressBackendOutput() IngressBackendOutput
	ToIngressBackendOutputWithContext(context.Context) IngressBackendOutput
}

IngressBackendInput is an input type that accepts IngressBackendArgs and IngressBackendOutput values. You can construct a concrete instance of `IngressBackendInput` via:

IngressBackendArgs{...}

type IngressBackendOutput added in v2.5.0

type IngressBackendOutput struct{ *pulumi.OutputState }

IngressBackend describes all endpoints for a given service and port.

func (IngressBackendOutput) ElementType added in v2.5.0

func (IngressBackendOutput) ElementType() reflect.Type

func (IngressBackendOutput) Resource added in v2.5.0

Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".

func (IngressBackendOutput) Service added in v2.5.0

Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".

func (IngressBackendOutput) ToIngressBackendOutput added in v2.5.0

func (o IngressBackendOutput) ToIngressBackendOutput() IngressBackendOutput

func (IngressBackendOutput) ToIngressBackendOutputWithContext added in v2.5.0

func (o IngressBackendOutput) ToIngressBackendOutputWithContext(ctx context.Context) IngressBackendOutput

func (IngressBackendOutput) ToIngressBackendPtrOutput added in v2.5.0

func (o IngressBackendOutput) ToIngressBackendPtrOutput() IngressBackendPtrOutput

func (IngressBackendOutput) ToIngressBackendPtrOutputWithContext added in v2.5.0

func (o IngressBackendOutput) ToIngressBackendPtrOutputWithContext(ctx context.Context) IngressBackendPtrOutput

type IngressBackendPtrInput added in v2.5.0

type IngressBackendPtrInput interface {
	pulumi.Input

	ToIngressBackendPtrOutput() IngressBackendPtrOutput
	ToIngressBackendPtrOutputWithContext(context.Context) IngressBackendPtrOutput
}

IngressBackendPtrInput is an input type that accepts IngressBackendArgs, IngressBackendPtr and IngressBackendPtrOutput values. You can construct a concrete instance of `IngressBackendPtrInput` via:

        IngressBackendArgs{...}

or:

        nil

func IngressBackendPtr added in v2.5.0

func IngressBackendPtr(v *IngressBackendArgs) IngressBackendPtrInput

type IngressBackendPtrOutput added in v2.5.0

type IngressBackendPtrOutput struct{ *pulumi.OutputState }

func (IngressBackendPtrOutput) Elem added in v2.5.0

func (IngressBackendPtrOutput) ElementType added in v2.5.0

func (IngressBackendPtrOutput) ElementType() reflect.Type

func (IngressBackendPtrOutput) Resource added in v2.5.0

Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".

func (IngressBackendPtrOutput) Service added in v2.5.0

Service references a Service as a Backend. This is a mutually exclusive setting with "Resource".

func (IngressBackendPtrOutput) ToIngressBackendPtrOutput added in v2.5.0

func (o IngressBackendPtrOutput) ToIngressBackendPtrOutput() IngressBackendPtrOutput

func (IngressBackendPtrOutput) ToIngressBackendPtrOutputWithContext added in v2.5.0

func (o IngressBackendPtrOutput) ToIngressBackendPtrOutputWithContext(ctx context.Context) IngressBackendPtrOutput

type IngressClass added in v2.5.0

type IngressClass struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressClassSpecPtrOutput `pulumi:"spec"`
}

IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

func GetIngressClass added in v2.5.0

func GetIngressClass(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IngressClassState, opts ...pulumi.ResourceOption) (*IngressClass, error)

GetIngressClass gets an existing IngressClass resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIngressClass added in v2.5.0

func NewIngressClass(ctx *pulumi.Context,
	name string, args *IngressClassArgs, opts ...pulumi.ResourceOption) (*IngressClass, error)

NewIngressClass registers a new resource with the given unique name, arguments, and options.

func (*IngressClass) ElementType added in v2.7.2

func (*IngressClass) ElementType() reflect.Type

func (*IngressClass) ToIngressClassOutput added in v2.7.2

func (i *IngressClass) ToIngressClassOutput() IngressClassOutput

func (*IngressClass) ToIngressClassOutputWithContext added in v2.7.2

func (i *IngressClass) ToIngressClassOutputWithContext(ctx context.Context) IngressClassOutput

func (*IngressClass) ToIngressClassPtrOutput added in v2.7.7

func (i *IngressClass) ToIngressClassPtrOutput() IngressClassPtrOutput

func (*IngressClass) ToIngressClassPtrOutputWithContext added in v2.7.7

func (i *IngressClass) ToIngressClassPtrOutputWithContext(ctx context.Context) IngressClassPtrOutput

type IngressClassArgs added in v2.5.0

type IngressClassArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressClassSpecPtrInput
}

The set of arguments for constructing a IngressClass resource.

func (IngressClassArgs) ElementType added in v2.5.0

func (IngressClassArgs) ElementType() reflect.Type

type IngressClassArray added in v2.7.7

type IngressClassArray []IngressClassInput

func (IngressClassArray) ElementType added in v2.7.7

func (IngressClassArray) ElementType() reflect.Type

func (IngressClassArray) ToIngressClassArrayOutput added in v2.7.7

func (i IngressClassArray) ToIngressClassArrayOutput() IngressClassArrayOutput

func (IngressClassArray) ToIngressClassArrayOutputWithContext added in v2.7.7

func (i IngressClassArray) ToIngressClassArrayOutputWithContext(ctx context.Context) IngressClassArrayOutput

type IngressClassArrayInput added in v2.7.7

type IngressClassArrayInput interface {
	pulumi.Input

	ToIngressClassArrayOutput() IngressClassArrayOutput
	ToIngressClassArrayOutputWithContext(context.Context) IngressClassArrayOutput
}

IngressClassArrayInput is an input type that accepts IngressClassArray and IngressClassArrayOutput values. You can construct a concrete instance of `IngressClassArrayInput` via:

IngressClassArray{ IngressClassArgs{...} }

type IngressClassArrayOutput added in v2.7.7

type IngressClassArrayOutput struct{ *pulumi.OutputState }

func (IngressClassArrayOutput) ElementType added in v2.7.7

func (IngressClassArrayOutput) ElementType() reflect.Type

func (IngressClassArrayOutput) Index added in v2.7.7

func (IngressClassArrayOutput) ToIngressClassArrayOutput added in v2.7.7

func (o IngressClassArrayOutput) ToIngressClassArrayOutput() IngressClassArrayOutput

func (IngressClassArrayOutput) ToIngressClassArrayOutputWithContext added in v2.7.7

func (o IngressClassArrayOutput) ToIngressClassArrayOutputWithContext(ctx context.Context) IngressClassArrayOutput

type IngressClassInput added in v2.7.2

type IngressClassInput interface {
	pulumi.Input

	ToIngressClassOutput() IngressClassOutput
	ToIngressClassOutputWithContext(ctx context.Context) IngressClassOutput
}

type IngressClassList added in v2.5.0

type IngressClassList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrOutput `pulumi:"apiVersion"`
	// Items is the list of IngressClasses.
	Items IngressClassTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata.
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

IngressClassList is a collection of IngressClasses.

func GetIngressClassList added in v2.5.0

func GetIngressClassList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IngressClassListState, opts ...pulumi.ResourceOption) (*IngressClassList, error)

GetIngressClassList gets an existing IngressClassList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIngressClassList added in v2.5.0

func NewIngressClassList(ctx *pulumi.Context,
	name string, args *IngressClassListArgs, opts ...pulumi.ResourceOption) (*IngressClassList, error)

NewIngressClassList registers a new resource with the given unique name, arguments, and options.

func (*IngressClassList) ElementType added in v2.7.2

func (*IngressClassList) ElementType() reflect.Type

func (*IngressClassList) ToIngressClassListOutput added in v2.7.2

func (i *IngressClassList) ToIngressClassListOutput() IngressClassListOutput

func (*IngressClassList) ToIngressClassListOutputWithContext added in v2.7.2

func (i *IngressClassList) ToIngressClassListOutputWithContext(ctx context.Context) IngressClassListOutput

func (*IngressClassList) ToIngressClassListPtrOutput added in v2.7.7

func (i *IngressClassList) ToIngressClassListPtrOutput() IngressClassListPtrOutput

func (*IngressClassList) ToIngressClassListPtrOutputWithContext added in v2.7.7

func (i *IngressClassList) ToIngressClassListPtrOutputWithContext(ctx context.Context) IngressClassListPtrOutput

type IngressClassListArgs added in v2.5.0

type IngressClassListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Items is the list of IngressClasses.
	Items IngressClassTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard list metadata.
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a IngressClassList resource.

func (IngressClassListArgs) ElementType added in v2.5.0

func (IngressClassListArgs) ElementType() reflect.Type

type IngressClassListArray added in v2.7.7

type IngressClassListArray []IngressClassListInput

func (IngressClassListArray) ElementType added in v2.7.7

func (IngressClassListArray) ElementType() reflect.Type

func (IngressClassListArray) ToIngressClassListArrayOutput added in v2.7.7

func (i IngressClassListArray) ToIngressClassListArrayOutput() IngressClassListArrayOutput

func (IngressClassListArray) ToIngressClassListArrayOutputWithContext added in v2.7.7

func (i IngressClassListArray) ToIngressClassListArrayOutputWithContext(ctx context.Context) IngressClassListArrayOutput

type IngressClassListArrayInput added in v2.7.7

type IngressClassListArrayInput interface {
	pulumi.Input

	ToIngressClassListArrayOutput() IngressClassListArrayOutput
	ToIngressClassListArrayOutputWithContext(context.Context) IngressClassListArrayOutput
}

IngressClassListArrayInput is an input type that accepts IngressClassListArray and IngressClassListArrayOutput values. You can construct a concrete instance of `IngressClassListArrayInput` via:

IngressClassListArray{ IngressClassListArgs{...} }

type IngressClassListArrayOutput added in v2.7.7

type IngressClassListArrayOutput struct{ *pulumi.OutputState }

func (IngressClassListArrayOutput) ElementType added in v2.7.7

func (IngressClassListArrayOutput) Index added in v2.7.7

func (IngressClassListArrayOutput) ToIngressClassListArrayOutput added in v2.7.7

func (o IngressClassListArrayOutput) ToIngressClassListArrayOutput() IngressClassListArrayOutput

func (IngressClassListArrayOutput) ToIngressClassListArrayOutputWithContext added in v2.7.7

func (o IngressClassListArrayOutput) ToIngressClassListArrayOutputWithContext(ctx context.Context) IngressClassListArrayOutput

type IngressClassListInput added in v2.7.2

type IngressClassListInput interface {
	pulumi.Input

	ToIngressClassListOutput() IngressClassListOutput
	ToIngressClassListOutputWithContext(ctx context.Context) IngressClassListOutput
}

type IngressClassListMap added in v2.7.7

type IngressClassListMap map[string]IngressClassListInput

func (IngressClassListMap) ElementType added in v2.7.7

func (IngressClassListMap) ElementType() reflect.Type

func (IngressClassListMap) ToIngressClassListMapOutput added in v2.7.7

func (i IngressClassListMap) ToIngressClassListMapOutput() IngressClassListMapOutput

func (IngressClassListMap) ToIngressClassListMapOutputWithContext added in v2.7.7

func (i IngressClassListMap) ToIngressClassListMapOutputWithContext(ctx context.Context) IngressClassListMapOutput

type IngressClassListMapInput added in v2.7.7

type IngressClassListMapInput interface {
	pulumi.Input

	ToIngressClassListMapOutput() IngressClassListMapOutput
	ToIngressClassListMapOutputWithContext(context.Context) IngressClassListMapOutput
}

IngressClassListMapInput is an input type that accepts IngressClassListMap and IngressClassListMapOutput values. You can construct a concrete instance of `IngressClassListMapInput` via:

IngressClassListMap{ "key": IngressClassListArgs{...} }

type IngressClassListMapOutput added in v2.7.7

type IngressClassListMapOutput struct{ *pulumi.OutputState }

func (IngressClassListMapOutput) ElementType added in v2.7.7

func (IngressClassListMapOutput) ElementType() reflect.Type

func (IngressClassListMapOutput) MapIndex added in v2.7.7

func (IngressClassListMapOutput) ToIngressClassListMapOutput added in v2.7.7

func (o IngressClassListMapOutput) ToIngressClassListMapOutput() IngressClassListMapOutput

func (IngressClassListMapOutput) ToIngressClassListMapOutputWithContext added in v2.7.7

func (o IngressClassListMapOutput) ToIngressClassListMapOutputWithContext(ctx context.Context) IngressClassListMapOutput

type IngressClassListOutput added in v2.7.2

type IngressClassListOutput struct {
	*pulumi.OutputState
}

func (IngressClassListOutput) ElementType added in v2.7.2

func (IngressClassListOutput) ElementType() reflect.Type

func (IngressClassListOutput) ToIngressClassListOutput added in v2.7.2

func (o IngressClassListOutput) ToIngressClassListOutput() IngressClassListOutput

func (IngressClassListOutput) ToIngressClassListOutputWithContext added in v2.7.2

func (o IngressClassListOutput) ToIngressClassListOutputWithContext(ctx context.Context) IngressClassListOutput

func (IngressClassListOutput) ToIngressClassListPtrOutput added in v2.7.7

func (o IngressClassListOutput) ToIngressClassListPtrOutput() IngressClassListPtrOutput

func (IngressClassListOutput) ToIngressClassListPtrOutputWithContext added in v2.7.7

func (o IngressClassListOutput) ToIngressClassListPtrOutputWithContext(ctx context.Context) IngressClassListPtrOutput

type IngressClassListPtrInput added in v2.7.7

type IngressClassListPtrInput interface {
	pulumi.Input

	ToIngressClassListPtrOutput() IngressClassListPtrOutput
	ToIngressClassListPtrOutputWithContext(ctx context.Context) IngressClassListPtrOutput
}

type IngressClassListPtrOutput added in v2.7.7

type IngressClassListPtrOutput struct {
	*pulumi.OutputState
}

func (IngressClassListPtrOutput) ElementType added in v2.7.7

func (IngressClassListPtrOutput) ElementType() reflect.Type

func (IngressClassListPtrOutput) ToIngressClassListPtrOutput added in v2.7.7

func (o IngressClassListPtrOutput) ToIngressClassListPtrOutput() IngressClassListPtrOutput

func (IngressClassListPtrOutput) ToIngressClassListPtrOutputWithContext added in v2.7.7

func (o IngressClassListPtrOutput) ToIngressClassListPtrOutputWithContext(ctx context.Context) IngressClassListPtrOutput

type IngressClassListState added in v2.5.0

type IngressClassListState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Items is the list of IngressClasses.
	Items IngressClassTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard list metadata.
	Metadata metav1.ListMetaPtrInput
}

func (IngressClassListState) ElementType added in v2.5.0

func (IngressClassListState) ElementType() reflect.Type

type IngressClassListType added in v2.5.0

type IngressClassListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 *string `pulumi:"apiVersion"`
	// Items is the list of IngressClasses.
	Items []IngressClassType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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 *string `pulumi:"kind"`
	// Standard list metadata.
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

IngressClassList is a collection of IngressClasses.

type IngressClassListTypeArgs added in v2.5.0

type IngressClassListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of IngressClasses.
	Items IngressClassTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput `pulumi:"kind"`
	// Standard list metadata.
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

IngressClassList is a collection of IngressClasses.

func (IngressClassListTypeArgs) ElementType added in v2.5.0

func (IngressClassListTypeArgs) ElementType() reflect.Type

func (IngressClassListTypeArgs) ToIngressClassListTypeOutput added in v2.5.0

func (i IngressClassListTypeArgs) ToIngressClassListTypeOutput() IngressClassListTypeOutput

func (IngressClassListTypeArgs) ToIngressClassListTypeOutputWithContext added in v2.5.0

func (i IngressClassListTypeArgs) ToIngressClassListTypeOutputWithContext(ctx context.Context) IngressClassListTypeOutput

type IngressClassListTypeInput added in v2.5.0

type IngressClassListTypeInput interface {
	pulumi.Input

	ToIngressClassListTypeOutput() IngressClassListTypeOutput
	ToIngressClassListTypeOutputWithContext(context.Context) IngressClassListTypeOutput
}

IngressClassListTypeInput is an input type that accepts IngressClassListTypeArgs and IngressClassListTypeOutput values. You can construct a concrete instance of `IngressClassListTypeInput` via:

IngressClassListTypeArgs{...}

type IngressClassListTypeOutput added in v2.5.0

type IngressClassListTypeOutput struct{ *pulumi.OutputState }

IngressClassList is a collection of IngressClasses.

func (IngressClassListTypeOutput) ApiVersion added in v2.5.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (IngressClassListTypeOutput) ElementType added in v2.5.0

func (IngressClassListTypeOutput) ElementType() reflect.Type

func (IngressClassListTypeOutput) Items added in v2.5.0

Items is the list of IngressClasses.

func (IngressClassListTypeOutput) Kind added in v2.5.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (IngressClassListTypeOutput) Metadata added in v2.5.0

Standard list metadata.

func (IngressClassListTypeOutput) ToIngressClassListTypeOutput added in v2.5.0

func (o IngressClassListTypeOutput) ToIngressClassListTypeOutput() IngressClassListTypeOutput

func (IngressClassListTypeOutput) ToIngressClassListTypeOutputWithContext added in v2.5.0

func (o IngressClassListTypeOutput) ToIngressClassListTypeOutputWithContext(ctx context.Context) IngressClassListTypeOutput

type IngressClassMap added in v2.7.7

type IngressClassMap map[string]IngressClassInput

func (IngressClassMap) ElementType added in v2.7.7

func (IngressClassMap) ElementType() reflect.Type

func (IngressClassMap) ToIngressClassMapOutput added in v2.7.7

func (i IngressClassMap) ToIngressClassMapOutput() IngressClassMapOutput

func (IngressClassMap) ToIngressClassMapOutputWithContext added in v2.7.7

func (i IngressClassMap) ToIngressClassMapOutputWithContext(ctx context.Context) IngressClassMapOutput

type IngressClassMapInput added in v2.7.7

type IngressClassMapInput interface {
	pulumi.Input

	ToIngressClassMapOutput() IngressClassMapOutput
	ToIngressClassMapOutputWithContext(context.Context) IngressClassMapOutput
}

IngressClassMapInput is an input type that accepts IngressClassMap and IngressClassMapOutput values. You can construct a concrete instance of `IngressClassMapInput` via:

IngressClassMap{ "key": IngressClassArgs{...} }

type IngressClassMapOutput added in v2.7.7

type IngressClassMapOutput struct{ *pulumi.OutputState }

func (IngressClassMapOutput) ElementType added in v2.7.7

func (IngressClassMapOutput) ElementType() reflect.Type

func (IngressClassMapOutput) MapIndex added in v2.7.7

func (IngressClassMapOutput) ToIngressClassMapOutput added in v2.7.7

func (o IngressClassMapOutput) ToIngressClassMapOutput() IngressClassMapOutput

func (IngressClassMapOutput) ToIngressClassMapOutputWithContext added in v2.7.7

func (o IngressClassMapOutput) ToIngressClassMapOutputWithContext(ctx context.Context) IngressClassMapOutput

type IngressClassOutput added in v2.7.2

type IngressClassOutput struct {
	*pulumi.OutputState
}

func (IngressClassOutput) ElementType added in v2.7.2

func (IngressClassOutput) ElementType() reflect.Type

func (IngressClassOutput) ToIngressClassOutput added in v2.7.2

func (o IngressClassOutput) ToIngressClassOutput() IngressClassOutput

func (IngressClassOutput) ToIngressClassOutputWithContext added in v2.7.2

func (o IngressClassOutput) ToIngressClassOutputWithContext(ctx context.Context) IngressClassOutput

func (IngressClassOutput) ToIngressClassPtrOutput added in v2.7.7

func (o IngressClassOutput) ToIngressClassPtrOutput() IngressClassPtrOutput

func (IngressClassOutput) ToIngressClassPtrOutputWithContext added in v2.7.7

func (o IngressClassOutput) ToIngressClassPtrOutputWithContext(ctx context.Context) IngressClassPtrOutput

type IngressClassParametersReference added in v2.9.0

type IngressClassParametersReference struct {
	// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
	ApiGroup *string `pulumi:"apiGroup"`
	// Kind is the type of resource being referenced.
	Kind string `pulumi:"kind"`
	// Name is the name of resource being referenced.
	Name string `pulumi:"name"`
	// Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".
	Namespace *string `pulumi:"namespace"`
	// Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.
	Scope *string `pulumi:"scope"`
}

IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.

type IngressClassParametersReferenceArgs added in v2.9.0

type IngressClassParametersReferenceArgs struct {
	// APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
	ApiGroup pulumi.StringPtrInput `pulumi:"apiGroup"`
	// Kind is the type of resource being referenced.
	Kind pulumi.StringInput `pulumi:"kind"`
	// Name is the name of resource being referenced.
	Name pulumi.StringInput `pulumi:"name"`
	// Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".
	Namespace pulumi.StringPtrInput `pulumi:"namespace"`
	// Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.
	Scope pulumi.StringPtrInput `pulumi:"scope"`
}

IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.

func (IngressClassParametersReferenceArgs) ElementType added in v2.9.0

func (IngressClassParametersReferenceArgs) ToIngressClassParametersReferenceOutput added in v2.9.0

func (i IngressClassParametersReferenceArgs) ToIngressClassParametersReferenceOutput() IngressClassParametersReferenceOutput

func (IngressClassParametersReferenceArgs) ToIngressClassParametersReferenceOutputWithContext added in v2.9.0

func (i IngressClassParametersReferenceArgs) ToIngressClassParametersReferenceOutputWithContext(ctx context.Context) IngressClassParametersReferenceOutput

func (IngressClassParametersReferenceArgs) ToIngressClassParametersReferencePtrOutput added in v2.9.0

func (i IngressClassParametersReferenceArgs) ToIngressClassParametersReferencePtrOutput() IngressClassParametersReferencePtrOutput

func (IngressClassParametersReferenceArgs) ToIngressClassParametersReferencePtrOutputWithContext added in v2.9.0

func (i IngressClassParametersReferenceArgs) ToIngressClassParametersReferencePtrOutputWithContext(ctx context.Context) IngressClassParametersReferencePtrOutput

type IngressClassParametersReferenceInput added in v2.9.0

type IngressClassParametersReferenceInput interface {
	pulumi.Input

	ToIngressClassParametersReferenceOutput() IngressClassParametersReferenceOutput
	ToIngressClassParametersReferenceOutputWithContext(context.Context) IngressClassParametersReferenceOutput
}

IngressClassParametersReferenceInput is an input type that accepts IngressClassParametersReferenceArgs and IngressClassParametersReferenceOutput values. You can construct a concrete instance of `IngressClassParametersReferenceInput` via:

IngressClassParametersReferenceArgs{...}

type IngressClassParametersReferenceOutput added in v2.9.0

type IngressClassParametersReferenceOutput struct{ *pulumi.OutputState }

IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.

func (IngressClassParametersReferenceOutput) ApiGroup added in v2.9.0

APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

func (IngressClassParametersReferenceOutput) ElementType added in v2.9.0

func (IngressClassParametersReferenceOutput) Kind added in v2.9.0

Kind is the type of resource being referenced.

func (IngressClassParametersReferenceOutput) Name added in v2.9.0

Name is the name of resource being referenced.

func (IngressClassParametersReferenceOutput) Namespace added in v2.9.0

Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".

func (IngressClassParametersReferenceOutput) Scope added in v2.9.0

Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.

func (IngressClassParametersReferenceOutput) ToIngressClassParametersReferenceOutput added in v2.9.0

func (o IngressClassParametersReferenceOutput) ToIngressClassParametersReferenceOutput() IngressClassParametersReferenceOutput

func (IngressClassParametersReferenceOutput) ToIngressClassParametersReferenceOutputWithContext added in v2.9.0

func (o IngressClassParametersReferenceOutput) ToIngressClassParametersReferenceOutputWithContext(ctx context.Context) IngressClassParametersReferenceOutput

func (IngressClassParametersReferenceOutput) ToIngressClassParametersReferencePtrOutput added in v2.9.0

func (o IngressClassParametersReferenceOutput) ToIngressClassParametersReferencePtrOutput() IngressClassParametersReferencePtrOutput

func (IngressClassParametersReferenceOutput) ToIngressClassParametersReferencePtrOutputWithContext added in v2.9.0

func (o IngressClassParametersReferenceOutput) ToIngressClassParametersReferencePtrOutputWithContext(ctx context.Context) IngressClassParametersReferencePtrOutput

type IngressClassParametersReferencePtrInput added in v2.9.0

type IngressClassParametersReferencePtrInput interface {
	pulumi.Input

	ToIngressClassParametersReferencePtrOutput() IngressClassParametersReferencePtrOutput
	ToIngressClassParametersReferencePtrOutputWithContext(context.Context) IngressClassParametersReferencePtrOutput
}

IngressClassParametersReferencePtrInput is an input type that accepts IngressClassParametersReferenceArgs, IngressClassParametersReferencePtr and IngressClassParametersReferencePtrOutput values. You can construct a concrete instance of `IngressClassParametersReferencePtrInput` via:

        IngressClassParametersReferenceArgs{...}

or:

        nil

type IngressClassParametersReferencePtrOutput added in v2.9.0

type IngressClassParametersReferencePtrOutput struct{ *pulumi.OutputState }

func (IngressClassParametersReferencePtrOutput) ApiGroup added in v2.9.0

APIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.

func (IngressClassParametersReferencePtrOutput) Elem added in v2.9.0

func (IngressClassParametersReferencePtrOutput) ElementType added in v2.9.0

func (IngressClassParametersReferencePtrOutput) Kind added in v2.9.0

Kind is the type of resource being referenced.

func (IngressClassParametersReferencePtrOutput) Name added in v2.9.0

Name is the name of resource being referenced.

func (IngressClassParametersReferencePtrOutput) Namespace added in v2.9.0

Namespace is the namespace of the resource being referenced. This field is required when scope is set to "Namespace" and must be unset when scope is set to "Cluster".

func (IngressClassParametersReferencePtrOutput) Scope added in v2.9.0

Scope represents if this refers to a cluster or namespace scoped resource. This may be set to "Cluster" (default) or "Namespace". Field can be enabled with IngressClassNamespacedParams feature gate.

func (IngressClassParametersReferencePtrOutput) ToIngressClassParametersReferencePtrOutput added in v2.9.0

func (o IngressClassParametersReferencePtrOutput) ToIngressClassParametersReferencePtrOutput() IngressClassParametersReferencePtrOutput

func (IngressClassParametersReferencePtrOutput) ToIngressClassParametersReferencePtrOutputWithContext added in v2.9.0

func (o IngressClassParametersReferencePtrOutput) ToIngressClassParametersReferencePtrOutputWithContext(ctx context.Context) IngressClassParametersReferencePtrOutput

type IngressClassPtrInput added in v2.7.7

type IngressClassPtrInput interface {
	pulumi.Input

	ToIngressClassPtrOutput() IngressClassPtrOutput
	ToIngressClassPtrOutputWithContext(ctx context.Context) IngressClassPtrOutput
}

type IngressClassPtrOutput added in v2.7.7

type IngressClassPtrOutput struct {
	*pulumi.OutputState
}

func (IngressClassPtrOutput) ElementType added in v2.7.7

func (IngressClassPtrOutput) ElementType() reflect.Type

func (IngressClassPtrOutput) ToIngressClassPtrOutput added in v2.7.7

func (o IngressClassPtrOutput) ToIngressClassPtrOutput() IngressClassPtrOutput

func (IngressClassPtrOutput) ToIngressClassPtrOutputWithContext added in v2.7.7

func (o IngressClassPtrOutput) ToIngressClassPtrOutputWithContext(ctx context.Context) IngressClassPtrOutput

type IngressClassSpec added in v2.5.0

type IngressClassSpec struct {
	// Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.
	Controller *string `pulumi:"controller"`
	// Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.
	Parameters *IngressClassParametersReference `pulumi:"parameters"`
}

IngressClassSpec provides information about the class of an Ingress.

type IngressClassSpecArgs added in v2.5.0

type IngressClassSpecArgs struct {
	// Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.
	Controller pulumi.StringPtrInput `pulumi:"controller"`
	// Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.
	Parameters IngressClassParametersReferencePtrInput `pulumi:"parameters"`
}

IngressClassSpec provides information about the class of an Ingress.

func (IngressClassSpecArgs) ElementType added in v2.5.0

func (IngressClassSpecArgs) ElementType() reflect.Type

func (IngressClassSpecArgs) ToIngressClassSpecOutput added in v2.5.0

func (i IngressClassSpecArgs) ToIngressClassSpecOutput() IngressClassSpecOutput

func (IngressClassSpecArgs) ToIngressClassSpecOutputWithContext added in v2.5.0

func (i IngressClassSpecArgs) ToIngressClassSpecOutputWithContext(ctx context.Context) IngressClassSpecOutput

func (IngressClassSpecArgs) ToIngressClassSpecPtrOutput added in v2.5.0

func (i IngressClassSpecArgs) ToIngressClassSpecPtrOutput() IngressClassSpecPtrOutput

func (IngressClassSpecArgs) ToIngressClassSpecPtrOutputWithContext added in v2.5.0

func (i IngressClassSpecArgs) ToIngressClassSpecPtrOutputWithContext(ctx context.Context) IngressClassSpecPtrOutput

type IngressClassSpecInput added in v2.5.0

type IngressClassSpecInput interface {
	pulumi.Input

	ToIngressClassSpecOutput() IngressClassSpecOutput
	ToIngressClassSpecOutputWithContext(context.Context) IngressClassSpecOutput
}

IngressClassSpecInput is an input type that accepts IngressClassSpecArgs and IngressClassSpecOutput values. You can construct a concrete instance of `IngressClassSpecInput` via:

IngressClassSpecArgs{...}

type IngressClassSpecOutput added in v2.5.0

type IngressClassSpecOutput struct{ *pulumi.OutputState }

IngressClassSpec provides information about the class of an Ingress.

func (IngressClassSpecOutput) Controller added in v2.5.0

Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.

func (IngressClassSpecOutput) ElementType added in v2.5.0

func (IngressClassSpecOutput) ElementType() reflect.Type

func (IngressClassSpecOutput) Parameters added in v2.5.0

Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.

func (IngressClassSpecOutput) ToIngressClassSpecOutput added in v2.5.0

func (o IngressClassSpecOutput) ToIngressClassSpecOutput() IngressClassSpecOutput

func (IngressClassSpecOutput) ToIngressClassSpecOutputWithContext added in v2.5.0

func (o IngressClassSpecOutput) ToIngressClassSpecOutputWithContext(ctx context.Context) IngressClassSpecOutput

func (IngressClassSpecOutput) ToIngressClassSpecPtrOutput added in v2.5.0

func (o IngressClassSpecOutput) ToIngressClassSpecPtrOutput() IngressClassSpecPtrOutput

func (IngressClassSpecOutput) ToIngressClassSpecPtrOutputWithContext added in v2.5.0

func (o IngressClassSpecOutput) ToIngressClassSpecPtrOutputWithContext(ctx context.Context) IngressClassSpecPtrOutput

type IngressClassSpecPtrInput added in v2.5.0

type IngressClassSpecPtrInput interface {
	pulumi.Input

	ToIngressClassSpecPtrOutput() IngressClassSpecPtrOutput
	ToIngressClassSpecPtrOutputWithContext(context.Context) IngressClassSpecPtrOutput
}

IngressClassSpecPtrInput is an input type that accepts IngressClassSpecArgs, IngressClassSpecPtr and IngressClassSpecPtrOutput values. You can construct a concrete instance of `IngressClassSpecPtrInput` via:

        IngressClassSpecArgs{...}

or:

        nil

func IngressClassSpecPtr added in v2.5.0

func IngressClassSpecPtr(v *IngressClassSpecArgs) IngressClassSpecPtrInput

type IngressClassSpecPtrOutput added in v2.5.0

type IngressClassSpecPtrOutput struct{ *pulumi.OutputState }

func (IngressClassSpecPtrOutput) Controller added in v2.5.0

Controller refers to the name of the controller that should handle this class. This allows for different "flavors" that are controlled by the same controller. For example, you may have different Parameters for the same implementing controller. This should be specified as a domain-prefixed path no more than 250 characters in length, e.g. "acme.io/ingress-controller". This field is immutable.

func (IngressClassSpecPtrOutput) Elem added in v2.5.0

func (IngressClassSpecPtrOutput) ElementType added in v2.5.0

func (IngressClassSpecPtrOutput) ElementType() reflect.Type

func (IngressClassSpecPtrOutput) Parameters added in v2.5.0

Parameters is a link to a custom resource containing additional configuration for the controller. This is optional if the controller does not require extra parameters.

func (IngressClassSpecPtrOutput) ToIngressClassSpecPtrOutput added in v2.5.0

func (o IngressClassSpecPtrOutput) ToIngressClassSpecPtrOutput() IngressClassSpecPtrOutput

func (IngressClassSpecPtrOutput) ToIngressClassSpecPtrOutputWithContext added in v2.5.0

func (o IngressClassSpecPtrOutput) ToIngressClassSpecPtrOutputWithContext(ctx context.Context) IngressClassSpecPtrOutput

type IngressClassState added in v2.5.0

type IngressClassState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressClassSpecPtrInput
}

func (IngressClassState) ElementType added in v2.5.0

func (IngressClassState) ElementType() reflect.Type

type IngressClassType added in v2.5.0

type IngressClassType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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 *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IngressClassSpec `pulumi:"spec"`
}

IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

type IngressClassTypeArgs added in v2.5.0

type IngressClassTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressClassSpecPtrInput `pulumi:"spec"`
}

IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

func (IngressClassTypeArgs) ElementType added in v2.5.0

func (IngressClassTypeArgs) ElementType() reflect.Type

func (IngressClassTypeArgs) ToIngressClassTypeOutput added in v2.5.0

func (i IngressClassTypeArgs) ToIngressClassTypeOutput() IngressClassTypeOutput

func (IngressClassTypeArgs) ToIngressClassTypeOutputWithContext added in v2.5.0

func (i IngressClassTypeArgs) ToIngressClassTypeOutputWithContext(ctx context.Context) IngressClassTypeOutput

type IngressClassTypeArray added in v2.5.0

type IngressClassTypeArray []IngressClassTypeInput

func (IngressClassTypeArray) ElementType added in v2.5.0

func (IngressClassTypeArray) ElementType() reflect.Type

func (IngressClassTypeArray) ToIngressClassTypeArrayOutput added in v2.5.0

func (i IngressClassTypeArray) ToIngressClassTypeArrayOutput() IngressClassTypeArrayOutput

func (IngressClassTypeArray) ToIngressClassTypeArrayOutputWithContext added in v2.5.0

func (i IngressClassTypeArray) ToIngressClassTypeArrayOutputWithContext(ctx context.Context) IngressClassTypeArrayOutput

type IngressClassTypeArrayInput added in v2.5.0

type IngressClassTypeArrayInput interface {
	pulumi.Input

	ToIngressClassTypeArrayOutput() IngressClassTypeArrayOutput
	ToIngressClassTypeArrayOutputWithContext(context.Context) IngressClassTypeArrayOutput
}

IngressClassTypeArrayInput is an input type that accepts IngressClassTypeArray and IngressClassTypeArrayOutput values. You can construct a concrete instance of `IngressClassTypeArrayInput` via:

IngressClassTypeArray{ IngressClassTypeArgs{...} }

type IngressClassTypeArrayOutput added in v2.5.0

type IngressClassTypeArrayOutput struct{ *pulumi.OutputState }

func (IngressClassTypeArrayOutput) ElementType added in v2.5.0

func (IngressClassTypeArrayOutput) Index added in v2.5.0

func (IngressClassTypeArrayOutput) ToIngressClassTypeArrayOutput added in v2.5.0

func (o IngressClassTypeArrayOutput) ToIngressClassTypeArrayOutput() IngressClassTypeArrayOutput

func (IngressClassTypeArrayOutput) ToIngressClassTypeArrayOutputWithContext added in v2.5.0

func (o IngressClassTypeArrayOutput) ToIngressClassTypeArrayOutputWithContext(ctx context.Context) IngressClassTypeArrayOutput

type IngressClassTypeInput added in v2.5.0

type IngressClassTypeInput interface {
	pulumi.Input

	ToIngressClassTypeOutput() IngressClassTypeOutput
	ToIngressClassTypeOutputWithContext(context.Context) IngressClassTypeOutput
}

IngressClassTypeInput is an input type that accepts IngressClassTypeArgs and IngressClassTypeOutput values. You can construct a concrete instance of `IngressClassTypeInput` via:

IngressClassTypeArgs{...}

type IngressClassTypeOutput added in v2.5.0

type IngressClassTypeOutput struct{ *pulumi.OutputState }

IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.

func (IngressClassTypeOutput) ApiVersion added in v2.5.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (IngressClassTypeOutput) ElementType added in v2.5.0

func (IngressClassTypeOutput) ElementType() reflect.Type

func (IngressClassTypeOutput) Kind added in v2.5.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (IngressClassTypeOutput) Metadata added in v2.5.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (IngressClassTypeOutput) Spec added in v2.5.0

Spec is the desired state of the IngressClass. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (IngressClassTypeOutput) ToIngressClassTypeOutput added in v2.5.0

func (o IngressClassTypeOutput) ToIngressClassTypeOutput() IngressClassTypeOutput

func (IngressClassTypeOutput) ToIngressClassTypeOutputWithContext added in v2.5.0

func (o IngressClassTypeOutput) ToIngressClassTypeOutputWithContext(ctx context.Context) IngressClassTypeOutput

type IngressInput added in v2.7.2

type IngressInput interface {
	pulumi.Input

	ToIngressOutput() IngressOutput
	ToIngressOutputWithContext(ctx context.Context) IngressOutput
}

type IngressList added in v2.5.0

type IngressList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrOutput `pulumi:"apiVersion"`
	// Items is the list of Ingress.
	Items IngressTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

IngressList is a collection of Ingress.

func GetIngressList added in v2.5.0

func GetIngressList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IngressListState, opts ...pulumi.ResourceOption) (*IngressList, error)

GetIngressList gets an existing IngressList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewIngressList added in v2.5.0

func NewIngressList(ctx *pulumi.Context,
	name string, args *IngressListArgs, opts ...pulumi.ResourceOption) (*IngressList, error)

NewIngressList registers a new resource with the given unique name, arguments, and options.

func (*IngressList) ElementType added in v2.7.2

func (*IngressList) ElementType() reflect.Type

func (*IngressList) ToIngressListOutput added in v2.7.2

func (i *IngressList) ToIngressListOutput() IngressListOutput

func (*IngressList) ToIngressListOutputWithContext added in v2.7.2

func (i *IngressList) ToIngressListOutputWithContext(ctx context.Context) IngressListOutput

func (*IngressList) ToIngressListPtrOutput added in v2.7.7

func (i *IngressList) ToIngressListPtrOutput() IngressListPtrOutput

func (*IngressList) ToIngressListPtrOutputWithContext added in v2.7.7

func (i *IngressList) ToIngressListPtrOutputWithContext(ctx context.Context) IngressListPtrOutput

type IngressListArgs added in v2.5.0

type IngressListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Items is the list of Ingress.
	Items IngressTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a IngressList resource.

func (IngressListArgs) ElementType added in v2.5.0

func (IngressListArgs) ElementType() reflect.Type

type IngressListArray added in v2.7.7

type IngressListArray []IngressListInput

func (IngressListArray) ElementType added in v2.7.7

func (IngressListArray) ElementType() reflect.Type

func (IngressListArray) ToIngressListArrayOutput added in v2.7.7

func (i IngressListArray) ToIngressListArrayOutput() IngressListArrayOutput

func (IngressListArray) ToIngressListArrayOutputWithContext added in v2.7.7

func (i IngressListArray) ToIngressListArrayOutputWithContext(ctx context.Context) IngressListArrayOutput

type IngressListArrayInput added in v2.7.7

type IngressListArrayInput interface {
	pulumi.Input

	ToIngressListArrayOutput() IngressListArrayOutput
	ToIngressListArrayOutputWithContext(context.Context) IngressListArrayOutput
}

IngressListArrayInput is an input type that accepts IngressListArray and IngressListArrayOutput values. You can construct a concrete instance of `IngressListArrayInput` via:

IngressListArray{ IngressListArgs{...} }

type IngressListArrayOutput added in v2.7.7

type IngressListArrayOutput struct{ *pulumi.OutputState }

func (IngressListArrayOutput) ElementType added in v2.7.7

func (IngressListArrayOutput) ElementType() reflect.Type

func (IngressListArrayOutput) Index added in v2.7.7

func (IngressListArrayOutput) ToIngressListArrayOutput added in v2.7.7

func (o IngressListArrayOutput) ToIngressListArrayOutput() IngressListArrayOutput

func (IngressListArrayOutput) ToIngressListArrayOutputWithContext added in v2.7.7

func (o IngressListArrayOutput) ToIngressListArrayOutputWithContext(ctx context.Context) IngressListArrayOutput

type IngressListInput added in v2.7.2

type IngressListInput interface {
	pulumi.Input

	ToIngressListOutput() IngressListOutput
	ToIngressListOutputWithContext(ctx context.Context) IngressListOutput
}

type IngressListMap added in v2.7.7

type IngressListMap map[string]IngressListInput

func (IngressListMap) ElementType added in v2.7.7

func (IngressListMap) ElementType() reflect.Type

func (IngressListMap) ToIngressListMapOutput added in v2.7.7

func (i IngressListMap) ToIngressListMapOutput() IngressListMapOutput

func (IngressListMap) ToIngressListMapOutputWithContext added in v2.7.7

func (i IngressListMap) ToIngressListMapOutputWithContext(ctx context.Context) IngressListMapOutput

type IngressListMapInput added in v2.7.7

type IngressListMapInput interface {
	pulumi.Input

	ToIngressListMapOutput() IngressListMapOutput
	ToIngressListMapOutputWithContext(context.Context) IngressListMapOutput
}

IngressListMapInput is an input type that accepts IngressListMap and IngressListMapOutput values. You can construct a concrete instance of `IngressListMapInput` via:

IngressListMap{ "key": IngressListArgs{...} }

type IngressListMapOutput added in v2.7.7

type IngressListMapOutput struct{ *pulumi.OutputState }

func (IngressListMapOutput) ElementType added in v2.7.7

func (IngressListMapOutput) ElementType() reflect.Type

func (IngressListMapOutput) MapIndex added in v2.7.7

func (IngressListMapOutput) ToIngressListMapOutput added in v2.7.7

func (o IngressListMapOutput) ToIngressListMapOutput() IngressListMapOutput

func (IngressListMapOutput) ToIngressListMapOutputWithContext added in v2.7.7

func (o IngressListMapOutput) ToIngressListMapOutputWithContext(ctx context.Context) IngressListMapOutput

type IngressListOutput added in v2.7.2

type IngressListOutput struct {
	*pulumi.OutputState
}

func (IngressListOutput) ElementType added in v2.7.2

func (IngressListOutput) ElementType() reflect.Type

func (IngressListOutput) ToIngressListOutput added in v2.7.2

func (o IngressListOutput) ToIngressListOutput() IngressListOutput

func (IngressListOutput) ToIngressListOutputWithContext added in v2.7.2

func (o IngressListOutput) ToIngressListOutputWithContext(ctx context.Context) IngressListOutput

func (IngressListOutput) ToIngressListPtrOutput added in v2.7.7

func (o IngressListOutput) ToIngressListPtrOutput() IngressListPtrOutput

func (IngressListOutput) ToIngressListPtrOutputWithContext added in v2.7.7

func (o IngressListOutput) ToIngressListPtrOutputWithContext(ctx context.Context) IngressListPtrOutput

type IngressListPtrInput added in v2.7.7

type IngressListPtrInput interface {
	pulumi.Input

	ToIngressListPtrOutput() IngressListPtrOutput
	ToIngressListPtrOutputWithContext(ctx context.Context) IngressListPtrOutput
}

type IngressListPtrOutput added in v2.7.7

type IngressListPtrOutput struct {
	*pulumi.OutputState
}

func (IngressListPtrOutput) ElementType added in v2.7.7

func (IngressListPtrOutput) ElementType() reflect.Type

func (IngressListPtrOutput) ToIngressListPtrOutput added in v2.7.7

func (o IngressListPtrOutput) ToIngressListPtrOutput() IngressListPtrOutput

func (IngressListPtrOutput) ToIngressListPtrOutputWithContext added in v2.7.7

func (o IngressListPtrOutput) ToIngressListPtrOutputWithContext(ctx context.Context) IngressListPtrOutput

type IngressListState added in v2.5.0

type IngressListState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Items is the list of Ingress.
	Items IngressTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

func (IngressListState) ElementType added in v2.5.0

func (IngressListState) ElementType() reflect.Type

type IngressListType added in v2.5.0

type IngressListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 *string `pulumi:"apiVersion"`
	// Items is the list of Ingress.
	Items []IngressType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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 *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

IngressList is a collection of Ingress.

type IngressListTypeArgs added in v2.5.0

type IngressListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput `pulumi:"apiVersion"`
	// Items is the list of Ingress.
	Items IngressTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

IngressList is a collection of Ingress.

func (IngressListTypeArgs) ElementType added in v2.5.0

func (IngressListTypeArgs) ElementType() reflect.Type

func (IngressListTypeArgs) ToIngressListTypeOutput added in v2.5.0

func (i IngressListTypeArgs) ToIngressListTypeOutput() IngressListTypeOutput

func (IngressListTypeArgs) ToIngressListTypeOutputWithContext added in v2.5.0

func (i IngressListTypeArgs) ToIngressListTypeOutputWithContext(ctx context.Context) IngressListTypeOutput

type IngressListTypeInput added in v2.5.0

type IngressListTypeInput interface {
	pulumi.Input

	ToIngressListTypeOutput() IngressListTypeOutput
	ToIngressListTypeOutputWithContext(context.Context) IngressListTypeOutput
}

IngressListTypeInput is an input type that accepts IngressListTypeArgs and IngressListTypeOutput values. You can construct a concrete instance of `IngressListTypeInput` via:

IngressListTypeArgs{...}

type IngressListTypeOutput added in v2.5.0

type IngressListTypeOutput struct{ *pulumi.OutputState }

IngressList is a collection of Ingress.

func (IngressListTypeOutput) ApiVersion added in v2.5.0

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (IngressListTypeOutput) ElementType added in v2.5.0

func (IngressListTypeOutput) ElementType() reflect.Type

func (IngressListTypeOutput) Items added in v2.5.0

Items is the list of Ingress.

func (IngressListTypeOutput) Kind added in v2.5.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (IngressListTypeOutput) Metadata added in v2.5.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (IngressListTypeOutput) ToIngressListTypeOutput added in v2.5.0

func (o IngressListTypeOutput) ToIngressListTypeOutput() IngressListTypeOutput

func (IngressListTypeOutput) ToIngressListTypeOutputWithContext added in v2.5.0

func (o IngressListTypeOutput) ToIngressListTypeOutputWithContext(ctx context.Context) IngressListTypeOutput

type IngressMap added in v2.7.7

type IngressMap map[string]IngressInput

func (IngressMap) ElementType added in v2.7.7

func (IngressMap) ElementType() reflect.Type

func (IngressMap) ToIngressMapOutput added in v2.7.7

func (i IngressMap) ToIngressMapOutput() IngressMapOutput

func (IngressMap) ToIngressMapOutputWithContext added in v2.7.7

func (i IngressMap) ToIngressMapOutputWithContext(ctx context.Context) IngressMapOutput

type IngressMapInput added in v2.7.7

type IngressMapInput interface {
	pulumi.Input

	ToIngressMapOutput() IngressMapOutput
	ToIngressMapOutputWithContext(context.Context) IngressMapOutput
}

IngressMapInput is an input type that accepts IngressMap and IngressMapOutput values. You can construct a concrete instance of `IngressMapInput` via:

IngressMap{ "key": IngressArgs{...} }

type IngressMapOutput added in v2.7.7

type IngressMapOutput struct{ *pulumi.OutputState }

func (IngressMapOutput) ElementType added in v2.7.7

func (IngressMapOutput) ElementType() reflect.Type

func (IngressMapOutput) MapIndex added in v2.7.7

func (IngressMapOutput) ToIngressMapOutput added in v2.7.7

func (o IngressMapOutput) ToIngressMapOutput() IngressMapOutput

func (IngressMapOutput) ToIngressMapOutputWithContext added in v2.7.7

func (o IngressMapOutput) ToIngressMapOutputWithContext(ctx context.Context) IngressMapOutput

type IngressOutput added in v2.7.2

type IngressOutput struct {
	*pulumi.OutputState
}

func (IngressOutput) ElementType added in v2.7.2

func (IngressOutput) ElementType() reflect.Type

func (IngressOutput) ToIngressOutput added in v2.7.2

func (o IngressOutput) ToIngressOutput() IngressOutput

func (IngressOutput) ToIngressOutputWithContext added in v2.7.2

func (o IngressOutput) ToIngressOutputWithContext(ctx context.Context) IngressOutput

func (IngressOutput) ToIngressPtrOutput added in v2.7.7

func (o IngressOutput) ToIngressPtrOutput() IngressPtrOutput

func (IngressOutput) ToIngressPtrOutputWithContext added in v2.7.7

func (o IngressOutput) ToIngressPtrOutputWithContext(ctx context.Context) IngressPtrOutput

type IngressPtrInput added in v2.7.7

type IngressPtrInput interface {
	pulumi.Input

	ToIngressPtrOutput() IngressPtrOutput
	ToIngressPtrOutputWithContext(ctx context.Context) IngressPtrOutput
}

type IngressPtrOutput added in v2.7.7

type IngressPtrOutput struct {
	*pulumi.OutputState
}

func (IngressPtrOutput) ElementType added in v2.7.7

func (IngressPtrOutput) ElementType() reflect.Type

func (IngressPtrOutput) ToIngressPtrOutput added in v2.7.7

func (o IngressPtrOutput) ToIngressPtrOutput() IngressPtrOutput

func (IngressPtrOutput) ToIngressPtrOutputWithContext added in v2.7.7

func (o IngressPtrOutput) ToIngressPtrOutputWithContext(ctx context.Context) IngressPtrOutput

type IngressRule added in v2.5.0

type IngressRule struct {
	// Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
	//    the IP in the Spec of the parent Ingress.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	// 	  Currently the port of an Ingress is implicitly :80 for http and
	// 	  :443 for https.
	// Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.
	//
	// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.
	Host *string               `pulumi:"host"`
	Http *HTTPIngressRuleValue `pulumi:"http"`
}

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

type IngressRuleArgs added in v2.5.0

type IngressRuleArgs struct {
	// Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
	//    the IP in the Spec of the parent Ingress.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	// 	  Currently the port of an Ingress is implicitly :80 for http and
	// 	  :443 for https.
	// Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.
	//
	// Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.
	Host pulumi.StringPtrInput        `pulumi:"host"`
	Http HTTPIngressRuleValuePtrInput `pulumi:"http"`
}

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

func (IngressRuleArgs) ElementType added in v2.5.0

func (IngressRuleArgs) ElementType() reflect.Type

func (IngressRuleArgs) ToIngressRuleOutput added in v2.5.0

func (i IngressRuleArgs) ToIngressRuleOutput() IngressRuleOutput

func (IngressRuleArgs) ToIngressRuleOutputWithContext added in v2.5.0

func (i IngressRuleArgs) ToIngressRuleOutputWithContext(ctx context.Context) IngressRuleOutput

type IngressRuleArray added in v2.5.0

type IngressRuleArray []IngressRuleInput

func (IngressRuleArray) ElementType added in v2.5.0

func (IngressRuleArray) ElementType() reflect.Type

func (IngressRuleArray) ToIngressRuleArrayOutput added in v2.5.0

func (i IngressRuleArray) ToIngressRuleArrayOutput() IngressRuleArrayOutput

func (IngressRuleArray) ToIngressRuleArrayOutputWithContext added in v2.5.0

func (i IngressRuleArray) ToIngressRuleArrayOutputWithContext(ctx context.Context) IngressRuleArrayOutput

type IngressRuleArrayInput added in v2.5.0

type IngressRuleArrayInput interface {
	pulumi.Input

	ToIngressRuleArrayOutput() IngressRuleArrayOutput
	ToIngressRuleArrayOutputWithContext(context.Context) IngressRuleArrayOutput
}

IngressRuleArrayInput is an input type that accepts IngressRuleArray and IngressRuleArrayOutput values. You can construct a concrete instance of `IngressRuleArrayInput` via:

IngressRuleArray{ IngressRuleArgs{...} }

type IngressRuleArrayOutput added in v2.5.0

type IngressRuleArrayOutput struct{ *pulumi.OutputState }

func (IngressRuleArrayOutput) ElementType added in v2.5.0

func (IngressRuleArrayOutput) ElementType() reflect.Type

func (IngressRuleArrayOutput) Index added in v2.5.0

func (IngressRuleArrayOutput) ToIngressRuleArrayOutput added in v2.5.0

func (o IngressRuleArrayOutput) ToIngressRuleArrayOutput() IngressRuleArrayOutput

func (IngressRuleArrayOutput) ToIngressRuleArrayOutputWithContext added in v2.5.0

func (o IngressRuleArrayOutput) ToIngressRuleArrayOutputWithContext(ctx context.Context) IngressRuleArrayOutput

type IngressRuleInput added in v2.5.0

type IngressRuleInput interface {
	pulumi.Input

	ToIngressRuleOutput() IngressRuleOutput
	ToIngressRuleOutputWithContext(context.Context) IngressRuleOutput
}

IngressRuleInput is an input type that accepts IngressRuleArgs and IngressRuleOutput values. You can construct a concrete instance of `IngressRuleInput` via:

IngressRuleArgs{...}

type IngressRuleOutput added in v2.5.0

type IngressRuleOutput struct{ *pulumi.OutputState }

IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.

func (IngressRuleOutput) ElementType added in v2.5.0

func (IngressRuleOutput) ElementType() reflect.Type

func (IngressRuleOutput) Host added in v2.5.0

Host is the fully qualified domain name of a network host, as defined by RFC 3986. Note the following deviations from the "host" part of the URI as defined in RFC 3986: 1. IPs are not allowed. Currently an IngressRuleValue can only apply to

the IP in the Spec of the parent Ingress.
  1. The `:` delimiter is not respected because ports are not allowed. Currently the port of an Ingress is implicitly :80 for http and :443 for https.

Both these may change in the future. Incoming requests are matched against the host before the IngressRuleValue. If the host is unspecified, the Ingress routes all traffic based on the specified IngressRuleValue.

Host can be "precise" which is a domain name without the terminating dot of a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name prefixed with a single wildcard label (e.g. "*.foo.com"). The wildcard character '*' must appear by itself as the first DNS label and matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*"). Requests will be matched against the Host field in the following way: 1. If Host is precise, the request matches this rule if the http host header is equal to Host. 2. If Host is a wildcard, then the request matches this rule if the http host header is to equal to the suffix (removing the first label) of the wildcard rule.

func (IngressRuleOutput) Http added in v2.5.0

func (IngressRuleOutput) ToIngressRuleOutput added in v2.5.0

func (o IngressRuleOutput) ToIngressRuleOutput() IngressRuleOutput

func (IngressRuleOutput) ToIngressRuleOutputWithContext added in v2.5.0

func (o IngressRuleOutput) ToIngressRuleOutputWithContext(ctx context.Context) IngressRuleOutput

type IngressServiceBackend added in v2.5.0

type IngressServiceBackend struct {
	// Name is the referenced service. The service must exist in the same namespace as the Ingress object.
	Name string `pulumi:"name"`
	// Port of the referenced service. A port name or port number is required for a IngressServiceBackend.
	Port *ServiceBackendPort `pulumi:"port"`
}

IngressServiceBackend references a Kubernetes Service as a Backend.

type IngressServiceBackendArgs added in v2.5.0

type IngressServiceBackendArgs struct {
	// Name is the referenced service. The service must exist in the same namespace as the Ingress object.
	Name pulumi.StringInput `pulumi:"name"`
	// Port of the referenced service. A port name or port number is required for a IngressServiceBackend.
	Port ServiceBackendPortPtrInput `pulumi:"port"`
}

IngressServiceBackend references a Kubernetes Service as a Backend.

func (IngressServiceBackendArgs) ElementType added in v2.5.0

func (IngressServiceBackendArgs) ElementType() reflect.Type

func (IngressServiceBackendArgs) ToIngressServiceBackendOutput added in v2.5.0

func (i IngressServiceBackendArgs) ToIngressServiceBackendOutput() IngressServiceBackendOutput

func (IngressServiceBackendArgs) ToIngressServiceBackendOutputWithContext added in v2.5.0

func (i IngressServiceBackendArgs) ToIngressServiceBackendOutputWithContext(ctx context.Context) IngressServiceBackendOutput

func (IngressServiceBackendArgs) ToIngressServiceBackendPtrOutput added in v2.5.0

func (i IngressServiceBackendArgs) ToIngressServiceBackendPtrOutput() IngressServiceBackendPtrOutput

func (IngressServiceBackendArgs) ToIngressServiceBackendPtrOutputWithContext added in v2.5.0

func (i IngressServiceBackendArgs) ToIngressServiceBackendPtrOutputWithContext(ctx context.Context) IngressServiceBackendPtrOutput

type IngressServiceBackendInput added in v2.5.0

type IngressServiceBackendInput interface {
	pulumi.Input

	ToIngressServiceBackendOutput() IngressServiceBackendOutput
	ToIngressServiceBackendOutputWithContext(context.Context) IngressServiceBackendOutput
}

IngressServiceBackendInput is an input type that accepts IngressServiceBackendArgs and IngressServiceBackendOutput values. You can construct a concrete instance of `IngressServiceBackendInput` via:

IngressServiceBackendArgs{...}

type IngressServiceBackendOutput added in v2.5.0

type IngressServiceBackendOutput struct{ *pulumi.OutputState }

IngressServiceBackend references a Kubernetes Service as a Backend.

func (IngressServiceBackendOutput) ElementType added in v2.5.0

func (IngressServiceBackendOutput) Name added in v2.5.0

Name is the referenced service. The service must exist in the same namespace as the Ingress object.

func (IngressServiceBackendOutput) Port added in v2.5.0

Port of the referenced service. A port name or port number is required for a IngressServiceBackend.

func (IngressServiceBackendOutput) ToIngressServiceBackendOutput added in v2.5.0

func (o IngressServiceBackendOutput) ToIngressServiceBackendOutput() IngressServiceBackendOutput

func (IngressServiceBackendOutput) ToIngressServiceBackendOutputWithContext added in v2.5.0

func (o IngressServiceBackendOutput) ToIngressServiceBackendOutputWithContext(ctx context.Context) IngressServiceBackendOutput

func (IngressServiceBackendOutput) ToIngressServiceBackendPtrOutput added in v2.5.0

func (o IngressServiceBackendOutput) ToIngressServiceBackendPtrOutput() IngressServiceBackendPtrOutput

func (IngressServiceBackendOutput) ToIngressServiceBackendPtrOutputWithContext added in v2.5.0

func (o IngressServiceBackendOutput) ToIngressServiceBackendPtrOutputWithContext(ctx context.Context) IngressServiceBackendPtrOutput

type IngressServiceBackendPtrInput added in v2.5.0

type IngressServiceBackendPtrInput interface {
	pulumi.Input

	ToIngressServiceBackendPtrOutput() IngressServiceBackendPtrOutput
	ToIngressServiceBackendPtrOutputWithContext(context.Context) IngressServiceBackendPtrOutput
}

IngressServiceBackendPtrInput is an input type that accepts IngressServiceBackendArgs, IngressServiceBackendPtr and IngressServiceBackendPtrOutput values. You can construct a concrete instance of `IngressServiceBackendPtrInput` via:

        IngressServiceBackendArgs{...}

or:

        nil

func IngressServiceBackendPtr added in v2.5.0

func IngressServiceBackendPtr(v *IngressServiceBackendArgs) IngressServiceBackendPtrInput

type IngressServiceBackendPtrOutput added in v2.5.0

type IngressServiceBackendPtrOutput struct{ *pulumi.OutputState }

func (IngressServiceBackendPtrOutput) Elem added in v2.5.0

func (IngressServiceBackendPtrOutput) ElementType added in v2.5.0

func (IngressServiceBackendPtrOutput) Name added in v2.5.0

Name is the referenced service. The service must exist in the same namespace as the Ingress object.

func (IngressServiceBackendPtrOutput) Port added in v2.5.0

Port of the referenced service. A port name or port number is required for a IngressServiceBackend.

func (IngressServiceBackendPtrOutput) ToIngressServiceBackendPtrOutput added in v2.5.0

func (o IngressServiceBackendPtrOutput) ToIngressServiceBackendPtrOutput() IngressServiceBackendPtrOutput

func (IngressServiceBackendPtrOutput) ToIngressServiceBackendPtrOutputWithContext added in v2.5.0

func (o IngressServiceBackendPtrOutput) ToIngressServiceBackendPtrOutputWithContext(ctx context.Context) IngressServiceBackendPtrOutput

type IngressSpec added in v2.5.0

type IngressSpec struct {
	// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.
	DefaultBackend *IngressBackend `pulumi:"defaultBackend"`
	// IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
	IngressClassName *string `pulumi:"ingressClassName"`
	// A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
	Rules []IngressRule `pulumi:"rules"`
	// TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
	Tls []IngressTLS `pulumi:"tls"`
}

IngressSpec describes the Ingress the user wishes to exist.

type IngressSpecArgs added in v2.5.0

type IngressSpecArgs struct {
	// DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.
	DefaultBackend IngressBackendPtrInput `pulumi:"defaultBackend"`
	// IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.
	IngressClassName pulumi.StringPtrInput `pulumi:"ingressClassName"`
	// A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.
	Rules IngressRuleArrayInput `pulumi:"rules"`
	// TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.
	Tls IngressTLSArrayInput `pulumi:"tls"`
}

IngressSpec describes the Ingress the user wishes to exist.

func (IngressSpecArgs) ElementType added in v2.5.0

func (IngressSpecArgs) ElementType() reflect.Type

func (IngressSpecArgs) ToIngressSpecOutput added in v2.5.0

func (i IngressSpecArgs) ToIngressSpecOutput() IngressSpecOutput

func (IngressSpecArgs) ToIngressSpecOutputWithContext added in v2.5.0

func (i IngressSpecArgs) ToIngressSpecOutputWithContext(ctx context.Context) IngressSpecOutput

func (IngressSpecArgs) ToIngressSpecPtrOutput added in v2.5.0

func (i IngressSpecArgs) ToIngressSpecPtrOutput() IngressSpecPtrOutput

func (IngressSpecArgs) ToIngressSpecPtrOutputWithContext added in v2.5.0

func (i IngressSpecArgs) ToIngressSpecPtrOutputWithContext(ctx context.Context) IngressSpecPtrOutput

type IngressSpecInput added in v2.5.0

type IngressSpecInput interface {
	pulumi.Input

	ToIngressSpecOutput() IngressSpecOutput
	ToIngressSpecOutputWithContext(context.Context) IngressSpecOutput
}

IngressSpecInput is an input type that accepts IngressSpecArgs and IngressSpecOutput values. You can construct a concrete instance of `IngressSpecInput` via:

IngressSpecArgs{...}

type IngressSpecOutput added in v2.5.0

type IngressSpecOutput struct{ *pulumi.OutputState }

IngressSpec describes the Ingress the user wishes to exist.

func (IngressSpecOutput) DefaultBackend added in v2.5.0

func (o IngressSpecOutput) DefaultBackend() IngressBackendPtrOutput

DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.

func (IngressSpecOutput) ElementType added in v2.5.0

func (IngressSpecOutput) ElementType() reflect.Type

func (IngressSpecOutput) IngressClassName added in v2.5.0

func (o IngressSpecOutput) IngressClassName() pulumi.StringPtrOutput

IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.

func (IngressSpecOutput) Rules added in v2.5.0

A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.

func (IngressSpecOutput) Tls added in v2.5.0

TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.

func (IngressSpecOutput) ToIngressSpecOutput added in v2.5.0

func (o IngressSpecOutput) ToIngressSpecOutput() IngressSpecOutput

func (IngressSpecOutput) ToIngressSpecOutputWithContext added in v2.5.0

func (o IngressSpecOutput) ToIngressSpecOutputWithContext(ctx context.Context) IngressSpecOutput

func (IngressSpecOutput) ToIngressSpecPtrOutput added in v2.5.0

func (o IngressSpecOutput) ToIngressSpecPtrOutput() IngressSpecPtrOutput

func (IngressSpecOutput) ToIngressSpecPtrOutputWithContext added in v2.5.0

func (o IngressSpecOutput) ToIngressSpecPtrOutputWithContext(ctx context.Context) IngressSpecPtrOutput

type IngressSpecPtrInput added in v2.5.0

type IngressSpecPtrInput interface {
	pulumi.Input

	ToIngressSpecPtrOutput() IngressSpecPtrOutput
	ToIngressSpecPtrOutputWithContext(context.Context) IngressSpecPtrOutput
}

IngressSpecPtrInput is an input type that accepts IngressSpecArgs, IngressSpecPtr and IngressSpecPtrOutput values. You can construct a concrete instance of `IngressSpecPtrInput` via:

        IngressSpecArgs{...}

or:

        nil

func IngressSpecPtr added in v2.5.0

func IngressSpecPtr(v *IngressSpecArgs) IngressSpecPtrInput

type IngressSpecPtrOutput added in v2.5.0

type IngressSpecPtrOutput struct{ *pulumi.OutputState }

func (IngressSpecPtrOutput) DefaultBackend added in v2.5.0

func (o IngressSpecPtrOutput) DefaultBackend() IngressBackendPtrOutput

DefaultBackend is the backend that should handle requests that don't match any rule. If Rules are not specified, DefaultBackend must be specified. If DefaultBackend is not set, the handling of requests that do not match any of the rules will be up to the Ingress controller.

func (IngressSpecPtrOutput) Elem added in v2.5.0

func (IngressSpecPtrOutput) ElementType added in v2.5.0

func (IngressSpecPtrOutput) ElementType() reflect.Type

func (IngressSpecPtrOutput) IngressClassName added in v2.5.0

func (o IngressSpecPtrOutput) IngressClassName() pulumi.StringPtrOutput

IngressClassName is the name of the IngressClass cluster resource. The associated IngressClass defines which controller will implement the resource. This replaces the deprecated `kubernetes.io/ingress.class` annotation. For backwards compatibility, when that annotation is set, it must be given precedence over this field. The controller may emit a warning if the field and annotation have different values. Implementations of this API should ignore Ingresses without a class specified. An IngressClass resource may be marked as default, which can be used to set a default value for this field. For more information, refer to the IngressClass documentation.

func (IngressSpecPtrOutput) Rules added in v2.5.0

A list of host rules used to configure the Ingress. If unspecified, or no rule matches, all traffic is sent to the default backend.

func (IngressSpecPtrOutput) Tls added in v2.5.0

TLS configuration. Currently the Ingress only supports a single TLS port, 443. If multiple members of this list specify different hosts, they will be multiplexed on the same port according to the hostname specified through the SNI TLS extension, if the ingress controller fulfilling the ingress supports SNI.

func (IngressSpecPtrOutput) ToIngressSpecPtrOutput added in v2.5.0

func (o IngressSpecPtrOutput) ToIngressSpecPtrOutput() IngressSpecPtrOutput

func (IngressSpecPtrOutput) ToIngressSpecPtrOutputWithContext added in v2.5.0

func (o IngressSpecPtrOutput) ToIngressSpecPtrOutputWithContext(ctx context.Context) IngressSpecPtrOutput

type IngressState added in v2.5.0

type IngressState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressSpecPtrInput
	// Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status IngressStatusPtrInput
}

func (IngressState) ElementType added in v2.5.0

func (IngressState) ElementType() reflect.Type

type IngressStatus added in v2.5.0

type IngressStatus struct {
	// LoadBalancer contains the current status of the load-balancer.
	LoadBalancer *corev1.LoadBalancerStatus `pulumi:"loadBalancer"`
}

IngressStatus describe the current state of the Ingress.

type IngressStatusArgs added in v2.5.0

type IngressStatusArgs struct {
	// LoadBalancer contains the current status of the load-balancer.
	LoadBalancer corev1.LoadBalancerStatusPtrInput `pulumi:"loadBalancer"`
}

IngressStatus describe the current state of the Ingress.

func (IngressStatusArgs) ElementType added in v2.5.0

func (IngressStatusArgs) ElementType() reflect.Type

func (IngressStatusArgs) ToIngressStatusOutput added in v2.5.0

func (i IngressStatusArgs) ToIngressStatusOutput() IngressStatusOutput

func (IngressStatusArgs) ToIngressStatusOutputWithContext added in v2.5.0

func (i IngressStatusArgs) ToIngressStatusOutputWithContext(ctx context.Context) IngressStatusOutput

func (IngressStatusArgs) ToIngressStatusPtrOutput added in v2.5.0

func (i IngressStatusArgs) ToIngressStatusPtrOutput() IngressStatusPtrOutput

func (IngressStatusArgs) ToIngressStatusPtrOutputWithContext added in v2.5.0

func (i IngressStatusArgs) ToIngressStatusPtrOutputWithContext(ctx context.Context) IngressStatusPtrOutput

type IngressStatusInput added in v2.5.0

type IngressStatusInput interface {
	pulumi.Input

	ToIngressStatusOutput() IngressStatusOutput
	ToIngressStatusOutputWithContext(context.Context) IngressStatusOutput
}

IngressStatusInput is an input type that accepts IngressStatusArgs and IngressStatusOutput values. You can construct a concrete instance of `IngressStatusInput` via:

IngressStatusArgs{...}

type IngressStatusOutput added in v2.5.0

type IngressStatusOutput struct{ *pulumi.OutputState }

IngressStatus describe the current state of the Ingress.

func (IngressStatusOutput) ElementType added in v2.5.0

func (IngressStatusOutput) ElementType() reflect.Type

func (IngressStatusOutput) LoadBalancer added in v2.5.0

LoadBalancer contains the current status of the load-balancer.

func (IngressStatusOutput) ToIngressStatusOutput added in v2.5.0

func (o IngressStatusOutput) ToIngressStatusOutput() IngressStatusOutput

func (IngressStatusOutput) ToIngressStatusOutputWithContext added in v2.5.0

func (o IngressStatusOutput) ToIngressStatusOutputWithContext(ctx context.Context) IngressStatusOutput

func (IngressStatusOutput) ToIngressStatusPtrOutput added in v2.5.0

func (o IngressStatusOutput) ToIngressStatusPtrOutput() IngressStatusPtrOutput

func (IngressStatusOutput) ToIngressStatusPtrOutputWithContext added in v2.5.0

func (o IngressStatusOutput) ToIngressStatusPtrOutputWithContext(ctx context.Context) IngressStatusPtrOutput

type IngressStatusPtrInput added in v2.5.0

type IngressStatusPtrInput interface {
	pulumi.Input

	ToIngressStatusPtrOutput() IngressStatusPtrOutput
	ToIngressStatusPtrOutputWithContext(context.Context) IngressStatusPtrOutput
}

IngressStatusPtrInput is an input type that accepts IngressStatusArgs, IngressStatusPtr and IngressStatusPtrOutput values. You can construct a concrete instance of `IngressStatusPtrInput` via:

        IngressStatusArgs{...}

or:

        nil

func IngressStatusPtr added in v2.5.0

func IngressStatusPtr(v *IngressStatusArgs) IngressStatusPtrInput

type IngressStatusPtrOutput added in v2.5.0

type IngressStatusPtrOutput struct{ *pulumi.OutputState }

func (IngressStatusPtrOutput) Elem added in v2.5.0

func (IngressStatusPtrOutput) ElementType added in v2.5.0

func (IngressStatusPtrOutput) ElementType() reflect.Type

func (IngressStatusPtrOutput) LoadBalancer added in v2.5.0

LoadBalancer contains the current status of the load-balancer.

func (IngressStatusPtrOutput) ToIngressStatusPtrOutput added in v2.5.0

func (o IngressStatusPtrOutput) ToIngressStatusPtrOutput() IngressStatusPtrOutput

func (IngressStatusPtrOutput) ToIngressStatusPtrOutputWithContext added in v2.5.0

func (o IngressStatusPtrOutput) ToIngressStatusPtrOutputWithContext(ctx context.Context) IngressStatusPtrOutput

type IngressTLS added in v2.5.0

type IngressTLS struct {
	// Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
	Hosts []string `pulumi:"hosts"`
	// SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
	SecretName *string `pulumi:"secretName"`
}

IngressTLS describes the transport layer security associated with an Ingress.

type IngressTLSArgs added in v2.5.0

type IngressTLSArgs struct {
	// Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
	Hosts pulumi.StringArrayInput `pulumi:"hosts"`
	// SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.
	SecretName pulumi.StringPtrInput `pulumi:"secretName"`
}

IngressTLS describes the transport layer security associated with an Ingress.

func (IngressTLSArgs) ElementType added in v2.5.0

func (IngressTLSArgs) ElementType() reflect.Type

func (IngressTLSArgs) ToIngressTLSOutput added in v2.5.0

func (i IngressTLSArgs) ToIngressTLSOutput() IngressTLSOutput

func (IngressTLSArgs) ToIngressTLSOutputWithContext added in v2.5.0

func (i IngressTLSArgs) ToIngressTLSOutputWithContext(ctx context.Context) IngressTLSOutput

type IngressTLSArray added in v2.5.0

type IngressTLSArray []IngressTLSInput

func (IngressTLSArray) ElementType added in v2.5.0

func (IngressTLSArray) ElementType() reflect.Type

func (IngressTLSArray) ToIngressTLSArrayOutput added in v2.5.0

func (i IngressTLSArray) ToIngressTLSArrayOutput() IngressTLSArrayOutput

func (IngressTLSArray) ToIngressTLSArrayOutputWithContext added in v2.5.0

func (i IngressTLSArray) ToIngressTLSArrayOutputWithContext(ctx context.Context) IngressTLSArrayOutput

type IngressTLSArrayInput added in v2.5.0

type IngressTLSArrayInput interface {
	pulumi.Input

	ToIngressTLSArrayOutput() IngressTLSArrayOutput
	ToIngressTLSArrayOutputWithContext(context.Context) IngressTLSArrayOutput
}

IngressTLSArrayInput is an input type that accepts IngressTLSArray and IngressTLSArrayOutput values. You can construct a concrete instance of `IngressTLSArrayInput` via:

IngressTLSArray{ IngressTLSArgs{...} }

type IngressTLSArrayOutput added in v2.5.0

type IngressTLSArrayOutput struct{ *pulumi.OutputState }

func (IngressTLSArrayOutput) ElementType added in v2.5.0

func (IngressTLSArrayOutput) ElementType() reflect.Type

func (IngressTLSArrayOutput) Index added in v2.5.0

func (IngressTLSArrayOutput) ToIngressTLSArrayOutput added in v2.5.0

func (o IngressTLSArrayOutput) ToIngressTLSArrayOutput() IngressTLSArrayOutput

func (IngressTLSArrayOutput) ToIngressTLSArrayOutputWithContext added in v2.5.0

func (o IngressTLSArrayOutput) ToIngressTLSArrayOutputWithContext(ctx context.Context) IngressTLSArrayOutput

type IngressTLSInput added in v2.5.0

type IngressTLSInput interface {
	pulumi.Input

	ToIngressTLSOutput() IngressTLSOutput
	ToIngressTLSOutputWithContext(context.Context) IngressTLSOutput
}

IngressTLSInput is an input type that accepts IngressTLSArgs and IngressTLSOutput values. You can construct a concrete instance of `IngressTLSInput` via:

IngressTLSArgs{...}

type IngressTLSOutput added in v2.5.0

type IngressTLSOutput struct{ *pulumi.OutputState }

IngressTLS describes the transport layer security associated with an Ingress.

func (IngressTLSOutput) ElementType added in v2.5.0

func (IngressTLSOutput) ElementType() reflect.Type

func (IngressTLSOutput) Hosts added in v2.5.0

Hosts are a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.

func (IngressTLSOutput) SecretName added in v2.5.0

func (o IngressTLSOutput) SecretName() pulumi.StringPtrOutput

SecretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the Host header is used for routing.

func (IngressTLSOutput) ToIngressTLSOutput added in v2.5.0

func (o IngressTLSOutput) ToIngressTLSOutput() IngressTLSOutput

func (IngressTLSOutput) ToIngressTLSOutputWithContext added in v2.5.0

func (o IngressTLSOutput) ToIngressTLSOutputWithContext(ctx context.Context) IngressTLSOutput

type IngressType added in v2.5.0

type IngressType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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 *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec *IngressSpec `pulumi:"spec"`
	// Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status *IngressStatus `pulumi:"status"`
}

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. Ingress object exists.
  2. Endpoint objects exist with matching names for each Ingress path (except when Service type is ExternalName).
  3. Ingress entry exists for '.status.loadBalancer.ingress'.

If the Ingress has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

type IngressTypeArgs added in v2.5.0

type IngressTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Spec IngressSpecPtrInput `pulumi:"spec"`
	// Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	Status IngressStatusPtrInput `pulumi:"status"`
}

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. Ingress object exists.
  2. Endpoint objects exist with matching names for each Ingress path (except when Service type is ExternalName).
  3. Ingress entry exists for '.status.loadBalancer.ingress'.

If the Ingress has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (IngressTypeArgs) ElementType added in v2.5.0

func (IngressTypeArgs) ElementType() reflect.Type

func (IngressTypeArgs) ToIngressTypeOutput added in v2.5.0

func (i IngressTypeArgs) ToIngressTypeOutput() IngressTypeOutput

func (IngressTypeArgs) ToIngressTypeOutputWithContext added in v2.5.0

func (i IngressTypeArgs) ToIngressTypeOutputWithContext(ctx context.Context) IngressTypeOutput

type IngressTypeArray added in v2.5.0

type IngressTypeArray []IngressTypeInput

func (IngressTypeArray) ElementType added in v2.5.0

func (IngressTypeArray) ElementType() reflect.Type

func (IngressTypeArray) ToIngressTypeArrayOutput added in v2.5.0

func (i IngressTypeArray) ToIngressTypeArrayOutput() IngressTypeArrayOutput

func (IngressTypeArray) ToIngressTypeArrayOutputWithContext added in v2.5.0

func (i IngressTypeArray) ToIngressTypeArrayOutputWithContext(ctx context.Context) IngressTypeArrayOutput

type IngressTypeArrayInput added in v2.5.0

type IngressTypeArrayInput interface {
	pulumi.Input

	ToIngressTypeArrayOutput() IngressTypeArrayOutput
	ToIngressTypeArrayOutputWithContext(context.Context) IngressTypeArrayOutput
}

IngressTypeArrayInput is an input type that accepts IngressTypeArray and IngressTypeArrayOutput values. You can construct a concrete instance of `IngressTypeArrayInput` via:

IngressTypeArray{ IngressTypeArgs{...} }

type IngressTypeArrayOutput added in v2.5.0

type IngressTypeArrayOutput struct{ *pulumi.OutputState }

func (IngressTypeArrayOutput) ElementType added in v2.5.0

func (IngressTypeArrayOutput) ElementType() reflect.Type

func (IngressTypeArrayOutput) Index added in v2.5.0

func (IngressTypeArrayOutput) ToIngressTypeArrayOutput added in v2.5.0

func (o IngressTypeArrayOutput) ToIngressTypeArrayOutput() IngressTypeArrayOutput

func (IngressTypeArrayOutput) ToIngressTypeArrayOutputWithContext added in v2.5.0

func (o IngressTypeArrayOutput) ToIngressTypeArrayOutputWithContext(ctx context.Context) IngressTypeArrayOutput

type IngressTypeInput added in v2.5.0

type IngressTypeInput interface {
	pulumi.Input

	ToIngressTypeOutput() IngressTypeOutput
	ToIngressTypeOutputWithContext(context.Context) IngressTypeOutput
}

IngressTypeInput is an input type that accepts IngressTypeArgs and IngressTypeOutput values. You can construct a concrete instance of `IngressTypeInput` via:

IngressTypeArgs{...}

type IngressTypeOutput added in v2.5.0

type IngressTypeOutput struct{ *pulumi.OutputState }

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

This resource waits until its status is ready before registering success for create/update, and populating output properties from the current state of the resource. The following conditions are used to determine whether the resource creation has succeeded or failed:

  1. Ingress object exists.
  2. Endpoint objects exist with matching names for each Ingress path (except when Service type is ExternalName).
  3. Ingress entry exists for '.status.loadBalancer.ingress'.

If the Ingress has not reached a Ready state after 10 minutes, it will time out and mark the resource update as Failed. You can override the default timeout value by setting the 'customTimeouts' option on the resource.

func (IngressTypeOutput) ApiVersion added in v2.5.0

func (o IngressTypeOutput) ApiVersion() pulumi.StringPtrOutput

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (IngressTypeOutput) ElementType added in v2.5.0

func (IngressTypeOutput) ElementType() reflect.Type

func (IngressTypeOutput) Kind added in v2.5.0

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (IngressTypeOutput) Metadata added in v2.5.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (IngressTypeOutput) Spec added in v2.5.0

Spec is the desired state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (IngressTypeOutput) Status added in v2.5.0

Status is the current state of the Ingress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status

func (IngressTypeOutput) ToIngressTypeOutput added in v2.5.0

func (o IngressTypeOutput) ToIngressTypeOutput() IngressTypeOutput

func (IngressTypeOutput) ToIngressTypeOutputWithContext added in v2.5.0

func (o IngressTypeOutput) ToIngressTypeOutputWithContext(ctx context.Context) IngressTypeOutput

type NetworkPolicy

type NetworkPolicy struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrOutput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrOutput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"`
	// Specification of the desired behavior for this NetworkPolicy.
	Spec NetworkPolicySpecPtrOutput `pulumi:"spec"`
}

NetworkPolicy describes what network traffic is allowed for a set of Pods

func GetNetworkPolicy

func GetNetworkPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkPolicyState, opts ...pulumi.ResourceOption) (*NetworkPolicy, error)

GetNetworkPolicy gets an existing NetworkPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkPolicy

func NewNetworkPolicy(ctx *pulumi.Context,
	name string, args *NetworkPolicyArgs, opts ...pulumi.ResourceOption) (*NetworkPolicy, error)

NewNetworkPolicy registers a new resource with the given unique name, arguments, and options.

func (*NetworkPolicy) ElementType added in v2.7.2

func (*NetworkPolicy) ElementType() reflect.Type

func (*NetworkPolicy) ToNetworkPolicyOutput added in v2.7.2

func (i *NetworkPolicy) ToNetworkPolicyOutput() NetworkPolicyOutput

func (*NetworkPolicy) ToNetworkPolicyOutputWithContext added in v2.7.2

func (i *NetworkPolicy) ToNetworkPolicyOutputWithContext(ctx context.Context) NetworkPolicyOutput

func (*NetworkPolicy) ToNetworkPolicyPtrOutput added in v2.7.7

func (i *NetworkPolicy) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput

func (*NetworkPolicy) ToNetworkPolicyPtrOutputWithContext added in v2.7.7

func (i *NetworkPolicy) ToNetworkPolicyPtrOutputWithContext(ctx context.Context) NetworkPolicyPtrOutput

type NetworkPolicyArgs

type NetworkPolicyArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Specification of the desired behavior for this NetworkPolicy.
	Spec NetworkPolicySpecPtrInput
}

The set of arguments for constructing a NetworkPolicy resource.

func (NetworkPolicyArgs) ElementType

func (NetworkPolicyArgs) ElementType() reflect.Type

type NetworkPolicyArray added in v2.7.7

type NetworkPolicyArray []NetworkPolicyInput

func (NetworkPolicyArray) ElementType added in v2.7.7

func (NetworkPolicyArray) ElementType() reflect.Type

func (NetworkPolicyArray) ToNetworkPolicyArrayOutput added in v2.7.7

func (i NetworkPolicyArray) ToNetworkPolicyArrayOutput() NetworkPolicyArrayOutput

func (NetworkPolicyArray) ToNetworkPolicyArrayOutputWithContext added in v2.7.7

func (i NetworkPolicyArray) ToNetworkPolicyArrayOutputWithContext(ctx context.Context) NetworkPolicyArrayOutput

type NetworkPolicyArrayInput added in v2.7.7

type NetworkPolicyArrayInput interface {
	pulumi.Input

	ToNetworkPolicyArrayOutput() NetworkPolicyArrayOutput
	ToNetworkPolicyArrayOutputWithContext(context.Context) NetworkPolicyArrayOutput
}

NetworkPolicyArrayInput is an input type that accepts NetworkPolicyArray and NetworkPolicyArrayOutput values. You can construct a concrete instance of `NetworkPolicyArrayInput` via:

NetworkPolicyArray{ NetworkPolicyArgs{...} }

type NetworkPolicyArrayOutput added in v2.7.7

type NetworkPolicyArrayOutput struct{ *pulumi.OutputState }

func (NetworkPolicyArrayOutput) ElementType added in v2.7.7

func (NetworkPolicyArrayOutput) ElementType() reflect.Type

func (NetworkPolicyArrayOutput) Index added in v2.7.7

func (NetworkPolicyArrayOutput) ToNetworkPolicyArrayOutput added in v2.7.7

func (o NetworkPolicyArrayOutput) ToNetworkPolicyArrayOutput() NetworkPolicyArrayOutput

func (NetworkPolicyArrayOutput) ToNetworkPolicyArrayOutputWithContext added in v2.7.7

func (o NetworkPolicyArrayOutput) ToNetworkPolicyArrayOutputWithContext(ctx context.Context) NetworkPolicyArrayOutput

type NetworkPolicyEgressRule

type NetworkPolicyEgressRule struct {
	// List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
	Ports []NetworkPolicyPort `pulumi:"ports"`
	// List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.
	To []NetworkPolicyPeer `pulumi:"to"`
}

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

type NetworkPolicyEgressRuleArgs

type NetworkPolicyEgressRuleArgs struct {
	// List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
	Ports NetworkPolicyPortArrayInput `pulumi:"ports"`
	// List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.
	To NetworkPolicyPeerArrayInput `pulumi:"to"`
}

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

func (NetworkPolicyEgressRuleArgs) ElementType

func (NetworkPolicyEgressRuleArgs) ToNetworkPolicyEgressRuleOutput

func (i NetworkPolicyEgressRuleArgs) ToNetworkPolicyEgressRuleOutput() NetworkPolicyEgressRuleOutput

func (NetworkPolicyEgressRuleArgs) ToNetworkPolicyEgressRuleOutputWithContext

func (i NetworkPolicyEgressRuleArgs) ToNetworkPolicyEgressRuleOutputWithContext(ctx context.Context) NetworkPolicyEgressRuleOutput

type NetworkPolicyEgressRuleArray

type NetworkPolicyEgressRuleArray []NetworkPolicyEgressRuleInput

func (NetworkPolicyEgressRuleArray) ElementType

func (NetworkPolicyEgressRuleArray) ToNetworkPolicyEgressRuleArrayOutput

func (i NetworkPolicyEgressRuleArray) ToNetworkPolicyEgressRuleArrayOutput() NetworkPolicyEgressRuleArrayOutput

func (NetworkPolicyEgressRuleArray) ToNetworkPolicyEgressRuleArrayOutputWithContext

func (i NetworkPolicyEgressRuleArray) ToNetworkPolicyEgressRuleArrayOutputWithContext(ctx context.Context) NetworkPolicyEgressRuleArrayOutput

type NetworkPolicyEgressRuleArrayInput

type NetworkPolicyEgressRuleArrayInput interface {
	pulumi.Input

	ToNetworkPolicyEgressRuleArrayOutput() NetworkPolicyEgressRuleArrayOutput
	ToNetworkPolicyEgressRuleArrayOutputWithContext(context.Context) NetworkPolicyEgressRuleArrayOutput
}

NetworkPolicyEgressRuleArrayInput is an input type that accepts NetworkPolicyEgressRuleArray and NetworkPolicyEgressRuleArrayOutput values. You can construct a concrete instance of `NetworkPolicyEgressRuleArrayInput` via:

NetworkPolicyEgressRuleArray{ NetworkPolicyEgressRuleArgs{...} }

type NetworkPolicyEgressRuleArrayOutput

type NetworkPolicyEgressRuleArrayOutput struct{ *pulumi.OutputState }

func (NetworkPolicyEgressRuleArrayOutput) ElementType

func (NetworkPolicyEgressRuleArrayOutput) Index

func (NetworkPolicyEgressRuleArrayOutput) ToNetworkPolicyEgressRuleArrayOutput

func (o NetworkPolicyEgressRuleArrayOutput) ToNetworkPolicyEgressRuleArrayOutput() NetworkPolicyEgressRuleArrayOutput

func (NetworkPolicyEgressRuleArrayOutput) ToNetworkPolicyEgressRuleArrayOutputWithContext

func (o NetworkPolicyEgressRuleArrayOutput) ToNetworkPolicyEgressRuleArrayOutputWithContext(ctx context.Context) NetworkPolicyEgressRuleArrayOutput

type NetworkPolicyEgressRuleInput

type NetworkPolicyEgressRuleInput interface {
	pulumi.Input

	ToNetworkPolicyEgressRuleOutput() NetworkPolicyEgressRuleOutput
	ToNetworkPolicyEgressRuleOutputWithContext(context.Context) NetworkPolicyEgressRuleOutput
}

NetworkPolicyEgressRuleInput is an input type that accepts NetworkPolicyEgressRuleArgs and NetworkPolicyEgressRuleOutput values. You can construct a concrete instance of `NetworkPolicyEgressRuleInput` via:

NetworkPolicyEgressRuleArgs{...}

type NetworkPolicyEgressRuleOutput

type NetworkPolicyEgressRuleOutput struct{ *pulumi.OutputState }

NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8

func (NetworkPolicyEgressRuleOutput) ElementType

func (NetworkPolicyEgressRuleOutput) Ports

List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.

func (NetworkPolicyEgressRuleOutput) To

List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list.

func (NetworkPolicyEgressRuleOutput) ToNetworkPolicyEgressRuleOutput

func (o NetworkPolicyEgressRuleOutput) ToNetworkPolicyEgressRuleOutput() NetworkPolicyEgressRuleOutput

func (NetworkPolicyEgressRuleOutput) ToNetworkPolicyEgressRuleOutputWithContext

func (o NetworkPolicyEgressRuleOutput) ToNetworkPolicyEgressRuleOutputWithContext(ctx context.Context) NetworkPolicyEgressRuleOutput

type NetworkPolicyIngressRule

type NetworkPolicyIngressRule struct {
	// List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.
	From []NetworkPolicyPeer `pulumi:"from"`
	// List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
	Ports []NetworkPolicyPort `pulumi:"ports"`
}

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

type NetworkPolicyIngressRuleArgs

type NetworkPolicyIngressRuleArgs struct {
	// List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.
	From NetworkPolicyPeerArrayInput `pulumi:"from"`
	// List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.
	Ports NetworkPolicyPortArrayInput `pulumi:"ports"`
}

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

func (NetworkPolicyIngressRuleArgs) ElementType

func (NetworkPolicyIngressRuleArgs) ToNetworkPolicyIngressRuleOutput

func (i NetworkPolicyIngressRuleArgs) ToNetworkPolicyIngressRuleOutput() NetworkPolicyIngressRuleOutput

func (NetworkPolicyIngressRuleArgs) ToNetworkPolicyIngressRuleOutputWithContext

func (i NetworkPolicyIngressRuleArgs) ToNetworkPolicyIngressRuleOutputWithContext(ctx context.Context) NetworkPolicyIngressRuleOutput

type NetworkPolicyIngressRuleArray

type NetworkPolicyIngressRuleArray []NetworkPolicyIngressRuleInput

func (NetworkPolicyIngressRuleArray) ElementType

func (NetworkPolicyIngressRuleArray) ToNetworkPolicyIngressRuleArrayOutput

func (i NetworkPolicyIngressRuleArray) ToNetworkPolicyIngressRuleArrayOutput() NetworkPolicyIngressRuleArrayOutput

func (NetworkPolicyIngressRuleArray) ToNetworkPolicyIngressRuleArrayOutputWithContext

func (i NetworkPolicyIngressRuleArray) ToNetworkPolicyIngressRuleArrayOutputWithContext(ctx context.Context) NetworkPolicyIngressRuleArrayOutput

type NetworkPolicyIngressRuleArrayInput

type NetworkPolicyIngressRuleArrayInput interface {
	pulumi.Input

	ToNetworkPolicyIngressRuleArrayOutput() NetworkPolicyIngressRuleArrayOutput
	ToNetworkPolicyIngressRuleArrayOutputWithContext(context.Context) NetworkPolicyIngressRuleArrayOutput
}

NetworkPolicyIngressRuleArrayInput is an input type that accepts NetworkPolicyIngressRuleArray and NetworkPolicyIngressRuleArrayOutput values. You can construct a concrete instance of `NetworkPolicyIngressRuleArrayInput` via:

NetworkPolicyIngressRuleArray{ NetworkPolicyIngressRuleArgs{...} }

type NetworkPolicyIngressRuleArrayOutput

type NetworkPolicyIngressRuleArrayOutput struct{ *pulumi.OutputState }

func (NetworkPolicyIngressRuleArrayOutput) ElementType

func (NetworkPolicyIngressRuleArrayOutput) Index

func (NetworkPolicyIngressRuleArrayOutput) ToNetworkPolicyIngressRuleArrayOutput

func (o NetworkPolicyIngressRuleArrayOutput) ToNetworkPolicyIngressRuleArrayOutput() NetworkPolicyIngressRuleArrayOutput

func (NetworkPolicyIngressRuleArrayOutput) ToNetworkPolicyIngressRuleArrayOutputWithContext

func (o NetworkPolicyIngressRuleArrayOutput) ToNetworkPolicyIngressRuleArrayOutputWithContext(ctx context.Context) NetworkPolicyIngressRuleArrayOutput

type NetworkPolicyIngressRuleInput

type NetworkPolicyIngressRuleInput interface {
	pulumi.Input

	ToNetworkPolicyIngressRuleOutput() NetworkPolicyIngressRuleOutput
	ToNetworkPolicyIngressRuleOutputWithContext(context.Context) NetworkPolicyIngressRuleOutput
}

NetworkPolicyIngressRuleInput is an input type that accepts NetworkPolicyIngressRuleArgs and NetworkPolicyIngressRuleOutput values. You can construct a concrete instance of `NetworkPolicyIngressRuleInput` via:

NetworkPolicyIngressRuleArgs{...}

type NetworkPolicyIngressRuleOutput

type NetworkPolicyIngressRuleOutput struct{ *pulumi.OutputState }

NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.

func (NetworkPolicyIngressRuleOutput) ElementType

func (NetworkPolicyIngressRuleOutput) From

List of sources which should be able to access the pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all sources (traffic not restricted by source). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the from list.

func (NetworkPolicyIngressRuleOutput) Ports

List of ports which should be made accessible on the pods selected for this rule. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list.

func (NetworkPolicyIngressRuleOutput) ToNetworkPolicyIngressRuleOutput

func (o NetworkPolicyIngressRuleOutput) ToNetworkPolicyIngressRuleOutput() NetworkPolicyIngressRuleOutput

func (NetworkPolicyIngressRuleOutput) ToNetworkPolicyIngressRuleOutputWithContext

func (o NetworkPolicyIngressRuleOutput) ToNetworkPolicyIngressRuleOutputWithContext(ctx context.Context) NetworkPolicyIngressRuleOutput

type NetworkPolicyInput added in v2.7.2

type NetworkPolicyInput interface {
	pulumi.Input

	ToNetworkPolicyOutput() NetworkPolicyOutput
	ToNetworkPolicyOutputWithContext(ctx context.Context) NetworkPolicyOutput
}

type NetworkPolicyList

type NetworkPolicyList struct {
	pulumi.CustomResourceState

	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrOutput `pulumi:"apiVersion"`
	// Items is a list of schema objects.
	Items NetworkPolicyTypeArrayOutput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrOutput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrOutput `pulumi:"metadata"`
}

NetworkPolicyList is a list of NetworkPolicy objects.

func GetNetworkPolicyList

func GetNetworkPolicyList(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NetworkPolicyListState, opts ...pulumi.ResourceOption) (*NetworkPolicyList, error)

GetNetworkPolicyList gets an existing NetworkPolicyList resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNetworkPolicyList

func NewNetworkPolicyList(ctx *pulumi.Context,
	name string, args *NetworkPolicyListArgs, opts ...pulumi.ResourceOption) (*NetworkPolicyList, error)

NewNetworkPolicyList registers a new resource with the given unique name, arguments, and options.

func (*NetworkPolicyList) ElementType added in v2.7.2

func (*NetworkPolicyList) ElementType() reflect.Type

func (*NetworkPolicyList) ToNetworkPolicyListOutput added in v2.7.2

func (i *NetworkPolicyList) ToNetworkPolicyListOutput() NetworkPolicyListOutput

func (*NetworkPolicyList) ToNetworkPolicyListOutputWithContext added in v2.7.2

func (i *NetworkPolicyList) ToNetworkPolicyListOutputWithContext(ctx context.Context) NetworkPolicyListOutput

func (*NetworkPolicyList) ToNetworkPolicyListPtrOutput added in v2.7.7

func (i *NetworkPolicyList) ToNetworkPolicyListPtrOutput() NetworkPolicyListPtrOutput

func (*NetworkPolicyList) ToNetworkPolicyListPtrOutputWithContext added in v2.7.7

func (i *NetworkPolicyList) ToNetworkPolicyListPtrOutputWithContext(ctx context.Context) NetworkPolicyListPtrOutput

type NetworkPolicyListArgs

type NetworkPolicyListArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Items is a list of schema objects.
	Items NetworkPolicyTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

The set of arguments for constructing a NetworkPolicyList resource.

func (NetworkPolicyListArgs) ElementType

func (NetworkPolicyListArgs) ElementType() reflect.Type

type NetworkPolicyListArray added in v2.7.7

type NetworkPolicyListArray []NetworkPolicyListInput

func (NetworkPolicyListArray) ElementType added in v2.7.7

func (NetworkPolicyListArray) ElementType() reflect.Type

func (NetworkPolicyListArray) ToNetworkPolicyListArrayOutput added in v2.7.7

func (i NetworkPolicyListArray) ToNetworkPolicyListArrayOutput() NetworkPolicyListArrayOutput

func (NetworkPolicyListArray) ToNetworkPolicyListArrayOutputWithContext added in v2.7.7

func (i NetworkPolicyListArray) ToNetworkPolicyListArrayOutputWithContext(ctx context.Context) NetworkPolicyListArrayOutput

type NetworkPolicyListArrayInput added in v2.7.7

type NetworkPolicyListArrayInput interface {
	pulumi.Input

	ToNetworkPolicyListArrayOutput() NetworkPolicyListArrayOutput
	ToNetworkPolicyListArrayOutputWithContext(context.Context) NetworkPolicyListArrayOutput
}

NetworkPolicyListArrayInput is an input type that accepts NetworkPolicyListArray and NetworkPolicyListArrayOutput values. You can construct a concrete instance of `NetworkPolicyListArrayInput` via:

NetworkPolicyListArray{ NetworkPolicyListArgs{...} }

type NetworkPolicyListArrayOutput added in v2.7.7

type NetworkPolicyListArrayOutput struct{ *pulumi.OutputState }

func (NetworkPolicyListArrayOutput) ElementType added in v2.7.7

func (NetworkPolicyListArrayOutput) Index added in v2.7.7

func (NetworkPolicyListArrayOutput) ToNetworkPolicyListArrayOutput added in v2.7.7

func (o NetworkPolicyListArrayOutput) ToNetworkPolicyListArrayOutput() NetworkPolicyListArrayOutput

func (NetworkPolicyListArrayOutput) ToNetworkPolicyListArrayOutputWithContext added in v2.7.7

func (o NetworkPolicyListArrayOutput) ToNetworkPolicyListArrayOutputWithContext(ctx context.Context) NetworkPolicyListArrayOutput

type NetworkPolicyListInput added in v2.7.2

type NetworkPolicyListInput interface {
	pulumi.Input

	ToNetworkPolicyListOutput() NetworkPolicyListOutput
	ToNetworkPolicyListOutputWithContext(ctx context.Context) NetworkPolicyListOutput
}

type NetworkPolicyListMap added in v2.7.7

type NetworkPolicyListMap map[string]NetworkPolicyListInput

func (NetworkPolicyListMap) ElementType added in v2.7.7

func (NetworkPolicyListMap) ElementType() reflect.Type

func (NetworkPolicyListMap) ToNetworkPolicyListMapOutput added in v2.7.7

func (i NetworkPolicyListMap) ToNetworkPolicyListMapOutput() NetworkPolicyListMapOutput

func (NetworkPolicyListMap) ToNetworkPolicyListMapOutputWithContext added in v2.7.7

func (i NetworkPolicyListMap) ToNetworkPolicyListMapOutputWithContext(ctx context.Context) NetworkPolicyListMapOutput

type NetworkPolicyListMapInput added in v2.7.7

type NetworkPolicyListMapInput interface {
	pulumi.Input

	ToNetworkPolicyListMapOutput() NetworkPolicyListMapOutput
	ToNetworkPolicyListMapOutputWithContext(context.Context) NetworkPolicyListMapOutput
}

NetworkPolicyListMapInput is an input type that accepts NetworkPolicyListMap and NetworkPolicyListMapOutput values. You can construct a concrete instance of `NetworkPolicyListMapInput` via:

NetworkPolicyListMap{ "key": NetworkPolicyListArgs{...} }

type NetworkPolicyListMapOutput added in v2.7.7

type NetworkPolicyListMapOutput struct{ *pulumi.OutputState }

func (NetworkPolicyListMapOutput) ElementType added in v2.7.7

func (NetworkPolicyListMapOutput) ElementType() reflect.Type

func (NetworkPolicyListMapOutput) MapIndex added in v2.7.7

func (NetworkPolicyListMapOutput) ToNetworkPolicyListMapOutput added in v2.7.7

func (o NetworkPolicyListMapOutput) ToNetworkPolicyListMapOutput() NetworkPolicyListMapOutput

func (NetworkPolicyListMapOutput) ToNetworkPolicyListMapOutputWithContext added in v2.7.7

func (o NetworkPolicyListMapOutput) ToNetworkPolicyListMapOutputWithContext(ctx context.Context) NetworkPolicyListMapOutput

type NetworkPolicyListOutput added in v2.7.2

type NetworkPolicyListOutput struct {
	*pulumi.OutputState
}

func (NetworkPolicyListOutput) ElementType added in v2.7.2

func (NetworkPolicyListOutput) ElementType() reflect.Type

func (NetworkPolicyListOutput) ToNetworkPolicyListOutput added in v2.7.2

func (o NetworkPolicyListOutput) ToNetworkPolicyListOutput() NetworkPolicyListOutput

func (NetworkPolicyListOutput) ToNetworkPolicyListOutputWithContext added in v2.7.2

func (o NetworkPolicyListOutput) ToNetworkPolicyListOutputWithContext(ctx context.Context) NetworkPolicyListOutput

func (NetworkPolicyListOutput) ToNetworkPolicyListPtrOutput added in v2.7.7

func (o NetworkPolicyListOutput) ToNetworkPolicyListPtrOutput() NetworkPolicyListPtrOutput

func (NetworkPolicyListOutput) ToNetworkPolicyListPtrOutputWithContext added in v2.7.7

func (o NetworkPolicyListOutput) ToNetworkPolicyListPtrOutputWithContext(ctx context.Context) NetworkPolicyListPtrOutput

type NetworkPolicyListPtrInput added in v2.7.7

type NetworkPolicyListPtrInput interface {
	pulumi.Input

	ToNetworkPolicyListPtrOutput() NetworkPolicyListPtrOutput
	ToNetworkPolicyListPtrOutputWithContext(ctx context.Context) NetworkPolicyListPtrOutput
}

type NetworkPolicyListPtrOutput added in v2.7.7

type NetworkPolicyListPtrOutput struct {
	*pulumi.OutputState
}

func (NetworkPolicyListPtrOutput) ElementType added in v2.7.7

func (NetworkPolicyListPtrOutput) ElementType() reflect.Type

func (NetworkPolicyListPtrOutput) ToNetworkPolicyListPtrOutput added in v2.7.7

func (o NetworkPolicyListPtrOutput) ToNetworkPolicyListPtrOutput() NetworkPolicyListPtrOutput

func (NetworkPolicyListPtrOutput) ToNetworkPolicyListPtrOutputWithContext added in v2.7.7

func (o NetworkPolicyListPtrOutput) ToNetworkPolicyListPtrOutputWithContext(ctx context.Context) NetworkPolicyListPtrOutput

type NetworkPolicyListState

type NetworkPolicyListState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Items is a list of schema objects.
	Items NetworkPolicyTypeArrayInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput
}

func (NetworkPolicyListState) ElementType

func (NetworkPolicyListState) ElementType() reflect.Type

type NetworkPolicyListType

type NetworkPolicyListType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 *string `pulumi:"apiVersion"`
	// Items is a list of schema objects.
	Items []NetworkPolicyType `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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 *string `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ListMeta `pulumi:"metadata"`
}

NetworkPolicyList is a list of NetworkPolicy objects.

type NetworkPolicyListTypeArgs

type NetworkPolicyListTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput `pulumi:"apiVersion"`
	// Items is a list of schema objects.
	Items NetworkPolicyTypeArrayInput `pulumi:"items"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput `pulumi:"kind"`
	// Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ListMetaPtrInput `pulumi:"metadata"`
}

NetworkPolicyList is a list of NetworkPolicy objects.

func (NetworkPolicyListTypeArgs) ElementType

func (NetworkPolicyListTypeArgs) ElementType() reflect.Type

func (NetworkPolicyListTypeArgs) ToNetworkPolicyListTypeOutput

func (i NetworkPolicyListTypeArgs) ToNetworkPolicyListTypeOutput() NetworkPolicyListTypeOutput

func (NetworkPolicyListTypeArgs) ToNetworkPolicyListTypeOutputWithContext

func (i NetworkPolicyListTypeArgs) ToNetworkPolicyListTypeOutputWithContext(ctx context.Context) NetworkPolicyListTypeOutput

type NetworkPolicyListTypeInput

type NetworkPolicyListTypeInput interface {
	pulumi.Input

	ToNetworkPolicyListTypeOutput() NetworkPolicyListTypeOutput
	ToNetworkPolicyListTypeOutputWithContext(context.Context) NetworkPolicyListTypeOutput
}

NetworkPolicyListTypeInput is an input type that accepts NetworkPolicyListTypeArgs and NetworkPolicyListTypeOutput values. You can construct a concrete instance of `NetworkPolicyListTypeInput` via:

NetworkPolicyListTypeArgs{...}

type NetworkPolicyListTypeOutput

type NetworkPolicyListTypeOutput struct{ *pulumi.OutputState }

NetworkPolicyList is a list of NetworkPolicy objects.

func (NetworkPolicyListTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (NetworkPolicyListTypeOutput) ElementType

func (NetworkPolicyListTypeOutput) Items

Items is a list of schema objects.

func (NetworkPolicyListTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (NetworkPolicyListTypeOutput) ToNetworkPolicyListTypeOutput

func (o NetworkPolicyListTypeOutput) ToNetworkPolicyListTypeOutput() NetworkPolicyListTypeOutput

func (NetworkPolicyListTypeOutput) ToNetworkPolicyListTypeOutputWithContext

func (o NetworkPolicyListTypeOutput) ToNetworkPolicyListTypeOutputWithContext(ctx context.Context) NetworkPolicyListTypeOutput

type NetworkPolicyMap added in v2.7.7

type NetworkPolicyMap map[string]NetworkPolicyInput

func (NetworkPolicyMap) ElementType added in v2.7.7

func (NetworkPolicyMap) ElementType() reflect.Type

func (NetworkPolicyMap) ToNetworkPolicyMapOutput added in v2.7.7

func (i NetworkPolicyMap) ToNetworkPolicyMapOutput() NetworkPolicyMapOutput

func (NetworkPolicyMap) ToNetworkPolicyMapOutputWithContext added in v2.7.7

func (i NetworkPolicyMap) ToNetworkPolicyMapOutputWithContext(ctx context.Context) NetworkPolicyMapOutput

type NetworkPolicyMapInput added in v2.7.7

type NetworkPolicyMapInput interface {
	pulumi.Input

	ToNetworkPolicyMapOutput() NetworkPolicyMapOutput
	ToNetworkPolicyMapOutputWithContext(context.Context) NetworkPolicyMapOutput
}

NetworkPolicyMapInput is an input type that accepts NetworkPolicyMap and NetworkPolicyMapOutput values. You can construct a concrete instance of `NetworkPolicyMapInput` via:

NetworkPolicyMap{ "key": NetworkPolicyArgs{...} }

type NetworkPolicyMapOutput added in v2.7.7

type NetworkPolicyMapOutput struct{ *pulumi.OutputState }

func (NetworkPolicyMapOutput) ElementType added in v2.7.7

func (NetworkPolicyMapOutput) ElementType() reflect.Type

func (NetworkPolicyMapOutput) MapIndex added in v2.7.7

func (NetworkPolicyMapOutput) ToNetworkPolicyMapOutput added in v2.7.7

func (o NetworkPolicyMapOutput) ToNetworkPolicyMapOutput() NetworkPolicyMapOutput

func (NetworkPolicyMapOutput) ToNetworkPolicyMapOutputWithContext added in v2.7.7

func (o NetworkPolicyMapOutput) ToNetworkPolicyMapOutputWithContext(ctx context.Context) NetworkPolicyMapOutput

type NetworkPolicyOutput added in v2.7.2

type NetworkPolicyOutput struct {
	*pulumi.OutputState
}

func (NetworkPolicyOutput) ElementType added in v2.7.2

func (NetworkPolicyOutput) ElementType() reflect.Type

func (NetworkPolicyOutput) ToNetworkPolicyOutput added in v2.7.2

func (o NetworkPolicyOutput) ToNetworkPolicyOutput() NetworkPolicyOutput

func (NetworkPolicyOutput) ToNetworkPolicyOutputWithContext added in v2.7.2

func (o NetworkPolicyOutput) ToNetworkPolicyOutputWithContext(ctx context.Context) NetworkPolicyOutput

func (NetworkPolicyOutput) ToNetworkPolicyPtrOutput added in v2.7.7

func (o NetworkPolicyOutput) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput

func (NetworkPolicyOutput) ToNetworkPolicyPtrOutputWithContext added in v2.7.7

func (o NetworkPolicyOutput) ToNetworkPolicyPtrOutputWithContext(ctx context.Context) NetworkPolicyPtrOutput

type NetworkPolicyPeer

type NetworkPolicyPeer struct {
	// IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
	IpBlock *IPBlock `pulumi:"ipBlock"`
	// Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.
	//
	// If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.
	NamespaceSelector *metav1.LabelSelector `pulumi:"namespaceSelector"`
	// This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.
	//
	// If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.
	PodSelector *metav1.LabelSelector `pulumi:"podSelector"`
}

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

type NetworkPolicyPeerArgs

type NetworkPolicyPeerArgs struct {
	// IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.
	IpBlock IPBlockPtrInput `pulumi:"ipBlock"`
	// Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.
	//
	// If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.
	NamespaceSelector metav1.LabelSelectorPtrInput `pulumi:"namespaceSelector"`
	// This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.
	//
	// If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.
	PodSelector metav1.LabelSelectorPtrInput `pulumi:"podSelector"`
}

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

func (NetworkPolicyPeerArgs) ElementType

func (NetworkPolicyPeerArgs) ElementType() reflect.Type

func (NetworkPolicyPeerArgs) ToNetworkPolicyPeerOutput

func (i NetworkPolicyPeerArgs) ToNetworkPolicyPeerOutput() NetworkPolicyPeerOutput

func (NetworkPolicyPeerArgs) ToNetworkPolicyPeerOutputWithContext

func (i NetworkPolicyPeerArgs) ToNetworkPolicyPeerOutputWithContext(ctx context.Context) NetworkPolicyPeerOutput

type NetworkPolicyPeerArray

type NetworkPolicyPeerArray []NetworkPolicyPeerInput

func (NetworkPolicyPeerArray) ElementType

func (NetworkPolicyPeerArray) ElementType() reflect.Type

func (NetworkPolicyPeerArray) ToNetworkPolicyPeerArrayOutput

func (i NetworkPolicyPeerArray) ToNetworkPolicyPeerArrayOutput() NetworkPolicyPeerArrayOutput

func (NetworkPolicyPeerArray) ToNetworkPolicyPeerArrayOutputWithContext

func (i NetworkPolicyPeerArray) ToNetworkPolicyPeerArrayOutputWithContext(ctx context.Context) NetworkPolicyPeerArrayOutput

type NetworkPolicyPeerArrayInput

type NetworkPolicyPeerArrayInput interface {
	pulumi.Input

	ToNetworkPolicyPeerArrayOutput() NetworkPolicyPeerArrayOutput
	ToNetworkPolicyPeerArrayOutputWithContext(context.Context) NetworkPolicyPeerArrayOutput
}

NetworkPolicyPeerArrayInput is an input type that accepts NetworkPolicyPeerArray and NetworkPolicyPeerArrayOutput values. You can construct a concrete instance of `NetworkPolicyPeerArrayInput` via:

NetworkPolicyPeerArray{ NetworkPolicyPeerArgs{...} }

type NetworkPolicyPeerArrayOutput

type NetworkPolicyPeerArrayOutput struct{ *pulumi.OutputState }

func (NetworkPolicyPeerArrayOutput) ElementType

func (NetworkPolicyPeerArrayOutput) Index

func (NetworkPolicyPeerArrayOutput) ToNetworkPolicyPeerArrayOutput

func (o NetworkPolicyPeerArrayOutput) ToNetworkPolicyPeerArrayOutput() NetworkPolicyPeerArrayOutput

func (NetworkPolicyPeerArrayOutput) ToNetworkPolicyPeerArrayOutputWithContext

func (o NetworkPolicyPeerArrayOutput) ToNetworkPolicyPeerArrayOutputWithContext(ctx context.Context) NetworkPolicyPeerArrayOutput

type NetworkPolicyPeerInput

type NetworkPolicyPeerInput interface {
	pulumi.Input

	ToNetworkPolicyPeerOutput() NetworkPolicyPeerOutput
	ToNetworkPolicyPeerOutputWithContext(context.Context) NetworkPolicyPeerOutput
}

NetworkPolicyPeerInput is an input type that accepts NetworkPolicyPeerArgs and NetworkPolicyPeerOutput values. You can construct a concrete instance of `NetworkPolicyPeerInput` via:

NetworkPolicyPeerArgs{...}

type NetworkPolicyPeerOutput

type NetworkPolicyPeerOutput struct{ *pulumi.OutputState }

NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed

func (NetworkPolicyPeerOutput) ElementType

func (NetworkPolicyPeerOutput) ElementType() reflect.Type

func (NetworkPolicyPeerOutput) IpBlock

IPBlock defines policy on a particular IPBlock. If this field is set then neither of the other fields can be.

func (NetworkPolicyPeerOutput) NamespaceSelector

Selects Namespaces using cluster-scoped labels. This field follows standard label selector semantics; if present but empty, it selects all namespaces.

If PodSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects all Pods in the Namespaces selected by NamespaceSelector.

func (NetworkPolicyPeerOutput) PodSelector

This is a label selector which selects Pods. This field follows standard label selector semantics; if present but empty, it selects all pods.

If NamespaceSelector is also set, then the NetworkPolicyPeer as a whole selects the Pods matching PodSelector in the Namespaces selected by NamespaceSelector. Otherwise it selects the Pods matching PodSelector in the policy's own Namespace.

func (NetworkPolicyPeerOutput) ToNetworkPolicyPeerOutput

func (o NetworkPolicyPeerOutput) ToNetworkPolicyPeerOutput() NetworkPolicyPeerOutput

func (NetworkPolicyPeerOutput) ToNetworkPolicyPeerOutputWithContext

func (o NetworkPolicyPeerOutput) ToNetworkPolicyPeerOutputWithContext(ctx context.Context) NetworkPolicyPeerOutput

type NetworkPolicyPort

type NetworkPolicyPort struct {
	// If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Alpha state and should be enabled using the Feature Gate "NetworkPolicyEndPort".
	EndPort *int `pulumi:"endPort"`
	// The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
	Port interface{} `pulumi:"port"`
	// The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
	Protocol *string `pulumi:"protocol"`
}

NetworkPolicyPort describes a port to allow traffic on

type NetworkPolicyPortArgs

type NetworkPolicyPortArgs struct {
	// If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Alpha state and should be enabled using the Feature Gate "NetworkPolicyEndPort".
	EndPort pulumi.IntPtrInput `pulumi:"endPort"`
	// The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.
	Port pulumi.Input `pulumi:"port"`
	// The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
}

NetworkPolicyPort describes a port to allow traffic on

func (NetworkPolicyPortArgs) ElementType

func (NetworkPolicyPortArgs) ElementType() reflect.Type

func (NetworkPolicyPortArgs) ToNetworkPolicyPortOutput

func (i NetworkPolicyPortArgs) ToNetworkPolicyPortOutput() NetworkPolicyPortOutput

func (NetworkPolicyPortArgs) ToNetworkPolicyPortOutputWithContext

func (i NetworkPolicyPortArgs) ToNetworkPolicyPortOutputWithContext(ctx context.Context) NetworkPolicyPortOutput

type NetworkPolicyPortArray

type NetworkPolicyPortArray []NetworkPolicyPortInput

func (NetworkPolicyPortArray) ElementType

func (NetworkPolicyPortArray) ElementType() reflect.Type

func (NetworkPolicyPortArray) ToNetworkPolicyPortArrayOutput

func (i NetworkPolicyPortArray) ToNetworkPolicyPortArrayOutput() NetworkPolicyPortArrayOutput

func (NetworkPolicyPortArray) ToNetworkPolicyPortArrayOutputWithContext

func (i NetworkPolicyPortArray) ToNetworkPolicyPortArrayOutputWithContext(ctx context.Context) NetworkPolicyPortArrayOutput

type NetworkPolicyPortArrayInput

type NetworkPolicyPortArrayInput interface {
	pulumi.Input

	ToNetworkPolicyPortArrayOutput() NetworkPolicyPortArrayOutput
	ToNetworkPolicyPortArrayOutputWithContext(context.Context) NetworkPolicyPortArrayOutput
}

NetworkPolicyPortArrayInput is an input type that accepts NetworkPolicyPortArray and NetworkPolicyPortArrayOutput values. You can construct a concrete instance of `NetworkPolicyPortArrayInput` via:

NetworkPolicyPortArray{ NetworkPolicyPortArgs{...} }

type NetworkPolicyPortArrayOutput

type NetworkPolicyPortArrayOutput struct{ *pulumi.OutputState }

func (NetworkPolicyPortArrayOutput) ElementType

func (NetworkPolicyPortArrayOutput) Index

func (NetworkPolicyPortArrayOutput) ToNetworkPolicyPortArrayOutput

func (o NetworkPolicyPortArrayOutput) ToNetworkPolicyPortArrayOutput() NetworkPolicyPortArrayOutput

func (NetworkPolicyPortArrayOutput) ToNetworkPolicyPortArrayOutputWithContext

func (o NetworkPolicyPortArrayOutput) ToNetworkPolicyPortArrayOutputWithContext(ctx context.Context) NetworkPolicyPortArrayOutput

type NetworkPolicyPortInput

type NetworkPolicyPortInput interface {
	pulumi.Input

	ToNetworkPolicyPortOutput() NetworkPolicyPortOutput
	ToNetworkPolicyPortOutputWithContext(context.Context) NetworkPolicyPortOutput
}

NetworkPolicyPortInput is an input type that accepts NetworkPolicyPortArgs and NetworkPolicyPortOutput values. You can construct a concrete instance of `NetworkPolicyPortInput` via:

NetworkPolicyPortArgs{...}

type NetworkPolicyPortOutput

type NetworkPolicyPortOutput struct{ *pulumi.OutputState }

NetworkPolicyPort describes a port to allow traffic on

func (NetworkPolicyPortOutput) ElementType

func (NetworkPolicyPortOutput) ElementType() reflect.Type

func (NetworkPolicyPortOutput) EndPort added in v2.9.0

If set, indicates that the range of ports from port to endPort, inclusive, should be allowed by the policy. This field cannot be defined if the port field is not defined or if the port field is defined as a named (string) port. The endPort must be equal or greater than port. This feature is in Alpha state and should be enabled using the Feature Gate "NetworkPolicyEndPort".

func (NetworkPolicyPortOutput) Port

The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched.

func (NetworkPolicyPortOutput) Protocol

The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP.

func (NetworkPolicyPortOutput) ToNetworkPolicyPortOutput

func (o NetworkPolicyPortOutput) ToNetworkPolicyPortOutput() NetworkPolicyPortOutput

func (NetworkPolicyPortOutput) ToNetworkPolicyPortOutputWithContext

func (o NetworkPolicyPortOutput) ToNetworkPolicyPortOutputWithContext(ctx context.Context) NetworkPolicyPortOutput

type NetworkPolicyPtrInput added in v2.7.7

type NetworkPolicyPtrInput interface {
	pulumi.Input

	ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput
	ToNetworkPolicyPtrOutputWithContext(ctx context.Context) NetworkPolicyPtrOutput
}

type NetworkPolicyPtrOutput added in v2.7.7

type NetworkPolicyPtrOutput struct {
	*pulumi.OutputState
}

func (NetworkPolicyPtrOutput) ElementType added in v2.7.7

func (NetworkPolicyPtrOutput) ElementType() reflect.Type

func (NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutput added in v2.7.7

func (o NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutput() NetworkPolicyPtrOutput

func (NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutputWithContext added in v2.7.7

func (o NetworkPolicyPtrOutput) ToNetworkPolicyPtrOutputWithContext(ctx context.Context) NetworkPolicyPtrOutput

type NetworkPolicySpec

type NetworkPolicySpec struct {
	// List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
	Egress []NetworkPolicyEgressRule `pulumi:"egress"`
	// List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)
	Ingress []NetworkPolicyIngressRule `pulumi:"ingress"`
	// Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
	PodSelector metav1.LabelSelector `pulumi:"podSelector"`
	// List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8
	PolicyTypes []string `pulumi:"policyTypes"`
}

NetworkPolicySpec provides the specification of a NetworkPolicy

type NetworkPolicySpecArgs

type NetworkPolicySpecArgs struct {
	// List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8
	Egress NetworkPolicyEgressRuleArrayInput `pulumi:"egress"`
	// List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)
	Ingress NetworkPolicyIngressRuleArrayInput `pulumi:"ingress"`
	// Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
	PodSelector metav1.LabelSelectorInput `pulumi:"podSelector"`
	// List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8
	PolicyTypes pulumi.StringArrayInput `pulumi:"policyTypes"`
}

NetworkPolicySpec provides the specification of a NetworkPolicy

func (NetworkPolicySpecArgs) ElementType

func (NetworkPolicySpecArgs) ElementType() reflect.Type

func (NetworkPolicySpecArgs) ToNetworkPolicySpecOutput

func (i NetworkPolicySpecArgs) ToNetworkPolicySpecOutput() NetworkPolicySpecOutput

func (NetworkPolicySpecArgs) ToNetworkPolicySpecOutputWithContext

func (i NetworkPolicySpecArgs) ToNetworkPolicySpecOutputWithContext(ctx context.Context) NetworkPolicySpecOutput

func (NetworkPolicySpecArgs) ToNetworkPolicySpecPtrOutput

func (i NetworkPolicySpecArgs) ToNetworkPolicySpecPtrOutput() NetworkPolicySpecPtrOutput

func (NetworkPolicySpecArgs) ToNetworkPolicySpecPtrOutputWithContext

func (i NetworkPolicySpecArgs) ToNetworkPolicySpecPtrOutputWithContext(ctx context.Context) NetworkPolicySpecPtrOutput

type NetworkPolicySpecInput

type NetworkPolicySpecInput interface {
	pulumi.Input

	ToNetworkPolicySpecOutput() NetworkPolicySpecOutput
	ToNetworkPolicySpecOutputWithContext(context.Context) NetworkPolicySpecOutput
}

NetworkPolicySpecInput is an input type that accepts NetworkPolicySpecArgs and NetworkPolicySpecOutput values. You can construct a concrete instance of `NetworkPolicySpecInput` via:

NetworkPolicySpecArgs{...}

type NetworkPolicySpecOutput

type NetworkPolicySpecOutput struct{ *pulumi.OutputState }

NetworkPolicySpec provides the specification of a NetworkPolicy

func (NetworkPolicySpecOutput) Egress

List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8

func (NetworkPolicySpecOutput) ElementType

func (NetworkPolicySpecOutput) ElementType() reflect.Type

func (NetworkPolicySpecOutput) Ingress

List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)

func (NetworkPolicySpecOutput) PodSelector

Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.

func (NetworkPolicySpecOutput) PolicyTypes

List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8

func (NetworkPolicySpecOutput) ToNetworkPolicySpecOutput

func (o NetworkPolicySpecOutput) ToNetworkPolicySpecOutput() NetworkPolicySpecOutput

func (NetworkPolicySpecOutput) ToNetworkPolicySpecOutputWithContext

func (o NetworkPolicySpecOutput) ToNetworkPolicySpecOutputWithContext(ctx context.Context) NetworkPolicySpecOutput

func (NetworkPolicySpecOutput) ToNetworkPolicySpecPtrOutput

func (o NetworkPolicySpecOutput) ToNetworkPolicySpecPtrOutput() NetworkPolicySpecPtrOutput

func (NetworkPolicySpecOutput) ToNetworkPolicySpecPtrOutputWithContext

func (o NetworkPolicySpecOutput) ToNetworkPolicySpecPtrOutputWithContext(ctx context.Context) NetworkPolicySpecPtrOutput

type NetworkPolicySpecPtrInput

type NetworkPolicySpecPtrInput interface {
	pulumi.Input

	ToNetworkPolicySpecPtrOutput() NetworkPolicySpecPtrOutput
	ToNetworkPolicySpecPtrOutputWithContext(context.Context) NetworkPolicySpecPtrOutput
}

NetworkPolicySpecPtrInput is an input type that accepts NetworkPolicySpecArgs, NetworkPolicySpecPtr and NetworkPolicySpecPtrOutput values. You can construct a concrete instance of `NetworkPolicySpecPtrInput` via:

        NetworkPolicySpecArgs{...}

or:

        nil

type NetworkPolicySpecPtrOutput

type NetworkPolicySpecPtrOutput struct{ *pulumi.OutputState }

func (NetworkPolicySpecPtrOutput) Egress

List of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8

func (NetworkPolicySpecPtrOutput) Elem

func (NetworkPolicySpecPtrOutput) ElementType

func (NetworkPolicySpecPtrOutput) ElementType() reflect.Type

func (NetworkPolicySpecPtrOutput) Ingress

List of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default)

func (NetworkPolicySpecPtrOutput) PodSelector

Selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.

func (NetworkPolicySpecPtrOutput) PolicyTypes

List of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of Ingress or Egress rules; policies that contain an Egress section are assumed to affect Egress, and all policies (whether or not they contain an Ingress section) are assumed to affect Ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an Egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8

func (NetworkPolicySpecPtrOutput) ToNetworkPolicySpecPtrOutput

func (o NetworkPolicySpecPtrOutput) ToNetworkPolicySpecPtrOutput() NetworkPolicySpecPtrOutput

func (NetworkPolicySpecPtrOutput) ToNetworkPolicySpecPtrOutputWithContext

func (o NetworkPolicySpecPtrOutput) ToNetworkPolicySpecPtrOutputWithContext(ctx context.Context) NetworkPolicySpecPtrOutput

type NetworkPolicyState

type NetworkPolicyState struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput
	// Specification of the desired behavior for this NetworkPolicy.
	Spec NetworkPolicySpecPtrInput
}

func (NetworkPolicyState) ElementType

func (NetworkPolicyState) ElementType() reflect.Type

type NetworkPolicyType

type NetworkPolicyType struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 *string `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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 *string `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Specification of the desired behavior for this NetworkPolicy.
	Spec *NetworkPolicySpec `pulumi:"spec"`
}

NetworkPolicy describes what network traffic is allowed for a set of Pods

type NetworkPolicyTypeArgs

type NetworkPolicyTypeArgs struct {
	// APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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.StringPtrInput `pulumi:"apiVersion"`
	// Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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.StringPtrInput `pulumi:"kind"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Specification of the desired behavior for this NetworkPolicy.
	Spec NetworkPolicySpecPtrInput `pulumi:"spec"`
}

NetworkPolicy describes what network traffic is allowed for a set of Pods

func (NetworkPolicyTypeArgs) ElementType

func (NetworkPolicyTypeArgs) ElementType() reflect.Type

func (NetworkPolicyTypeArgs) ToNetworkPolicyTypeOutput

func (i NetworkPolicyTypeArgs) ToNetworkPolicyTypeOutput() NetworkPolicyTypeOutput

func (NetworkPolicyTypeArgs) ToNetworkPolicyTypeOutputWithContext

func (i NetworkPolicyTypeArgs) ToNetworkPolicyTypeOutputWithContext(ctx context.Context) NetworkPolicyTypeOutput

type NetworkPolicyTypeArray

type NetworkPolicyTypeArray []NetworkPolicyTypeInput

func (NetworkPolicyTypeArray) ElementType

func (NetworkPolicyTypeArray) ElementType() reflect.Type

func (NetworkPolicyTypeArray) ToNetworkPolicyTypeArrayOutput

func (i NetworkPolicyTypeArray) ToNetworkPolicyTypeArrayOutput() NetworkPolicyTypeArrayOutput

func (NetworkPolicyTypeArray) ToNetworkPolicyTypeArrayOutputWithContext

func (i NetworkPolicyTypeArray) ToNetworkPolicyTypeArrayOutputWithContext(ctx context.Context) NetworkPolicyTypeArrayOutput

type NetworkPolicyTypeArrayInput

type NetworkPolicyTypeArrayInput interface {
	pulumi.Input

	ToNetworkPolicyTypeArrayOutput() NetworkPolicyTypeArrayOutput
	ToNetworkPolicyTypeArrayOutputWithContext(context.Context) NetworkPolicyTypeArrayOutput
}

NetworkPolicyTypeArrayInput is an input type that accepts NetworkPolicyTypeArray and NetworkPolicyTypeArrayOutput values. You can construct a concrete instance of `NetworkPolicyTypeArrayInput` via:

NetworkPolicyTypeArray{ NetworkPolicyTypeArgs{...} }

type NetworkPolicyTypeArrayOutput

type NetworkPolicyTypeArrayOutput struct{ *pulumi.OutputState }

func (NetworkPolicyTypeArrayOutput) ElementType

func (NetworkPolicyTypeArrayOutput) Index

func (NetworkPolicyTypeArrayOutput) ToNetworkPolicyTypeArrayOutput

func (o NetworkPolicyTypeArrayOutput) ToNetworkPolicyTypeArrayOutput() NetworkPolicyTypeArrayOutput

func (NetworkPolicyTypeArrayOutput) ToNetworkPolicyTypeArrayOutputWithContext

func (o NetworkPolicyTypeArrayOutput) ToNetworkPolicyTypeArrayOutputWithContext(ctx context.Context) NetworkPolicyTypeArrayOutput

type NetworkPolicyTypeInput

type NetworkPolicyTypeInput interface {
	pulumi.Input

	ToNetworkPolicyTypeOutput() NetworkPolicyTypeOutput
	ToNetworkPolicyTypeOutputWithContext(context.Context) NetworkPolicyTypeOutput
}

NetworkPolicyTypeInput is an input type that accepts NetworkPolicyTypeArgs and NetworkPolicyTypeOutput values. You can construct a concrete instance of `NetworkPolicyTypeInput` via:

NetworkPolicyTypeArgs{...}

type NetworkPolicyTypeOutput

type NetworkPolicyTypeOutput struct{ *pulumi.OutputState }

NetworkPolicy describes what network traffic is allowed for a set of Pods

func (NetworkPolicyTypeOutput) ApiVersion

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

func (NetworkPolicyTypeOutput) ElementType

func (NetworkPolicyTypeOutput) ElementType() reflect.Type

func (NetworkPolicyTypeOutput) Kind

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

func (NetworkPolicyTypeOutput) Spec

Specification of the desired behavior for this NetworkPolicy.

func (NetworkPolicyTypeOutput) ToNetworkPolicyTypeOutput

func (o NetworkPolicyTypeOutput) ToNetworkPolicyTypeOutput() NetworkPolicyTypeOutput

func (NetworkPolicyTypeOutput) ToNetworkPolicyTypeOutputWithContext

func (o NetworkPolicyTypeOutput) ToNetworkPolicyTypeOutputWithContext(ctx context.Context) NetworkPolicyTypeOutput

type ServiceBackendPort added in v2.5.0

type ServiceBackendPort struct {
	// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
	Name *string `pulumi:"name"`
	// Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".
	Number *int `pulumi:"number"`
}

ServiceBackendPort is the service port being referenced.

type ServiceBackendPortArgs added in v2.5.0

type ServiceBackendPortArgs struct {
	// Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".
	Number pulumi.IntPtrInput `pulumi:"number"`
}

ServiceBackendPort is the service port being referenced.

func (ServiceBackendPortArgs) ElementType added in v2.5.0

func (ServiceBackendPortArgs) ElementType() reflect.Type

func (ServiceBackendPortArgs) ToServiceBackendPortOutput added in v2.5.0

func (i ServiceBackendPortArgs) ToServiceBackendPortOutput() ServiceBackendPortOutput

func (ServiceBackendPortArgs) ToServiceBackendPortOutputWithContext added in v2.5.0

func (i ServiceBackendPortArgs) ToServiceBackendPortOutputWithContext(ctx context.Context) ServiceBackendPortOutput

func (ServiceBackendPortArgs) ToServiceBackendPortPtrOutput added in v2.5.0

func (i ServiceBackendPortArgs) ToServiceBackendPortPtrOutput() ServiceBackendPortPtrOutput

func (ServiceBackendPortArgs) ToServiceBackendPortPtrOutputWithContext added in v2.5.0

func (i ServiceBackendPortArgs) ToServiceBackendPortPtrOutputWithContext(ctx context.Context) ServiceBackendPortPtrOutput

type ServiceBackendPortInput added in v2.5.0

type ServiceBackendPortInput interface {
	pulumi.Input

	ToServiceBackendPortOutput() ServiceBackendPortOutput
	ToServiceBackendPortOutputWithContext(context.Context) ServiceBackendPortOutput
}

ServiceBackendPortInput is an input type that accepts ServiceBackendPortArgs and ServiceBackendPortOutput values. You can construct a concrete instance of `ServiceBackendPortInput` via:

ServiceBackendPortArgs{...}

type ServiceBackendPortOutput added in v2.5.0

type ServiceBackendPortOutput struct{ *pulumi.OutputState }

ServiceBackendPort is the service port being referenced.

func (ServiceBackendPortOutput) ElementType added in v2.5.0

func (ServiceBackendPortOutput) ElementType() reflect.Type

func (ServiceBackendPortOutput) Name added in v2.5.0

Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".

func (ServiceBackendPortOutput) Number added in v2.5.0

Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".

func (ServiceBackendPortOutput) ToServiceBackendPortOutput added in v2.5.0

func (o ServiceBackendPortOutput) ToServiceBackendPortOutput() ServiceBackendPortOutput

func (ServiceBackendPortOutput) ToServiceBackendPortOutputWithContext added in v2.5.0

func (o ServiceBackendPortOutput) ToServiceBackendPortOutputWithContext(ctx context.Context) ServiceBackendPortOutput

func (ServiceBackendPortOutput) ToServiceBackendPortPtrOutput added in v2.5.0

func (o ServiceBackendPortOutput) ToServiceBackendPortPtrOutput() ServiceBackendPortPtrOutput

func (ServiceBackendPortOutput) ToServiceBackendPortPtrOutputWithContext added in v2.5.0

func (o ServiceBackendPortOutput) ToServiceBackendPortPtrOutputWithContext(ctx context.Context) ServiceBackendPortPtrOutput

type ServiceBackendPortPtrInput added in v2.5.0

type ServiceBackendPortPtrInput interface {
	pulumi.Input

	ToServiceBackendPortPtrOutput() ServiceBackendPortPtrOutput
	ToServiceBackendPortPtrOutputWithContext(context.Context) ServiceBackendPortPtrOutput
}

ServiceBackendPortPtrInput is an input type that accepts ServiceBackendPortArgs, ServiceBackendPortPtr and ServiceBackendPortPtrOutput values. You can construct a concrete instance of `ServiceBackendPortPtrInput` via:

        ServiceBackendPortArgs{...}

or:

        nil

func ServiceBackendPortPtr added in v2.5.0

func ServiceBackendPortPtr(v *ServiceBackendPortArgs) ServiceBackendPortPtrInput

type ServiceBackendPortPtrOutput added in v2.5.0

type ServiceBackendPortPtrOutput struct{ *pulumi.OutputState }

func (ServiceBackendPortPtrOutput) Elem added in v2.5.0

func (ServiceBackendPortPtrOutput) ElementType added in v2.5.0

func (ServiceBackendPortPtrOutput) Name added in v2.5.0

Name is the name of the port on the Service. This is a mutually exclusive setting with "Number".

func (ServiceBackendPortPtrOutput) Number added in v2.5.0

Number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".

func (ServiceBackendPortPtrOutput) ToServiceBackendPortPtrOutput added in v2.5.0

func (o ServiceBackendPortPtrOutput) ToServiceBackendPortPtrOutput() ServiceBackendPortPtrOutput

func (ServiceBackendPortPtrOutput) ToServiceBackendPortPtrOutputWithContext added in v2.5.0

func (o ServiceBackendPortPtrOutput) ToServiceBackendPortPtrOutputWithContext(ctx context.Context) ServiceBackendPortPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL