Documentation ¶
Index ¶
- Variables
- type HTTPIngressPathDie
- func (d *HTTPIngressPathDie) Backend(v networkingv1.IngressBackend) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) BackendDie(fn func(d *IngressBackendDie)) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DeepCopy() *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieDiff(opts ...cmp.Option) string
- func (d *HTTPIngressPathDie) DieFeed(r networkingv1.HTTPIngressPath) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieFeedJSON(j []byte) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieFeedPtr(r *networkingv1.HTTPIngressPath) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieFeedYAML(y []byte) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieFeedYAMLFile(name string) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieImmutable(immutable bool) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *HTTPIngressPathDie) DieRelease() networkingv1.HTTPIngressPath
- func (d *HTTPIngressPathDie) DieReleaseJSON() []byte
- func (d *HTTPIngressPathDie) DieReleasePtr() *networkingv1.HTTPIngressPath
- func (d *HTTPIngressPathDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *HTTPIngressPathDie) DieReleaseYAML() []byte
- func (d *HTTPIngressPathDie) DieSeal() *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieSealFeed(r networkingv1.HTTPIngressPath) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieSealFeedPtr(r *networkingv1.HTTPIngressPath) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieSealRelease() networkingv1.HTTPIngressPath
- func (d *HTTPIngressPathDie) DieSealReleasePtr() *networkingv1.HTTPIngressPath
- func (d *HTTPIngressPathDie) DieStamp(fn func(r *networkingv1.HTTPIngressPath)) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieStampAt(jp string, fn interface{}) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) DieWith(fns ...func(d *HTTPIngressPathDie)) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) Path(v string) *HTTPIngressPathDie
- func (d *HTTPIngressPathDie) PathType(v *networkingv1.PathType) *HTTPIngressPathDie
- type HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DeepCopy() *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieDiff(opts ...cmp.Option) string
- func (d *HTTPIngressRuleValueDie) DieFeed(r networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieFeedJSON(j []byte) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieFeedPtr(r *networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieFeedYAML(y []byte) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieFeedYAMLFile(name string) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieImmutable(immutable bool) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *HTTPIngressRuleValueDie) DieRelease() networkingv1.HTTPIngressRuleValue
- func (d *HTTPIngressRuleValueDie) DieReleaseJSON() []byte
- func (d *HTTPIngressRuleValueDie) DieReleasePtr() *networkingv1.HTTPIngressRuleValue
- func (d *HTTPIngressRuleValueDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *HTTPIngressRuleValueDie) DieReleaseYAML() []byte
- func (d *HTTPIngressRuleValueDie) DieSeal() *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieSealFeed(r networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieSealFeedPtr(r *networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieSealRelease() networkingv1.HTTPIngressRuleValue
- func (d *HTTPIngressRuleValueDie) DieSealReleasePtr() *networkingv1.HTTPIngressRuleValue
- func (d *HTTPIngressRuleValueDie) DieStamp(fn func(r *networkingv1.HTTPIngressRuleValue)) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieStampAt(jp string, fn interface{}) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) DieWith(fns ...func(d *HTTPIngressRuleValueDie)) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) Paths(v ...networkingv1.HTTPIngressPath) *HTTPIngressRuleValueDie
- func (d *HTTPIngressRuleValueDie) PathsDie(v ...*HTTPIngressPathDie) *HTTPIngressRuleValueDie
- type IPBlockDie
- func (d *IPBlockDie) CIDR(v string) *IPBlockDie
- func (d *IPBlockDie) DeepCopy() *IPBlockDie
- func (d *IPBlockDie) DieDiff(opts ...cmp.Option) string
- func (d *IPBlockDie) DieFeed(r networkingv1.IPBlock) *IPBlockDie
- func (d *IPBlockDie) DieFeedJSON(j []byte) *IPBlockDie
- func (d *IPBlockDie) DieFeedPtr(r *networkingv1.IPBlock) *IPBlockDie
- func (d *IPBlockDie) DieFeedRawExtension(raw runtime.RawExtension) *IPBlockDie
- func (d *IPBlockDie) DieFeedYAML(y []byte) *IPBlockDie
- func (d *IPBlockDie) DieFeedYAMLFile(name string) *IPBlockDie
- func (d *IPBlockDie) DieImmutable(immutable bool) *IPBlockDie
- func (d *IPBlockDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IPBlockDie) DieRelease() networkingv1.IPBlock
- func (d *IPBlockDie) DieReleaseJSON() []byte
- func (d *IPBlockDie) DieReleasePtr() *networkingv1.IPBlock
- func (d *IPBlockDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IPBlockDie) DieReleaseYAML() []byte
- func (d *IPBlockDie) DieSeal() *IPBlockDie
- func (d *IPBlockDie) DieSealFeed(r networkingv1.IPBlock) *IPBlockDie
- func (d *IPBlockDie) DieSealFeedPtr(r *networkingv1.IPBlock) *IPBlockDie
- func (d *IPBlockDie) DieSealRelease() networkingv1.IPBlock
- func (d *IPBlockDie) DieSealReleasePtr() *networkingv1.IPBlock
- func (d *IPBlockDie) DieStamp(fn func(r *networkingv1.IPBlock)) *IPBlockDie
- func (d *IPBlockDie) DieStampAt(jp string, fn interface{}) *IPBlockDie
- func (d *IPBlockDie) DieWith(fns ...func(d *IPBlockDie)) *IPBlockDie
- func (d *IPBlockDie) Except(v ...string) *IPBlockDie
- type IngressBackendDie
- func (d *IngressBackendDie) DeepCopy() *IngressBackendDie
- func (d *IngressBackendDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressBackendDie) DieFeed(r networkingv1.IngressBackend) *IngressBackendDie
- func (d *IngressBackendDie) DieFeedJSON(j []byte) *IngressBackendDie
- func (d *IngressBackendDie) DieFeedPtr(r *networkingv1.IngressBackend) *IngressBackendDie
- func (d *IngressBackendDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressBackendDie
- func (d *IngressBackendDie) DieFeedYAML(y []byte) *IngressBackendDie
- func (d *IngressBackendDie) DieFeedYAMLFile(name string) *IngressBackendDie
- func (d *IngressBackendDie) DieImmutable(immutable bool) *IngressBackendDie
- func (d *IngressBackendDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressBackendDie) DieRelease() networkingv1.IngressBackend
- func (d *IngressBackendDie) DieReleaseJSON() []byte
- func (d *IngressBackendDie) DieReleasePtr() *networkingv1.IngressBackend
- func (d *IngressBackendDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressBackendDie) DieReleaseYAML() []byte
- func (d *IngressBackendDie) DieSeal() *IngressBackendDie
- func (d *IngressBackendDie) DieSealFeed(r networkingv1.IngressBackend) *IngressBackendDie
- func (d *IngressBackendDie) DieSealFeedPtr(r *networkingv1.IngressBackend) *IngressBackendDie
- func (d *IngressBackendDie) DieSealRelease() networkingv1.IngressBackend
- func (d *IngressBackendDie) DieSealReleasePtr() *networkingv1.IngressBackend
- func (d *IngressBackendDie) DieStamp(fn func(r *networkingv1.IngressBackend)) *IngressBackendDie
- func (d *IngressBackendDie) DieStampAt(jp string, fn interface{}) *IngressBackendDie
- func (d *IngressBackendDie) DieWith(fns ...func(d *IngressBackendDie)) *IngressBackendDie
- func (d *IngressBackendDie) Resource(v *apicorev1.TypedLocalObjectReference) *IngressBackendDie
- func (d *IngressBackendDie) ResourceDie(fn func(d *corev1.TypedLocalObjectReferenceDie)) *IngressBackendDie
- func (d *IngressBackendDie) Service(v *networkingv1.IngressServiceBackend) *IngressBackendDie
- func (d *IngressBackendDie) ServiceDie(fn func(d *IngressServiceBackendDie)) *IngressBackendDie
- type IngressClassDie
- func (d *IngressClassDie) APIVersion(v string) *IngressClassDie
- func (d *IngressClassDie) DeepCopy() *IngressClassDie
- func (d *IngressClassDie) DeepCopyObject() runtime.Object
- func (d *IngressClassDie) DieDefaultTypeMetadata() *IngressClassDie
- func (d *IngressClassDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressClassDie) DieFeed(r networkingv1.IngressClass) *IngressClassDie
- func (d *IngressClassDie) DieFeedJSON(j []byte) *IngressClassDie
- func (d *IngressClassDie) DieFeedPtr(r *networkingv1.IngressClass) *IngressClassDie
- func (d *IngressClassDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressClassDie
- func (d *IngressClassDie) DieFeedYAML(y []byte) *IngressClassDie
- func (d *IngressClassDie) DieFeedYAMLFile(name string) *IngressClassDie
- func (d *IngressClassDie) DieImmutable(immutable bool) *IngressClassDie
- func (d *IngressClassDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressClassDie) DieRelease() networkingv1.IngressClass
- func (d *IngressClassDie) DieReleaseJSON() []byte
- func (d *IngressClassDie) DieReleasePtr() *networkingv1.IngressClass
- func (d *IngressClassDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressClassDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *IngressClassDie) DieReleaseYAML() []byte
- func (d *IngressClassDie) DieSeal() *IngressClassDie
- func (d *IngressClassDie) DieSealFeed(r networkingv1.IngressClass) *IngressClassDie
- func (d *IngressClassDie) DieSealFeedPtr(r *networkingv1.IngressClass) *IngressClassDie
- func (d *IngressClassDie) DieSealRelease() networkingv1.IngressClass
- func (d *IngressClassDie) DieSealReleasePtr() *networkingv1.IngressClass
- func (d *IngressClassDie) DieStamp(fn func(r *networkingv1.IngressClass)) *IngressClassDie
- func (d *IngressClassDie) DieStampAt(jp string, fn interface{}) *IngressClassDie
- func (d *IngressClassDie) DieWith(fns ...func(d *IngressClassDie)) *IngressClassDie
- func (d *IngressClassDie) GetObjectKind() schema.ObjectKind
- func (d *IngressClassDie) Kind(v string) *IngressClassDie
- func (d *IngressClassDie) MarshalJSON() ([]byte, error)
- func (d *IngressClassDie) Metadata(v apismetav1.ObjectMeta) *IngressClassDie
- func (d *IngressClassDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *IngressClassDie
- func (d *IngressClassDie) Spec(v networkingv1.IngressClassSpec) *IngressClassDie
- func (d *IngressClassDie) SpecDie(fn func(d *IngressClassSpecDie)) *IngressClassDie
- func (d *IngressClassDie) TypeMetadata(v apismetav1.TypeMeta) *IngressClassDie
- func (d *IngressClassDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *IngressClassDie
- func (d *IngressClassDie) UnmarshalJSON(b []byte) error
- type IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) APIGroup(v *string) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DeepCopy() *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressClassParametersReferenceDie) DieFeed(r networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieFeedJSON(j []byte) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieFeedPtr(r *networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieFeedYAML(y []byte) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieFeedYAMLFile(name string) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieImmutable(immutable bool) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressClassParametersReferenceDie) DieRelease() networkingv1.IngressClassParametersReference
- func (d *IngressClassParametersReferenceDie) DieReleaseJSON() []byte
- func (d *IngressClassParametersReferenceDie) DieReleasePtr() *networkingv1.IngressClassParametersReference
- func (d *IngressClassParametersReferenceDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressClassParametersReferenceDie) DieReleaseYAML() []byte
- func (d *IngressClassParametersReferenceDie) DieSeal() *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieSealFeed(r networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieSealFeedPtr(r *networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieSealRelease() networkingv1.IngressClassParametersReference
- func (d *IngressClassParametersReferenceDie) DieSealReleasePtr() *networkingv1.IngressClassParametersReference
- func (d *IngressClassParametersReferenceDie) DieStamp(fn func(r *networkingv1.IngressClassParametersReference)) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieStampAt(jp string, fn interface{}) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) DieWith(fns ...func(d *IngressClassParametersReferenceDie)) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) Kind(v string) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) Name(v string) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) Namespace(v *string) *IngressClassParametersReferenceDie
- func (d *IngressClassParametersReferenceDie) Scope(v *string) *IngressClassParametersReferenceDie
- type IngressClassSpecDie
- func (d *IngressClassSpecDie) Controller(v string) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DeepCopy() *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressClassSpecDie) DieFeed(r networkingv1.IngressClassSpec) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieFeedJSON(j []byte) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieFeedPtr(r *networkingv1.IngressClassSpec) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieFeedYAML(y []byte) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieFeedYAMLFile(name string) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieImmutable(immutable bool) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressClassSpecDie) DieRelease() networkingv1.IngressClassSpec
- func (d *IngressClassSpecDie) DieReleaseJSON() []byte
- func (d *IngressClassSpecDie) DieReleasePtr() *networkingv1.IngressClassSpec
- func (d *IngressClassSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressClassSpecDie) DieReleaseYAML() []byte
- func (d *IngressClassSpecDie) DieSeal() *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieSealFeed(r networkingv1.IngressClassSpec) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieSealFeedPtr(r *networkingv1.IngressClassSpec) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieSealRelease() networkingv1.IngressClassSpec
- func (d *IngressClassSpecDie) DieSealReleasePtr() *networkingv1.IngressClassSpec
- func (d *IngressClassSpecDie) DieStamp(fn func(r *networkingv1.IngressClassSpec)) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieStampAt(jp string, fn interface{}) *IngressClassSpecDie
- func (d *IngressClassSpecDie) DieWith(fns ...func(d *IngressClassSpecDie)) *IngressClassSpecDie
- func (d *IngressClassSpecDie) Parameters(v *networkingv1.IngressClassParametersReference) *IngressClassSpecDie
- func (d *IngressClassSpecDie) ParametersDie(fn func(d *IngressClassParametersReferenceDie)) *IngressClassSpecDie
- type IngressDie
- func (d *IngressDie) APIVersion(v string) *IngressDie
- func (d *IngressDie) DeepCopy() *IngressDie
- func (d *IngressDie) DeepCopyObject() runtime.Object
- func (d *IngressDie) DieDefaultTypeMetadata() *IngressDie
- func (d *IngressDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressDie) DieFeed(r networkingv1.Ingress) *IngressDie
- func (d *IngressDie) DieFeedJSON(j []byte) *IngressDie
- func (d *IngressDie) DieFeedPtr(r *networkingv1.Ingress) *IngressDie
- func (d *IngressDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressDie
- func (d *IngressDie) DieFeedYAML(y []byte) *IngressDie
- func (d *IngressDie) DieFeedYAMLFile(name string) *IngressDie
- func (d *IngressDie) DieImmutable(immutable bool) *IngressDie
- func (d *IngressDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressDie) DieRelease() networkingv1.Ingress
- func (d *IngressDie) DieReleaseJSON() []byte
- func (d *IngressDie) DieReleasePtr() *networkingv1.Ingress
- func (d *IngressDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *IngressDie) DieReleaseYAML() []byte
- func (d *IngressDie) DieSeal() *IngressDie
- func (d *IngressDie) DieSealFeed(r networkingv1.Ingress) *IngressDie
- func (d *IngressDie) DieSealFeedPtr(r *networkingv1.Ingress) *IngressDie
- func (d *IngressDie) DieSealRelease() networkingv1.Ingress
- func (d *IngressDie) DieSealReleasePtr() *networkingv1.Ingress
- func (d *IngressDie) DieStamp(fn func(r *networkingv1.Ingress)) *IngressDie
- func (d *IngressDie) DieStampAt(jp string, fn interface{}) *IngressDie
- func (d *IngressDie) DieWith(fns ...func(d *IngressDie)) *IngressDie
- func (d *IngressDie) GetObjectKind() schema.ObjectKind
- func (d *IngressDie) Kind(v string) *IngressDie
- func (d *IngressDie) MarshalJSON() ([]byte, error)
- func (d *IngressDie) Metadata(v apismetav1.ObjectMeta) *IngressDie
- func (d *IngressDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *IngressDie
- func (d *IngressDie) Spec(v networkingv1.IngressSpec) *IngressDie
- func (d *IngressDie) SpecDie(fn func(d *IngressSpecDie)) *IngressDie
- func (d *IngressDie) Status(v networkingv1.IngressStatus) *IngressDie
- func (d *IngressDie) StatusDie(fn func(d *IngressStatusDie)) *IngressDie
- func (d *IngressDie) TypeMetadata(v apismetav1.TypeMeta) *IngressDie
- func (d *IngressDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *IngressDie
- func (d *IngressDie) UnmarshalJSON(b []byte) error
- type IngressLoadBalancerIngress
- type IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DeepCopy() *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressLoadBalancerIngressDie) DieFeed(r networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieFeedJSON(j []byte) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieFeedPtr(r *networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieFeedYAML(y []byte) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieFeedYAMLFile(name string) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieImmutable(immutable bool) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressLoadBalancerIngressDie) DieRelease() networkingv1.IngressLoadBalancerIngress
- func (d *IngressLoadBalancerIngressDie) DieReleaseJSON() []byte
- func (d *IngressLoadBalancerIngressDie) DieReleasePtr() *networkingv1.IngressLoadBalancerIngress
- func (d *IngressLoadBalancerIngressDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressLoadBalancerIngressDie) DieReleaseYAML() []byte
- func (d *IngressLoadBalancerIngressDie) DieSeal() *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieSealFeed(r networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieSealFeedPtr(r *networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieSealRelease() networkingv1.IngressLoadBalancerIngress
- func (d *IngressLoadBalancerIngressDie) DieSealReleasePtr() *networkingv1.IngressLoadBalancerIngress
- func (d *IngressLoadBalancerIngressDie) DieStamp(fn func(r *networkingv1.IngressLoadBalancerIngress)) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieStampAt(jp string, fn interface{}) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) DieWith(fns ...func(d *IngressLoadBalancerIngressDie)) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) Hostname(v string) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) IP(v string) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) Ports(v ...networkingv1.IngressPortStatus) *IngressLoadBalancerIngressDie
- func (d *IngressLoadBalancerIngressDie) PortsDie(v ...*IngressPortStatusDie) *IngressLoadBalancerIngressDie
- type IngressLoadBalancerStatus
- type IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DeepCopy() *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressLoadBalancerStatusDie) DieFeed(r networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieFeedJSON(j []byte) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieFeedPtr(r *networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieFeedYAML(y []byte) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieFeedYAMLFile(name string) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieImmutable(immutable bool) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressLoadBalancerStatusDie) DieRelease() networkingv1.IngressLoadBalancerStatus
- func (d *IngressLoadBalancerStatusDie) DieReleaseJSON() []byte
- func (d *IngressLoadBalancerStatusDie) DieReleasePtr() *networkingv1.IngressLoadBalancerStatus
- func (d *IngressLoadBalancerStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressLoadBalancerStatusDie) DieReleaseYAML() []byte
- func (d *IngressLoadBalancerStatusDie) DieSeal() *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieSealFeed(r networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieSealFeedPtr(r *networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieSealRelease() networkingv1.IngressLoadBalancerStatus
- func (d *IngressLoadBalancerStatusDie) DieSealReleasePtr() *networkingv1.IngressLoadBalancerStatus
- func (d *IngressLoadBalancerStatusDie) DieStamp(fn func(r *networkingv1.IngressLoadBalancerStatus)) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieStampAt(jp string, fn interface{}) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) DieWith(fns ...func(d *IngressLoadBalancerStatusDie)) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) Ingress(v ...networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerStatusDie
- func (d *IngressLoadBalancerStatusDie) IngressDie(v ...*IngressLoadBalancerIngressDie) *IngressLoadBalancerStatusDie
- type IngressPortStatus
- type IngressPortStatusDie
- func (d *IngressPortStatusDie) DeepCopy() *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressPortStatusDie) DieFeed(r networkingv1.IngressPortStatus) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieFeedJSON(j []byte) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieFeedPtr(r *networkingv1.IngressPortStatus) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieFeedYAML(y []byte) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieFeedYAMLFile(name string) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieImmutable(immutable bool) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressPortStatusDie) DieRelease() networkingv1.IngressPortStatus
- func (d *IngressPortStatusDie) DieReleaseJSON() []byte
- func (d *IngressPortStatusDie) DieReleasePtr() *networkingv1.IngressPortStatus
- func (d *IngressPortStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressPortStatusDie) DieReleaseYAML() []byte
- func (d *IngressPortStatusDie) DieSeal() *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieSealFeed(r networkingv1.IngressPortStatus) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieSealFeedPtr(r *networkingv1.IngressPortStatus) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieSealRelease() networkingv1.IngressPortStatus
- func (d *IngressPortStatusDie) DieSealReleasePtr() *networkingv1.IngressPortStatus
- func (d *IngressPortStatusDie) DieStamp(fn func(r *networkingv1.IngressPortStatus)) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieStampAt(jp string, fn interface{}) *IngressPortStatusDie
- func (d *IngressPortStatusDie) DieWith(fns ...func(d *IngressPortStatusDie)) *IngressPortStatusDie
- func (d *IngressPortStatusDie) Error(v *string) *IngressPortStatusDie
- func (d *IngressPortStatusDie) Port(v int32) *IngressPortStatusDie
- func (d *IngressPortStatusDie) Protocol(v apicorev1.Protocol) *IngressPortStatusDie
- type IngressRuleDie
- func (d *IngressRuleDie) DeepCopy() *IngressRuleDie
- func (d *IngressRuleDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressRuleDie) DieFeed(r networkingv1.IngressRule) *IngressRuleDie
- func (d *IngressRuleDie) DieFeedJSON(j []byte) *IngressRuleDie
- func (d *IngressRuleDie) DieFeedPtr(r *networkingv1.IngressRule) *IngressRuleDie
- func (d *IngressRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressRuleDie
- func (d *IngressRuleDie) DieFeedYAML(y []byte) *IngressRuleDie
- func (d *IngressRuleDie) DieFeedYAMLFile(name string) *IngressRuleDie
- func (d *IngressRuleDie) DieImmutable(immutable bool) *IngressRuleDie
- func (d *IngressRuleDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressRuleDie) DieRelease() networkingv1.IngressRule
- func (d *IngressRuleDie) DieReleaseJSON() []byte
- func (d *IngressRuleDie) DieReleasePtr() *networkingv1.IngressRule
- func (d *IngressRuleDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressRuleDie) DieReleaseYAML() []byte
- func (d *IngressRuleDie) DieSeal() *IngressRuleDie
- func (d *IngressRuleDie) DieSealFeed(r networkingv1.IngressRule) *IngressRuleDie
- func (d *IngressRuleDie) DieSealFeedPtr(r *networkingv1.IngressRule) *IngressRuleDie
- func (d *IngressRuleDie) DieSealRelease() networkingv1.IngressRule
- func (d *IngressRuleDie) DieSealReleasePtr() *networkingv1.IngressRule
- func (d *IngressRuleDie) DieStamp(fn func(r *networkingv1.IngressRule)) *IngressRuleDie
- func (d *IngressRuleDie) DieStampAt(jp string, fn interface{}) *IngressRuleDie
- func (d *IngressRuleDie) DieWith(fns ...func(d *IngressRuleDie)) *IngressRuleDie
- func (d *IngressRuleDie) HTTPDie(fn func(d *HTTPIngressRuleValueDie)) *IngressRuleDie
- func (d *IngressRuleDie) Host(v string) *IngressRuleDie
- func (d *IngressRuleDie) IngressRuleValue(v networkingv1.IngressRuleValue) *IngressRuleDie
- type IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DeepCopy() *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressServiceBackendDie) DieFeed(r networkingv1.IngressServiceBackend) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieFeedJSON(j []byte) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieFeedPtr(r *networkingv1.IngressServiceBackend) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieFeedYAML(y []byte) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieFeedYAMLFile(name string) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieImmutable(immutable bool) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressServiceBackendDie) DieRelease() networkingv1.IngressServiceBackend
- func (d *IngressServiceBackendDie) DieReleaseJSON() []byte
- func (d *IngressServiceBackendDie) DieReleasePtr() *networkingv1.IngressServiceBackend
- func (d *IngressServiceBackendDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressServiceBackendDie) DieReleaseYAML() []byte
- func (d *IngressServiceBackendDie) DieSeal() *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieSealFeed(r networkingv1.IngressServiceBackend) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieSealFeedPtr(r *networkingv1.IngressServiceBackend) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieSealRelease() networkingv1.IngressServiceBackend
- func (d *IngressServiceBackendDie) DieSealReleasePtr() *networkingv1.IngressServiceBackend
- func (d *IngressServiceBackendDie) DieStamp(fn func(r *networkingv1.IngressServiceBackend)) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieStampAt(jp string, fn interface{}) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) DieWith(fns ...func(d *IngressServiceBackendDie)) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) Name(v string) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) Port(v networkingv1.ServiceBackendPort) *IngressServiceBackendDie
- func (d *IngressServiceBackendDie) PortDie(fn func(d *ServiceBackendPortDie)) *IngressServiceBackendDie
- type IngressSpecDie
- func (d *IngressSpecDie) DeepCopy() *IngressSpecDie
- func (d *IngressSpecDie) DefaultBackend(v *networkingv1.IngressBackend) *IngressSpecDie
- func (d *IngressSpecDie) DefaultBackendDie(fn func(d *IngressBackendDie)) *IngressSpecDie
- func (d *IngressSpecDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressSpecDie) DieFeed(r networkingv1.IngressSpec) *IngressSpecDie
- func (d *IngressSpecDie) DieFeedJSON(j []byte) *IngressSpecDie
- func (d *IngressSpecDie) DieFeedPtr(r *networkingv1.IngressSpec) *IngressSpecDie
- func (d *IngressSpecDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressSpecDie
- func (d *IngressSpecDie) DieFeedYAML(y []byte) *IngressSpecDie
- func (d *IngressSpecDie) DieFeedYAMLFile(name string) *IngressSpecDie
- func (d *IngressSpecDie) DieImmutable(immutable bool) *IngressSpecDie
- func (d *IngressSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressSpecDie) DieRelease() networkingv1.IngressSpec
- func (d *IngressSpecDie) DieReleaseJSON() []byte
- func (d *IngressSpecDie) DieReleasePtr() *networkingv1.IngressSpec
- func (d *IngressSpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressSpecDie) DieReleaseYAML() []byte
- func (d *IngressSpecDie) DieSeal() *IngressSpecDie
- func (d *IngressSpecDie) DieSealFeed(r networkingv1.IngressSpec) *IngressSpecDie
- func (d *IngressSpecDie) DieSealFeedPtr(r *networkingv1.IngressSpec) *IngressSpecDie
- func (d *IngressSpecDie) DieSealRelease() networkingv1.IngressSpec
- func (d *IngressSpecDie) DieSealReleasePtr() *networkingv1.IngressSpec
- func (d *IngressSpecDie) DieStamp(fn func(r *networkingv1.IngressSpec)) *IngressSpecDie
- func (d *IngressSpecDie) DieStampAt(jp string, fn interface{}) *IngressSpecDie
- func (d *IngressSpecDie) DieWith(fns ...func(d *IngressSpecDie)) *IngressSpecDie
- func (d *IngressSpecDie) IngressClassName(v *string) *IngressSpecDie
- func (d *IngressSpecDie) Rules(v ...networkingv1.IngressRule) *IngressSpecDie
- func (d *IngressSpecDie) RulesDie(v ...*IngressRuleDie) *IngressSpecDie
- func (d *IngressSpecDie) TLS(v ...networkingv1.IngressTLS) *IngressSpecDie
- func (d *IngressSpecDie) TLSDie(v ...*IngressTLSDie) *IngressSpecDie
- type IngressStatus
- type IngressStatusDie
- func (d *IngressStatusDie) DeepCopy() *IngressStatusDie
- func (d *IngressStatusDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressStatusDie) DieFeed(r networkingv1.IngressStatus) *IngressStatusDie
- func (d *IngressStatusDie) DieFeedJSON(j []byte) *IngressStatusDie
- func (d *IngressStatusDie) DieFeedPtr(r *networkingv1.IngressStatus) *IngressStatusDie
- func (d *IngressStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressStatusDie
- func (d *IngressStatusDie) DieFeedYAML(y []byte) *IngressStatusDie
- func (d *IngressStatusDie) DieFeedYAMLFile(name string) *IngressStatusDie
- func (d *IngressStatusDie) DieImmutable(immutable bool) *IngressStatusDie
- func (d *IngressStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressStatusDie) DieRelease() networkingv1.IngressStatus
- func (d *IngressStatusDie) DieReleaseJSON() []byte
- func (d *IngressStatusDie) DieReleasePtr() *networkingv1.IngressStatus
- func (d *IngressStatusDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressStatusDie) DieReleaseYAML() []byte
- func (d *IngressStatusDie) DieSeal() *IngressStatusDie
- func (d *IngressStatusDie) DieSealFeed(r networkingv1.IngressStatus) *IngressStatusDie
- func (d *IngressStatusDie) DieSealFeedPtr(r *networkingv1.IngressStatus) *IngressStatusDie
- func (d *IngressStatusDie) DieSealRelease() networkingv1.IngressStatus
- func (d *IngressStatusDie) DieSealReleasePtr() *networkingv1.IngressStatus
- func (d *IngressStatusDie) DieStamp(fn func(r *networkingv1.IngressStatus)) *IngressStatusDie
- func (d *IngressStatusDie) DieStampAt(jp string, fn interface{}) *IngressStatusDie
- func (d *IngressStatusDie) DieWith(fns ...func(d *IngressStatusDie)) *IngressStatusDie
- func (d *IngressStatusDie) LoadBalancer(v networkingv1.IngressLoadBalancerStatus) *IngressStatusDie
- func (d *IngressStatusDie) LoadBalancerDie(fn func(d *IngressLoadBalancerStatusDie)) *IngressStatusDie
- type IngressTLSDie
- func (d *IngressTLSDie) DeepCopy() *IngressTLSDie
- func (d *IngressTLSDie) DieDiff(opts ...cmp.Option) string
- func (d *IngressTLSDie) DieFeed(r networkingv1.IngressTLS) *IngressTLSDie
- func (d *IngressTLSDie) DieFeedJSON(j []byte) *IngressTLSDie
- func (d *IngressTLSDie) DieFeedPtr(r *networkingv1.IngressTLS) *IngressTLSDie
- func (d *IngressTLSDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressTLSDie
- func (d *IngressTLSDie) DieFeedYAML(y []byte) *IngressTLSDie
- func (d *IngressTLSDie) DieFeedYAMLFile(name string) *IngressTLSDie
- func (d *IngressTLSDie) DieImmutable(immutable bool) *IngressTLSDie
- func (d *IngressTLSDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *IngressTLSDie) DieRelease() networkingv1.IngressTLS
- func (d *IngressTLSDie) DieReleaseJSON() []byte
- func (d *IngressTLSDie) DieReleasePtr() *networkingv1.IngressTLS
- func (d *IngressTLSDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *IngressTLSDie) DieReleaseYAML() []byte
- func (d *IngressTLSDie) DieSeal() *IngressTLSDie
- func (d *IngressTLSDie) DieSealFeed(r networkingv1.IngressTLS) *IngressTLSDie
- func (d *IngressTLSDie) DieSealFeedPtr(r *networkingv1.IngressTLS) *IngressTLSDie
- func (d *IngressTLSDie) DieSealRelease() networkingv1.IngressTLS
- func (d *IngressTLSDie) DieSealReleasePtr() *networkingv1.IngressTLS
- func (d *IngressTLSDie) DieStamp(fn func(r *networkingv1.IngressTLS)) *IngressTLSDie
- func (d *IngressTLSDie) DieStampAt(jp string, fn interface{}) *IngressTLSDie
- func (d *IngressTLSDie) DieWith(fns ...func(d *IngressTLSDie)) *IngressTLSDie
- func (d *IngressTLSDie) Hosts(v ...string) *IngressTLSDie
- func (d *IngressTLSDie) SecretName(v string) *IngressTLSDie
- type NetworkPolicyDie
- func (d *NetworkPolicyDie) APIVersion(v string) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DeepCopy() *NetworkPolicyDie
- func (d *NetworkPolicyDie) DeepCopyObject() runtime.Object
- func (d *NetworkPolicyDie) DieDefaultTypeMetadata() *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieDiff(opts ...cmp.Option) string
- func (d *NetworkPolicyDie) DieFeed(r networkingv1.NetworkPolicy) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieFeedJSON(j []byte) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieFeedPtr(r *networkingv1.NetworkPolicy) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieFeedYAML(y []byte) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieFeedYAMLFile(name string) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieImmutable(immutable bool) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NetworkPolicyDie) DieRelease() networkingv1.NetworkPolicy
- func (d *NetworkPolicyDie) DieReleaseJSON() []byte
- func (d *NetworkPolicyDie) DieReleasePtr() *networkingv1.NetworkPolicy
- func (d *NetworkPolicyDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NetworkPolicyDie) DieReleaseUnstructured() *unstructured.Unstructured
- func (d *NetworkPolicyDie) DieReleaseYAML() []byte
- func (d *NetworkPolicyDie) DieSeal() *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieSealFeed(r networkingv1.NetworkPolicy) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieSealFeedPtr(r *networkingv1.NetworkPolicy) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieSealRelease() networkingv1.NetworkPolicy
- func (d *NetworkPolicyDie) DieSealReleasePtr() *networkingv1.NetworkPolicy
- func (d *NetworkPolicyDie) DieStamp(fn func(r *networkingv1.NetworkPolicy)) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyDie
- func (d *NetworkPolicyDie) DieWith(fns ...func(d *NetworkPolicyDie)) *NetworkPolicyDie
- func (d *NetworkPolicyDie) GetObjectKind() schema.ObjectKind
- func (d *NetworkPolicyDie) Kind(v string) *NetworkPolicyDie
- func (d *NetworkPolicyDie) MarshalJSON() ([]byte, error)
- func (d *NetworkPolicyDie) Metadata(v apismetav1.ObjectMeta) *NetworkPolicyDie
- func (d *NetworkPolicyDie) MetadataDie(fn func(d *metav1.ObjectMetaDie)) *NetworkPolicyDie
- func (d *NetworkPolicyDie) Spec(v networkingv1.NetworkPolicySpec) *NetworkPolicyDie
- func (d *NetworkPolicyDie) SpecDie(fn func(d *NetworkPolicySpecDie)) *NetworkPolicyDie
- func (d *NetworkPolicyDie) TypeMetadata(v apismetav1.TypeMeta) *NetworkPolicyDie
- func (d *NetworkPolicyDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *NetworkPolicyDie
- func (d *NetworkPolicyDie) UnmarshalJSON(b []byte) error
- type NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DeepCopy() *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieDiff(opts ...cmp.Option) string
- func (d *NetworkPolicyEgressRuleDie) DieFeed(r networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieFeedJSON(j []byte) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieFeedPtr(r *networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieFeedYAML(y []byte) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieFeedYAMLFile(name string) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieImmutable(immutable bool) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NetworkPolicyEgressRuleDie) DieRelease() networkingv1.NetworkPolicyEgressRule
- func (d *NetworkPolicyEgressRuleDie) DieReleaseJSON() []byte
- func (d *NetworkPolicyEgressRuleDie) DieReleasePtr() *networkingv1.NetworkPolicyEgressRule
- func (d *NetworkPolicyEgressRuleDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NetworkPolicyEgressRuleDie) DieReleaseYAML() []byte
- func (d *NetworkPolicyEgressRuleDie) DieSeal() *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieSealFeed(r networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieSealRelease() networkingv1.NetworkPolicyEgressRule
- func (d *NetworkPolicyEgressRuleDie) DieSealReleasePtr() *networkingv1.NetworkPolicyEgressRule
- func (d *NetworkPolicyEgressRuleDie) DieStamp(fn func(r *networkingv1.NetworkPolicyEgressRule)) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) DieWith(fns ...func(d *NetworkPolicyEgressRuleDie)) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) Ports(v ...networkingv1.NetworkPolicyPort) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) PortsDie(v ...*NetworkPolicyPortDie) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) To(v ...networkingv1.NetworkPolicyPeer) *NetworkPolicyEgressRuleDie
- func (d *NetworkPolicyEgressRuleDie) ToDie(v ...*NetworkPolicyPeerDie) *NetworkPolicyEgressRuleDie
- type NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DeepCopy() *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieDiff(opts ...cmp.Option) string
- func (d *NetworkPolicyIngressRuleDie) DieFeed(r networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieFeedJSON(j []byte) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieFeedPtr(r *networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieFeedYAML(y []byte) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieFeedYAMLFile(name string) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieImmutable(immutable bool) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NetworkPolicyIngressRuleDie) DieRelease() networkingv1.NetworkPolicyIngressRule
- func (d *NetworkPolicyIngressRuleDie) DieReleaseJSON() []byte
- func (d *NetworkPolicyIngressRuleDie) DieReleasePtr() *networkingv1.NetworkPolicyIngressRule
- func (d *NetworkPolicyIngressRuleDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NetworkPolicyIngressRuleDie) DieReleaseYAML() []byte
- func (d *NetworkPolicyIngressRuleDie) DieSeal() *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieSealFeed(r networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieSealRelease() networkingv1.NetworkPolicyIngressRule
- func (d *NetworkPolicyIngressRuleDie) DieSealReleasePtr() *networkingv1.NetworkPolicyIngressRule
- func (d *NetworkPolicyIngressRuleDie) DieStamp(fn func(r *networkingv1.NetworkPolicyIngressRule)) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) DieWith(fns ...func(d *NetworkPolicyIngressRuleDie)) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) From(v ...networkingv1.NetworkPolicyPeer) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) FromDie(v ...*NetworkPolicyPeerDie) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) Ports(v ...networkingv1.NetworkPolicyPort) *NetworkPolicyIngressRuleDie
- func (d *NetworkPolicyIngressRuleDie) PortsDie(v ...*NetworkPolicyPortDie) *NetworkPolicyIngressRuleDie
- type NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DeepCopy() *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieDiff(opts ...cmp.Option) string
- func (d *NetworkPolicyPeerDie) DieFeed(r networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieFeedJSON(j []byte) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieFeedPtr(r *networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieFeedYAML(y []byte) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieFeedYAMLFile(name string) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieImmutable(immutable bool) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NetworkPolicyPeerDie) DieRelease() networkingv1.NetworkPolicyPeer
- func (d *NetworkPolicyPeerDie) DieReleaseJSON() []byte
- func (d *NetworkPolicyPeerDie) DieReleasePtr() *networkingv1.NetworkPolicyPeer
- func (d *NetworkPolicyPeerDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NetworkPolicyPeerDie) DieReleaseYAML() []byte
- func (d *NetworkPolicyPeerDie) DieSeal() *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieSealFeed(r networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieSealRelease() networkingv1.NetworkPolicyPeer
- func (d *NetworkPolicyPeerDie) DieSealReleasePtr() *networkingv1.NetworkPolicyPeer
- func (d *NetworkPolicyPeerDie) DieStamp(fn func(r *networkingv1.NetworkPolicyPeer)) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) DieWith(fns ...func(d *NetworkPolicyPeerDie)) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) IPBlock(v *networkingv1.IPBlock) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) IPBlockDie(fn func(d *IPBlockDie)) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) NamespaceSelector(v *apismetav1.LabelSelector) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) NamespaceSelectorDie(fn func(d *metav1.LabelSelectorDie)) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) PodSelector(v *apismetav1.LabelSelector) *NetworkPolicyPeerDie
- func (d *NetworkPolicyPeerDie) PodSelectorDie(fn func(d *metav1.LabelSelectorDie)) *NetworkPolicyPeerDie
- type NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DeepCopy() *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieDiff(opts ...cmp.Option) string
- func (d *NetworkPolicyPortDie) DieFeed(r networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieFeedJSON(j []byte) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieFeedPtr(r *networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieFeedYAML(y []byte) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieFeedYAMLFile(name string) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieImmutable(immutable bool) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NetworkPolicyPortDie) DieRelease() networkingv1.NetworkPolicyPort
- func (d *NetworkPolicyPortDie) DieReleaseJSON() []byte
- func (d *NetworkPolicyPortDie) DieReleasePtr() *networkingv1.NetworkPolicyPort
- func (d *NetworkPolicyPortDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NetworkPolicyPortDie) DieReleaseYAML() []byte
- func (d *NetworkPolicyPortDie) DieSeal() *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieSealFeed(r networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieSealRelease() networkingv1.NetworkPolicyPort
- func (d *NetworkPolicyPortDie) DieSealReleasePtr() *networkingv1.NetworkPolicyPort
- func (d *NetworkPolicyPortDie) DieStamp(fn func(r *networkingv1.NetworkPolicyPort)) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieStampAt(jp string, fn interface{}) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) DieWith(fns ...func(d *NetworkPolicyPortDie)) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) EndPort(v *int32) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) Port(v *intstr.IntOrString) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) PortInt(i int) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) PortString(s string) *NetworkPolicyPortDie
- func (d *NetworkPolicyPortDie) Protocol(v *apicorev1.Protocol) *NetworkPolicyPortDie
- type NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DeepCopy() *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieDiff(opts ...cmp.Option) string
- func (d *NetworkPolicySpecDie) DieFeed(r networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieFeedJSON(j []byte) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieFeedPtr(r *networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieFeedYAML(y []byte) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieFeedYAMLFile(name string) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieImmutable(immutable bool) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *NetworkPolicySpecDie) DieRelease() networkingv1.NetworkPolicySpec
- func (d *NetworkPolicySpecDie) DieReleaseJSON() []byte
- func (d *NetworkPolicySpecDie) DieReleasePtr() *networkingv1.NetworkPolicySpec
- func (d *NetworkPolicySpecDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *NetworkPolicySpecDie) DieReleaseYAML() []byte
- func (d *NetworkPolicySpecDie) DieSeal() *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieSealFeed(r networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieSealFeedPtr(r *networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieSealRelease() networkingv1.NetworkPolicySpec
- func (d *NetworkPolicySpecDie) DieSealReleasePtr() *networkingv1.NetworkPolicySpec
- func (d *NetworkPolicySpecDie) DieStamp(fn func(r *networkingv1.NetworkPolicySpec)) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieStampAt(jp string, fn interface{}) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) DieWith(fns ...func(d *NetworkPolicySpecDie)) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) Egress(v ...networkingv1.NetworkPolicyEgressRule) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) EgressDie(v ...*NetworkPolicyEgressRuleDie) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) Ingress(v ...networkingv1.NetworkPolicyIngressRule) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) IngressDie(v ...*NetworkPolicyIngressRuleDie) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) PodSelector(v apismetav1.LabelSelector) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) PodSelectorDie(fn func(d *metav1.LabelSelectorDie)) *NetworkPolicySpecDie
- func (d *NetworkPolicySpecDie) PolicyTypes(v ...networkingv1.PolicyType) *NetworkPolicySpecDie
- type ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DeepCopy() *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieDiff(opts ...cmp.Option) string
- func (d *ServiceBackendPortDie) DieFeed(r networkingv1.ServiceBackendPort) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieFeedJSON(j []byte) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieFeedPtr(r *networkingv1.ServiceBackendPort) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieFeedRawExtension(raw runtime.RawExtension) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieFeedYAML(y []byte) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieFeedYAMLFile(name string) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieImmutable(immutable bool) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DiePatch(patchType types.PatchType) ([]byte, error)
- func (d *ServiceBackendPortDie) DieRelease() networkingv1.ServiceBackendPort
- func (d *ServiceBackendPortDie) DieReleaseJSON() []byte
- func (d *ServiceBackendPortDie) DieReleasePtr() *networkingv1.ServiceBackendPort
- func (d *ServiceBackendPortDie) DieReleaseRawExtension() runtime.RawExtension
- func (d *ServiceBackendPortDie) DieReleaseYAML() []byte
- func (d *ServiceBackendPortDie) DieSeal() *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieSealFeed(r networkingv1.ServiceBackendPort) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieSealFeedPtr(r *networkingv1.ServiceBackendPort) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieSealRelease() networkingv1.ServiceBackendPort
- func (d *ServiceBackendPortDie) DieSealReleasePtr() *networkingv1.ServiceBackendPort
- func (d *ServiceBackendPortDie) DieStamp(fn func(r *networkingv1.ServiceBackendPort)) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieStampAt(jp string, fn interface{}) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) DieWith(fns ...func(d *ServiceBackendPortDie)) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) Name(v string) *ServiceBackendPortDie
- func (d *ServiceBackendPortDie) Number(v int32) *ServiceBackendPortDie
Constants ¶
This section is empty.
Variables ¶
var HTTPIngressPathBlank = (&HTTPIngressPathDie{}).DieFeed(networkingv1.HTTPIngressPath{})
var HTTPIngressRuleValueBlank = (&HTTPIngressRuleValueDie{}).DieFeed(networkingv1.HTTPIngressRuleValue{})
var IPBlockBlank = (&IPBlockDie{}).DieFeed(networkingv1.IPBlock{})
var IngressBackendBlank = (&IngressBackendDie{}).DieFeed(networkingv1.IngressBackend{})
var IngressBlank = (&IngressDie{}).DieFeed(networkingv1.Ingress{})
var IngressClassBlank = (&IngressClassDie{}).DieFeed(networkingv1.IngressClass{})
var IngressClassParametersReferenceBlank = (&IngressClassParametersReferenceDie{}).DieFeed(networkingv1.IngressClassParametersReference{})
var IngressClassSpecBlank = (&IngressClassSpecDie{}).DieFeed(networkingv1.IngressClassSpec{})
var IngressLoadBalancerIngressBlank = (&IngressLoadBalancerIngressDie{}).DieFeed(networkingv1.IngressLoadBalancerIngress{})
var IngressLoadBalancerStatusBlank = (&IngressLoadBalancerStatusDie{}).DieFeed(networkingv1.IngressLoadBalancerStatus{})
var IngressPortStatusBlank = (&IngressPortStatusDie{}).DieFeed(networkingv1.IngressPortStatus{})
var IngressRuleBlank = (&IngressRuleDie{}).DieFeed(networkingv1.IngressRule{})
var IngressServiceBackendBlank = (&IngressServiceBackendDie{}).DieFeed(networkingv1.IngressServiceBackend{})
var IngressSpecBlank = (&IngressSpecDie{}).DieFeed(networkingv1.IngressSpec{})
var IngressStatusBlank = (&IngressStatusDie{}).DieFeed(networkingv1.IngressStatus{})
var IngressTLSBlank = (&IngressTLSDie{}).DieFeed(networkingv1.IngressTLS{})
var NetworkPolicyBlank = (&NetworkPolicyDie{}).DieFeed(networkingv1.NetworkPolicy{})
var NetworkPolicyEgressRuleBlank = (&NetworkPolicyEgressRuleDie{}).DieFeed(networkingv1.NetworkPolicyEgressRule{})
var NetworkPolicyIngressRuleBlank = (&NetworkPolicyIngressRuleDie{}).DieFeed(networkingv1.NetworkPolicyIngressRule{})
var NetworkPolicyPeerBlank = (&NetworkPolicyPeerDie{}).DieFeed(networkingv1.NetworkPolicyPeer{})
var NetworkPolicyPortBlank = (&NetworkPolicyPortDie{}).DieFeed(networkingv1.NetworkPolicyPort{})
var NetworkPolicySpecBlank = (&NetworkPolicySpecDie{}).DieFeed(networkingv1.NetworkPolicySpec{})
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 ¶
func (d *HTTPIngressPathDie) Backend(v networkingv1.IngressBackend) *HTTPIngressPathDie
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
BackendDie mutates Backend as a die.
backend defines the referenced service endpoint to which the traffic
will be forwarded to.
func (*HTTPIngressPathDie) DeepCopy ¶
func (d *HTTPIngressPathDie) DeepCopy() *HTTPIngressPathDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*HTTPIngressPathDie) DieDiff ¶ added in v0.13.0
func (d *HTTPIngressPathDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*HTTPIngressPathDie) DieFeed ¶
func (d *HTTPIngressPathDie) DieFeed(r networkingv1.HTTPIngressPath) *HTTPIngressPathDie
DieFeed returns a new die with the provided resource.
func (*HTTPIngressPathDie) DieFeedJSON ¶
func (d *HTTPIngressPathDie) DieFeedJSON(j []byte) *HTTPIngressPathDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*HTTPIngressPathDie) DieFeedPtr ¶
func (d *HTTPIngressPathDie) DieFeedPtr(r *networkingv1.HTTPIngressPath) *HTTPIngressPathDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*HTTPIngressPathDie) DieFeedRawExtension ¶
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 ¶
func (d *HTTPIngressPathDie) DieFeedYAML(y []byte) *HTTPIngressPathDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HTTPIngressPathDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *HTTPIngressPathDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*HTTPIngressPathDie) DieRelease ¶
func (d *HTTPIngressPathDie) DieRelease() networkingv1.HTTPIngressPath
DieRelease returns the resource managed by the die.
func (*HTTPIngressPathDie) DieReleaseJSON ¶
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 ¶
func (d *HTTPIngressPathDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPIngressPathDie) DieReleaseYAML ¶
func (d *HTTPIngressPathDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HTTPIngressPathDie) DieSeal ¶ added in v0.13.0
func (d *HTTPIngressPathDie) DieSeal() *HTTPIngressPathDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*HTTPIngressPathDie) DieSealFeed ¶ added in v0.13.0
func (d *HTTPIngressPathDie) DieSealFeed(r networkingv1.HTTPIngressPath) *HTTPIngressPathDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*HTTPIngressPathDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *HTTPIngressPathDie) DieSealFeedPtr(r *networkingv1.HTTPIngressPath) *HTTPIngressPathDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*HTTPIngressPathDie) DieSealRelease ¶ added in v0.13.0
func (d *HTTPIngressPathDie) DieSealRelease() networkingv1.HTTPIngressPath
DieSealRelease returns the sealed resource managed by the die.
func (*HTTPIngressPathDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *HTTPIngressPathDie) DieSealReleasePtr() *networkingv1.HTTPIngressPath
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*HTTPIngressPathDie) DieStamp ¶
func (d *HTTPIngressPathDie) DieStamp(fn func(r *networkingv1.HTTPIngressPath)) *HTTPIngressPathDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*HTTPIngressPathDie) DieStampAt ¶
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 ¶
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 ¶
func (d *HTTPIngressPathDie) Path(v string) *HTTPIngressPathDie
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 ¶
func (d *HTTPIngressPathDie) PathType(v *networkingv1.PathType) *HTTPIngressPathDie
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 ¶
func (d *HTTPIngressRuleValueDie) DeepCopy() *HTTPIngressRuleValueDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*HTTPIngressRuleValueDie) DieDiff ¶ added in v0.13.0
func (d *HTTPIngressRuleValueDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*HTTPIngressRuleValueDie) DieFeed ¶
func (d *HTTPIngressRuleValueDie) DieFeed(r networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
DieFeed returns a new die with the provided resource.
func (*HTTPIngressRuleValueDie) DieFeedJSON ¶
func (d *HTTPIngressRuleValueDie) DieFeedJSON(j []byte) *HTTPIngressRuleValueDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*HTTPIngressRuleValueDie) DieFeedPtr ¶
func (d *HTTPIngressRuleValueDie) DieFeedPtr(r *networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*HTTPIngressRuleValueDie) DieFeedRawExtension ¶
func (d *HTTPIngressRuleValueDie) DieFeedRawExtension(raw runtime.RawExtension) *HTTPIngressRuleValueDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPIngressRuleValueDie) DieFeedYAML ¶
func (d *HTTPIngressRuleValueDie) DieFeedYAML(y []byte) *HTTPIngressRuleValueDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*HTTPIngressRuleValueDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *HTTPIngressRuleValueDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*HTTPIngressRuleValueDie) DieRelease ¶
func (d *HTTPIngressRuleValueDie) DieRelease() networkingv1.HTTPIngressRuleValue
DieRelease returns the resource managed by the die.
func (*HTTPIngressRuleValueDie) DieReleaseJSON ¶
func (d *HTTPIngressRuleValueDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*HTTPIngressRuleValueDie) DieReleasePtr ¶
func (d *HTTPIngressRuleValueDie) DieReleasePtr() *networkingv1.HTTPIngressRuleValue
DieReleasePtr returns a pointer to the resource managed by the die.
func (*HTTPIngressRuleValueDie) DieReleaseRawExtension ¶
func (d *HTTPIngressRuleValueDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*HTTPIngressRuleValueDie) DieReleaseYAML ¶
func (d *HTTPIngressRuleValueDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*HTTPIngressRuleValueDie) DieSeal ¶ added in v0.13.0
func (d *HTTPIngressRuleValueDie) DieSeal() *HTTPIngressRuleValueDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*HTTPIngressRuleValueDie) DieSealFeed ¶ added in v0.13.0
func (d *HTTPIngressRuleValueDie) DieSealFeed(r networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*HTTPIngressRuleValueDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *HTTPIngressRuleValueDie) DieSealFeedPtr(r *networkingv1.HTTPIngressRuleValue) *HTTPIngressRuleValueDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*HTTPIngressRuleValueDie) DieSealRelease ¶ added in v0.13.0
func (d *HTTPIngressRuleValueDie) DieSealRelease() networkingv1.HTTPIngressRuleValue
DieSealRelease returns the sealed resource managed by the die.
func (*HTTPIngressRuleValueDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *HTTPIngressRuleValueDie) DieSealReleasePtr() *networkingv1.HTTPIngressRuleValue
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*HTTPIngressRuleValueDie) DieStamp ¶
func (d *HTTPIngressRuleValueDie) DieStamp(fn func(r *networkingv1.HTTPIngressRuleValue)) *HTTPIngressRuleValueDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*HTTPIngressRuleValueDie) DieStampAt ¶
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 ¶
func (d *HTTPIngressRuleValueDie) DieWith(fns ...func(d *HTTPIngressRuleValueDie)) *HTTPIngressRuleValueDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*HTTPIngressRuleValueDie) Paths ¶
func (d *HTTPIngressRuleValueDie) Paths(v ...networkingv1.HTTPIngressPath) *HTTPIngressRuleValueDie
paths is a collection of paths that map requests to backends.
func (*HTTPIngressRuleValueDie) PathsDie ¶
func (d *HTTPIngressRuleValueDie) PathsDie(v ...*HTTPIngressPathDie) *HTTPIngressRuleValueDie
PathsDie replaces Paths by collecting the released value from each die passed.
paths is a collection of paths that map requests to backends.
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) DieDiff ¶ added in v0.13.0
func (d *IPBlockDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IPBlockDie) DieFeed ¶
func (d *IPBlockDie) DieFeed(r networkingv1.IPBlock) *IPBlockDie
DieFeed returns a new die with the provided resource.
func (*IPBlockDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *IPBlockDie) DieFeedYAML(y []byte) *IPBlockDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IPBlockDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IPBlockDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IPBlockDie) DieRelease ¶
func (d *IPBlockDie) DieRelease() networkingv1.IPBlock
DieRelease returns the resource managed by the die.
func (*IPBlockDie) DieReleaseJSON ¶
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 ¶
func (d *IPBlockDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IPBlockDie) DieReleaseYAML ¶
func (d *IPBlockDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IPBlockDie) DieSeal ¶ added in v0.13.0
func (d *IPBlockDie) DieSeal() *IPBlockDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IPBlockDie) DieSealFeed ¶ added in v0.13.0
func (d *IPBlockDie) DieSealFeed(r networkingv1.IPBlock) *IPBlockDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IPBlockDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IPBlockDie) DieSealFeedPtr(r *networkingv1.IPBlock) *IPBlockDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IPBlockDie) DieSealRelease ¶ added in v0.13.0
func (d *IPBlockDie) DieSealRelease() networkingv1.IPBlock
DieSealRelease returns the sealed resource managed by the die.
func (*IPBlockDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IPBlockDie) DieSealReleasePtr() *networkingv1.IPBlock
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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) DieDiff ¶ added in v0.13.0
func (d *IngressBackendDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressBackendDie) DieFeed ¶
func (d *IngressBackendDie) DieFeed(r networkingv1.IngressBackend) *IngressBackendDie
DieFeed returns a new die with the provided resource.
func (*IngressBackendDie) DieFeedJSON ¶
func (d *IngressBackendDie) DieFeedJSON(j []byte) *IngressBackendDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressBackendDie) DieFeedPtr ¶
func (d *IngressBackendDie) DieFeedPtr(r *networkingv1.IngressBackend) *IngressBackendDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressBackendDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressBackendDie) DieFeedYAML(y []byte) *IngressBackendDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressBackendDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressBackendDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressBackendDie) DieRelease ¶
func (d *IngressBackendDie) DieRelease() networkingv1.IngressBackend
DieRelease returns the resource managed by the die.
func (*IngressBackendDie) DieReleaseJSON ¶
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 ¶
func (d *IngressBackendDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressBackendDie) DieReleaseYAML ¶
func (d *IngressBackendDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressBackendDie) DieSeal ¶ added in v0.13.0
func (d *IngressBackendDie) DieSeal() *IngressBackendDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressBackendDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressBackendDie) DieSealFeed(r networkingv1.IngressBackend) *IngressBackendDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressBackendDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressBackendDie) DieSealFeedPtr(r *networkingv1.IngressBackend) *IngressBackendDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressBackendDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressBackendDie) DieSealRelease() networkingv1.IngressBackend
DieSealRelease returns the sealed resource managed by the die.
func (*IngressBackendDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressBackendDie) DieSealReleasePtr() *networkingv1.IngressBackend
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*IngressBackendDie) DieStamp ¶
func (d *IngressBackendDie) DieStamp(fn func(r *networkingv1.IngressBackend)) *IngressBackendDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*IngressBackendDie) DieStampAt ¶
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 ¶
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 ¶
func (d *IngressBackendDie) Resource(v *apicorev1.TypedLocalObjectReference) *IngressBackendDie
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 (d *IngressBackendDie) ResourceDie(fn func(d *corev1.TypedLocalObjectReferenceDie)) *IngressBackendDie
ResourceDie mutates Resource as a die.
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) Service ¶
func (d *IngressBackendDie) Service(v *networkingv1.IngressServiceBackend) *IngressBackendDie
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
ServiceDie mutates Service as a die.
service references a service as a backend.
This is a mutually exclusive setting with "Resource".
type IngressClassDie ¶
type IngressClassDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*IngressClassDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *IngressClassDie) DieDefaultTypeMetadata() *IngressClassDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "networking.k8s.io/v1" and "IngressClass" respectively.
func (*IngressClassDie) DieDiff ¶ added in v0.13.0
func (d *IngressClassDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressClassDie) DieFeed ¶
func (d *IngressClassDie) DieFeed(r networkingv1.IngressClass) *IngressClassDie
DieFeed returns a new die with the provided resource.
func (*IngressClassDie) DieFeedJSON ¶
func (d *IngressClassDie) DieFeedJSON(j []byte) *IngressClassDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressClassDie) DieFeedPtr ¶
func (d *IngressClassDie) DieFeedPtr(r *networkingv1.IngressClass) *IngressClassDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressClassDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressClassDie) DieFeedYAML(y []byte) *IngressClassDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressClassDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressClassDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressClassDie) DieRelease ¶
func (d *IngressClassDie) DieRelease() networkingv1.IngressClass
DieRelease returns the resource managed by the die.
func (*IngressClassDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *IngressClassDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressClassDie) DieSeal ¶ added in v0.13.0
func (d *IngressClassDie) DieSeal() *IngressClassDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressClassDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressClassDie) DieSealFeed(r networkingv1.IngressClass) *IngressClassDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressClassDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressClassDie) DieSealFeedPtr(r *networkingv1.IngressClass) *IngressClassDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressClassDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressClassDie) DieSealRelease() networkingv1.IngressClass
DieSealRelease returns the sealed resource managed by the die.
func (*IngressClassDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressClassDie) DieSealReleasePtr() *networkingv1.IngressClass
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
func (d *IngressClassDie) Kind(v string) *IngressClassDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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) Metadata ¶ added in v0.13.0
func (d *IngressClassDie) Metadata(v apismetav1.ObjectMeta) *IngressClassDie
Metadata standard object's metadata.
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 ¶
func (d *IngressClassDie) Spec(v networkingv1.IngressClassSpec) *IngressClassDie
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) TypeMetadata ¶ added in v0.13.0
func (d *IngressClassDie) TypeMetadata(v apismetav1.TypeMeta) *IngressClassDie
TypeMetadata standard object's type metadata.
func (*IngressClassDie) TypeMetadataDie ¶ added in v0.13.0
func (d *IngressClassDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *IngressClassDie
TypeMetadataDie stamps the resource's TypeMeta 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 ¶
func (d *IngressClassParametersReferenceDie) APIGroup(v *string) *IngressClassParametersReferenceDie
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 ¶
func (d *IngressClassParametersReferenceDie) DeepCopy() *IngressClassParametersReferenceDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*IngressClassParametersReferenceDie) DieDiff ¶ added in v0.13.0
func (d *IngressClassParametersReferenceDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressClassParametersReferenceDie) DieFeed ¶
func (d *IngressClassParametersReferenceDie) DieFeed(r networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
DieFeed returns a new die with the provided resource.
func (*IngressClassParametersReferenceDie) DieFeedJSON ¶
func (d *IngressClassParametersReferenceDie) DieFeedJSON(j []byte) *IngressClassParametersReferenceDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressClassParametersReferenceDie) DieFeedPtr ¶
func (d *IngressClassParametersReferenceDie) DieFeedPtr(r *networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressClassParametersReferenceDie) DieFeedRawExtension ¶
func (d *IngressClassParametersReferenceDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressClassParametersReferenceDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressClassParametersReferenceDie) DieFeedYAML ¶
func (d *IngressClassParametersReferenceDie) DieFeedYAML(y []byte) *IngressClassParametersReferenceDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressClassParametersReferenceDie) DieFeedYAMLFile ¶
func (d *IngressClassParametersReferenceDie) DieFeedYAMLFile(name string) *IngressClassParametersReferenceDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*IngressClassParametersReferenceDie) DieImmutable ¶
func (d *IngressClassParametersReferenceDie) DieImmutable(immutable bool) *IngressClassParametersReferenceDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*IngressClassParametersReferenceDie) DiePatch ¶ added in v0.13.0
func (d *IngressClassParametersReferenceDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressClassParametersReferenceDie) DieRelease ¶
func (d *IngressClassParametersReferenceDie) DieRelease() networkingv1.IngressClassParametersReference
DieRelease returns the resource managed by the die.
func (*IngressClassParametersReferenceDie) DieReleaseJSON ¶
func (d *IngressClassParametersReferenceDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*IngressClassParametersReferenceDie) DieReleasePtr ¶
func (d *IngressClassParametersReferenceDie) DieReleasePtr() *networkingv1.IngressClassParametersReference
DieReleasePtr returns a pointer to the resource managed by the die.
func (*IngressClassParametersReferenceDie) DieReleaseRawExtension ¶
func (d *IngressClassParametersReferenceDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressClassParametersReferenceDie) DieReleaseYAML ¶
func (d *IngressClassParametersReferenceDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressClassParametersReferenceDie) DieSeal ¶ added in v0.13.0
func (d *IngressClassParametersReferenceDie) DieSeal() *IngressClassParametersReferenceDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressClassParametersReferenceDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressClassParametersReferenceDie) DieSealFeed(r networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressClassParametersReferenceDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressClassParametersReferenceDie) DieSealFeedPtr(r *networkingv1.IngressClassParametersReference) *IngressClassParametersReferenceDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressClassParametersReferenceDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressClassParametersReferenceDie) DieSealRelease() networkingv1.IngressClassParametersReference
DieSealRelease returns the sealed resource managed by the die.
func (*IngressClassParametersReferenceDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressClassParametersReferenceDie) DieSealReleasePtr() *networkingv1.IngressClassParametersReference
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*IngressClassParametersReferenceDie) DieStamp ¶
func (d *IngressClassParametersReferenceDie) DieStamp(fn func(r *networkingv1.IngressClassParametersReference)) *IngressClassParametersReferenceDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*IngressClassParametersReferenceDie) DieStampAt ¶
func (d *IngressClassParametersReferenceDie) DieStampAt(jp string, fn interface{}) *IngressClassParametersReferenceDie
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 ¶
func (d *IngressClassParametersReferenceDie) DieWith(fns ...func(d *IngressClassParametersReferenceDie)) *IngressClassParametersReferenceDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*IngressClassParametersReferenceDie) Kind ¶
func (d *IngressClassParametersReferenceDie) Kind(v string) *IngressClassParametersReferenceDie
kind is the type of resource being referenced.
func (*IngressClassParametersReferenceDie) Name ¶
func (d *IngressClassParametersReferenceDie) Name(v string) *IngressClassParametersReferenceDie
name is the name of resource being referenced.
func (*IngressClassParametersReferenceDie) Namespace ¶
func (d *IngressClassParametersReferenceDie) Namespace(v *string) *IngressClassParametersReferenceDie
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 ¶
func (d *IngressClassParametersReferenceDie) Scope(v *string) *IngressClassParametersReferenceDie
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 ¶
func (d *IngressClassSpecDie) Controller(v string) *IngressClassSpecDie
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 ¶
func (d *IngressClassSpecDie) DeepCopy() *IngressClassSpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*IngressClassSpecDie) DieDiff ¶ added in v0.13.0
func (d *IngressClassSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressClassSpecDie) DieFeed ¶
func (d *IngressClassSpecDie) DieFeed(r networkingv1.IngressClassSpec) *IngressClassSpecDie
DieFeed returns a new die with the provided resource.
func (*IngressClassSpecDie) DieFeedJSON ¶
func (d *IngressClassSpecDie) DieFeedJSON(j []byte) *IngressClassSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressClassSpecDie) DieFeedPtr ¶
func (d *IngressClassSpecDie) DieFeedPtr(r *networkingv1.IngressClassSpec) *IngressClassSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressClassSpecDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressClassSpecDie) DieFeedYAML(y []byte) *IngressClassSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressClassSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressClassSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressClassSpecDie) DieRelease ¶
func (d *IngressClassSpecDie) DieRelease() networkingv1.IngressClassSpec
DieRelease returns the resource managed by the die.
func (*IngressClassSpecDie) DieReleaseJSON ¶
func (d *IngressClassSpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*IngressClassSpecDie) DieReleasePtr ¶
func (d *IngressClassSpecDie) DieReleasePtr() *networkingv1.IngressClassSpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*IngressClassSpecDie) DieReleaseRawExtension ¶
func (d *IngressClassSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressClassSpecDie) DieReleaseYAML ¶
func (d *IngressClassSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressClassSpecDie) DieSeal ¶ added in v0.13.0
func (d *IngressClassSpecDie) DieSeal() *IngressClassSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressClassSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressClassSpecDie) DieSealFeed(r networkingv1.IngressClassSpec) *IngressClassSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressClassSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressClassSpecDie) DieSealFeedPtr(r *networkingv1.IngressClassSpec) *IngressClassSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressClassSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressClassSpecDie) DieSealRelease() networkingv1.IngressClassSpec
DieSealRelease returns the sealed resource managed by the die.
func (*IngressClassSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressClassSpecDie) DieSealReleasePtr() *networkingv1.IngressClassSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*IngressClassSpecDie) DieStamp ¶
func (d *IngressClassSpecDie) DieStamp(fn func(r *networkingv1.IngressClassSpec)) *IngressClassSpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*IngressClassSpecDie) DieStampAt ¶
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 ¶
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 ¶
func (d *IngressClassSpecDie) Parameters(v *networkingv1.IngressClassParametersReference) *IngressClassSpecDie
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 ¶
func (d *IngressClassSpecDie) ParametersDie(fn func(d *IngressClassParametersReferenceDie)) *IngressClassSpecDie
ParametersDie mutates Parameters as a die.
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.
type IngressDie ¶
type IngressDie struct { metav1.FrozenObjectMeta // contains filtered or unexported fields }
func (*IngressDie) APIVersion ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *IngressDie) DieDefaultTypeMetadata() *IngressDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "networking.k8s.io/v1" and "Ingress" respectively.
func (*IngressDie) DieDiff ¶ added in v0.13.0
func (d *IngressDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressDie) DieFeed ¶
func (d *IngressDie) DieFeed(r networkingv1.Ingress) *IngressDie
DieFeed returns a new die with the provided resource.
func (*IngressDie) DieFeedJSON ¶
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 ¶
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 ¶
func (d *IngressDie) DieFeedYAML(y []byte) *IngressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressDie) DieRelease ¶
func (d *IngressDie) DieRelease() networkingv1.Ingress
DieRelease returns the resource managed by the die.
func (*IngressDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *IngressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressDie) DieSeal ¶ added in v0.13.0
func (d *IngressDie) DieSeal() *IngressDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressDie) DieSealFeed(r networkingv1.Ingress) *IngressDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressDie) DieSealFeedPtr(r *networkingv1.Ingress) *IngressDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressDie) DieSealRelease() networkingv1.Ingress
DieSealRelease returns the sealed resource managed by the die.
func (*IngressDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressDie) DieSealReleasePtr() *networkingv1.Ingress
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) Metadata ¶ added in v0.13.0
func (d *IngressDie) Metadata(v apismetav1.ObjectMeta) *IngressDie
Metadata standard object's metadata.
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 ¶
func (d *IngressDie) Spec(v networkingv1.IngressSpec) *IngressDie
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 ¶
func (d *IngressDie) Status(v networkingv1.IngressStatus) *IngressDie
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) TypeMetadata ¶ added in v0.13.0
func (d *IngressDie) TypeMetadata(v apismetav1.TypeMeta) *IngressDie
TypeMetadata standard object's type metadata.
func (*IngressDie) TypeMetadataDie ¶ added in v0.13.0
func (d *IngressDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *IngressDie
TypeMetadataDie stamps the resource's TypeMeta field with a mutable die.
func (*IngressDie) UnmarshalJSON ¶
func (d *IngressDie) UnmarshalJSON(b []byte) error
type IngressLoadBalancerIngress ¶
type IngressLoadBalancerIngress = networkingv1.IngressLoadBalancerIngress
+die +die:field:name=Ports,die=IngressPortStatusDie,listType=atomic
type IngressLoadBalancerIngressDie ¶
type IngressLoadBalancerIngressDie struct {
// contains filtered or unexported fields
}
func (*IngressLoadBalancerIngressDie) DeepCopy ¶
func (d *IngressLoadBalancerIngressDie) DeepCopy() *IngressLoadBalancerIngressDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*IngressLoadBalancerIngressDie) DieDiff ¶ added in v0.13.0
func (d *IngressLoadBalancerIngressDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressLoadBalancerIngressDie) DieFeed ¶
func (d *IngressLoadBalancerIngressDie) DieFeed(r networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
DieFeed returns a new die with the provided resource.
func (*IngressLoadBalancerIngressDie) DieFeedJSON ¶
func (d *IngressLoadBalancerIngressDie) DieFeedJSON(j []byte) *IngressLoadBalancerIngressDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressLoadBalancerIngressDie) DieFeedPtr ¶
func (d *IngressLoadBalancerIngressDie) DieFeedPtr(r *networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressLoadBalancerIngressDie) DieFeedRawExtension ¶
func (d *IngressLoadBalancerIngressDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressLoadBalancerIngressDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressLoadBalancerIngressDie) DieFeedYAML ¶
func (d *IngressLoadBalancerIngressDie) DieFeedYAML(y []byte) *IngressLoadBalancerIngressDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressLoadBalancerIngressDie) DieFeedYAMLFile ¶
func (d *IngressLoadBalancerIngressDie) DieFeedYAMLFile(name string) *IngressLoadBalancerIngressDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*IngressLoadBalancerIngressDie) DieImmutable ¶
func (d *IngressLoadBalancerIngressDie) DieImmutable(immutable bool) *IngressLoadBalancerIngressDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*IngressLoadBalancerIngressDie) DiePatch ¶ added in v0.13.0
func (d *IngressLoadBalancerIngressDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressLoadBalancerIngressDie) DieRelease ¶
func (d *IngressLoadBalancerIngressDie) DieRelease() networkingv1.IngressLoadBalancerIngress
DieRelease returns the resource managed by the die.
func (*IngressLoadBalancerIngressDie) DieReleaseJSON ¶
func (d *IngressLoadBalancerIngressDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*IngressLoadBalancerIngressDie) DieReleasePtr ¶
func (d *IngressLoadBalancerIngressDie) DieReleasePtr() *networkingv1.IngressLoadBalancerIngress
DieReleasePtr returns a pointer to the resource managed by the die.
func (*IngressLoadBalancerIngressDie) DieReleaseRawExtension ¶
func (d *IngressLoadBalancerIngressDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressLoadBalancerIngressDie) DieReleaseYAML ¶
func (d *IngressLoadBalancerIngressDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressLoadBalancerIngressDie) DieSeal ¶ added in v0.13.0
func (d *IngressLoadBalancerIngressDie) DieSeal() *IngressLoadBalancerIngressDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressLoadBalancerIngressDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressLoadBalancerIngressDie) DieSealFeed(r networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressLoadBalancerIngressDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressLoadBalancerIngressDie) DieSealFeedPtr(r *networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerIngressDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressLoadBalancerIngressDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressLoadBalancerIngressDie) DieSealRelease() networkingv1.IngressLoadBalancerIngress
DieSealRelease returns the sealed resource managed by the die.
func (*IngressLoadBalancerIngressDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressLoadBalancerIngressDie) DieSealReleasePtr() *networkingv1.IngressLoadBalancerIngress
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*IngressLoadBalancerIngressDie) DieStamp ¶
func (d *IngressLoadBalancerIngressDie) DieStamp(fn func(r *networkingv1.IngressLoadBalancerIngress)) *IngressLoadBalancerIngressDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*IngressLoadBalancerIngressDie) DieStampAt ¶
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 ¶
func (d *IngressLoadBalancerIngressDie) DieWith(fns ...func(d *IngressLoadBalancerIngressDie)) *IngressLoadBalancerIngressDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*IngressLoadBalancerIngressDie) Hostname ¶
func (d *IngressLoadBalancerIngressDie) Hostname(v string) *IngressLoadBalancerIngressDie
hostname is set for load-balancer ingress points that are DNS based.
func (*IngressLoadBalancerIngressDie) IP ¶
func (d *IngressLoadBalancerIngressDie) IP(v string) *IngressLoadBalancerIngressDie
ip is set for load-balancer ingress points that are IP based.
func (*IngressLoadBalancerIngressDie) Ports ¶
func (d *IngressLoadBalancerIngressDie) Ports(v ...networkingv1.IngressPortStatus) *IngressLoadBalancerIngressDie
ports provides information about the ports exposed by this LoadBalancer.
func (*IngressLoadBalancerIngressDie) PortsDie ¶
func (d *IngressLoadBalancerIngressDie) PortsDie(v ...*IngressPortStatusDie) *IngressLoadBalancerIngressDie
PortsDie replaces Ports by collecting the released value from each die passed.
ports provides information about the ports exposed by this LoadBalancer.
type IngressLoadBalancerStatus ¶
type IngressLoadBalancerStatus = networkingv1.IngressLoadBalancerStatus
+die +die:field:name=Ingress,die=IngressLoadBalancerIngressDie,listType=atomic
type IngressLoadBalancerStatusDie ¶
type IngressLoadBalancerStatusDie struct {
// contains filtered or unexported fields
}
func (*IngressLoadBalancerStatusDie) DeepCopy ¶
func (d *IngressLoadBalancerStatusDie) DeepCopy() *IngressLoadBalancerStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*IngressLoadBalancerStatusDie) DieDiff ¶ added in v0.13.0
func (d *IngressLoadBalancerStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressLoadBalancerStatusDie) DieFeed ¶
func (d *IngressLoadBalancerStatusDie) DieFeed(r networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
DieFeed returns a new die with the provided resource.
func (*IngressLoadBalancerStatusDie) DieFeedJSON ¶
func (d *IngressLoadBalancerStatusDie) DieFeedJSON(j []byte) *IngressLoadBalancerStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressLoadBalancerStatusDie) DieFeedPtr ¶
func (d *IngressLoadBalancerStatusDie) DieFeedPtr(r *networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressLoadBalancerStatusDie) DieFeedRawExtension ¶
func (d *IngressLoadBalancerStatusDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressLoadBalancerStatusDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressLoadBalancerStatusDie) DieFeedYAML ¶
func (d *IngressLoadBalancerStatusDie) DieFeedYAML(y []byte) *IngressLoadBalancerStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressLoadBalancerStatusDie) DieFeedYAMLFile ¶
func (d *IngressLoadBalancerStatusDie) DieFeedYAMLFile(name string) *IngressLoadBalancerStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*IngressLoadBalancerStatusDie) DieImmutable ¶
func (d *IngressLoadBalancerStatusDie) DieImmutable(immutable bool) *IngressLoadBalancerStatusDie
DieImmutable returns a new die for the current die's state that is either mutable (`false`) or immutable (`true`).
func (*IngressLoadBalancerStatusDie) DiePatch ¶ added in v0.13.0
func (d *IngressLoadBalancerStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressLoadBalancerStatusDie) DieRelease ¶
func (d *IngressLoadBalancerStatusDie) DieRelease() networkingv1.IngressLoadBalancerStatus
DieRelease returns the resource managed by the die.
func (*IngressLoadBalancerStatusDie) DieReleaseJSON ¶
func (d *IngressLoadBalancerStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*IngressLoadBalancerStatusDie) DieReleasePtr ¶
func (d *IngressLoadBalancerStatusDie) DieReleasePtr() *networkingv1.IngressLoadBalancerStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*IngressLoadBalancerStatusDie) DieReleaseRawExtension ¶
func (d *IngressLoadBalancerStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressLoadBalancerStatusDie) DieReleaseYAML ¶
func (d *IngressLoadBalancerStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressLoadBalancerStatusDie) DieSeal ¶ added in v0.13.0
func (d *IngressLoadBalancerStatusDie) DieSeal() *IngressLoadBalancerStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressLoadBalancerStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressLoadBalancerStatusDie) DieSealFeed(r networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressLoadBalancerStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressLoadBalancerStatusDie) DieSealFeedPtr(r *networkingv1.IngressLoadBalancerStatus) *IngressLoadBalancerStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressLoadBalancerStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressLoadBalancerStatusDie) DieSealRelease() networkingv1.IngressLoadBalancerStatus
DieSealRelease returns the sealed resource managed by the die.
func (*IngressLoadBalancerStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressLoadBalancerStatusDie) DieSealReleasePtr() *networkingv1.IngressLoadBalancerStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*IngressLoadBalancerStatusDie) DieStamp ¶
func (d *IngressLoadBalancerStatusDie) DieStamp(fn func(r *networkingv1.IngressLoadBalancerStatus)) *IngressLoadBalancerStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*IngressLoadBalancerStatusDie) DieStampAt ¶
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 ¶
func (d *IngressLoadBalancerStatusDie) DieWith(fns ...func(d *IngressLoadBalancerStatusDie)) *IngressLoadBalancerStatusDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*IngressLoadBalancerStatusDie) Ingress ¶
func (d *IngressLoadBalancerStatusDie) Ingress(v ...networkingv1.IngressLoadBalancerIngress) *IngressLoadBalancerStatusDie
ingress is a list containing ingress points for the load-balancer.
func (*IngressLoadBalancerStatusDie) IngressDie ¶
func (d *IngressLoadBalancerStatusDie) IngressDie(v ...*IngressLoadBalancerIngressDie) *IngressLoadBalancerStatusDie
IngressDie replaces Ingress by collecting the released value from each die passed.
ingress is a list containing ingress points for the load-balancer.
type IngressPortStatusDie ¶
type IngressPortStatusDie struct {
// contains filtered or unexported fields
}
func (*IngressPortStatusDie) DeepCopy ¶
func (d *IngressPortStatusDie) DeepCopy() *IngressPortStatusDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*IngressPortStatusDie) DieDiff ¶ added in v0.13.0
func (d *IngressPortStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressPortStatusDie) DieFeed ¶
func (d *IngressPortStatusDie) DieFeed(r networkingv1.IngressPortStatus) *IngressPortStatusDie
DieFeed returns a new die with the provided resource.
func (*IngressPortStatusDie) DieFeedJSON ¶
func (d *IngressPortStatusDie) DieFeedJSON(j []byte) *IngressPortStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressPortStatusDie) DieFeedPtr ¶
func (d *IngressPortStatusDie) DieFeedPtr(r *networkingv1.IngressPortStatus) *IngressPortStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressPortStatusDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressPortStatusDie) DieFeedYAML(y []byte) *IngressPortStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressPortStatusDie) DieFeedYAMLFile ¶
func (d *IngressPortStatusDie) DieFeedYAMLFile(name string) *IngressPortStatusDie
DieFeedYAMLFile returns a new die loading YAML from a file path. Panics on error.
func (*IngressPortStatusDie) DieImmutable ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressPortStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressPortStatusDie) DieRelease ¶
func (d *IngressPortStatusDie) DieRelease() networkingv1.IngressPortStatus
DieRelease returns the resource managed by the die.
func (*IngressPortStatusDie) DieReleaseJSON ¶
func (d *IngressPortStatusDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*IngressPortStatusDie) DieReleasePtr ¶
func (d *IngressPortStatusDie) DieReleasePtr() *networkingv1.IngressPortStatus
DieReleasePtr returns a pointer to the resource managed by the die.
func (*IngressPortStatusDie) DieReleaseRawExtension ¶
func (d *IngressPortStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressPortStatusDie) DieReleaseYAML ¶
func (d *IngressPortStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressPortStatusDie) DieSeal ¶ added in v0.13.0
func (d *IngressPortStatusDie) DieSeal() *IngressPortStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressPortStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressPortStatusDie) DieSealFeed(r networkingv1.IngressPortStatus) *IngressPortStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressPortStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressPortStatusDie) DieSealFeedPtr(r *networkingv1.IngressPortStatus) *IngressPortStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressPortStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressPortStatusDie) DieSealRelease() networkingv1.IngressPortStatus
DieSealRelease returns the sealed resource managed by the die.
func (*IngressPortStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressPortStatusDie) DieSealReleasePtr() *networkingv1.IngressPortStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*IngressPortStatusDie) DieStamp ¶
func (d *IngressPortStatusDie) DieStamp(fn func(r *networkingv1.IngressPortStatus)) *IngressPortStatusDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*IngressPortStatusDie) DieStampAt ¶
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 ¶
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 ¶
func (d *IngressPortStatusDie) Error(v *string) *IngressPortStatusDie
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 ¶
func (d *IngressPortStatusDie) Port(v int32) *IngressPortStatusDie
port is the port number of the ingress port.
func (*IngressPortStatusDie) Protocol ¶
func (d *IngressPortStatusDie) Protocol(v apicorev1.Protocol) *IngressPortStatusDie
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) DieDiff ¶ added in v0.13.0
func (d *IngressRuleDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressRuleDie) DieFeed ¶
func (d *IngressRuleDie) DieFeed(r networkingv1.IngressRule) *IngressRuleDie
DieFeed returns a new die with the provided resource.
func (*IngressRuleDie) DieFeedJSON ¶
func (d *IngressRuleDie) DieFeedJSON(j []byte) *IngressRuleDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressRuleDie) DieFeedPtr ¶
func (d *IngressRuleDie) DieFeedPtr(r *networkingv1.IngressRule) *IngressRuleDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressRuleDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressRuleDie) DieFeedYAML(y []byte) *IngressRuleDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressRuleDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressRuleDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressRuleDie) DieRelease ¶
func (d *IngressRuleDie) DieRelease() networkingv1.IngressRule
DieRelease returns the resource managed by the die.
func (*IngressRuleDie) DieReleaseJSON ¶
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 ¶
func (d *IngressRuleDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressRuleDie) DieReleaseYAML ¶
func (d *IngressRuleDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressRuleDie) DieSeal ¶ added in v0.13.0
func (d *IngressRuleDie) DieSeal() *IngressRuleDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressRuleDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressRuleDie) DieSealFeed(r networkingv1.IngressRule) *IngressRuleDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressRuleDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressRuleDie) DieSealFeedPtr(r *networkingv1.IngressRule) *IngressRuleDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressRuleDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressRuleDie) DieSealRelease() networkingv1.IngressRule
DieSealRelease returns the sealed resource managed by the die.
func (*IngressRuleDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressRuleDie) DieSealReleasePtr() *networkingv1.IngressRule
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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
HTTPDie mutates HTTP as a die.
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 ¶
func (d *IngressRuleDie) IngressRuleValue(v networkingv1.IngressRuleValue) *IngressRuleDie
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 ¶
func (d *IngressServiceBackendDie) DeepCopy() *IngressServiceBackendDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*IngressServiceBackendDie) DieDiff ¶ added in v0.13.0
func (d *IngressServiceBackendDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressServiceBackendDie) DieFeed ¶
func (d *IngressServiceBackendDie) DieFeed(r networkingv1.IngressServiceBackend) *IngressServiceBackendDie
DieFeed returns a new die with the provided resource.
func (*IngressServiceBackendDie) DieFeedJSON ¶
func (d *IngressServiceBackendDie) DieFeedJSON(j []byte) *IngressServiceBackendDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressServiceBackendDie) DieFeedPtr ¶
func (d *IngressServiceBackendDie) DieFeedPtr(r *networkingv1.IngressServiceBackend) *IngressServiceBackendDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressServiceBackendDie) DieFeedRawExtension ¶
func (d *IngressServiceBackendDie) DieFeedRawExtension(raw runtime.RawExtension) *IngressServiceBackendDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressServiceBackendDie) DieFeedYAML ¶
func (d *IngressServiceBackendDie) DieFeedYAML(y []byte) *IngressServiceBackendDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressServiceBackendDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressServiceBackendDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressServiceBackendDie) DieRelease ¶
func (d *IngressServiceBackendDie) DieRelease() networkingv1.IngressServiceBackend
DieRelease returns the resource managed by the die.
func (*IngressServiceBackendDie) DieReleaseJSON ¶
func (d *IngressServiceBackendDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*IngressServiceBackendDie) DieReleasePtr ¶
func (d *IngressServiceBackendDie) DieReleasePtr() *networkingv1.IngressServiceBackend
DieReleasePtr returns a pointer to the resource managed by the die.
func (*IngressServiceBackendDie) DieReleaseRawExtension ¶
func (d *IngressServiceBackendDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressServiceBackendDie) DieReleaseYAML ¶
func (d *IngressServiceBackendDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressServiceBackendDie) DieSeal ¶ added in v0.13.0
func (d *IngressServiceBackendDie) DieSeal() *IngressServiceBackendDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressServiceBackendDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressServiceBackendDie) DieSealFeed(r networkingv1.IngressServiceBackend) *IngressServiceBackendDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressServiceBackendDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressServiceBackendDie) DieSealFeedPtr(r *networkingv1.IngressServiceBackend) *IngressServiceBackendDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressServiceBackendDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressServiceBackendDie) DieSealRelease() networkingv1.IngressServiceBackend
DieSealRelease returns the sealed resource managed by the die.
func (*IngressServiceBackendDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressServiceBackendDie) DieSealReleasePtr() *networkingv1.IngressServiceBackend
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*IngressServiceBackendDie) DieStamp ¶
func (d *IngressServiceBackendDie) DieStamp(fn func(r *networkingv1.IngressServiceBackend)) *IngressServiceBackendDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*IngressServiceBackendDie) DieStampAt ¶
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 ¶
func (d *IngressServiceBackendDie) DieWith(fns ...func(d *IngressServiceBackendDie)) *IngressServiceBackendDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*IngressServiceBackendDie) Name ¶
func (d *IngressServiceBackendDie) Name(v string) *IngressServiceBackendDie
name is the referenced service. The service must exist in
the same namespace as the Ingress object.
func (*IngressServiceBackendDie) Port ¶
func (d *IngressServiceBackendDie) Port(v networkingv1.ServiceBackendPort) *IngressServiceBackendDie
port of the referenced service. A port name or port number
is required for a IngressServiceBackend.
func (*IngressServiceBackendDie) PortDie ¶
func (d *IngressServiceBackendDie) PortDie(fn func(d *ServiceBackendPortDie)) *IngressServiceBackendDie
PortDie mutates Port as a die.
port of the referenced service. A port name or port number
is required for a IngressServiceBackend.
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 ¶
func (d *IngressSpecDie) DefaultBackend(v *networkingv1.IngressBackend) *IngressSpecDie
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
DefaultBackendDie mutates DefaultBackend as a die.
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) DieDiff ¶ added in v0.13.0
func (d *IngressSpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressSpecDie) DieFeed ¶
func (d *IngressSpecDie) DieFeed(r networkingv1.IngressSpec) *IngressSpecDie
DieFeed returns a new die with the provided resource.
func (*IngressSpecDie) DieFeedJSON ¶
func (d *IngressSpecDie) DieFeedJSON(j []byte) *IngressSpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressSpecDie) DieFeedPtr ¶
func (d *IngressSpecDie) DieFeedPtr(r *networkingv1.IngressSpec) *IngressSpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressSpecDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressSpecDie) DieFeedYAML(y []byte) *IngressSpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressSpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressSpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressSpecDie) DieRelease ¶
func (d *IngressSpecDie) DieRelease() networkingv1.IngressSpec
DieRelease returns the resource managed by the die.
func (*IngressSpecDie) DieReleaseJSON ¶
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 ¶
func (d *IngressSpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressSpecDie) DieReleaseYAML ¶
func (d *IngressSpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressSpecDie) DieSeal ¶ added in v0.13.0
func (d *IngressSpecDie) DieSeal() *IngressSpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressSpecDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressSpecDie) DieSealFeed(r networkingv1.IngressSpec) *IngressSpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressSpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressSpecDie) DieSealFeedPtr(r *networkingv1.IngressSpec) *IngressSpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressSpecDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressSpecDie) DieSealRelease() networkingv1.IngressSpec
DieSealRelease returns the sealed resource managed by the die.
func (*IngressSpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressSpecDie) DieSealReleasePtr() *networkingv1.IngressSpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
func (d *IngressSpecDie) Rules(v ...networkingv1.IngressRule) *IngressSpecDie
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(v ...*IngressRuleDie) *IngressSpecDie
RulesDie replaces Rules by collecting the released value from each die passed.
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) TLS ¶
func (d *IngressSpecDie) TLS(v ...networkingv1.IngressTLS) *IngressSpecDie
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(v ...*IngressTLSDie) *IngressSpecDie
TLSDie replaces TLS by collecting the released value from each die passed.
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.
type IngressStatus ¶
type IngressStatus = networkingv1.IngressStatus
+die +die:field:name=LoadBalancer,die=IngressLoadBalancerStatusDie
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) DieDiff ¶ added in v0.13.0
func (d *IngressStatusDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressStatusDie) DieFeed ¶
func (d *IngressStatusDie) DieFeed(r networkingv1.IngressStatus) *IngressStatusDie
DieFeed returns a new die with the provided resource.
func (*IngressStatusDie) DieFeedJSON ¶
func (d *IngressStatusDie) DieFeedJSON(j []byte) *IngressStatusDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressStatusDie) DieFeedPtr ¶
func (d *IngressStatusDie) DieFeedPtr(r *networkingv1.IngressStatus) *IngressStatusDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressStatusDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressStatusDie) DieFeedYAML(y []byte) *IngressStatusDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressStatusDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressStatusDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressStatusDie) DieRelease ¶
func (d *IngressStatusDie) DieRelease() networkingv1.IngressStatus
DieRelease returns the resource managed by the die.
func (*IngressStatusDie) DieReleaseJSON ¶
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 ¶
func (d *IngressStatusDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressStatusDie) DieReleaseYAML ¶
func (d *IngressStatusDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressStatusDie) DieSeal ¶ added in v0.13.0
func (d *IngressStatusDie) DieSeal() *IngressStatusDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressStatusDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressStatusDie) DieSealFeed(r networkingv1.IngressStatus) *IngressStatusDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressStatusDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressStatusDie) DieSealFeedPtr(r *networkingv1.IngressStatus) *IngressStatusDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressStatusDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressStatusDie) DieSealRelease() networkingv1.IngressStatus
DieSealRelease returns the sealed resource managed by the die.
func (*IngressStatusDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressStatusDie) DieSealReleasePtr() *networkingv1.IngressStatus
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
func (d *IngressStatusDie) LoadBalancer(v networkingv1.IngressLoadBalancerStatus) *IngressStatusDie
loadBalancer contains the current status of the load-balancer.
func (*IngressStatusDie) LoadBalancerDie ¶
func (d *IngressStatusDie) LoadBalancerDie(fn func(d *IngressLoadBalancerStatusDie)) *IngressStatusDie
LoadBalancerDie mutates LoadBalancer as a die.
loadBalancer contains the current status of the load-balancer.
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) DieDiff ¶ added in v0.13.0
func (d *IngressTLSDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*IngressTLSDie) DieFeed ¶
func (d *IngressTLSDie) DieFeed(r networkingv1.IngressTLS) *IngressTLSDie
DieFeed returns a new die with the provided resource.
func (*IngressTLSDie) DieFeedJSON ¶
func (d *IngressTLSDie) DieFeedJSON(j []byte) *IngressTLSDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*IngressTLSDie) DieFeedPtr ¶
func (d *IngressTLSDie) DieFeedPtr(r *networkingv1.IngressTLS) *IngressTLSDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*IngressTLSDie) DieFeedRawExtension ¶
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 ¶
func (d *IngressTLSDie) DieFeedYAML(y []byte) *IngressTLSDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*IngressTLSDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *IngressTLSDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*IngressTLSDie) DieRelease ¶
func (d *IngressTLSDie) DieRelease() networkingv1.IngressTLS
DieRelease returns the resource managed by the die.
func (*IngressTLSDie) DieReleaseJSON ¶
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 ¶
func (d *IngressTLSDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*IngressTLSDie) DieReleaseYAML ¶
func (d *IngressTLSDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*IngressTLSDie) DieSeal ¶ added in v0.13.0
func (d *IngressTLSDie) DieSeal() *IngressTLSDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*IngressTLSDie) DieSealFeed ¶ added in v0.13.0
func (d *IngressTLSDie) DieSealFeed(r networkingv1.IngressTLS) *IngressTLSDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*IngressTLSDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *IngressTLSDie) DieSealFeedPtr(r *networkingv1.IngressTLS) *IngressTLSDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*IngressTLSDie) DieSealRelease ¶ added in v0.13.0
func (d *IngressTLSDie) DieSealRelease() networkingv1.IngressTLS
DieSealRelease returns the sealed resource managed by the die.
func (*IngressTLSDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *IngressTLSDie) DieSealReleasePtr() *networkingv1.IngressTLS
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
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) DieDefaultTypeMetadata ¶ added in v0.13.0
func (d *NetworkPolicyDie) DieDefaultTypeMetadata() *NetworkPolicyDie
DieDefaultTypeMetadata sets the APIVersion and Kind to "networking.k8s.io/v1" and "NetworkPolicy" respectively.
func (*NetworkPolicyDie) DieDiff ¶ added in v0.13.0
func (d *NetworkPolicyDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NetworkPolicyDie) DieFeed ¶
func (d *NetworkPolicyDie) DieFeed(r networkingv1.NetworkPolicy) *NetworkPolicyDie
DieFeed returns a new die with the provided resource.
func (*NetworkPolicyDie) DieFeedJSON ¶
func (d *NetworkPolicyDie) DieFeedJSON(j []byte) *NetworkPolicyDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NetworkPolicyDie) DieFeedPtr ¶
func (d *NetworkPolicyDie) DieFeedPtr(r *networkingv1.NetworkPolicy) *NetworkPolicyDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyDie) DieFeedRawExtension ¶
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 ¶
func (d *NetworkPolicyDie) DieFeedYAML(y []byte) *NetworkPolicyDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NetworkPolicyDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NetworkPolicyDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NetworkPolicyDie) DieRelease ¶
func (d *NetworkPolicyDie) DieRelease() networkingv1.NetworkPolicy
DieRelease returns the resource managed by the die.
func (*NetworkPolicyDie) DieReleaseJSON ¶
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 ¶
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 ¶
func (d *NetworkPolicyDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NetworkPolicyDie) DieSeal ¶ added in v0.13.0
func (d *NetworkPolicyDie) DieSeal() *NetworkPolicyDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NetworkPolicyDie) DieSealFeed ¶ added in v0.13.0
func (d *NetworkPolicyDie) DieSealFeed(r networkingv1.NetworkPolicy) *NetworkPolicyDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NetworkPolicyDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NetworkPolicyDie) DieSealFeedPtr(r *networkingv1.NetworkPolicy) *NetworkPolicyDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyDie) DieSealRelease ¶ added in v0.13.0
func (d *NetworkPolicyDie) DieSealRelease() networkingv1.NetworkPolicy
DieSealRelease returns the sealed resource managed by the die.
func (*NetworkPolicyDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NetworkPolicyDie) DieSealReleasePtr() *networkingv1.NetworkPolicy
DieSealReleasePtr returns the sealed resource pointer managed by the die.
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 ¶
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 ¶
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 ¶
func (d *NetworkPolicyDie) Kind(v string) *NetworkPolicyDie
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client 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) Metadata ¶ added in v0.13.0
func (d *NetworkPolicyDie) Metadata(v apismetav1.ObjectMeta) *NetworkPolicyDie
Metadata standard object's metadata.
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 ¶
func (d *NetworkPolicyDie) Spec(v networkingv1.NetworkPolicySpec) *NetworkPolicyDie
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) TypeMetadata ¶ added in v0.13.0
func (d *NetworkPolicyDie) TypeMetadata(v apismetav1.TypeMeta) *NetworkPolicyDie
TypeMetadata standard object's type metadata.
func (*NetworkPolicyDie) TypeMetadataDie ¶ added in v0.13.0
func (d *NetworkPolicyDie) TypeMetadataDie(fn func(d *metav1.TypeMetaDie)) *NetworkPolicyDie
TypeMetadataDie stamps the resource's TypeMeta 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 ¶
func (d *NetworkPolicyEgressRuleDie) DeepCopy() *NetworkPolicyEgressRuleDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NetworkPolicyEgressRuleDie) DieDiff ¶ added in v0.13.0
func (d *NetworkPolicyEgressRuleDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NetworkPolicyEgressRuleDie) DieFeed ¶
func (d *NetworkPolicyEgressRuleDie) DieFeed(r networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
DieFeed returns a new die with the provided resource.
func (*NetworkPolicyEgressRuleDie) DieFeedJSON ¶
func (d *NetworkPolicyEgressRuleDie) DieFeedJSON(j []byte) *NetworkPolicyEgressRuleDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NetworkPolicyEgressRuleDie) DieFeedPtr ¶
func (d *NetworkPolicyEgressRuleDie) DieFeedPtr(r *networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyEgressRuleDie) DieFeedRawExtension ¶
func (d *NetworkPolicyEgressRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyEgressRuleDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NetworkPolicyEgressRuleDie) DieFeedYAML ¶
func (d *NetworkPolicyEgressRuleDie) DieFeedYAML(y []byte) *NetworkPolicyEgressRuleDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NetworkPolicyEgressRuleDie) DieFeedYAMLFile ¶
func (d *NetworkPolicyEgressRuleDie) DieFeedYAMLFile(name string) *NetworkPolicyEgressRuleDie
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) DiePatch ¶ added in v0.13.0
func (d *NetworkPolicyEgressRuleDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NetworkPolicyEgressRuleDie) DieRelease ¶
func (d *NetworkPolicyEgressRuleDie) DieRelease() networkingv1.NetworkPolicyEgressRule
DieRelease returns the resource managed by the die.
func (*NetworkPolicyEgressRuleDie) DieReleaseJSON ¶
func (d *NetworkPolicyEgressRuleDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NetworkPolicyEgressRuleDie) DieReleasePtr ¶
func (d *NetworkPolicyEgressRuleDie) DieReleasePtr() *networkingv1.NetworkPolicyEgressRule
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NetworkPolicyEgressRuleDie) DieReleaseRawExtension ¶
func (d *NetworkPolicyEgressRuleDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NetworkPolicyEgressRuleDie) DieReleaseYAML ¶
func (d *NetworkPolicyEgressRuleDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NetworkPolicyEgressRuleDie) DieSeal ¶ added in v0.13.0
func (d *NetworkPolicyEgressRuleDie) DieSeal() *NetworkPolicyEgressRuleDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NetworkPolicyEgressRuleDie) DieSealFeed ¶ added in v0.13.0
func (d *NetworkPolicyEgressRuleDie) DieSealFeed(r networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NetworkPolicyEgressRuleDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NetworkPolicyEgressRuleDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyEgressRule) *NetworkPolicyEgressRuleDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyEgressRuleDie) DieSealRelease ¶ added in v0.13.0
func (d *NetworkPolicyEgressRuleDie) DieSealRelease() networkingv1.NetworkPolicyEgressRule
DieSealRelease returns the sealed resource managed by the die.
func (*NetworkPolicyEgressRuleDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NetworkPolicyEgressRuleDie) DieSealReleasePtr() *networkingv1.NetworkPolicyEgressRule
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NetworkPolicyEgressRuleDie) DieStamp ¶
func (d *NetworkPolicyEgressRuleDie) DieStamp(fn func(r *networkingv1.NetworkPolicyEgressRule)) *NetworkPolicyEgressRuleDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NetworkPolicyEgressRuleDie) DieStampAt ¶
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 ¶
func (d *NetworkPolicyEgressRuleDie) DieWith(fns ...func(d *NetworkPolicyEgressRuleDie)) *NetworkPolicyEgressRuleDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NetworkPolicyEgressRuleDie) Ports ¶
func (d *NetworkPolicyEgressRuleDie) Ports(v ...networkingv1.NetworkPolicyPort) *NetworkPolicyEgressRuleDie
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 (d *NetworkPolicyEgressRuleDie) PortsDie(v ...*NetworkPolicyPortDie) *NetworkPolicyEgressRuleDie
PortsDie replaces Ports by collecting the released value from each die passed.
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) To ¶
func (d *NetworkPolicyEgressRuleDie) To(v ...networkingv1.NetworkPolicyPeer) *NetworkPolicyEgressRuleDie
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 ¶
func (d *NetworkPolicyEgressRuleDie) ToDie(v ...*NetworkPolicyPeerDie) *NetworkPolicyEgressRuleDie
ToDie replaces To by collecting the released value from each die passed.
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.
type NetworkPolicyIngressRuleDie ¶
type NetworkPolicyIngressRuleDie struct {
// contains filtered or unexported fields
}
func (*NetworkPolicyIngressRuleDie) DeepCopy ¶
func (d *NetworkPolicyIngressRuleDie) DeepCopy() *NetworkPolicyIngressRuleDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NetworkPolicyIngressRuleDie) DieDiff ¶ added in v0.13.0
func (d *NetworkPolicyIngressRuleDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NetworkPolicyIngressRuleDie) DieFeed ¶
func (d *NetworkPolicyIngressRuleDie) DieFeed(r networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
DieFeed returns a new die with the provided resource.
func (*NetworkPolicyIngressRuleDie) DieFeedJSON ¶
func (d *NetworkPolicyIngressRuleDie) DieFeedJSON(j []byte) *NetworkPolicyIngressRuleDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NetworkPolicyIngressRuleDie) DieFeedPtr ¶
func (d *NetworkPolicyIngressRuleDie) DieFeedPtr(r *networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyIngressRuleDie) DieFeedRawExtension ¶
func (d *NetworkPolicyIngressRuleDie) DieFeedRawExtension(raw runtime.RawExtension) *NetworkPolicyIngressRuleDie
DieFeedRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NetworkPolicyIngressRuleDie) DieFeedYAML ¶
func (d *NetworkPolicyIngressRuleDie) DieFeedYAML(y []byte) *NetworkPolicyIngressRuleDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NetworkPolicyIngressRuleDie) DieFeedYAMLFile ¶
func (d *NetworkPolicyIngressRuleDie) DieFeedYAMLFile(name string) *NetworkPolicyIngressRuleDie
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) DiePatch ¶ added in v0.13.0
func (d *NetworkPolicyIngressRuleDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NetworkPolicyIngressRuleDie) DieRelease ¶
func (d *NetworkPolicyIngressRuleDie) DieRelease() networkingv1.NetworkPolicyIngressRule
DieRelease returns the resource managed by the die.
func (*NetworkPolicyIngressRuleDie) DieReleaseJSON ¶
func (d *NetworkPolicyIngressRuleDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NetworkPolicyIngressRuleDie) DieReleasePtr ¶
func (d *NetworkPolicyIngressRuleDie) DieReleasePtr() *networkingv1.NetworkPolicyIngressRule
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NetworkPolicyIngressRuleDie) DieReleaseRawExtension ¶
func (d *NetworkPolicyIngressRuleDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NetworkPolicyIngressRuleDie) DieReleaseYAML ¶
func (d *NetworkPolicyIngressRuleDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NetworkPolicyIngressRuleDie) DieSeal ¶ added in v0.13.0
func (d *NetworkPolicyIngressRuleDie) DieSeal() *NetworkPolicyIngressRuleDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NetworkPolicyIngressRuleDie) DieSealFeed ¶ added in v0.13.0
func (d *NetworkPolicyIngressRuleDie) DieSealFeed(r networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NetworkPolicyIngressRuleDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NetworkPolicyIngressRuleDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyIngressRule) *NetworkPolicyIngressRuleDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyIngressRuleDie) DieSealRelease ¶ added in v0.13.0
func (d *NetworkPolicyIngressRuleDie) DieSealRelease() networkingv1.NetworkPolicyIngressRule
DieSealRelease returns the sealed resource managed by the die.
func (*NetworkPolicyIngressRuleDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NetworkPolicyIngressRuleDie) DieSealReleasePtr() *networkingv1.NetworkPolicyIngressRule
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NetworkPolicyIngressRuleDie) DieStamp ¶
func (d *NetworkPolicyIngressRuleDie) DieStamp(fn func(r *networkingv1.NetworkPolicyIngressRule)) *NetworkPolicyIngressRuleDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NetworkPolicyIngressRuleDie) DieStampAt ¶
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 ¶
func (d *NetworkPolicyIngressRuleDie) DieWith(fns ...func(d *NetworkPolicyIngressRuleDie)) *NetworkPolicyIngressRuleDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*NetworkPolicyIngressRuleDie) From ¶
func (d *NetworkPolicyIngressRuleDie) From(v ...networkingv1.NetworkPolicyPeer) *NetworkPolicyIngressRuleDie
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 (d *NetworkPolicyIngressRuleDie) FromDie(v ...*NetworkPolicyPeerDie) *NetworkPolicyIngressRuleDie
FromDie replaces From by collecting the released value from each die passed.
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) Ports ¶
func (d *NetworkPolicyIngressRuleDie) Ports(v ...networkingv1.NetworkPolicyPort) *NetworkPolicyIngressRuleDie
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 ¶
func (d *NetworkPolicyIngressRuleDie) PortsDie(v ...*NetworkPolicyPortDie) *NetworkPolicyIngressRuleDie
PortsDie replaces Ports by collecting the released value from each die passed.
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.
type NetworkPolicyPeerDie ¶
type NetworkPolicyPeerDie struct {
// contains filtered or unexported fields
}
func (*NetworkPolicyPeerDie) DeepCopy ¶
func (d *NetworkPolicyPeerDie) DeepCopy() *NetworkPolicyPeerDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NetworkPolicyPeerDie) DieDiff ¶ added in v0.13.0
func (d *NetworkPolicyPeerDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NetworkPolicyPeerDie) DieFeed ¶
func (d *NetworkPolicyPeerDie) DieFeed(r networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
DieFeed returns a new die with the provided resource.
func (*NetworkPolicyPeerDie) DieFeedJSON ¶
func (d *NetworkPolicyPeerDie) DieFeedJSON(j []byte) *NetworkPolicyPeerDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NetworkPolicyPeerDie) DieFeedPtr ¶
func (d *NetworkPolicyPeerDie) DieFeedPtr(r *networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyPeerDie) DieFeedRawExtension ¶
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 ¶
func (d *NetworkPolicyPeerDie) DieFeedYAML(y []byte) *NetworkPolicyPeerDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NetworkPolicyPeerDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NetworkPolicyPeerDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NetworkPolicyPeerDie) DieRelease ¶
func (d *NetworkPolicyPeerDie) DieRelease() networkingv1.NetworkPolicyPeer
DieRelease returns the resource managed by the die.
func (*NetworkPolicyPeerDie) DieReleaseJSON ¶
func (d *NetworkPolicyPeerDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NetworkPolicyPeerDie) DieReleasePtr ¶
func (d *NetworkPolicyPeerDie) DieReleasePtr() *networkingv1.NetworkPolicyPeer
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NetworkPolicyPeerDie) DieReleaseRawExtension ¶
func (d *NetworkPolicyPeerDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NetworkPolicyPeerDie) DieReleaseYAML ¶
func (d *NetworkPolicyPeerDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NetworkPolicyPeerDie) DieSeal ¶ added in v0.13.0
func (d *NetworkPolicyPeerDie) DieSeal() *NetworkPolicyPeerDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NetworkPolicyPeerDie) DieSealFeed ¶ added in v0.13.0
func (d *NetworkPolicyPeerDie) DieSealFeed(r networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NetworkPolicyPeerDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NetworkPolicyPeerDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyPeer) *NetworkPolicyPeerDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyPeerDie) DieSealRelease ¶ added in v0.13.0
func (d *NetworkPolicyPeerDie) DieSealRelease() networkingv1.NetworkPolicyPeer
DieSealRelease returns the sealed resource managed by the die.
func (*NetworkPolicyPeerDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NetworkPolicyPeerDie) DieSealReleasePtr() *networkingv1.NetworkPolicyPeer
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NetworkPolicyPeerDie) DieStamp ¶
func (d *NetworkPolicyPeerDie) DieStamp(fn func(r *networkingv1.NetworkPolicyPeer)) *NetworkPolicyPeerDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NetworkPolicyPeerDie) DieStampAt ¶
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 ¶
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 ¶
func (d *NetworkPolicyPeerDie) IPBlock(v *networkingv1.IPBlock) *NetworkPolicyPeerDie
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
IPBlockDie mutates IPBlock as a die.
ipBlock defines policy on a particular IPBlock. If this field is set then
neither of the other fields can be.
func (*NetworkPolicyPeerDie) NamespaceSelector ¶
func (d *NetworkPolicyPeerDie) NamespaceSelector(v *apismetav1.LabelSelector) *NetworkPolicyPeerDie
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 *metav1.LabelSelectorDie)) *NetworkPolicyPeerDie
NamespaceSelectorDie mutates NamespaceSelector as a die.
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) PodSelector ¶
func (d *NetworkPolicyPeerDie) PodSelector(v *apismetav1.LabelSelector) *NetworkPolicyPeerDie
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 *metav1.LabelSelectorDie)) *NetworkPolicyPeerDie
PodSelectorDie mutates PodSelector as a die.
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.
type NetworkPolicyPortDie ¶
type NetworkPolicyPortDie struct {
// contains filtered or unexported fields
}
func (*NetworkPolicyPortDie) DeepCopy ¶
func (d *NetworkPolicyPortDie) DeepCopy() *NetworkPolicyPortDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NetworkPolicyPortDie) DieDiff ¶ added in v0.13.0
func (d *NetworkPolicyPortDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NetworkPolicyPortDie) DieFeed ¶
func (d *NetworkPolicyPortDie) DieFeed(r networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
DieFeed returns a new die with the provided resource.
func (*NetworkPolicyPortDie) DieFeedJSON ¶
func (d *NetworkPolicyPortDie) DieFeedJSON(j []byte) *NetworkPolicyPortDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NetworkPolicyPortDie) DieFeedPtr ¶
func (d *NetworkPolicyPortDie) DieFeedPtr(r *networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyPortDie) DieFeedRawExtension ¶
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 ¶
func (d *NetworkPolicyPortDie) DieFeedYAML(y []byte) *NetworkPolicyPortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NetworkPolicyPortDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NetworkPolicyPortDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NetworkPolicyPortDie) DieRelease ¶
func (d *NetworkPolicyPortDie) DieRelease() networkingv1.NetworkPolicyPort
DieRelease returns the resource managed by the die.
func (*NetworkPolicyPortDie) DieReleaseJSON ¶
func (d *NetworkPolicyPortDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NetworkPolicyPortDie) DieReleasePtr ¶
func (d *NetworkPolicyPortDie) DieReleasePtr() *networkingv1.NetworkPolicyPort
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NetworkPolicyPortDie) DieReleaseRawExtension ¶
func (d *NetworkPolicyPortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NetworkPolicyPortDie) DieReleaseYAML ¶
func (d *NetworkPolicyPortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NetworkPolicyPortDie) DieSeal ¶ added in v0.13.0
func (d *NetworkPolicyPortDie) DieSeal() *NetworkPolicyPortDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NetworkPolicyPortDie) DieSealFeed ¶ added in v0.13.0
func (d *NetworkPolicyPortDie) DieSealFeed(r networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NetworkPolicyPortDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NetworkPolicyPortDie) DieSealFeedPtr(r *networkingv1.NetworkPolicyPort) *NetworkPolicyPortDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NetworkPolicyPortDie) DieSealRelease ¶ added in v0.13.0
func (d *NetworkPolicyPortDie) DieSealRelease() networkingv1.NetworkPolicyPort
DieSealRelease returns the sealed resource managed by the die.
func (*NetworkPolicyPortDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NetworkPolicyPortDie) DieSealReleasePtr() *networkingv1.NetworkPolicyPort
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NetworkPolicyPortDie) DieStamp ¶
func (d *NetworkPolicyPortDie) DieStamp(fn func(r *networkingv1.NetworkPolicyPort)) *NetworkPolicyPortDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NetworkPolicyPortDie) DieStampAt ¶
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 ¶
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 ¶
func (d *NetworkPolicyPortDie) EndPort(v *int32) *NetworkPolicyPortDie
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 ¶
func (d *NetworkPolicyPortDie) Port(v *intstr.IntOrString) *NetworkPolicyPortDie
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 (d *NetworkPolicyPortDie) PortInt(i int) *NetworkPolicyPortDie
PortInt sets Port with the int value.
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) PortString ¶
func (d *NetworkPolicyPortDie) PortString(s string) *NetworkPolicyPortDie
PortString sets Port with the string value.
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) Protocol ¶
func (d *NetworkPolicyPortDie) Protocol(v *apicorev1.Protocol) *NetworkPolicyPortDie
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 ¶
func (d *NetworkPolicySpecDie) DeepCopy() *NetworkPolicySpecDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*NetworkPolicySpecDie) DieDiff ¶ added in v0.13.0
func (d *NetworkPolicySpecDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*NetworkPolicySpecDie) DieFeed ¶
func (d *NetworkPolicySpecDie) DieFeed(r networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
DieFeed returns a new die with the provided resource.
func (*NetworkPolicySpecDie) DieFeedJSON ¶
func (d *NetworkPolicySpecDie) DieFeedJSON(j []byte) *NetworkPolicySpecDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*NetworkPolicySpecDie) DieFeedPtr ¶
func (d *NetworkPolicySpecDie) DieFeedPtr(r *networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*NetworkPolicySpecDie) DieFeedRawExtension ¶
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 ¶
func (d *NetworkPolicySpecDie) DieFeedYAML(y []byte) *NetworkPolicySpecDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*NetworkPolicySpecDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *NetworkPolicySpecDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*NetworkPolicySpecDie) DieRelease ¶
func (d *NetworkPolicySpecDie) DieRelease() networkingv1.NetworkPolicySpec
DieRelease returns the resource managed by the die.
func (*NetworkPolicySpecDie) DieReleaseJSON ¶
func (d *NetworkPolicySpecDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*NetworkPolicySpecDie) DieReleasePtr ¶
func (d *NetworkPolicySpecDie) DieReleasePtr() *networkingv1.NetworkPolicySpec
DieReleasePtr returns a pointer to the resource managed by the die.
func (*NetworkPolicySpecDie) DieReleaseRawExtension ¶
func (d *NetworkPolicySpecDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*NetworkPolicySpecDie) DieReleaseYAML ¶
func (d *NetworkPolicySpecDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*NetworkPolicySpecDie) DieSeal ¶ added in v0.13.0
func (d *NetworkPolicySpecDie) DieSeal() *NetworkPolicySpecDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*NetworkPolicySpecDie) DieSealFeed ¶ added in v0.13.0
func (d *NetworkPolicySpecDie) DieSealFeed(r networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*NetworkPolicySpecDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *NetworkPolicySpecDie) DieSealFeedPtr(r *networkingv1.NetworkPolicySpec) *NetworkPolicySpecDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*NetworkPolicySpecDie) DieSealRelease ¶ added in v0.13.0
func (d *NetworkPolicySpecDie) DieSealRelease() networkingv1.NetworkPolicySpec
DieSealRelease returns the sealed resource managed by the die.
func (*NetworkPolicySpecDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *NetworkPolicySpecDie) DieSealReleasePtr() *networkingv1.NetworkPolicySpec
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*NetworkPolicySpecDie) DieStamp ¶
func (d *NetworkPolicySpecDie) DieStamp(fn func(r *networkingv1.NetworkPolicySpec)) *NetworkPolicySpecDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*NetworkPolicySpecDie) DieStampAt ¶
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 ¶
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 ¶
func (d *NetworkPolicySpecDie) Egress(v ...networkingv1.NetworkPolicyEgressRule) *NetworkPolicySpecDie
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 (d *NetworkPolicySpecDie) EgressDie(v ...*NetworkPolicyEgressRuleDie) *NetworkPolicySpecDie
EgressDie replaces Egress by collecting the released value from each die passed.
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) Ingress ¶
func (d *NetworkPolicySpecDie) Ingress(v ...networkingv1.NetworkPolicyIngressRule) *NetworkPolicySpecDie
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 (d *NetworkPolicySpecDie) IngressDie(v ...*NetworkPolicyIngressRuleDie) *NetworkPolicySpecDie
IngressDie replaces Ingress by collecting the released value from each die passed.
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) PodSelector ¶
func (d *NetworkPolicySpecDie) PodSelector(v apismetav1.LabelSelector) *NetworkPolicySpecDie
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 *metav1.LabelSelectorDie)) *NetworkPolicySpecDie
PodSelectorDie mutates PodSelector as a die.
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) PolicyTypes ¶
func (d *NetworkPolicySpecDie) PolicyTypes(v ...networkingv1.PolicyType) *NetworkPolicySpecDie
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 ¶
func (d *ServiceBackendPortDie) DeepCopy() *ServiceBackendPortDie
DeepCopy returns a new die with equivalent state. Useful for snapshotting a mutable die.
func (*ServiceBackendPortDie) DieDiff ¶ added in v0.13.0
func (d *ServiceBackendPortDie) DieDiff(opts ...cmp.Option) string
DieDiff uses cmp.Diff to compare the current value of the die with the sealed value.
func (*ServiceBackendPortDie) DieFeed ¶
func (d *ServiceBackendPortDie) DieFeed(r networkingv1.ServiceBackendPort) *ServiceBackendPortDie
DieFeed returns a new die with the provided resource.
func (*ServiceBackendPortDie) DieFeedJSON ¶
func (d *ServiceBackendPortDie) DieFeedJSON(j []byte) *ServiceBackendPortDie
DieFeedJSON returns a new die with the provided JSON. Panics on error.
func (*ServiceBackendPortDie) DieFeedPtr ¶
func (d *ServiceBackendPortDie) DieFeedPtr(r *networkingv1.ServiceBackendPort) *ServiceBackendPortDie
DieFeedPtr returns a new die with the provided resource pointer. If the resource is nil, the empty value is used instead.
func (*ServiceBackendPortDie) DieFeedRawExtension ¶
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 ¶
func (d *ServiceBackendPortDie) DieFeedYAML(y []byte) *ServiceBackendPortDie
DieFeedYAML returns a new die with the provided YAML. Panics on error.
func (*ServiceBackendPortDie) DieFeedYAMLFile ¶
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) DiePatch ¶ added in v0.13.0
func (d *ServiceBackendPortDie) DiePatch(patchType types.PatchType) ([]byte, error)
DiePatch generates a patch between the current value of the die and the sealed value.
func (*ServiceBackendPortDie) DieRelease ¶
func (d *ServiceBackendPortDie) DieRelease() networkingv1.ServiceBackendPort
DieRelease returns the resource managed by the die.
func (*ServiceBackendPortDie) DieReleaseJSON ¶
func (d *ServiceBackendPortDie) DieReleaseJSON() []byte
DieReleaseJSON returns the resource managed by the die as JSON. Panics on error.
func (*ServiceBackendPortDie) DieReleasePtr ¶
func (d *ServiceBackendPortDie) DieReleasePtr() *networkingv1.ServiceBackendPort
DieReleasePtr returns a pointer to the resource managed by the die.
func (*ServiceBackendPortDie) DieReleaseRawExtension ¶
func (d *ServiceBackendPortDie) DieReleaseRawExtension() runtime.RawExtension
DieReleaseRawExtension returns the resource managed by the die as an raw extension. Panics on error.
func (*ServiceBackendPortDie) DieReleaseYAML ¶
func (d *ServiceBackendPortDie) DieReleaseYAML() []byte
DieReleaseYAML returns the resource managed by the die as YAML. Panics on error.
func (*ServiceBackendPortDie) DieSeal ¶ added in v0.13.0
func (d *ServiceBackendPortDie) DieSeal() *ServiceBackendPortDie
DieSeal returns a new die for the current die's state that is sealed for comparison in future diff and patch operations.
func (*ServiceBackendPortDie) DieSealFeed ¶ added in v0.13.0
func (d *ServiceBackendPortDie) DieSealFeed(r networkingv1.ServiceBackendPort) *ServiceBackendPortDie
DieSealFeed returns a new die for the current die's state that uses a specific resource for comparison in future diff and patch operations.
func (*ServiceBackendPortDie) DieSealFeedPtr ¶ added in v0.13.0
func (d *ServiceBackendPortDie) DieSealFeedPtr(r *networkingv1.ServiceBackendPort) *ServiceBackendPortDie
DieSealFeedPtr returns a new die for the current die's state that uses a specific resource pointer for comparison in future diff and patch operations. If the resource is nil, the empty value is used instead.
func (*ServiceBackendPortDie) DieSealRelease ¶ added in v0.13.0
func (d *ServiceBackendPortDie) DieSealRelease() networkingv1.ServiceBackendPort
DieSealRelease returns the sealed resource managed by the die.
func (*ServiceBackendPortDie) DieSealReleasePtr ¶ added in v0.13.0
func (d *ServiceBackendPortDie) DieSealReleasePtr() *networkingv1.ServiceBackendPort
DieSealReleasePtr returns the sealed resource pointer managed by the die.
func (*ServiceBackendPortDie) DieStamp ¶
func (d *ServiceBackendPortDie) DieStamp(fn func(r *networkingv1.ServiceBackendPort)) *ServiceBackendPortDie
DieStamp returns a new die with the resource passed to the callback function. The resource is mutable.
func (*ServiceBackendPortDie) DieStampAt ¶
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 ¶
func (d *ServiceBackendPortDie) DieWith(fns ...func(d *ServiceBackendPortDie)) *ServiceBackendPortDie
DieWith returns a new die after passing the current die to the callback function. The passed die is mutable.
func (*ServiceBackendPortDie) Name ¶
func (d *ServiceBackendPortDie) Name(v string) *ServiceBackendPortDie
name is the name of the port on the Service.
This is a mutually exclusive setting with "Number".
func (*ServiceBackendPortDie) Number ¶
func (d *ServiceBackendPortDie) Number(v int32) *ServiceBackendPortDie
number is the numerical port number (e.g. 80) on the Service.
This is a mutually exclusive setting with "Name".