v1

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HTTPIngressPathBlank = (&HTTPIngressPathDie{}).DieFeed(networkingv1.HTTPIngressPath{})
View Source
var HTTPIngressRuleValueBlank = (&HTTPIngressRuleValueDie{}).DieFeed(networkingv1.HTTPIngressRuleValue{})
View Source
var IPBlockBlank = (&IPBlockDie{}).DieFeed(networkingv1.IPBlock{})
View Source
var IngressBackendBlank = (&IngressBackendDie{}).DieFeed(networkingv1.IngressBackend{})
View Source
var IngressBlank = (&IngressDie{}).DieFeed(networkingv1.Ingress{})
View Source
var IngressClassBlank = (&IngressClassDie{}).DieFeed(networkingv1.IngressClass{})
View Source
var IngressClassParametersReferenceBlank = (&IngressClassParametersReferenceDie{}).DieFeed(networkingv1.IngressClassParametersReference{})
View Source
var IngressClassSpecBlank = (&IngressClassSpecDie{}).DieFeed(networkingv1.IngressClassSpec{})
View Source
var IngressLoadBalancerIngressBlank = (&IngressLoadBalancerIngressDie{}).DieFeed(networkingv1.IngressLoadBalancerIngress{})
View Source
var IngressLoadBalancerStatusBlank = (&IngressLoadBalancerStatusDie{}).DieFeed(networkingv1.IngressLoadBalancerStatus{})
View Source
var IngressPortStatusBlank = (&IngressPortStatusDie{}).DieFeed(networkingv1.IngressPortStatus{})
View Source
var IngressRuleBlank = (&IngressRuleDie{}).DieFeed(networkingv1.IngressRule{})
View Source
var IngressServiceBackendBlank = (&IngressServiceBackendDie{}).DieFeed(networkingv1.IngressServiceBackend{})
View Source
var IngressSpecBlank = (&IngressSpecDie{}).DieFeed(networkingv1.IngressSpec{})
View Source
var IngressStatusBlank = (&IngressStatusDie{}).DieFeed(networkingv1.IngressStatus{})
View Source
var IngressTLSBlank = (&IngressTLSDie{}).DieFeed(networkingv1.IngressTLS{})
View Source
var NetworkPolicyBlank = (&NetworkPolicyDie{}).DieFeed(networkingv1.NetworkPolicy{})
View Source
var NetworkPolicyEgressRuleBlank = (&NetworkPolicyEgressRuleDie{}).DieFeed(networkingv1.NetworkPolicyEgressRule{})
View Source
var NetworkPolicyIngressRuleBlank = (&NetworkPolicyIngressRuleDie{}).DieFeed(networkingv1.NetworkPolicyIngressRule{})
View Source
var NetworkPolicyPeerBlank = (&NetworkPolicyPeerDie{}).DieFeed(networkingv1.NetworkPolicyPeer{})
View Source
var NetworkPolicyPortBlank = (&NetworkPolicyPortDie{}).DieFeed(networkingv1.NetworkPolicyPort{})
View Source
var NetworkPolicySpecBlank = (&NetworkPolicySpecDie{}).DieFeed(networkingv1.NetworkPolicySpec{})
View Source
var ServiceBackendPortBlank = (&ServiceBackendPortDie{}).DieFeed(networkingv1.ServiceBackendPort{})

Functions

This section is empty.

Types

type HTTPIngressPathDie

type HTTPIngressPathDie struct {
	// contains filtered or unexported fields
}

func (*HTTPIngressPathDie) Backend

backend defines the referenced service endpoint to which the traffic

will be forwarded to.

func (*HTTPIngressPathDie) BackendDie

func (d *HTTPIngressPathDie) BackendDie(fn func(d *IngressBackendDie)) *HTTPIngressPathDie

func (*HTTPIngressPathDie) DeepCopy

func (d *HTTPIngressPathDie) DeepCopy() *HTTPIngressPathDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*HTTPIngressPathDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*HTTPIngressPathDie) DieFeedJSON added in v0.8.0

func (d *HTTPIngressPathDie) DieFeedJSON(j []byte) *HTTPIngressPathDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*HTTPIngressPathDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*HTTPIngressPathDie) DieFeedRawExtension added in v0.5.0

func (d *HTTPIngressPathDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPIngressPathDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPIngressPathDie) DieFeedYAML added in v0.8.0

func (d *HTTPIngressPathDie) DieFeedYAML(y []byte) *HTTPIngressPathDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*HTTPIngressPathDie) DieFeedYAMLFile added in v0.8.0

func (d *HTTPIngressPathDie) DieFeedYAMLFile(name string) *HTTPIngressPathDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*HTTPIngressPathDie) DieImmutable

func (d *HTTPIngressPathDie) DieImmutable(immutable bool) *HTTPIngressPathDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*HTTPIngressPathDie) DieRelease

DieRelease returns the resource managed by the die.

func (*HTTPIngressPathDie) DieReleaseJSON added in v0.8.0

func (d *HTTPIngressPathDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*HTTPIngressPathDie) DieReleasePtr

func (d *HTTPIngressPathDie) DieReleasePtr() *networkingv1.HTTPIngressPath

DieReleasePtr returns a pointer to the resource managed by the die.

func (*HTTPIngressPathDie) DieReleaseRawExtension added in v0.5.0

func (d *HTTPIngressPathDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPIngressPathDie) DieReleaseYAML added in v0.8.0

func (d *HTTPIngressPathDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*HTTPIngressPathDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*HTTPIngressPathDie) DieStampAt added in v0.8.0

func (d *HTTPIngressPathDie) DieStampAt(jp string, fn interface{}) *HTTPIngressPathDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*HTTPIngressPathDie) DieWith added in v0.9.0

func (d *HTTPIngressPathDie) DieWith(fns ...func(d *HTTPIngressPathDie)) *HTTPIngressPathDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*HTTPIngressPathDie) Path

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 '/' and must be present

when using PathType with value "Exact" or "Prefix".

func (*HTTPIngressPathDie) PathType

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.

type HTTPIngressRuleValueDie

type HTTPIngressRuleValueDie struct {
	// contains filtered or unexported fields
}

func (*HTTPIngressRuleValueDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*HTTPIngressRuleValueDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*HTTPIngressRuleValueDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*HTTPIngressRuleValueDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*HTTPIngressRuleValueDie) DieFeedRawExtension added in v0.5.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPIngressRuleValueDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*HTTPIngressRuleValueDie) DieFeedYAMLFile added in v0.8.0

func (d *HTTPIngressRuleValueDie) DieFeedYAMLFile(name string) *HTTPIngressRuleValueDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*HTTPIngressRuleValueDie) DieImmutable

func (d *HTTPIngressRuleValueDie) DieImmutable(immutable bool) *HTTPIngressRuleValueDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*HTTPIngressRuleValueDie) DieRelease

DieRelease returns the resource managed by the die.

func (*HTTPIngressRuleValueDie) DieReleaseJSON added in v0.8.0

func (d *HTTPIngressRuleValueDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*HTTPIngressRuleValueDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*HTTPIngressRuleValueDie) DieReleaseRawExtension added in v0.5.0

func (d *HTTPIngressRuleValueDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*HTTPIngressRuleValueDie) DieReleaseYAML added in v0.8.0

func (d *HTTPIngressRuleValueDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*HTTPIngressRuleValueDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*HTTPIngressRuleValueDie) DieStampAt added in v0.8.0

func (d *HTTPIngressRuleValueDie) DieStampAt(jp string, fn interface{}) *HTTPIngressRuleValueDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*HTTPIngressRuleValueDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*HTTPIngressRuleValueDie) Paths

paths is a collection of paths that map requests to backends.

func (*HTTPIngressRuleValueDie) PathsDie

type IPBlockDie

type IPBlockDie struct {
	// contains filtered or unexported fields
}

func (*IPBlockDie) CIDR

func (d *IPBlockDie) CIDR(v string) *IPBlockDie

cidr is a string representing the IPBlock

Valid examples are "192.168.1.0/24" or "2001:db8::/64"

func (*IPBlockDie) DeepCopy

func (d *IPBlockDie) DeepCopy() *IPBlockDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IPBlockDie) DieFeed

func (d *IPBlockDie) DieFeed(r networkingv1.IPBlock) *IPBlockDie

DieFeed returns a new die with the provided resource.

func (*IPBlockDie) DieFeedJSON added in v0.8.0

func (d *IPBlockDie) DieFeedJSON(j []byte) *IPBlockDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IPBlockDie) DieFeedPtr

func (d *IPBlockDie) DieFeedPtr(r *networkingv1.IPBlock) *IPBlockDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IPBlockDie) DieFeedRawExtension added in v0.5.0

func (d *IPBlockDie) DieFeedRawExtension(raw runtime.RawExtension) *IPBlockDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IPBlockDie) DieFeedYAML added in v0.8.0

func (d *IPBlockDie) DieFeedYAML(y []byte) *IPBlockDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IPBlockDie) DieFeedYAMLFile added in v0.8.0

func (d *IPBlockDie) DieFeedYAMLFile(name string) *IPBlockDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IPBlockDie) DieImmutable

func (d *IPBlockDie) DieImmutable(immutable bool) *IPBlockDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IPBlockDie) DieRelease

func (d *IPBlockDie) DieRelease() networkingv1.IPBlock

DieRelease returns the resource managed by the die.

func (*IPBlockDie) DieReleaseJSON added in v0.8.0

func (d *IPBlockDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IPBlockDie) DieReleasePtr

func (d *IPBlockDie) DieReleasePtr() *networkingv1.IPBlock

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IPBlockDie) DieReleaseRawExtension added in v0.5.0

func (d *IPBlockDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IPBlockDie) DieReleaseYAML added in v0.8.0

func (d *IPBlockDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IPBlockDie) DieStamp

func (d *IPBlockDie) DieStamp(fn func(r *networkingv1.IPBlock)) *IPBlockDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IPBlockDie) DieStampAt added in v0.8.0

func (d *IPBlockDie) DieStampAt(jp string, fn interface{}) *IPBlockDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IPBlockDie) DieWith added in v0.9.0

func (d *IPBlockDie) DieWith(fns ...func(d *IPBlockDie)) *IPBlockDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IPBlockDie) Except

func (d *IPBlockDie) Except(v ...string) *IPBlockDie

except is a slice of CIDRs that should not be included within an IPBlock

Valid examples are "192.168.1.0/24" or "2001:db8::/64"

Except values will be rejected if they are outside the cidr range

type IngressBackendDie

type IngressBackendDie struct {
	// contains filtered or unexported fields
}

func (*IngressBackendDie) DeepCopy

func (d *IngressBackendDie) DeepCopy() *IngressBackendDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressBackendDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressBackendDie) DieFeedJSON added in v0.8.0

func (d *IngressBackendDie) DieFeedJSON(j []byte) *IngressBackendDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressBackendDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressBackendDie) DieFeedRawExtension added in v0.5.0

func (d *IngressBackendDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressBackendDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressBackendDie) DieFeedYAML added in v0.8.0

func (d *IngressBackendDie) DieFeedYAML(y []byte) *IngressBackendDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressBackendDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressBackendDie) DieFeedYAMLFile(name string) *IngressBackendDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressBackendDie) DieImmutable

func (d *IngressBackendDie) DieImmutable(immutable bool) *IngressBackendDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressBackendDie) DieRelease

DieRelease returns the resource managed by the die.

func (*IngressBackendDie) DieReleaseJSON added in v0.8.0

func (d *IngressBackendDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressBackendDie) DieReleasePtr

func (d *IngressBackendDie) DieReleasePtr() *networkingv1.IngressBackend

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressBackendDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressBackendDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressBackendDie) DieReleaseYAML added in v0.8.0

func (d *IngressBackendDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressBackendDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressBackendDie) DieStampAt added in v0.8.0

func (d *IngressBackendDie) DieStampAt(jp string, fn interface{}) *IngressBackendDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressBackendDie) DieWith added in v0.9.0

func (d *IngressBackendDie) DieWith(fns ...func(d *IngressBackendDie)) *IngressBackendDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressBackendDie) Resource

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 (*IngressBackendDie) ResourceDie

func (*IngressBackendDie) Service

service references a service as a backend.

This is a mutually exclusive setting with "Resource".

func (*IngressBackendDie) ServiceDie

func (d *IngressBackendDie) ServiceDie(fn func(d *IngressServiceBackendDie)) *IngressBackendDie

type IngressClassDie

type IngressClassDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*IngressClassDie) APIVersion added in v0.5.0

func (d *IngressClassDie) APIVersion(v string) *IngressClassDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 (*IngressClassDie) DeepCopy

func (d *IngressClassDie) DeepCopy() *IngressClassDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressClassDie) DeepCopyObject

func (d *IngressClassDie) DeepCopyObject() runtime.Object

func (*IngressClassDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressClassDie) DieFeedJSON added in v0.8.0

func (d *IngressClassDie) DieFeedJSON(j []byte) *IngressClassDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressClassDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressClassDie) DieFeedRawExtension added in v0.5.0

func (d *IngressClassDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressClassDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressClassDie) DieFeedYAML added in v0.8.0

func (d *IngressClassDie) DieFeedYAML(y []byte) *IngressClassDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressClassDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressClassDie) DieFeedYAMLFile(name string) *IngressClassDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressClassDie) DieImmutable

func (d *IngressClassDie) DieImmutable(immutable bool) *IngressClassDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressClassDie) DieRelease

func (d *IngressClassDie) DieRelease() networkingv1.IngressClass

DieRelease returns the resource managed by the die.

func (*IngressClassDie) DieReleaseJSON added in v0.8.0

func (d *IngressClassDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressClassDie) DieReleasePtr

func (d *IngressClassDie) DieReleasePtr() *networkingv1.IngressClass

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressClassDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressClassDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressClassDie) DieReleaseUnstructured

func (d *IngressClassDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*IngressClassDie) DieReleaseYAML added in v0.8.0

func (d *IngressClassDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressClassDie) DieStamp

func (d *IngressClassDie) DieStamp(fn func(r *networkingv1.IngressClass)) *IngressClassDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressClassDie) DieStampAt added in v0.8.0

func (d *IngressClassDie) DieStampAt(jp string, fn interface{}) *IngressClassDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressClassDie) DieWith added in v0.9.0

func (d *IngressClassDie) DieWith(fns ...func(d *IngressClassDie)) *IngressClassDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressClassDie) GetObjectKind

func (d *IngressClassDie) GetObjectKind() schema.ObjectKind

func (*IngressClassDie) Kind added in v0.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 (*IngressClassDie) MarshalJSON

func (d *IngressClassDie) MarshalJSON() ([]byte, error)

func (*IngressClassDie) MetadataDie

func (d *IngressClassDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *IngressClassDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*IngressClassDie) Spec

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 (*IngressClassDie) SpecDie

func (d *IngressClassDie) SpecDie(fn func(d *IngressClassSpecDie)) *IngressClassDie

SpecDie stamps the resource's spec field with a mutable die.

func (*IngressClassDie) UnmarshalJSON

func (d *IngressClassDie) UnmarshalJSON(b []byte) error

type IngressClassParametersReferenceDie

type IngressClassParametersReferenceDie struct {
	// contains filtered or unexported fields
}

func (*IngressClassParametersReferenceDie) APIGroup

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 (*IngressClassParametersReferenceDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressClassParametersReferenceDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressClassParametersReferenceDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressClassParametersReferenceDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressClassParametersReferenceDie) DieFeedRawExtension added in v0.5.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressClassParametersReferenceDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressClassParametersReferenceDie) DieFeedYAMLFile added in v0.8.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressClassParametersReferenceDie) DieImmutable

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressClassParametersReferenceDie) DieRelease

DieRelease returns the resource managed by the die.

func (*IngressClassParametersReferenceDie) DieReleaseJSON added in v0.8.0

func (d *IngressClassParametersReferenceDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressClassParametersReferenceDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressClassParametersReferenceDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressClassParametersReferenceDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressClassParametersReferenceDie) DieReleaseYAML added in v0.8.0

func (d *IngressClassParametersReferenceDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressClassParametersReferenceDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressClassParametersReferenceDie) DieStampAt added in v0.8.0

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressClassParametersReferenceDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressClassParametersReferenceDie) Kind

kind is the type of resource being referenced.

func (*IngressClassParametersReferenceDie) Name

name is the name of resource being referenced.

func (*IngressClassParametersReferenceDie) Namespace

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 (*IngressClassParametersReferenceDie) Scope

scope represents if this refers to a cluster or namespace scoped resource.

This may be set to "Cluster" (default) or "Namespace".

type IngressClassSpecDie

type IngressClassSpecDie struct {
	// contains filtered or unexported fields
}

func (*IngressClassSpecDie) Controller

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 (*IngressClassSpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressClassSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressClassSpecDie) DieFeedJSON added in v0.8.0

func (d *IngressClassSpecDie) DieFeedJSON(j []byte) *IngressClassSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressClassSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressClassSpecDie) DieFeedRawExtension added in v0.5.0

func (d *IngressClassSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressClassSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressClassSpecDie) DieFeedYAML added in v0.8.0

func (d *IngressClassSpecDie) DieFeedYAML(y []byte) *IngressClassSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressClassSpecDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressClassSpecDie) DieFeedYAMLFile(name string) *IngressClassSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressClassSpecDie) DieImmutable

func (d *IngressClassSpecDie) DieImmutable(immutable bool) *IngressClassSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressClassSpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*IngressClassSpecDie) DieReleaseJSON added in v0.8.0

func (d *IngressClassSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressClassSpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressClassSpecDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressClassSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressClassSpecDie) DieReleaseYAML added in v0.8.0

func (d *IngressClassSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressClassSpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressClassSpecDie) DieStampAt added in v0.8.0

func (d *IngressClassSpecDie) DieStampAt(jp string, fn interface{}) *IngressClassSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressClassSpecDie) DieWith added in v0.9.0

func (d *IngressClassSpecDie) DieWith(fns ...func(d *IngressClassSpecDie)) *IngressClassSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressClassSpecDie) Parameters

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 (*IngressClassSpecDie) ParametersDie

type IngressDie

type IngressDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*IngressDie) APIVersion added in v0.5.0

func (d *IngressDie) APIVersion(v string) *IngressDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 (*IngressDie) DeepCopy

func (d *IngressDie) DeepCopy() *IngressDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressDie) DeepCopyObject

func (d *IngressDie) DeepCopyObject() runtime.Object

func (*IngressDie) DieFeed

func (d *IngressDie) DieFeed(r networkingv1.Ingress) *IngressDie

DieFeed returns a new die with the provided resource.

func (*IngressDie) DieFeedJSON added in v0.8.0

func (d *IngressDie) DieFeedJSON(j []byte) *IngressDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressDie) DieFeedPtr

func (d *IngressDie) DieFeedPtr(r *networkingv1.Ingress) *IngressDie

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressDie) DieFeedRawExtension added in v0.5.0

func (d *IngressDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressDie) DieFeedYAML added in v0.8.0

func (d *IngressDie) DieFeedYAML(y []byte) *IngressDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressDie) DieFeedYAMLFile(name string) *IngressDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressDie) DieImmutable

func (d *IngressDie) DieImmutable(immutable bool) *IngressDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressDie) DieRelease

func (d *IngressDie) DieRelease() networkingv1.Ingress

DieRelease returns the resource managed by the die.

func (*IngressDie) DieReleaseJSON added in v0.8.0

func (d *IngressDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressDie) DieReleasePtr

func (d *IngressDie) DieReleasePtr() *networkingv1.Ingress

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressDie) DieReleaseUnstructured

func (d *IngressDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*IngressDie) DieReleaseYAML added in v0.8.0

func (d *IngressDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressDie) DieStamp

func (d *IngressDie) DieStamp(fn func(r *networkingv1.Ingress)) *IngressDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressDie) DieStampAt added in v0.8.0

func (d *IngressDie) DieStampAt(jp string, fn interface{}) *IngressDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressDie) DieWith added in v0.9.0

func (d *IngressDie) DieWith(fns ...func(d *IngressDie)) *IngressDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressDie) GetObjectKind

func (d *IngressDie) GetObjectKind() schema.ObjectKind

func (*IngressDie) Kind added in v0.5.0

func (d *IngressDie) Kind(v string) *IngressDie

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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 (*IngressDie) MarshalJSON

func (d *IngressDie) MarshalJSON() ([]byte, error)

func (*IngressDie) MetadataDie

func (d *IngressDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *IngressDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*IngressDie) Spec

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 (*IngressDie) SpecDie

func (d *IngressDie) SpecDie(fn func(d *IngressSpecDie)) *IngressDie

SpecDie stamps the resource's spec field with a mutable die.

func (*IngressDie) Status

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 (*IngressDie) StatusDie

func (d *IngressDie) StatusDie(fn func(d *IngressStatusDie)) *IngressDie

StatusDie stamps the resource's status field with a mutable die.

func (*IngressDie) UnmarshalJSON

func (d *IngressDie) UnmarshalJSON(b []byte) error

type IngressLoadBalancerIngress added in v0.7.0

type IngressLoadBalancerIngress = networkingv1.IngressLoadBalancerIngress

+die

type IngressLoadBalancerIngressDie added in v0.7.0

type IngressLoadBalancerIngressDie struct {
	// contains filtered or unexported fields
}

func (*IngressLoadBalancerIngressDie) DeepCopy added in v0.7.0

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressLoadBalancerIngressDie) DieFeed added in v0.7.0

DieFeed returns a new die with the provided resource.

func (*IngressLoadBalancerIngressDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressLoadBalancerIngressDie) DieFeedPtr added in v0.7.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressLoadBalancerIngressDie) DieFeedRawExtension added in v0.7.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressLoadBalancerIngressDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressLoadBalancerIngressDie) DieFeedYAMLFile added in v0.8.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressLoadBalancerIngressDie) DieImmutable added in v0.7.0

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressLoadBalancerIngressDie) DieRelease added in v0.7.0

DieRelease returns the resource managed by the die.

func (*IngressLoadBalancerIngressDie) DieReleaseJSON added in v0.8.0

func (d *IngressLoadBalancerIngressDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressLoadBalancerIngressDie) DieReleasePtr added in v0.7.0

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressLoadBalancerIngressDie) DieReleaseRawExtension added in v0.7.0

func (d *IngressLoadBalancerIngressDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressLoadBalancerIngressDie) DieReleaseYAML added in v0.8.0

func (d *IngressLoadBalancerIngressDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressLoadBalancerIngressDie) DieStamp added in v0.7.0

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressLoadBalancerIngressDie) DieStampAt added in v0.8.0

func (d *IngressLoadBalancerIngressDie) DieStampAt(jp string, fn interface{}) *IngressLoadBalancerIngressDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressLoadBalancerIngressDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressLoadBalancerIngressDie) Hostname added in v0.7.0

hostname is set for load-balancer ingress points that are DNS based.

func (*IngressLoadBalancerIngressDie) IP added in v0.7.0

ip is set for load-balancer ingress points that are IP based.

func (*IngressLoadBalancerIngressDie) Ports added in v0.7.0

ports provides information about the ports exposed by this LoadBalancer.

func (*IngressLoadBalancerIngressDie) PortsDie added in v0.7.0

type IngressLoadBalancerStatus added in v0.7.0

type IngressLoadBalancerStatus = networkingv1.IngressLoadBalancerStatus

+die

type IngressLoadBalancerStatusDie added in v0.7.0

type IngressLoadBalancerStatusDie struct {
	// contains filtered or unexported fields
}

func (*IngressLoadBalancerStatusDie) DeepCopy added in v0.7.0

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressLoadBalancerStatusDie) DieFeed added in v0.7.0

DieFeed returns a new die with the provided resource.

func (*IngressLoadBalancerStatusDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressLoadBalancerStatusDie) DieFeedPtr added in v0.7.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressLoadBalancerStatusDie) DieFeedRawExtension added in v0.7.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressLoadBalancerStatusDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressLoadBalancerStatusDie) DieFeedYAMLFile added in v0.8.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressLoadBalancerStatusDie) DieImmutable added in v0.7.0

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressLoadBalancerStatusDie) DieRelease added in v0.7.0

DieRelease returns the resource managed by the die.

func (*IngressLoadBalancerStatusDie) DieReleaseJSON added in v0.8.0

func (d *IngressLoadBalancerStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressLoadBalancerStatusDie) DieReleasePtr added in v0.7.0

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressLoadBalancerStatusDie) DieReleaseRawExtension added in v0.7.0

func (d *IngressLoadBalancerStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressLoadBalancerStatusDie) DieReleaseYAML added in v0.8.0

func (d *IngressLoadBalancerStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressLoadBalancerStatusDie) DieStamp added in v0.7.0

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressLoadBalancerStatusDie) DieStampAt added in v0.8.0

func (d *IngressLoadBalancerStatusDie) DieStampAt(jp string, fn interface{}) *IngressLoadBalancerStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressLoadBalancerStatusDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressLoadBalancerStatusDie) Ingress added in v0.7.0

ingress is a list containing ingress points for the load-balancer.

func (*IngressLoadBalancerStatusDie) IngressDie added in v0.7.0

type IngressPortStatus added in v0.7.0

type IngressPortStatus = networkingv1.IngressPortStatus

+die

type IngressPortStatusDie added in v0.7.0

type IngressPortStatusDie struct {
	// contains filtered or unexported fields
}

func (*IngressPortStatusDie) DeepCopy added in v0.7.0

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressPortStatusDie) DieFeed added in v0.7.0

DieFeed returns a new die with the provided resource.

func (*IngressPortStatusDie) DieFeedJSON added in v0.8.0

func (d *IngressPortStatusDie) DieFeedJSON(j []byte) *IngressPortStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressPortStatusDie) DieFeedPtr added in v0.7.0

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressPortStatusDie) DieFeedRawExtension added in v0.7.0

func (d *IngressPortStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressPortStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressPortStatusDie) DieFeedYAML added in v0.8.0

func (d *IngressPortStatusDie) DieFeedYAML(y []byte) *IngressPortStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressPortStatusDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressPortStatusDie) DieFeedYAMLFile(name string) *IngressPortStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressPortStatusDie) DieImmutable added in v0.7.0

func (d *IngressPortStatusDie) DieImmutable(immutable bool) *IngressPortStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressPortStatusDie) DieRelease added in v0.7.0

DieRelease returns the resource managed by the die.

func (*IngressPortStatusDie) DieReleaseJSON added in v0.8.0

func (d *IngressPortStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressPortStatusDie) DieReleasePtr added in v0.7.0

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressPortStatusDie) DieReleaseRawExtension added in v0.7.0

func (d *IngressPortStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressPortStatusDie) DieReleaseYAML added in v0.8.0

func (d *IngressPortStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressPortStatusDie) DieStamp added in v0.7.0

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressPortStatusDie) DieStampAt added in v0.8.0

func (d *IngressPortStatusDie) DieStampAt(jp string, fn interface{}) *IngressPortStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressPortStatusDie) DieWith added in v0.9.0

func (d *IngressPortStatusDie) DieWith(fns ...func(d *IngressPortStatusDie)) *IngressPortStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressPortStatusDie) Error added in v0.7.0

error is to record the problem with the service port

The format of the error shall comply with the following rules:

- built-in error values shall be specified in this file and those shall use

CamelCase names

- cloud provider specific error values must have names that comply with the

format foo.example.com/CamelCase.

---

The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)

func (*IngressPortStatusDie) Port added in v0.7.0

port is the port number of the ingress port.

func (*IngressPortStatusDie) Protocol added in v0.7.0

protocol is the protocol of the ingress port.

The supported values are: "TCP", "UDP", "SCTP"

type IngressRuleDie

type IngressRuleDie struct {
	// contains filtered or unexported fields
}

func (*IngressRuleDie) DeepCopy

func (d *IngressRuleDie) DeepCopy() *IngressRuleDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressRuleDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressRuleDie) DieFeedJSON added in v0.8.0

func (d *IngressRuleDie) DieFeedJSON(j []byte) *IngressRuleDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressRuleDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressRuleDie) DieFeedRawExtension added in v0.5.0

func (d *IngressRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressRuleDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressRuleDie) DieFeedYAML added in v0.8.0

func (d *IngressRuleDie) DieFeedYAML(y []byte) *IngressRuleDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressRuleDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressRuleDie) DieFeedYAMLFile(name string) *IngressRuleDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressRuleDie) DieImmutable

func (d *IngressRuleDie) DieImmutable(immutable bool) *IngressRuleDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressRuleDie) DieRelease

func (d *IngressRuleDie) DieRelease() networkingv1.IngressRule

DieRelease returns the resource managed by the die.

func (*IngressRuleDie) DieReleaseJSON added in v0.8.0

func (d *IngressRuleDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressRuleDie) DieReleasePtr

func (d *IngressRuleDie) DieReleasePtr() *networkingv1.IngressRule

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressRuleDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressRuleDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressRuleDie) DieReleaseYAML added in v0.8.0

func (d *IngressRuleDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressRuleDie) DieStamp

func (d *IngressRuleDie) DieStamp(fn func(r *networkingv1.IngressRule)) *IngressRuleDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressRuleDie) DieStampAt added in v0.8.0

func (d *IngressRuleDie) DieStampAt(jp string, fn interface{}) *IngressRuleDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressRuleDie) DieWith added in v0.9.0

func (d *IngressRuleDie) DieWith(fns ...func(d *IngressRuleDie)) *IngressRuleDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressRuleDie) HTTPDie

func (d *IngressRuleDie) HTTPDie(fn func(d *HTTPIngressRuleValueDie)) *IngressRuleDie

func (*IngressRuleDie) Host

func (d *IngressRuleDie) Host(v string) *IngressRuleDie

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.

func (*IngressRuleDie) IngressRuleValue

IngressRuleValue represents a rule to route requests for this IngressRule.

If unspecified, the rule defaults to a http catch-all. Whether that sends

just traffic matching the host to the default backend or all traffic to the

default backend, is left to the controller fulfilling the Ingress. Http is

currently the only supported IngressRuleValue.

type IngressServiceBackendDie

type IngressServiceBackendDie struct {
	// contains filtered or unexported fields
}

func (*IngressServiceBackendDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressServiceBackendDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressServiceBackendDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressServiceBackendDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressServiceBackendDie) DieFeedRawExtension added in v0.5.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressServiceBackendDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressServiceBackendDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressServiceBackendDie) DieFeedYAMLFile(name string) *IngressServiceBackendDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressServiceBackendDie) DieImmutable

func (d *IngressServiceBackendDie) DieImmutable(immutable bool) *IngressServiceBackendDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressServiceBackendDie) DieRelease

DieRelease returns the resource managed by the die.

func (*IngressServiceBackendDie) DieReleaseJSON added in v0.8.0

func (d *IngressServiceBackendDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressServiceBackendDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressServiceBackendDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressServiceBackendDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressServiceBackendDie) DieReleaseYAML added in v0.8.0

func (d *IngressServiceBackendDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressServiceBackendDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressServiceBackendDie) DieStampAt added in v0.8.0

func (d *IngressServiceBackendDie) DieStampAt(jp string, fn interface{}) *IngressServiceBackendDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressServiceBackendDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressServiceBackendDie) Name

name is the referenced service. The service must exist in

the same namespace as the Ingress object.

func (*IngressServiceBackendDie) Port

port of the referenced service. A port name or port number

is required for a IngressServiceBackend.

func (*IngressServiceBackendDie) PortDie

type IngressSpecDie

type IngressSpecDie struct {
	// contains filtered or unexported fields
}

func (*IngressSpecDie) DeepCopy

func (d *IngressSpecDie) DeepCopy() *IngressSpecDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressSpecDie) DefaultBackend

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 (*IngressSpecDie) DefaultBackendDie

func (d *IngressSpecDie) DefaultBackendDie(fn func(d *IngressBackendDie)) *IngressSpecDie

func (*IngressSpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressSpecDie) DieFeedJSON added in v0.8.0

func (d *IngressSpecDie) DieFeedJSON(j []byte) *IngressSpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressSpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressSpecDie) DieFeedRawExtension added in v0.5.0

func (d *IngressSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressSpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressSpecDie) DieFeedYAML added in v0.8.0

func (d *IngressSpecDie) DieFeedYAML(y []byte) *IngressSpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressSpecDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressSpecDie) DieFeedYAMLFile(name string) *IngressSpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressSpecDie) DieImmutable

func (d *IngressSpecDie) DieImmutable(immutable bool) *IngressSpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressSpecDie) DieRelease

func (d *IngressSpecDie) DieRelease() networkingv1.IngressSpec

DieRelease returns the resource managed by the die.

func (*IngressSpecDie) DieReleaseJSON added in v0.8.0

func (d *IngressSpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressSpecDie) DieReleasePtr

func (d *IngressSpecDie) DieReleasePtr() *networkingv1.IngressSpec

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressSpecDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressSpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressSpecDie) DieReleaseYAML added in v0.8.0

func (d *IngressSpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressSpecDie) DieStamp

func (d *IngressSpecDie) DieStamp(fn func(r *networkingv1.IngressSpec)) *IngressSpecDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressSpecDie) DieStampAt added in v0.8.0

func (d *IngressSpecDie) DieStampAt(jp string, fn interface{}) *IngressSpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressSpecDie) DieWith added in v0.9.0

func (d *IngressSpecDie) DieWith(fns ...func(d *IngressSpecDie)) *IngressSpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressSpecDie) IngressClassName

func (d *IngressSpecDie) IngressClassName(v *string) *IngressSpecDie

ingressClassName is the name of an IngressClass cluster resource. Ingress

controller implementations use this field to know whether they should be

serving this Ingress resource, by a transitive connection

(controller -> IngressClass -> Ingress resource). Although the

`kubernetes.io/ingress.class` annotation (simple constant name) was never

formally defined, it was widely supported by Ingress controllers to create

a direct binding between Ingress controller and Ingress resources. Newly

created Ingress resources should prefer using the field. However, even

though the annotation is officially deprecated, for backwards compatibility

reasons, ingress controllers should still honor that annotation if present.

func (*IngressSpecDie) Rules

rules is 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 (*IngressSpecDie) RulesDie

func (d *IngressSpecDie) RulesDie(rules ...*IngressRuleDie) *IngressSpecDie

func (*IngressSpecDie) TLS

tls represents the 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 (*IngressSpecDie) TLSDie

func (d *IngressSpecDie) TLSDie(tls ...*IngressTLSDie) *IngressSpecDie

type IngressStatus

type IngressStatus = networkingv1.IngressStatus

+die

type IngressStatusDie

type IngressStatusDie struct {
	// contains filtered or unexported fields
}

func (*IngressStatusDie) DeepCopy

func (d *IngressStatusDie) DeepCopy() *IngressStatusDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressStatusDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressStatusDie) DieFeedJSON added in v0.8.0

func (d *IngressStatusDie) DieFeedJSON(j []byte) *IngressStatusDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressStatusDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressStatusDie) DieFeedRawExtension added in v0.5.0

func (d *IngressStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressStatusDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressStatusDie) DieFeedYAML added in v0.8.0

func (d *IngressStatusDie) DieFeedYAML(y []byte) *IngressStatusDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressStatusDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressStatusDie) DieFeedYAMLFile(name string) *IngressStatusDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressStatusDie) DieImmutable

func (d *IngressStatusDie) DieImmutable(immutable bool) *IngressStatusDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressStatusDie) DieRelease

DieRelease returns the resource managed by the die.

func (*IngressStatusDie) DieReleaseJSON added in v0.8.0

func (d *IngressStatusDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressStatusDie) DieReleasePtr

func (d *IngressStatusDie) DieReleasePtr() *networkingv1.IngressStatus

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressStatusDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressStatusDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressStatusDie) DieReleaseYAML added in v0.8.0

func (d *IngressStatusDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressStatusDie) DieStamp

func (d *IngressStatusDie) DieStamp(fn func(r *networkingv1.IngressStatus)) *IngressStatusDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressStatusDie) DieStampAt added in v0.8.0

func (d *IngressStatusDie) DieStampAt(jp string, fn interface{}) *IngressStatusDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressStatusDie) DieWith added in v0.9.0

func (d *IngressStatusDie) DieWith(fns ...func(d *IngressStatusDie)) *IngressStatusDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressStatusDie) LoadBalancer

loadBalancer contains the current status of the load-balancer.

func (*IngressStatusDie) LoadBalancerDie

func (d *IngressStatusDie) LoadBalancerDie(fn func(d *IngressLoadBalancerStatusDie)) *IngressStatusDie

type IngressTLSDie

type IngressTLSDie struct {
	// contains filtered or unexported fields
}

func (*IngressTLSDie) DeepCopy

func (d *IngressTLSDie) DeepCopy() *IngressTLSDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*IngressTLSDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*IngressTLSDie) DieFeedJSON added in v0.8.0

func (d *IngressTLSDie) DieFeedJSON(j []byte) *IngressTLSDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*IngressTLSDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*IngressTLSDie) DieFeedRawExtension added in v0.5.0

func (d *IngressTLSDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressTLSDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressTLSDie) DieFeedYAML added in v0.8.0

func (d *IngressTLSDie) DieFeedYAML(y []byte) *IngressTLSDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*IngressTLSDie) DieFeedYAMLFile added in v0.8.0

func (d *IngressTLSDie) DieFeedYAMLFile(name string) *IngressTLSDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*IngressTLSDie) DieImmutable

func (d *IngressTLSDie) DieImmutable(immutable bool) *IngressTLSDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*IngressTLSDie) DieRelease

func (d *IngressTLSDie) DieRelease() networkingv1.IngressTLS

DieRelease returns the resource managed by the die.

func (*IngressTLSDie) DieReleaseJSON added in v0.8.0

func (d *IngressTLSDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*IngressTLSDie) DieReleasePtr

func (d *IngressTLSDie) DieReleasePtr() *networkingv1.IngressTLS

DieReleasePtr returns a pointer to the resource managed by the die.

func (*IngressTLSDie) DieReleaseRawExtension added in v0.5.0

func (d *IngressTLSDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*IngressTLSDie) DieReleaseYAML added in v0.8.0

func (d *IngressTLSDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*IngressTLSDie) DieStamp

func (d *IngressTLSDie) DieStamp(fn func(r *networkingv1.IngressTLS)) *IngressTLSDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*IngressTLSDie) DieStampAt added in v0.8.0

func (d *IngressTLSDie) DieStampAt(jp string, fn interface{}) *IngressTLSDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*IngressTLSDie) DieWith added in v0.9.0

func (d *IngressTLSDie) DieWith(fns ...func(d *IngressTLSDie)) *IngressTLSDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*IngressTLSDie) Hosts

func (d *IngressTLSDie) Hosts(v ...string) *IngressTLSDie

hosts is 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 (*IngressTLSDie) SecretName

func (d *IngressTLSDie) SecretName(v string) *IngressTLSDie

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.

type NetworkPolicyDie

type NetworkPolicyDie struct {
	metav1.FrozenObjectMeta
	// contains filtered or unexported fields
}

func (*NetworkPolicyDie) APIVersion added in v0.5.0

func (d *NetworkPolicyDie) APIVersion(v string) *NetworkPolicyDie

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to 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 (*NetworkPolicyDie) DeepCopy

func (d *NetworkPolicyDie) DeepCopy() *NetworkPolicyDie

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NetworkPolicyDie) DeepCopyObject

func (d *NetworkPolicyDie) DeepCopyObject() runtime.Object

func (*NetworkPolicyDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NetworkPolicyDie) DieFeedJSON added in v0.8.0

func (d *NetworkPolicyDie) DieFeedJSON(j []byte) *NetworkPolicyDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NetworkPolicyDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NetworkPolicyDie) DieFeedRawExtension added in v0.5.0

func (d *NetworkPolicyDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyDie) DieFeedYAML added in v0.8.0

func (d *NetworkPolicyDie) DieFeedYAML(y []byte) *NetworkPolicyDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NetworkPolicyDie) DieFeedYAMLFile added in v0.8.0

func (d *NetworkPolicyDie) DieFeedYAMLFile(name string) *NetworkPolicyDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NetworkPolicyDie) DieImmutable

func (d *NetworkPolicyDie) DieImmutable(immutable bool) *NetworkPolicyDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NetworkPolicyDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NetworkPolicyDie) DieReleaseJSON added in v0.8.0

func (d *NetworkPolicyDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NetworkPolicyDie) DieReleasePtr

func (d *NetworkPolicyDie) DieReleasePtr() *networkingv1.NetworkPolicy

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NetworkPolicyDie) DieReleaseRawExtension added in v0.5.0

func (d *NetworkPolicyDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyDie) DieReleaseUnstructured

func (d *NetworkPolicyDie) DieReleaseUnstructured() *unstructured.Unstructured

DieReleaseUnstructured returns the resource managed by the die as an unstructured object. Panics on error.

func (*NetworkPolicyDie) DieReleaseYAML added in v0.8.0

func (d *NetworkPolicyDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NetworkPolicyDie) DieStamp

func (d *NetworkPolicyDie) DieStamp(fn func(r *networkingv1.NetworkPolicy)) *NetworkPolicyDie

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NetworkPolicyDie) DieStampAt added in v0.8.0

func (d *NetworkPolicyDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NetworkPolicyDie) DieWith added in v0.9.0

func (d *NetworkPolicyDie) DieWith(fns ...func(d *NetworkPolicyDie)) *NetworkPolicyDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NetworkPolicyDie) GetObjectKind

func (d *NetworkPolicyDie) GetObjectKind() schema.ObjectKind

func (*NetworkPolicyDie) Kind added in v0.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 (*NetworkPolicyDie) MarshalJSON

func (d *NetworkPolicyDie) MarshalJSON() ([]byte, error)

func (*NetworkPolicyDie) MetadataDie

func (d *NetworkPolicyDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NetworkPolicyDie

MetadataDie stamps the resource's ObjectMeta field with a mutable die.

func (*NetworkPolicyDie) Spec

spec represents the specification of the desired behavior for this NetworkPolicy.

func (*NetworkPolicyDie) SpecDie

func (d *NetworkPolicyDie) SpecDie(fn func(d *NetworkPolicySpecDie)) *NetworkPolicyDie

SpecDie stamps the resource's spec field with a mutable die.

func (*NetworkPolicyDie) UnmarshalJSON

func (d *NetworkPolicyDie) UnmarshalJSON(b []byte) error

type NetworkPolicyEgressRuleDie

type NetworkPolicyEgressRuleDie struct {
	// contains filtered or unexported fields
}

func (*NetworkPolicyEgressRuleDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NetworkPolicyEgressRuleDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NetworkPolicyEgressRuleDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NetworkPolicyEgressRuleDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NetworkPolicyEgressRuleDie) DieFeedRawExtension added in v0.5.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyEgressRuleDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NetworkPolicyEgressRuleDie) DieFeedYAMLFile added in v0.8.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NetworkPolicyEgressRuleDie) DieImmutable

func (d *NetworkPolicyEgressRuleDie) DieImmutable(immutable bool) *NetworkPolicyEgressRuleDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NetworkPolicyEgressRuleDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NetworkPolicyEgressRuleDie) DieReleaseJSON added in v0.8.0

func (d *NetworkPolicyEgressRuleDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NetworkPolicyEgressRuleDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NetworkPolicyEgressRuleDie) DieReleaseRawExtension added in v0.5.0

func (d *NetworkPolicyEgressRuleDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyEgressRuleDie) DieReleaseYAML added in v0.8.0

func (d *NetworkPolicyEgressRuleDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NetworkPolicyEgressRuleDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NetworkPolicyEgressRuleDie) DieStampAt added in v0.8.0

func (d *NetworkPolicyEgressRuleDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyEgressRuleDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NetworkPolicyEgressRuleDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NetworkPolicyEgressRuleDie) Ports

ports is a 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 (*NetworkPolicyEgressRuleDie) PortsDie

func (*NetworkPolicyEgressRuleDie) To

to is a 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 (*NetworkPolicyEgressRuleDie) ToDie

type NetworkPolicyIngressRuleDie

type NetworkPolicyIngressRuleDie struct {
	// contains filtered or unexported fields
}

func (*NetworkPolicyIngressRuleDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NetworkPolicyIngressRuleDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NetworkPolicyIngressRuleDie) DieFeedJSON added in v0.8.0

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NetworkPolicyIngressRuleDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NetworkPolicyIngressRuleDie) DieFeedRawExtension added in v0.5.0

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyIngressRuleDie) DieFeedYAML added in v0.8.0

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NetworkPolicyIngressRuleDie) DieFeedYAMLFile added in v0.8.0

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NetworkPolicyIngressRuleDie) DieImmutable

func (d *NetworkPolicyIngressRuleDie) DieImmutable(immutable bool) *NetworkPolicyIngressRuleDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NetworkPolicyIngressRuleDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NetworkPolicyIngressRuleDie) DieReleaseJSON added in v0.8.0

func (d *NetworkPolicyIngressRuleDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NetworkPolicyIngressRuleDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NetworkPolicyIngressRuleDie) DieReleaseRawExtension added in v0.5.0

func (d *NetworkPolicyIngressRuleDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyIngressRuleDie) DieReleaseYAML added in v0.8.0

func (d *NetworkPolicyIngressRuleDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NetworkPolicyIngressRuleDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NetworkPolicyIngressRuleDie) DieStampAt added in v0.8.0

func (d *NetworkPolicyIngressRuleDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyIngressRuleDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NetworkPolicyIngressRuleDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NetworkPolicyIngressRuleDie) From

from is a 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 (*NetworkPolicyIngressRuleDie) FromDie

func (*NetworkPolicyIngressRuleDie) Ports

ports is a 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 (*NetworkPolicyIngressRuleDie) PortsDie

type NetworkPolicyPeerDie

type NetworkPolicyPeerDie struct {
	// contains filtered or unexported fields
}

func (*NetworkPolicyPeerDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NetworkPolicyPeerDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NetworkPolicyPeerDie) DieFeedJSON added in v0.8.0

func (d *NetworkPolicyPeerDie) DieFeedJSON(j []byte) *NetworkPolicyPeerDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NetworkPolicyPeerDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NetworkPolicyPeerDie) DieFeedRawExtension added in v0.5.0

func (d *NetworkPolicyPeerDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyPeerDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyPeerDie) DieFeedYAML added in v0.8.0

func (d *NetworkPolicyPeerDie) DieFeedYAML(y []byte) *NetworkPolicyPeerDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NetworkPolicyPeerDie) DieFeedYAMLFile added in v0.8.0

func (d *NetworkPolicyPeerDie) DieFeedYAMLFile(name string) *NetworkPolicyPeerDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NetworkPolicyPeerDie) DieImmutable

func (d *NetworkPolicyPeerDie) DieImmutable(immutable bool) *NetworkPolicyPeerDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NetworkPolicyPeerDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NetworkPolicyPeerDie) DieReleaseJSON added in v0.8.0

func (d *NetworkPolicyPeerDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NetworkPolicyPeerDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NetworkPolicyPeerDie) DieReleaseRawExtension added in v0.5.0

func (d *NetworkPolicyPeerDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyPeerDie) DieReleaseYAML added in v0.8.0

func (d *NetworkPolicyPeerDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NetworkPolicyPeerDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NetworkPolicyPeerDie) DieStampAt added in v0.8.0

func (d *NetworkPolicyPeerDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyPeerDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NetworkPolicyPeerDie) DieWith added in v0.9.0

func (d *NetworkPolicyPeerDie) DieWith(fns ...func(d *NetworkPolicyPeerDie)) *NetworkPolicyPeerDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NetworkPolicyPeerDie) IPBlock

ipBlock defines policy on a particular IPBlock. If this field is set then

neither of the other fields can be.

func (*NetworkPolicyPeerDie) IPBlockDie

func (d *NetworkPolicyPeerDie) IPBlockDie(fn func(d *IPBlockDie)) *NetworkPolicyPeerDie

func (*NetworkPolicyPeerDie) NamespaceSelector

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 (*NetworkPolicyPeerDie) NamespaceSelectorDie

func (d *NetworkPolicyPeerDie) NamespaceSelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *NetworkPolicyPeerDie

func (*NetworkPolicyPeerDie) PodSelector

podSelector 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 (*NetworkPolicyPeerDie) PodSelectorDie

func (d *NetworkPolicyPeerDie) PodSelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *NetworkPolicyPeerDie

type NetworkPolicyPortDie

type NetworkPolicyPortDie struct {
	// contains filtered or unexported fields
}

func (*NetworkPolicyPortDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NetworkPolicyPortDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NetworkPolicyPortDie) DieFeedJSON added in v0.8.0

func (d *NetworkPolicyPortDie) DieFeedJSON(j []byte) *NetworkPolicyPortDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NetworkPolicyPortDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NetworkPolicyPortDie) DieFeedRawExtension added in v0.5.0

func (d *NetworkPolicyPortDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyPortDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyPortDie) DieFeedYAML added in v0.8.0

func (d *NetworkPolicyPortDie) DieFeedYAML(y []byte) *NetworkPolicyPortDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NetworkPolicyPortDie) DieFeedYAMLFile added in v0.8.0

func (d *NetworkPolicyPortDie) DieFeedYAMLFile(name string) *NetworkPolicyPortDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NetworkPolicyPortDie) DieImmutable

func (d *NetworkPolicyPortDie) DieImmutable(immutable bool) *NetworkPolicyPortDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NetworkPolicyPortDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NetworkPolicyPortDie) DieReleaseJSON added in v0.8.0

func (d *NetworkPolicyPortDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NetworkPolicyPortDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NetworkPolicyPortDie) DieReleaseRawExtension added in v0.5.0

func (d *NetworkPolicyPortDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicyPortDie) DieReleaseYAML added in v0.8.0

func (d *NetworkPolicyPortDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NetworkPolicyPortDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NetworkPolicyPortDie) DieStampAt added in v0.8.0

func (d *NetworkPolicyPortDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyPortDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NetworkPolicyPortDie) DieWith added in v0.9.0

func (d *NetworkPolicyPortDie) DieWith(fns ...func(d *NetworkPolicyPortDie)) *NetworkPolicyPortDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NetworkPolicyPortDie) EndPort

endPort indicates that the range of ports from port to endPort if set, 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.

func (*NetworkPolicyPortDie) Port

port represents 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 (*NetworkPolicyPortDie) PortInt

func (*NetworkPolicyPortDie) PortString

func (*NetworkPolicyPortDie) Protocol

protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match.

If not specified, this field defaults to TCP.

type NetworkPolicySpecDie

type NetworkPolicySpecDie struct {
	// contains filtered or unexported fields
}

func (*NetworkPolicySpecDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*NetworkPolicySpecDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*NetworkPolicySpecDie) DieFeedJSON added in v0.8.0

func (d *NetworkPolicySpecDie) DieFeedJSON(j []byte) *NetworkPolicySpecDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*NetworkPolicySpecDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*NetworkPolicySpecDie) DieFeedRawExtension added in v0.5.0

func (d *NetworkPolicySpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicySpecDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicySpecDie) DieFeedYAML added in v0.8.0

func (d *NetworkPolicySpecDie) DieFeedYAML(y []byte) *NetworkPolicySpecDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*NetworkPolicySpecDie) DieFeedYAMLFile added in v0.8.0

func (d *NetworkPolicySpecDie) DieFeedYAMLFile(name string) *NetworkPolicySpecDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*NetworkPolicySpecDie) DieImmutable

func (d *NetworkPolicySpecDie) DieImmutable(immutable bool) *NetworkPolicySpecDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*NetworkPolicySpecDie) DieRelease

DieRelease returns the resource managed by the die.

func (*NetworkPolicySpecDie) DieReleaseJSON added in v0.8.0

func (d *NetworkPolicySpecDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*NetworkPolicySpecDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*NetworkPolicySpecDie) DieReleaseRawExtension added in v0.5.0

func (d *NetworkPolicySpecDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*NetworkPolicySpecDie) DieReleaseYAML added in v0.8.0

func (d *NetworkPolicySpecDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*NetworkPolicySpecDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*NetworkPolicySpecDie) DieStampAt added in v0.8.0

func (d *NetworkPolicySpecDie) DieStampAt(jp string, fn interface{}) *NetworkPolicySpecDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*NetworkPolicySpecDie) DieWith added in v0.9.0

func (d *NetworkPolicySpecDie) DieWith(fns ...func(d *NetworkPolicySpecDie)) *NetworkPolicySpecDie

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*NetworkPolicySpecDie) Egress

egress is a 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 (*NetworkPolicySpecDie) EgressDie

func (*NetworkPolicySpecDie) Ingress

ingress is a 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 (*NetworkPolicySpecDie) IngressDie

func (*NetworkPolicySpecDie) PodSelector

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 (*NetworkPolicySpecDie) PodSelectorDie

func (d *NetworkPolicySpecDie) PodSelectorDie(fn func(d *diemetav1.LabelSelectorDie)) *NetworkPolicySpecDie

func (*NetworkPolicySpecDie) PolicyTypes

policyTypes is a 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

type ServiceBackendPortDie

type ServiceBackendPortDie struct {
	// contains filtered or unexported fields
}

func (*ServiceBackendPortDie) DeepCopy

DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.

func (*ServiceBackendPortDie) DieFeed

DieFeed returns a new die with the provided resource.

func (*ServiceBackendPortDie) DieFeedJSON added in v0.8.0

func (d *ServiceBackendPortDie) DieFeedJSON(j []byte) *ServiceBackendPortDie

DieFeedJSON returns a new die with the provided JSON. Panics on error.

func (*ServiceBackendPortDie) DieFeedPtr

DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.

func (*ServiceBackendPortDie) DieFeedRawExtension added in v0.5.0

func (d *ServiceBackendPortDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBackendPortDie

DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceBackendPortDie) DieFeedYAML added in v0.8.0

func (d *ServiceBackendPortDie) DieFeedYAML(y []byte) *ServiceBackendPortDie

DieFeedYAML returns a new die with the provided YAML. Panics on error.

func (*ServiceBackendPortDie) DieFeedYAMLFile added in v0.8.0

func (d *ServiceBackendPortDie) DieFeedYAMLFile(name string) *ServiceBackendPortDie

DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.

func (*ServiceBackendPortDie) DieImmutable

func (d *ServiceBackendPortDie) DieImmutable(immutable bool) *ServiceBackendPortDie

DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).

func (*ServiceBackendPortDie) DieRelease

DieRelease returns the resource managed by the die.

func (*ServiceBackendPortDie) DieReleaseJSON added in v0.8.0

func (d *ServiceBackendPortDie) DieReleaseJSON() []byte

DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.

func (*ServiceBackendPortDie) DieReleasePtr

DieReleasePtr returns a pointer to the resource managed by the die.

func (*ServiceBackendPortDie) DieReleaseRawExtension added in v0.5.0

func (d *ServiceBackendPortDie) DieReleaseRawExtension() runtime.RawExtension

DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.

func (*ServiceBackendPortDie) DieReleaseYAML added in v0.8.0

func (d *ServiceBackendPortDie) DieReleaseYAML() []byte

DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.

func (*ServiceBackendPortDie) DieStamp

DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.

func (*ServiceBackendPortDie) DieStampAt added in v0.8.0

func (d *ServiceBackendPortDie) DieStampAt(jp string, fn interface{}) *ServiceBackendPortDie

Experimental: DieStampAt uses a JSON path (http://goessner.net/articles/JsonPath/) expression to stamp portions of the resource. The callback is invoked with each JSON path match. Panics if the callback function does not accept a single argument of the same type or a pointer to that type as found on the resource at the target location.

Future iterations will improve type coercion from the resource to the callback argument.

func (*ServiceBackendPortDie) DieWith added in v0.9.0

DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.

func (*ServiceBackendPortDie) Name

name is the name of the port on the Service.

This is a mutually exclusive setting with "Number".

func (*ServiceBackendPortDie) Number

number is the numerical port number (e.g. 80) on the Service.

This is a mutually exclusive setting with "Name".

Jump to

Keyboard shortcuts

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