Documentation
¶
Index ¶
- Constants
- Variables
- func Resource(resource string) schema.GroupResource
- type HTTPIngressPath
- func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath
- func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath)
- func (*HTTPIngressPath) Descriptor() ([]byte, []int)
- func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error)
- func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error)
- func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HTTPIngressPath) ProtoMessage()
- func (m *HTTPIngressPath) Reset()
- func (m *HTTPIngressPath) Size() (n int)
- func (this *HTTPIngressPath) String() string
- func (HTTPIngressPath) SwaggerDoc() map[string]string
- func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error
- func (m *HTTPIngressPath) XXX_DiscardUnknown()
- func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HTTPIngressPath) XXX_Merge(src proto.Message)
- func (m *HTTPIngressPath) XXX_Size() int
- func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error
- type HTTPIngressRuleValue
- func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue
- func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue)
- func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)
- func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error)
- func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error)
- func (m *HTTPIngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*HTTPIngressRuleValue) ProtoMessage()
- func (m *HTTPIngressRuleValue) Reset()
- func (m *HTTPIngressRuleValue) Size() (n int)
- func (this *HTTPIngressRuleValue) String() string
- func (HTTPIngressRuleValue) SwaggerDoc() map[string]string
- func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error
- func (m *HTTPIngressRuleValue) XXX_DiscardUnknown()
- func (m *HTTPIngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HTTPIngressRuleValue) XXX_Merge(src proto.Message)
- func (m *HTTPIngressRuleValue) XXX_Size() int
- func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error
- type IPBlock
- func (in *IPBlock) DeepCopy() *IPBlock
- func (in *IPBlock) DeepCopyInto(out *IPBlock)
- func (*IPBlock) Descriptor() ([]byte, []int)
- func (m *IPBlock) Marshal() (dAtA []byte, err error)
- func (m *IPBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *IPBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IPBlock) ProtoMessage()
- func (m *IPBlock) Reset()
- func (m *IPBlock) Size() (n int)
- func (this *IPBlock) String() string
- func (IPBlock) SwaggerDoc() map[string]string
- func (m *IPBlock) Unmarshal(dAtA []byte) error
- func (m *IPBlock) XXX_DiscardUnknown()
- func (m *IPBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IPBlock) XXX_Merge(src proto.Message)
- func (m *IPBlock) XXX_Size() int
- func (m *IPBlock) XXX_Unmarshal(b []byte) error
- type Ingress
- func (in *Ingress) DeepCopy() *Ingress
- func (in *Ingress) DeepCopyInto(out *Ingress)
- func (in *Ingress) DeepCopyObject() runtime.Object
- func (*Ingress) Descriptor() ([]byte, []int)
- func (m *Ingress) Marshal() (dAtA []byte, err error)
- func (m *Ingress) MarshalTo(dAtA []byte) (int, error)
- func (m *Ingress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ingress) ProtoMessage()
- func (m *Ingress) Reset()
- func (m *Ingress) Size() (n int)
- func (this *Ingress) String() string
- func (Ingress) SwaggerDoc() map[string]string
- func (m *Ingress) Unmarshal(dAtA []byte) error
- func (m *Ingress) XXX_DiscardUnknown()
- func (m *Ingress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ingress) XXX_Merge(src proto.Message)
- func (m *Ingress) XXX_Size() int
- func (m *Ingress) XXX_Unmarshal(b []byte) error
- type IngressBackend
- func (in *IngressBackend) DeepCopy() *IngressBackend
- func (in *IngressBackend) DeepCopyInto(out *IngressBackend)
- func (*IngressBackend) Descriptor() ([]byte, []int)
- func (m *IngressBackend) Marshal() (dAtA []byte, err error)
- func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressBackend) ProtoMessage()
- func (m *IngressBackend) Reset()
- func (m *IngressBackend) Size() (n int)
- func (this *IngressBackend) String() string
- func (IngressBackend) SwaggerDoc() map[string]string
- func (m *IngressBackend) Unmarshal(dAtA []byte) error
- func (m *IngressBackend) XXX_DiscardUnknown()
- func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressBackend) XXX_Merge(src proto.Message)
- func (m *IngressBackend) XXX_Size() int
- func (m *IngressBackend) XXX_Unmarshal(b []byte) error
- type IngressClass
- func (in *IngressClass) DeepCopy() *IngressClass
- func (in *IngressClass) DeepCopyInto(out *IngressClass)
- func (in *IngressClass) DeepCopyObject() runtime.Object
- func (*IngressClass) Descriptor() ([]byte, []int)
- func (m *IngressClass) Marshal() (dAtA []byte, err error)
- func (m *IngressClass) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressClass) ProtoMessage()
- func (m *IngressClass) Reset()
- func (m *IngressClass) Size() (n int)
- func (this *IngressClass) String() string
- func (IngressClass) SwaggerDoc() map[string]string
- func (m *IngressClass) Unmarshal(dAtA []byte) error
- func (m *IngressClass) XXX_DiscardUnknown()
- func (m *IngressClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressClass) XXX_Merge(src proto.Message)
- func (m *IngressClass) XXX_Size() int
- func (m *IngressClass) XXX_Unmarshal(b []byte) error
- type IngressClassList
- func (in *IngressClassList) DeepCopy() *IngressClassList
- func (in *IngressClassList) DeepCopyInto(out *IngressClassList)
- func (in *IngressClassList) DeepCopyObject() runtime.Object
- func (*IngressClassList) Descriptor() ([]byte, []int)
- func (m *IngressClassList) Marshal() (dAtA []byte, err error)
- func (m *IngressClassList) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressClassList) ProtoMessage()
- func (m *IngressClassList) Reset()
- func (m *IngressClassList) Size() (n int)
- func (this *IngressClassList) String() string
- func (IngressClassList) SwaggerDoc() map[string]string
- func (m *IngressClassList) Unmarshal(dAtA []byte) error
- func (m *IngressClassList) XXX_DiscardUnknown()
- func (m *IngressClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressClassList) XXX_Merge(src proto.Message)
- func (m *IngressClassList) XXX_Size() int
- func (m *IngressClassList) XXX_Unmarshal(b []byte) error
- type IngressClassParametersReference
- func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference
- func (in *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference)
- func (*IngressClassParametersReference) Descriptor() ([]byte, []int)
- func (m *IngressClassParametersReference) Marshal() (dAtA []byte, err error)
- func (m *IngressClassParametersReference) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressClassParametersReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressClassParametersReference) ProtoMessage()
- func (m *IngressClassParametersReference) Reset()
- func (m *IngressClassParametersReference) Size() (n int)
- func (this *IngressClassParametersReference) String() string
- func (IngressClassParametersReference) SwaggerDoc() map[string]string
- func (m *IngressClassParametersReference) Unmarshal(dAtA []byte) error
- func (m *IngressClassParametersReference) XXX_DiscardUnknown()
- func (m *IngressClassParametersReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressClassParametersReference) XXX_Merge(src proto.Message)
- func (m *IngressClassParametersReference) XXX_Size() int
- func (m *IngressClassParametersReference) XXX_Unmarshal(b []byte) error
- type IngressClassSpec
- func (in *IngressClassSpec) DeepCopy() *IngressClassSpec
- func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec)
- func (*IngressClassSpec) Descriptor() ([]byte, []int)
- func (m *IngressClassSpec) Marshal() (dAtA []byte, err error)
- func (m *IngressClassSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressClassSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressClassSpec) ProtoMessage()
- func (m *IngressClassSpec) Reset()
- func (m *IngressClassSpec) Size() (n int)
- func (this *IngressClassSpec) String() string
- func (IngressClassSpec) SwaggerDoc() map[string]string
- func (m *IngressClassSpec) Unmarshal(dAtA []byte) error
- func (m *IngressClassSpec) XXX_DiscardUnknown()
- func (m *IngressClassSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressClassSpec) XXX_Merge(src proto.Message)
- func (m *IngressClassSpec) XXX_Size() int
- func (m *IngressClassSpec) XXX_Unmarshal(b []byte) error
- type IngressList
- func (in *IngressList) DeepCopy() *IngressList
- func (in *IngressList) DeepCopyInto(out *IngressList)
- func (in *IngressList) DeepCopyObject() runtime.Object
- func (*IngressList) Descriptor() ([]byte, []int)
- func (m *IngressList) Marshal() (dAtA []byte, err error)
- func (m *IngressList) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressList) ProtoMessage()
- func (m *IngressList) Reset()
- func (m *IngressList) Size() (n int)
- func (this *IngressList) String() string
- func (IngressList) SwaggerDoc() map[string]string
- func (m *IngressList) Unmarshal(dAtA []byte) error
- func (m *IngressList) XXX_DiscardUnknown()
- func (m *IngressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressList) XXX_Merge(src proto.Message)
- func (m *IngressList) XXX_Size() int
- func (m *IngressList) XXX_Unmarshal(b []byte) error
- type IngressLoadBalancerIngress
- func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress
- func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress)
- func (*IngressLoadBalancerIngress) Descriptor() ([]byte, []int)
- func (m *IngressLoadBalancerIngress) Marshal() (dAtA []byte, err error)
- func (m *IngressLoadBalancerIngress) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressLoadBalancerIngress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressLoadBalancerIngress) ProtoMessage()
- func (m *IngressLoadBalancerIngress) Reset()
- func (m *IngressLoadBalancerIngress) Size() (n int)
- func (this *IngressLoadBalancerIngress) String() string
- func (IngressLoadBalancerIngress) SwaggerDoc() map[string]string
- func (m *IngressLoadBalancerIngress) Unmarshal(dAtA []byte) error
- func (m *IngressLoadBalancerIngress) XXX_DiscardUnknown()
- func (m *IngressLoadBalancerIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressLoadBalancerIngress) XXX_Merge(src proto.Message)
- func (m *IngressLoadBalancerIngress) XXX_Size() int
- func (m *IngressLoadBalancerIngress) XXX_Unmarshal(b []byte) error
- type IngressLoadBalancerStatus
- func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus
- func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus)
- func (*IngressLoadBalancerStatus) Descriptor() ([]byte, []int)
- func (m *IngressLoadBalancerStatus) Marshal() (dAtA []byte, err error)
- func (m *IngressLoadBalancerStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressLoadBalancerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressLoadBalancerStatus) ProtoMessage()
- func (m *IngressLoadBalancerStatus) Reset()
- func (m *IngressLoadBalancerStatus) Size() (n int)
- func (this *IngressLoadBalancerStatus) String() string
- func (IngressLoadBalancerStatus) SwaggerDoc() map[string]string
- func (m *IngressLoadBalancerStatus) Unmarshal(dAtA []byte) error
- func (m *IngressLoadBalancerStatus) XXX_DiscardUnknown()
- func (m *IngressLoadBalancerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressLoadBalancerStatus) XXX_Merge(src proto.Message)
- func (m *IngressLoadBalancerStatus) XXX_Size() int
- func (m *IngressLoadBalancerStatus) XXX_Unmarshal(b []byte) error
- type IngressPortStatus
- func (in *IngressPortStatus) DeepCopy() *IngressPortStatus
- func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus)
- func (*IngressPortStatus) Descriptor() ([]byte, []int)
- func (m *IngressPortStatus) Marshal() (dAtA []byte, err error)
- func (m *IngressPortStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressPortStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressPortStatus) ProtoMessage()
- func (m *IngressPortStatus) Reset()
- func (m *IngressPortStatus) Size() (n int)
- func (this *IngressPortStatus) String() string
- func (IngressPortStatus) SwaggerDoc() map[string]string
- func (m *IngressPortStatus) Unmarshal(dAtA []byte) error
- func (m *IngressPortStatus) XXX_DiscardUnknown()
- func (m *IngressPortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressPortStatus) XXX_Merge(src proto.Message)
- func (m *IngressPortStatus) XXX_Size() int
- func (m *IngressPortStatus) XXX_Unmarshal(b []byte) error
- type IngressRule
- func (in *IngressRule) DeepCopy() *IngressRule
- func (in *IngressRule) DeepCopyInto(out *IngressRule)
- func (*IngressRule) Descriptor() ([]byte, []int)
- func (m *IngressRule) Marshal() (dAtA []byte, err error)
- func (m *IngressRule) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressRule) ProtoMessage()
- func (m *IngressRule) Reset()
- func (m *IngressRule) Size() (n int)
- func (this *IngressRule) String() string
- func (IngressRule) SwaggerDoc() map[string]string
- func (m *IngressRule) Unmarshal(dAtA []byte) error
- func (m *IngressRule) XXX_DiscardUnknown()
- func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressRule) XXX_Merge(src proto.Message)
- func (m *IngressRule) XXX_Size() int
- func (m *IngressRule) XXX_Unmarshal(b []byte) error
- type IngressRuleValue
- func (in *IngressRuleValue) DeepCopy() *IngressRuleValue
- func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue)
- func (*IngressRuleValue) Descriptor() ([]byte, []int)
- func (m *IngressRuleValue) Marshal() (dAtA []byte, err error)
- func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressRuleValue) ProtoMessage()
- func (m *IngressRuleValue) Reset()
- func (m *IngressRuleValue) Size() (n int)
- func (this *IngressRuleValue) String() string
- func (IngressRuleValue) SwaggerDoc() map[string]string
- func (m *IngressRuleValue) Unmarshal(dAtA []byte) error
- func (m *IngressRuleValue) XXX_DiscardUnknown()
- func (m *IngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressRuleValue) XXX_Merge(src proto.Message)
- func (m *IngressRuleValue) XXX_Size() int
- func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error
- type IngressServiceBackend
- func (in *IngressServiceBackend) DeepCopy() *IngressServiceBackend
- func (in *IngressServiceBackend) DeepCopyInto(out *IngressServiceBackend)
- func (*IngressServiceBackend) Descriptor() ([]byte, []int)
- func (m *IngressServiceBackend) Marshal() (dAtA []byte, err error)
- func (m *IngressServiceBackend) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressServiceBackend) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressServiceBackend) ProtoMessage()
- func (m *IngressServiceBackend) Reset()
- func (m *IngressServiceBackend) Size() (n int)
- func (this *IngressServiceBackend) String() string
- func (IngressServiceBackend) SwaggerDoc() map[string]string
- func (m *IngressServiceBackend) Unmarshal(dAtA []byte) error
- func (m *IngressServiceBackend) XXX_DiscardUnknown()
- func (m *IngressServiceBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressServiceBackend) XXX_Merge(src proto.Message)
- func (m *IngressServiceBackend) XXX_Size() int
- func (m *IngressServiceBackend) XXX_Unmarshal(b []byte) error
- type IngressSpec
- func (in *IngressSpec) DeepCopy() *IngressSpec
- func (in *IngressSpec) DeepCopyInto(out *IngressSpec)
- func (*IngressSpec) Descriptor() ([]byte, []int)
- func (m *IngressSpec) Marshal() (dAtA []byte, err error)
- func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressSpec) ProtoMessage()
- func (m *IngressSpec) Reset()
- func (m *IngressSpec) Size() (n int)
- func (this *IngressSpec) String() string
- func (IngressSpec) SwaggerDoc() map[string]string
- func (m *IngressSpec) Unmarshal(dAtA []byte) error
- func (m *IngressSpec) XXX_DiscardUnknown()
- func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressSpec) XXX_Merge(src proto.Message)
- func (m *IngressSpec) XXX_Size() int
- func (m *IngressSpec) XXX_Unmarshal(b []byte) error
- type IngressStatus
- func (in *IngressStatus) DeepCopy() *IngressStatus
- func (in *IngressStatus) DeepCopyInto(out *IngressStatus)
- func (*IngressStatus) Descriptor() ([]byte, []int)
- func (m *IngressStatus) Marshal() (dAtA []byte, err error)
- func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressStatus) ProtoMessage()
- func (m *IngressStatus) Reset()
- func (m *IngressStatus) Size() (n int)
- func (this *IngressStatus) String() string
- func (IngressStatus) SwaggerDoc() map[string]string
- func (m *IngressStatus) Unmarshal(dAtA []byte) error
- func (m *IngressStatus) XXX_DiscardUnknown()
- func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressStatus) XXX_Merge(src proto.Message)
- func (m *IngressStatus) XXX_Size() int
- func (m *IngressStatus) XXX_Unmarshal(b []byte) error
- type IngressTLS
- func (in *IngressTLS) DeepCopy() *IngressTLS
- func (in *IngressTLS) DeepCopyInto(out *IngressTLS)
- func (*IngressTLS) Descriptor() ([]byte, []int)
- func (m *IngressTLS) Marshal() (dAtA []byte, err error)
- func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error)
- func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*IngressTLS) ProtoMessage()
- func (m *IngressTLS) Reset()
- func (m *IngressTLS) Size() (n int)
- func (this *IngressTLS) String() string
- func (IngressTLS) SwaggerDoc() map[string]string
- func (m *IngressTLS) Unmarshal(dAtA []byte) error
- func (m *IngressTLS) XXX_DiscardUnknown()
- func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressTLS) XXX_Merge(src proto.Message)
- func (m *IngressTLS) XXX_Size() int
- func (m *IngressTLS) XXX_Unmarshal(b []byte) error
- type NetworkPolicy
- func (in *NetworkPolicy) DeepCopy() *NetworkPolicy
- func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)
- func (in *NetworkPolicy) DeepCopyObject() runtime.Object
- func (*NetworkPolicy) Descriptor() ([]byte, []int)
- func (m *NetworkPolicy) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkPolicy) ProtoMessage()
- func (m *NetworkPolicy) Reset()
- func (m *NetworkPolicy) Size() (n int)
- func (this *NetworkPolicy) String() string
- func (NetworkPolicy) SwaggerDoc() map[string]string
- func (m *NetworkPolicy) Unmarshal(dAtA []byte) error
- func (m *NetworkPolicy) XXX_DiscardUnknown()
- func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkPolicy) XXX_Merge(src proto.Message)
- func (m *NetworkPolicy) XXX_Size() int
- func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error
- type NetworkPolicyEgressRule
- func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule
- func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule)
- func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkPolicyEgressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkPolicyEgressRule) ProtoMessage()
- func (m *NetworkPolicyEgressRule) Reset()
- func (m *NetworkPolicyEgressRule) Size() (n int)
- func (this *NetworkPolicyEgressRule) String() string
- func (NetworkPolicyEgressRule) SwaggerDoc() map[string]string
- func (m *NetworkPolicyEgressRule) Unmarshal(dAtA []byte) error
- func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown()
- func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkPolicyEgressRule) XXX_Merge(src proto.Message)
- func (m *NetworkPolicyEgressRule) XXX_Size() int
- func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error
- type NetworkPolicyIngressRule
- func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule
- func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)
- func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkPolicyIngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkPolicyIngressRule) ProtoMessage()
- func (m *NetworkPolicyIngressRule) Reset()
- func (m *NetworkPolicyIngressRule) Size() (n int)
- func (this *NetworkPolicyIngressRule) String() string
- func (NetworkPolicyIngressRule) SwaggerDoc() map[string]string
- func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error
- func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown()
- func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkPolicyIngressRule) XXX_Merge(src proto.Message)
- func (m *NetworkPolicyIngressRule) XXX_Size() int
- func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error
- type NetworkPolicyList
- func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList
- func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)
- func (in *NetworkPolicyList) DeepCopyObject() runtime.Object
- func (*NetworkPolicyList) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkPolicyList) ProtoMessage()
- func (m *NetworkPolicyList) Reset()
- func (m *NetworkPolicyList) Size() (n int)
- func (this *NetworkPolicyList) String() string
- func (NetworkPolicyList) SwaggerDoc() map[string]string
- func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error
- func (m *NetworkPolicyList) XXX_DiscardUnknown()
- func (m *NetworkPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkPolicyList) XXX_Merge(src proto.Message)
- func (m *NetworkPolicyList) XXX_Size() int
- func (m *NetworkPolicyList) XXX_Unmarshal(b []byte) error
- type NetworkPolicyPeer
- func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer
- func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)
- func (*NetworkPolicyPeer) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkPolicyPeer) ProtoMessage()
- func (m *NetworkPolicyPeer) Reset()
- func (m *NetworkPolicyPeer) Size() (n int)
- func (this *NetworkPolicyPeer) String() string
- func (NetworkPolicyPeer) SwaggerDoc() map[string]string
- func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error
- func (m *NetworkPolicyPeer) XXX_DiscardUnknown()
- func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message)
- func (m *NetworkPolicyPeer) XXX_Size() int
- func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error
- type NetworkPolicyPort
- func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort
- func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort)
- func (*NetworkPolicyPort) Descriptor() ([]byte, []int)
- func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkPolicyPort) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkPolicyPort) ProtoMessage()
- func (m *NetworkPolicyPort) Reset()
- func (m *NetworkPolicyPort) Size() (n int)
- func (this *NetworkPolicyPort) String() string
- func (NetworkPolicyPort) SwaggerDoc() map[string]string
- func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error
- func (m *NetworkPolicyPort) XXX_DiscardUnknown()
- func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkPolicyPort) XXX_Merge(src proto.Message)
- func (m *NetworkPolicyPort) XXX_Size() int
- func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error
- type NetworkPolicySpec
- func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec
- func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec)
- func (*NetworkPolicySpec) Descriptor() ([]byte, []int)
- func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error)
- func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error)
- func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*NetworkPolicySpec) ProtoMessage()
- func (m *NetworkPolicySpec) Reset()
- func (m *NetworkPolicySpec) Size() (n int)
- func (this *NetworkPolicySpec) String() string
- func (NetworkPolicySpec) SwaggerDoc() map[string]string
- func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error
- func (m *NetworkPolicySpec) XXX_DiscardUnknown()
- func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NetworkPolicySpec) XXX_Merge(src proto.Message)
- func (m *NetworkPolicySpec) XXX_Size() int
- func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error
- type PathType
- type PolicyType
- type ServiceBackendPort
- func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort
- func (in *ServiceBackendPort) DeepCopyInto(out *ServiceBackendPort)
- func (*ServiceBackendPort) Descriptor() ([]byte, []int)
- func (m *ServiceBackendPort) Marshal() (dAtA []byte, err error)
- func (m *ServiceBackendPort) MarshalTo(dAtA []byte) (int, error)
- func (m *ServiceBackendPort) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ServiceBackendPort) ProtoMessage()
- func (m *ServiceBackendPort) Reset()
- func (m *ServiceBackendPort) Size() (n int)
- func (this *ServiceBackendPort) String() string
- func (ServiceBackendPort) SwaggerDoc() map[string]string
- func (m *ServiceBackendPort) Unmarshal(dAtA []byte) error
- func (m *ServiceBackendPort) XXX_DiscardUnknown()
- func (m *ServiceBackendPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceBackendPort) XXX_Merge(src proto.Message)
- func (m *ServiceBackendPort) XXX_Size() int
- func (m *ServiceBackendPort) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // PathTypeExact matches the URL path exactly and with case sensitivity. PathTypeExact = PathType("Exact") // PathTypePrefix matches based on a URL path prefix split by '/'. Matching // is case sensitive and done on a path element by element basis. A path // element refers to 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). If multiple matching paths exist in an Ingress spec, the // longest matching path is given priority. // Examples: // - /foo/bar does not match requests to /foo/barbaz // - /foo/bar matches request to /foo/bar and /foo/bar/baz // - /foo and /foo/ both match requests to /foo and /foo/. If both paths are // present in an Ingress spec, the longest matching path (/foo/) is given // priority. PathTypePrefix = PathType("Prefix") // PathTypeImplementationSpecific matching is up to the IngressClass. // Implementations can treat this as a separate PathType or treat it // identically to Prefix or Exact path types. PathTypeImplementationSpecific = PathType("ImplementationSpecific") )
const ( // IngressClassParametersReferenceScopeNamespace indicates that the // referenced Parameters resource is namespace-scoped. IngressClassParametersReferenceScopeNamespace = "Namespace" // IngressClassParametersReferenceScopeCluster indicates that the // referenced Parameters resource is cluster-scoped. IngressClassParametersReferenceScopeCluster = "Cluster" )
const ( // AnnotationIsDefaultIngressClass can be used to indicate that an // IngressClass should be considered default. When a single IngressClass // resource has this annotation set to true, new Ingress resources without a // class specified will be assigned this default class. AnnotationIsDefaultIngressClass = "ingressclass.kubernetes.io/is-default-class" )
const GroupName = "networking.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group") )
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type HTTPIngressPath ¶ added in v0.19.0
type HTTPIngressPath struct {
// 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".
// +optional
Path string `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`
// pathType determines the interpretation of the path matching. PathType can
// be one of the following values:
// * Exact: Matches the URL path exactly.
// * Prefix: Matches based on a URL path prefix split by '/'. Matching is
// done on a path element by element basis. A path element refers is the
// list of labels in the path split by the '/' separator. A request is a
// match for path p if every p is an element-wise prefix of p of the
// request path. Note that if the last element of the path is a substring
// of the last element in request path, it is not a match (e.g. /foo/bar
// matches /foo/bar/baz, but does not match /foo/barbaz).
// * ImplementationSpecific: Interpretation of the Path matching is up to
// the IngressClass. Implementations can treat this as a separate PathType
// or treat it identically to Prefix or Exact path types.
// Implementations are required to support all path types.
PathType *PathType `json:"pathType" protobuf:"bytes,3,opt,name=pathType"`
// backend defines the referenced service endpoint to which the traffic
// will be forwarded to.
Backend IngressBackend `json:"backend" protobuf:"bytes,2,opt,name=backend"`
}
HTTPIngressPath associates a path with a backend. Incoming urls matching the path are forwarded to the backend.
func (*HTTPIngressPath) DeepCopy ¶ added in v0.19.0
func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
func (*HTTPIngressPath) DeepCopyInto ¶ added in v0.19.0
func (in *HTTPIngressPath) DeepCopyInto(out *HTTPIngressPath)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPIngressPath) Descriptor ¶ added in v0.19.0
func (*HTTPIngressPath) Descriptor() ([]byte, []int)
func (*HTTPIngressPath) Marshal ¶ added in v0.19.0
func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error)
func (*HTTPIngressPath) MarshalTo ¶ added in v0.19.0
func (m *HTTPIngressPath) MarshalTo(dAtA []byte) (int, error)
func (*HTTPIngressPath) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HTTPIngressPath) ProtoMessage ¶ added in v0.19.0
func (*HTTPIngressPath) ProtoMessage()
func (*HTTPIngressPath) Reset ¶ added in v0.19.0
func (m *HTTPIngressPath) Reset()
func (*HTTPIngressPath) Size ¶ added in v0.19.0
func (m *HTTPIngressPath) Size() (n int)
func (*HTTPIngressPath) String ¶ added in v0.19.0
func (this *HTTPIngressPath) String() string
func (HTTPIngressPath) SwaggerDoc ¶ added in v0.19.0
func (HTTPIngressPath) SwaggerDoc() map[string]string
func (*HTTPIngressPath) Unmarshal ¶ added in v0.19.0
func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error
func (*HTTPIngressPath) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *HTTPIngressPath) XXX_DiscardUnknown()
func (*HTTPIngressPath) XXX_Marshal ¶ added in v0.19.0
func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HTTPIngressPath) XXX_Merge ¶ added in v0.19.0
func (m *HTTPIngressPath) XXX_Merge(src proto.Message)
func (*HTTPIngressPath) XXX_Size ¶ added in v0.19.0
func (m *HTTPIngressPath) XXX_Size() int
func (*HTTPIngressPath) XXX_Unmarshal ¶ added in v0.19.0
func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error
type HTTPIngressRuleValue ¶ added in v0.19.0
type HTTPIngressRuleValue struct {
// paths is a collection of paths that map requests to backends.
// +listType=atomic
Paths []HTTPIngressPath `json:"paths" protobuf:"bytes,1,rep,name=paths"`
}
HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
func (*HTTPIngressRuleValue) DeepCopy ¶ added in v0.19.0
func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
func (*HTTPIngressRuleValue) DeepCopyInto ¶ added in v0.19.0
func (in *HTTPIngressRuleValue) DeepCopyInto(out *HTTPIngressRuleValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPIngressRuleValue) Descriptor ¶ added in v0.19.0
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)
func (*HTTPIngressRuleValue) Marshal ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error)
func (*HTTPIngressRuleValue) MarshalTo ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error)
func (*HTTPIngressRuleValue) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HTTPIngressRuleValue) ProtoMessage ¶ added in v0.19.0
func (*HTTPIngressRuleValue) ProtoMessage()
func (*HTTPIngressRuleValue) Reset ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) Reset()
func (*HTTPIngressRuleValue) Size ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) Size() (n int)
func (*HTTPIngressRuleValue) String ¶ added in v0.19.0
func (this *HTTPIngressRuleValue) String() string
func (HTTPIngressRuleValue) SwaggerDoc ¶ added in v0.19.0
func (HTTPIngressRuleValue) SwaggerDoc() map[string]string
func (*HTTPIngressRuleValue) Unmarshal ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error
func (*HTTPIngressRuleValue) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) XXX_DiscardUnknown()
func (*HTTPIngressRuleValue) XXX_Marshal ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HTTPIngressRuleValue) XXX_Merge ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) XXX_Merge(src proto.Message)
func (*HTTPIngressRuleValue) XXX_Size ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) XXX_Size() int
func (*HTTPIngressRuleValue) XXX_Unmarshal ¶ added in v0.19.0
func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error
type IPBlock ¶
type IPBlock struct {
// cidr is a string representing the IPBlock
// Valid examples are "192.168.1.0/24" or "2001:db8::/64"
CIDR string `json:"cidr" protobuf:"bytes,1,name=cidr"`
// 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
// +optional
Except []string `json:"except,omitempty" protobuf:"bytes,2,rep,name=except"`
}
IPBlock describes a particular CIDR (Ex. "192.168.1.0/24","2001:db8::/64") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.
func (*IPBlock) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IPBlock.
func (*IPBlock) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IPBlock) Descriptor ¶
func (*IPBlock) MarshalToSizedBuffer ¶ added in v0.16.4
func (*IPBlock) ProtoMessage ¶
func (*IPBlock) ProtoMessage()
func (IPBlock) SwaggerDoc ¶
func (*IPBlock) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IPBlock) XXX_DiscardUnknown()
func (*IPBlock) XXX_Marshal ¶ added in v0.16.4
func (*IPBlock) XXX_Unmarshal ¶ added in v0.16.4
type Ingress ¶ added in v0.19.0
type Ingress struct {
metav1.TypeMeta `json:",inline"`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// spec is the desired state of the Ingress.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
Spec IngressSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
// status is the current state of the Ingress.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
Status IngressStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}
Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.
func (*Ingress) DeepCopy ¶ added in v0.19.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶ added in v0.19.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ingress) DeepCopyObject ¶ added in v0.19.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Ingress) Descriptor ¶ added in v0.19.0
func (*Ingress) MarshalToSizedBuffer ¶ added in v0.19.0
func (*Ingress) ProtoMessage ¶ added in v0.19.0
func (*Ingress) ProtoMessage()
func (Ingress) SwaggerDoc ¶ added in v0.19.0
func (*Ingress) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *Ingress) XXX_DiscardUnknown()
func (*Ingress) XXX_Marshal ¶ added in v0.19.0
func (*Ingress) XXX_Unmarshal ¶ added in v0.19.0
type IngressBackend ¶ added in v0.19.0
type IngressBackend struct {
// service references a service as a backend.
// This is a mutually exclusive setting with "Resource".
// +optional
Service *IngressServiceBackend `json:"service,omitempty" protobuf:"bytes,4,opt,name=service"`
// 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".
// +optional
Resource *v1.TypedLocalObjectReference `json:"resource,omitempty" protobuf:"bytes,3,opt,name=resource"`
}
IngressBackend describes all endpoints for a given service and port.
func (*IngressBackend) DeepCopy ¶ added in v0.19.0
func (in *IngressBackend) DeepCopy() *IngressBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
func (*IngressBackend) DeepCopyInto ¶ added in v0.19.0
func (in *IngressBackend) DeepCopyInto(out *IngressBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressBackend) Descriptor ¶ added in v0.19.0
func (*IngressBackend) Descriptor() ([]byte, []int)
func (*IngressBackend) Marshal ¶ added in v0.19.0
func (m *IngressBackend) Marshal() (dAtA []byte, err error)
func (*IngressBackend) MarshalTo ¶ added in v0.19.0
func (m *IngressBackend) MarshalTo(dAtA []byte) (int, error)
func (*IngressBackend) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressBackend) ProtoMessage ¶ added in v0.19.0
func (*IngressBackend) ProtoMessage()
func (*IngressBackend) Reset ¶ added in v0.19.0
func (m *IngressBackend) Reset()
func (*IngressBackend) Size ¶ added in v0.19.0
func (m *IngressBackend) Size() (n int)
func (*IngressBackend) String ¶ added in v0.19.0
func (this *IngressBackend) String() string
func (IngressBackend) SwaggerDoc ¶ added in v0.19.0
func (IngressBackend) SwaggerDoc() map[string]string
func (*IngressBackend) Unmarshal ¶ added in v0.19.0
func (m *IngressBackend) Unmarshal(dAtA []byte) error
func (*IngressBackend) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressBackend) XXX_DiscardUnknown()
func (*IngressBackend) XXX_Marshal ¶ added in v0.19.0
func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressBackend) XXX_Merge ¶ added in v0.19.0
func (m *IngressBackend) XXX_Merge(src proto.Message)
func (*IngressBackend) XXX_Size ¶ added in v0.19.0
func (m *IngressBackend) XXX_Size() int
func (*IngressBackend) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressBackend) XXX_Unmarshal(b []byte) error
type IngressClass ¶ added in v0.19.0
type IngressClass struct {
metav1.TypeMeta `json:",inline"`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// spec is the desired state of the IngressClass.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
// +optional
Spec IngressClassSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}
IngressClass represents the class of the Ingress, referenced by the Ingress Spec. The `ingressclass.kubernetes.io/is-default-class` annotation can be used to indicate that an IngressClass should be considered default. When a single IngressClass resource has this annotation set to true, new Ingress resources without a class specified will be assigned this default class.
func (*IngressClass) DeepCopy ¶ added in v0.19.0
func (in *IngressClass) DeepCopy() *IngressClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClass.
func (*IngressClass) DeepCopyInto ¶ added in v0.19.0
func (in *IngressClass) DeepCopyInto(out *IngressClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressClass) DeepCopyObject ¶ added in v0.19.0
func (in *IngressClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IngressClass) Descriptor ¶ added in v0.19.0
func (*IngressClass) Descriptor() ([]byte, []int)
func (*IngressClass) Marshal ¶ added in v0.19.0
func (m *IngressClass) Marshal() (dAtA []byte, err error)
func (*IngressClass) MarshalTo ¶ added in v0.19.0
func (m *IngressClass) MarshalTo(dAtA []byte) (int, error)
func (*IngressClass) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressClass) ProtoMessage ¶ added in v0.19.0
func (*IngressClass) ProtoMessage()
func (*IngressClass) Reset ¶ added in v0.19.0
func (m *IngressClass) Reset()
func (*IngressClass) Size ¶ added in v0.19.0
func (m *IngressClass) Size() (n int)
func (*IngressClass) String ¶ added in v0.19.0
func (this *IngressClass) String() string
func (IngressClass) SwaggerDoc ¶ added in v0.19.0
func (IngressClass) SwaggerDoc() map[string]string
func (*IngressClass) Unmarshal ¶ added in v0.19.0
func (m *IngressClass) Unmarshal(dAtA []byte) error
func (*IngressClass) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressClass) XXX_DiscardUnknown()
func (*IngressClass) XXX_Marshal ¶ added in v0.19.0
func (m *IngressClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressClass) XXX_Merge ¶ added in v0.19.0
func (m *IngressClass) XXX_Merge(src proto.Message)
func (*IngressClass) XXX_Size ¶ added in v0.19.0
func (m *IngressClass) XXX_Size() int
func (*IngressClass) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressClass) XXX_Unmarshal(b []byte) error
type IngressClassList ¶ added in v0.19.0
type IngressClassList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// +optional
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// items is the list of IngressClasses.
Items []IngressClass `json:"items" protobuf:"bytes,2,rep,name=items"`
}
IngressClassList is a collection of IngressClasses.
func (*IngressClassList) DeepCopy ¶ added in v0.19.0
func (in *IngressClassList) DeepCopy() *IngressClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassList.
func (*IngressClassList) DeepCopyInto ¶ added in v0.19.0
func (in *IngressClassList) DeepCopyInto(out *IngressClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressClassList) DeepCopyObject ¶ added in v0.19.0
func (in *IngressClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IngressClassList) Descriptor ¶ added in v0.19.0
func (*IngressClassList) Descriptor() ([]byte, []int)
func (*IngressClassList) Marshal ¶ added in v0.19.0
func (m *IngressClassList) Marshal() (dAtA []byte, err error)
func (*IngressClassList) MarshalTo ¶ added in v0.19.0
func (m *IngressClassList) MarshalTo(dAtA []byte) (int, error)
func (*IngressClassList) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressClassList) ProtoMessage ¶ added in v0.19.0
func (*IngressClassList) ProtoMessage()
func (*IngressClassList) Reset ¶ added in v0.19.0
func (m *IngressClassList) Reset()
func (*IngressClassList) Size ¶ added in v0.19.0
func (m *IngressClassList) Size() (n int)
func (*IngressClassList) String ¶ added in v0.19.0
func (this *IngressClassList) String() string
func (IngressClassList) SwaggerDoc ¶ added in v0.19.0
func (IngressClassList) SwaggerDoc() map[string]string
func (*IngressClassList) Unmarshal ¶ added in v0.19.0
func (m *IngressClassList) Unmarshal(dAtA []byte) error
func (*IngressClassList) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressClassList) XXX_DiscardUnknown()
func (*IngressClassList) XXX_Marshal ¶ added in v0.19.0
func (m *IngressClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressClassList) XXX_Merge ¶ added in v0.19.0
func (m *IngressClassList) XXX_Merge(src proto.Message)
func (*IngressClassList) XXX_Size ¶ added in v0.19.0
func (m *IngressClassList) XXX_Size() int
func (*IngressClassList) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressClassList) XXX_Unmarshal(b []byte) error
type IngressClassParametersReference ¶ added in v0.21.0
type IngressClassParametersReference struct {
// apiGroup is the group for the resource being referenced. If APIGroup is
// not specified, the specified Kind must be in the core API group. For any
// other third-party types, APIGroup is required.
// +optional
APIGroup *string `json:"apiGroup,omitempty" protobuf:"bytes,1,opt,name=aPIGroup"`
// kind is the type of resource being referenced.
Kind string `json:"kind" protobuf:"bytes,2,opt,name=kind"`
// name is the name of resource being referenced.
Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
// scope represents if this refers to a cluster or namespace scoped resource.
// This may be set to "Cluster" (default) or "Namespace".
// +optional
Scope *string `json:"scope" protobuf:"bytes,4,opt,name=scope"`
// 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".
// +optional
Namespace *string `json:"namespace,omitempty" protobuf:"bytes,5,opt,name=namespace"`
}
IngressClassParametersReference identifies an API object. This can be used to specify a cluster or namespace-scoped resource.
func (*IngressClassParametersReference) DeepCopy ¶ added in v0.21.0
func (in *IngressClassParametersReference) DeepCopy() *IngressClassParametersReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassParametersReference.
func (*IngressClassParametersReference) DeepCopyInto ¶ added in v0.21.0
func (in *IngressClassParametersReference) DeepCopyInto(out *IngressClassParametersReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressClassParametersReference) Descriptor ¶ added in v0.21.0
func (*IngressClassParametersReference) Descriptor() ([]byte, []int)
func (*IngressClassParametersReference) Marshal ¶ added in v0.21.0
func (m *IngressClassParametersReference) Marshal() (dAtA []byte, err error)
func (*IngressClassParametersReference) MarshalTo ¶ added in v0.21.0
func (m *IngressClassParametersReference) MarshalTo(dAtA []byte) (int, error)
func (*IngressClassParametersReference) MarshalToSizedBuffer ¶ added in v0.21.0
func (m *IngressClassParametersReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressClassParametersReference) ProtoMessage ¶ added in v0.21.0
func (*IngressClassParametersReference) ProtoMessage()
func (*IngressClassParametersReference) Reset ¶ added in v0.21.0
func (m *IngressClassParametersReference) Reset()
func (*IngressClassParametersReference) Size ¶ added in v0.21.0
func (m *IngressClassParametersReference) Size() (n int)
func (*IngressClassParametersReference) String ¶ added in v0.21.0
func (this *IngressClassParametersReference) String() string
func (IngressClassParametersReference) SwaggerDoc ¶ added in v0.21.0
func (IngressClassParametersReference) SwaggerDoc() map[string]string
func (*IngressClassParametersReference) Unmarshal ¶ added in v0.21.0
func (m *IngressClassParametersReference) Unmarshal(dAtA []byte) error
func (*IngressClassParametersReference) XXX_DiscardUnknown ¶ added in v0.21.0
func (m *IngressClassParametersReference) XXX_DiscardUnknown()
func (*IngressClassParametersReference) XXX_Marshal ¶ added in v0.21.0
func (m *IngressClassParametersReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressClassParametersReference) XXX_Merge ¶ added in v0.21.0
func (m *IngressClassParametersReference) XXX_Merge(src proto.Message)
func (*IngressClassParametersReference) XXX_Size ¶ added in v0.21.0
func (m *IngressClassParametersReference) XXX_Size() int
func (*IngressClassParametersReference) XXX_Unmarshal ¶ added in v0.21.0
func (m *IngressClassParametersReference) XXX_Unmarshal(b []byte) error
type IngressClassSpec ¶ added in v0.19.0
type IngressClassSpec struct {
// controller refers to the name of the controller that should handle this
// class. This allows for different "flavors" that are controlled by the
// same controller. For example, you may have different parameters for the
// same implementing controller. This should be specified as a
// domain-prefixed path no more than 250 characters in length, e.g.
// "acme.io/ingress-controller". This field is immutable.
Controller string `json:"controller,omitempty" protobuf:"bytes,1,opt,name=controller"`
// parameters is a link to a custom resource containing additional
// configuration for the controller. This is optional if the controller does
// not require extra parameters.
// +optional
Parameters *IngressClassParametersReference `json:"parameters,omitempty" protobuf:"bytes,2,opt,name=parameters"`
}
IngressClassSpec provides information about the class of an Ingress.
func (*IngressClassSpec) DeepCopy ¶ added in v0.19.0
func (in *IngressClassSpec) DeepCopy() *IngressClassSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressClassSpec.
func (*IngressClassSpec) DeepCopyInto ¶ added in v0.19.0
func (in *IngressClassSpec) DeepCopyInto(out *IngressClassSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressClassSpec) Descriptor ¶ added in v0.19.0
func (*IngressClassSpec) Descriptor() ([]byte, []int)
func (*IngressClassSpec) Marshal ¶ added in v0.19.0
func (m *IngressClassSpec) Marshal() (dAtA []byte, err error)
func (*IngressClassSpec) MarshalTo ¶ added in v0.19.0
func (m *IngressClassSpec) MarshalTo(dAtA []byte) (int, error)
func (*IngressClassSpec) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressClassSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressClassSpec) ProtoMessage ¶ added in v0.19.0
func (*IngressClassSpec) ProtoMessage()
func (*IngressClassSpec) Reset ¶ added in v0.19.0
func (m *IngressClassSpec) Reset()
func (*IngressClassSpec) Size ¶ added in v0.19.0
func (m *IngressClassSpec) Size() (n int)
func (*IngressClassSpec) String ¶ added in v0.19.0
func (this *IngressClassSpec) String() string
func (IngressClassSpec) SwaggerDoc ¶ added in v0.19.0
func (IngressClassSpec) SwaggerDoc() map[string]string
func (*IngressClassSpec) Unmarshal ¶ added in v0.19.0
func (m *IngressClassSpec) Unmarshal(dAtA []byte) error
func (*IngressClassSpec) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressClassSpec) XXX_DiscardUnknown()
func (*IngressClassSpec) XXX_Marshal ¶ added in v0.19.0
func (m *IngressClassSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressClassSpec) XXX_Merge ¶ added in v0.19.0
func (m *IngressClassSpec) XXX_Merge(src proto.Message)
func (*IngressClassSpec) XXX_Size ¶ added in v0.19.0
func (m *IngressClassSpec) XXX_Size() int
func (*IngressClassSpec) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressClassSpec) XXX_Unmarshal(b []byte) error
type IngressList ¶ added in v0.19.0
type IngressList struct {
metav1.TypeMeta `json:",inline"`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// items is the list of Ingress.
Items []Ingress `json:"items" protobuf:"bytes,2,rep,name=items"`
}
IngressList is a collection of Ingress.
func (*IngressList) DeepCopy ¶ added in v0.19.0
func (in *IngressList) DeepCopy() *IngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
func (*IngressList) DeepCopyInto ¶ added in v0.19.0
func (in *IngressList) DeepCopyInto(out *IngressList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressList) DeepCopyObject ¶ added in v0.19.0
func (in *IngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IngressList) Descriptor ¶ added in v0.19.0
func (*IngressList) Descriptor() ([]byte, []int)
func (*IngressList) Marshal ¶ added in v0.19.0
func (m *IngressList) Marshal() (dAtA []byte, err error)
func (*IngressList) MarshalTo ¶ added in v0.19.0
func (m *IngressList) MarshalTo(dAtA []byte) (int, error)
func (*IngressList) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressList) ProtoMessage ¶ added in v0.19.0
func (*IngressList) ProtoMessage()
func (*IngressList) Reset ¶ added in v0.19.0
func (m *IngressList) Reset()
func (*IngressList) Size ¶ added in v0.19.0
func (m *IngressList) Size() (n int)
func (*IngressList) String ¶ added in v0.19.0
func (this *IngressList) String() string
func (IngressList) SwaggerDoc ¶ added in v0.19.0
func (IngressList) SwaggerDoc() map[string]string
func (*IngressList) Unmarshal ¶ added in v0.19.0
func (m *IngressList) Unmarshal(dAtA []byte) error
func (*IngressList) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressList) XXX_DiscardUnknown()
func (*IngressList) XXX_Marshal ¶ added in v0.19.0
func (m *IngressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressList) XXX_Merge ¶ added in v0.19.0
func (m *IngressList) XXX_Merge(src proto.Message)
func (*IngressList) XXX_Size ¶ added in v0.19.0
func (m *IngressList) XXX_Size() int
func (*IngressList) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressList) XXX_Unmarshal(b []byte) error
type IngressLoadBalancerIngress ¶ added in v0.26.0
type IngressLoadBalancerIngress struct {
// ip is set for load-balancer ingress points that are IP based.
// +optional
IP string `json:"ip,omitempty" protobuf:"bytes,1,opt,name=ip"`
// hostname is set for load-balancer ingress points that are DNS based.
// +optional
Hostname string `json:"hostname,omitempty" protobuf:"bytes,2,opt,name=hostname"`
// ports provides information about the ports exposed by this LoadBalancer.
// +listType=atomic
// +optional
Ports []IngressPortStatus `json:"ports,omitempty" protobuf:"bytes,4,rep,name=ports"`
}
IngressLoadBalancerIngress represents the status of a load-balancer ingress point.
func (*IngressLoadBalancerIngress) DeepCopy ¶ added in v0.26.0
func (in *IngressLoadBalancerIngress) DeepCopy() *IngressLoadBalancerIngress
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerIngress.
func (*IngressLoadBalancerIngress) DeepCopyInto ¶ added in v0.26.0
func (in *IngressLoadBalancerIngress) DeepCopyInto(out *IngressLoadBalancerIngress)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressLoadBalancerIngress) Descriptor ¶ added in v0.26.0
func (*IngressLoadBalancerIngress) Descriptor() ([]byte, []int)
func (*IngressLoadBalancerIngress) Marshal ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) Marshal() (dAtA []byte, err error)
func (*IngressLoadBalancerIngress) MarshalTo ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) MarshalTo(dAtA []byte) (int, error)
func (*IngressLoadBalancerIngress) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressLoadBalancerIngress) ProtoMessage ¶ added in v0.26.0
func (*IngressLoadBalancerIngress) ProtoMessage()
func (*IngressLoadBalancerIngress) Reset ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) Reset()
func (*IngressLoadBalancerIngress) Size ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) Size() (n int)
func (*IngressLoadBalancerIngress) String ¶ added in v0.26.0
func (this *IngressLoadBalancerIngress) String() string
func (IngressLoadBalancerIngress) SwaggerDoc ¶ added in v0.26.0
func (IngressLoadBalancerIngress) SwaggerDoc() map[string]string
func (*IngressLoadBalancerIngress) Unmarshal ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) Unmarshal(dAtA []byte) error
func (*IngressLoadBalancerIngress) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) XXX_DiscardUnknown()
func (*IngressLoadBalancerIngress) XXX_Marshal ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressLoadBalancerIngress) XXX_Merge ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) XXX_Merge(src proto.Message)
func (*IngressLoadBalancerIngress) XXX_Size ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) XXX_Size() int
func (*IngressLoadBalancerIngress) XXX_Unmarshal ¶ added in v0.26.0
func (m *IngressLoadBalancerIngress) XXX_Unmarshal(b []byte) error
type IngressLoadBalancerStatus ¶ added in v0.26.0
type IngressLoadBalancerStatus struct {
// ingress is a list containing ingress points for the load-balancer.
// +optional
Ingress []IngressLoadBalancerIngress `json:"ingress,omitempty" protobuf:"bytes,1,rep,name=ingress"`
}
IngressLoadBalancerStatus represents the status of a load-balancer.
func (*IngressLoadBalancerStatus) DeepCopy ¶ added in v0.26.0
func (in *IngressLoadBalancerStatus) DeepCopy() *IngressLoadBalancerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressLoadBalancerStatus.
func (*IngressLoadBalancerStatus) DeepCopyInto ¶ added in v0.26.0
func (in *IngressLoadBalancerStatus) DeepCopyInto(out *IngressLoadBalancerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressLoadBalancerStatus) Descriptor ¶ added in v0.26.0
func (*IngressLoadBalancerStatus) Descriptor() ([]byte, []int)
func (*IngressLoadBalancerStatus) Marshal ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) Marshal() (dAtA []byte, err error)
func (*IngressLoadBalancerStatus) MarshalTo ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) MarshalTo(dAtA []byte) (int, error)
func (*IngressLoadBalancerStatus) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressLoadBalancerStatus) ProtoMessage ¶ added in v0.26.0
func (*IngressLoadBalancerStatus) ProtoMessage()
func (*IngressLoadBalancerStatus) Reset ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) Reset()
func (*IngressLoadBalancerStatus) Size ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) Size() (n int)
func (*IngressLoadBalancerStatus) String ¶ added in v0.26.0
func (this *IngressLoadBalancerStatus) String() string
func (IngressLoadBalancerStatus) SwaggerDoc ¶ added in v0.26.0
func (IngressLoadBalancerStatus) SwaggerDoc() map[string]string
func (*IngressLoadBalancerStatus) Unmarshal ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) Unmarshal(dAtA []byte) error
func (*IngressLoadBalancerStatus) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) XXX_DiscardUnknown()
func (*IngressLoadBalancerStatus) XXX_Marshal ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressLoadBalancerStatus) XXX_Merge ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) XXX_Merge(src proto.Message)
func (*IngressLoadBalancerStatus) XXX_Size ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) XXX_Size() int
func (*IngressLoadBalancerStatus) XXX_Unmarshal ¶ added in v0.26.0
func (m *IngressLoadBalancerStatus) XXX_Unmarshal(b []byte) error
type IngressPortStatus ¶ added in v0.26.0
type IngressPortStatus struct {
// port is the port number of the ingress port.
Port int32 `json:"port" protobuf:"varint,1,opt,name=port"`
// protocol is the protocol of the ingress port.
// The supported values are: "TCP", "UDP", "SCTP"
Protocol v1.Protocol `json:"protocol" protobuf:"bytes,2,opt,name=protocol,casttype=Protocol"`
// 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)
// +optional
// +kubebuilder:validation:Required
// +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$`
// +kubebuilder:validation:MaxLength=316
Error *string `json:"error,omitempty" protobuf:"bytes,3,opt,name=error"`
}
IngressPortStatus represents the error condition of a service port
func (*IngressPortStatus) DeepCopy ¶ added in v0.26.0
func (in *IngressPortStatus) DeepCopy() *IngressPortStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressPortStatus.
func (*IngressPortStatus) DeepCopyInto ¶ added in v0.26.0
func (in *IngressPortStatus) DeepCopyInto(out *IngressPortStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressPortStatus) Descriptor ¶ added in v0.26.0
func (*IngressPortStatus) Descriptor() ([]byte, []int)
func (*IngressPortStatus) Marshal ¶ added in v0.26.0
func (m *IngressPortStatus) Marshal() (dAtA []byte, err error)
func (*IngressPortStatus) MarshalTo ¶ added in v0.26.0
func (m *IngressPortStatus) MarshalTo(dAtA []byte) (int, error)
func (*IngressPortStatus) MarshalToSizedBuffer ¶ added in v0.26.0
func (m *IngressPortStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressPortStatus) ProtoMessage ¶ added in v0.26.0
func (*IngressPortStatus) ProtoMessage()
func (*IngressPortStatus) Reset ¶ added in v0.26.0
func (m *IngressPortStatus) Reset()
func (*IngressPortStatus) Size ¶ added in v0.26.0
func (m *IngressPortStatus) Size() (n int)
func (*IngressPortStatus) String ¶ added in v0.26.0
func (this *IngressPortStatus) String() string
func (IngressPortStatus) SwaggerDoc ¶ added in v0.26.0
func (IngressPortStatus) SwaggerDoc() map[string]string
func (*IngressPortStatus) Unmarshal ¶ added in v0.26.0
func (m *IngressPortStatus) Unmarshal(dAtA []byte) error
func (*IngressPortStatus) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *IngressPortStatus) XXX_DiscardUnknown()
func (*IngressPortStatus) XXX_Marshal ¶ added in v0.26.0
func (m *IngressPortStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressPortStatus) XXX_Merge ¶ added in v0.26.0
func (m *IngressPortStatus) XXX_Merge(src proto.Message)
func (*IngressPortStatus) XXX_Size ¶ added in v0.26.0
func (m *IngressPortStatus) XXX_Size() int
func (*IngressPortStatus) XXX_Unmarshal ¶ added in v0.26.0
func (m *IngressPortStatus) XXX_Unmarshal(b []byte) error
type IngressRule ¶ added in v0.19.0
type IngressRule struct {
// host is the fully qualified domain name of a network host, as defined by RFC 3986.
// Note the following deviations from the "host" part of the
// URI as defined in RFC 3986:
// 1. IPs are not allowed. Currently an IngressRuleValue can only apply to
// the IP in the Spec of the parent Ingress.
// 2. The `:` delimiter is not respected because ports are not allowed.
// Currently the port of an Ingress is implicitly :80 for http and
// :443 for https.
// Both these may change in the future.
// Incoming requests are matched against the host before the
// IngressRuleValue. If the host is unspecified, the Ingress routes all
// traffic based on the specified IngressRuleValue.
//
// host can be "precise" which is a domain name without the terminating dot of
// a network host (e.g. "foo.bar.com") or "wildcard", which is a domain name
// prefixed with a single wildcard label (e.g. "*.foo.com").
// The wildcard character '*' must appear by itself as the first DNS label and
// matches only a single label. You cannot have a wildcard label by itself (e.g. Host == "*").
// Requests will be matched against the Host field in the following way:
// 1. If host is precise, the request matches this rule if the http host header is equal to Host.
// 2. If host is a wildcard, then the request matches this rule if the http host header
// is to equal to the suffix (removing the first label) of the wildcard rule.
// +optional
Host string `json:"host,omitempty" protobuf:"bytes,1,opt,name=host"`
// 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.
// +optional
IngressRuleValue `json:",inline,omitempty" protobuf:"bytes,2,opt,name=ingressRuleValue"`
}
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
func (*IngressRule) DeepCopy ¶ added in v0.19.0
func (in *IngressRule) DeepCopy() *IngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (*IngressRule) DeepCopyInto ¶ added in v0.19.0
func (in *IngressRule) DeepCopyInto(out *IngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRule) Descriptor ¶ added in v0.19.0
func (*IngressRule) Descriptor() ([]byte, []int)
func (*IngressRule) Marshal ¶ added in v0.19.0
func (m *IngressRule) Marshal() (dAtA []byte, err error)
func (*IngressRule) MarshalTo ¶ added in v0.19.0
func (m *IngressRule) MarshalTo(dAtA []byte) (int, error)
func (*IngressRule) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressRule) ProtoMessage ¶ added in v0.19.0
func (*IngressRule) ProtoMessage()
func (*IngressRule) Reset ¶ added in v0.19.0
func (m *IngressRule) Reset()
func (*IngressRule) Size ¶ added in v0.19.0
func (m *IngressRule) Size() (n int)
func (*IngressRule) String ¶ added in v0.19.0
func (this *IngressRule) String() string
func (IngressRule) SwaggerDoc ¶ added in v0.19.0
func (IngressRule) SwaggerDoc() map[string]string
func (*IngressRule) Unmarshal ¶ added in v0.19.0
func (m *IngressRule) Unmarshal(dAtA []byte) error
func (*IngressRule) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressRule) XXX_DiscardUnknown()
func (*IngressRule) XXX_Marshal ¶ added in v0.19.0
func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressRule) XXX_Merge ¶ added in v0.19.0
func (m *IngressRule) XXX_Merge(src proto.Message)
func (*IngressRule) XXX_Size ¶ added in v0.19.0
func (m *IngressRule) XXX_Size() int
func (*IngressRule) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressRule) XXX_Unmarshal(b []byte) error
type IngressRuleValue ¶ added in v0.19.0
type IngressRuleValue struct {
// +optional
HTTP *HTTPIngressRuleValue `json:"http,omitempty" protobuf:"bytes,1,opt,name=http"`
}
IngressRuleValue represents a rule to apply against incoming requests. If the rule is satisfied, the request is routed to the specified backend. Currently mixing different types of rules in a single Ingress is disallowed, so exactly one of the following must be set.
func (*IngressRuleValue) DeepCopy ¶ added in v0.19.0
func (in *IngressRuleValue) DeepCopy() *IngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
func (*IngressRuleValue) DeepCopyInto ¶ added in v0.19.0
func (in *IngressRuleValue) DeepCopyInto(out *IngressRuleValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressRuleValue) Descriptor ¶ added in v0.19.0
func (*IngressRuleValue) Descriptor() ([]byte, []int)
func (*IngressRuleValue) Marshal ¶ added in v0.19.0
func (m *IngressRuleValue) Marshal() (dAtA []byte, err error)
func (*IngressRuleValue) MarshalTo ¶ added in v0.19.0
func (m *IngressRuleValue) MarshalTo(dAtA []byte) (int, error)
func (*IngressRuleValue) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressRuleValue) ProtoMessage ¶ added in v0.19.0
func (*IngressRuleValue) ProtoMessage()
func (*IngressRuleValue) Reset ¶ added in v0.19.0
func (m *IngressRuleValue) Reset()
func (*IngressRuleValue) Size ¶ added in v0.19.0
func (m *IngressRuleValue) Size() (n int)
func (*IngressRuleValue) String ¶ added in v0.19.0
func (this *IngressRuleValue) String() string
func (IngressRuleValue) SwaggerDoc ¶ added in v0.19.0
func (IngressRuleValue) SwaggerDoc() map[string]string
func (*IngressRuleValue) Unmarshal ¶ added in v0.19.0
func (m *IngressRuleValue) Unmarshal(dAtA []byte) error
func (*IngressRuleValue) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressRuleValue) XXX_DiscardUnknown()
func (*IngressRuleValue) XXX_Marshal ¶ added in v0.19.0
func (m *IngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressRuleValue) XXX_Merge ¶ added in v0.19.0
func (m *IngressRuleValue) XXX_Merge(src proto.Message)
func (*IngressRuleValue) XXX_Size ¶ added in v0.19.0
func (m *IngressRuleValue) XXX_Size() int
func (*IngressRuleValue) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error
type IngressServiceBackend ¶ added in v0.19.0
type IngressServiceBackend struct {
// name is the referenced service. The service must exist in
// the same namespace as the Ingress object.
Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
// port of the referenced service. A port name or port number
// is required for a IngressServiceBackend.
Port ServiceBackendPort `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"`
}
IngressServiceBackend references a Kubernetes Service as a Backend.
func (*IngressServiceBackend) DeepCopy ¶ added in v0.19.0
func (in *IngressServiceBackend) DeepCopy() *IngressServiceBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressServiceBackend.
func (*IngressServiceBackend) DeepCopyInto ¶ added in v0.19.0
func (in *IngressServiceBackend) DeepCopyInto(out *IngressServiceBackend)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressServiceBackend) Descriptor ¶ added in v0.19.0
func (*IngressServiceBackend) Descriptor() ([]byte, []int)
func (*IngressServiceBackend) Marshal ¶ added in v0.19.0
func (m *IngressServiceBackend) Marshal() (dAtA []byte, err error)
func (*IngressServiceBackend) MarshalTo ¶ added in v0.19.0
func (m *IngressServiceBackend) MarshalTo(dAtA []byte) (int, error)
func (*IngressServiceBackend) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressServiceBackend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressServiceBackend) ProtoMessage ¶ added in v0.19.0
func (*IngressServiceBackend) ProtoMessage()
func (*IngressServiceBackend) Reset ¶ added in v0.19.0
func (m *IngressServiceBackend) Reset()
func (*IngressServiceBackend) Size ¶ added in v0.19.0
func (m *IngressServiceBackend) Size() (n int)
func (*IngressServiceBackend) String ¶ added in v0.19.0
func (this *IngressServiceBackend) String() string
func (IngressServiceBackend) SwaggerDoc ¶ added in v0.19.0
func (IngressServiceBackend) SwaggerDoc() map[string]string
func (*IngressServiceBackend) Unmarshal ¶ added in v0.19.0
func (m *IngressServiceBackend) Unmarshal(dAtA []byte) error
func (*IngressServiceBackend) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressServiceBackend) XXX_DiscardUnknown()
func (*IngressServiceBackend) XXX_Marshal ¶ added in v0.19.0
func (m *IngressServiceBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressServiceBackend) XXX_Merge ¶ added in v0.19.0
func (m *IngressServiceBackend) XXX_Merge(src proto.Message)
func (*IngressServiceBackend) XXX_Size ¶ added in v0.19.0
func (m *IngressServiceBackend) XXX_Size() int
func (*IngressServiceBackend) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressServiceBackend) XXX_Unmarshal(b []byte) error
type IngressSpec ¶ added in v0.19.0
type IngressSpec struct {
// 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.
// +optional
IngressClassName *string `json:"ingressClassName,omitempty" protobuf:"bytes,4,opt,name=ingressClassName"`
// 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.
// +optional
DefaultBackend *IngressBackend `json:"defaultBackend,omitempty" protobuf:"bytes,1,opt,name=defaultBackend"`
// 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.
// +listType=atomic
// +optional
TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"`
// 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.
// +listType=atomic
// +optional
Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"`
}
IngressSpec describes the Ingress the user wishes to exist.
func (*IngressSpec) DeepCopy ¶ added in v0.19.0
func (in *IngressSpec) DeepCopy() *IngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
func (*IngressSpec) DeepCopyInto ¶ added in v0.19.0
func (in *IngressSpec) DeepCopyInto(out *IngressSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressSpec) Descriptor ¶ added in v0.19.0
func (*IngressSpec) Descriptor() ([]byte, []int)
func (*IngressSpec) Marshal ¶ added in v0.19.0
func (m *IngressSpec) Marshal() (dAtA []byte, err error)
func (*IngressSpec) MarshalTo ¶ added in v0.19.0
func (m *IngressSpec) MarshalTo(dAtA []byte) (int, error)
func (*IngressSpec) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressSpec) ProtoMessage ¶ added in v0.19.0
func (*IngressSpec) ProtoMessage()
func (*IngressSpec) Reset ¶ added in v0.19.0
func (m *IngressSpec) Reset()
func (*IngressSpec) Size ¶ added in v0.19.0
func (m *IngressSpec) Size() (n int)
func (*IngressSpec) String ¶ added in v0.19.0
func (this *IngressSpec) String() string
func (IngressSpec) SwaggerDoc ¶ added in v0.19.0
func (IngressSpec) SwaggerDoc() map[string]string
func (*IngressSpec) Unmarshal ¶ added in v0.19.0
func (m *IngressSpec) Unmarshal(dAtA []byte) error
func (*IngressSpec) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressSpec) XXX_DiscardUnknown()
func (*IngressSpec) XXX_Marshal ¶ added in v0.19.0
func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressSpec) XXX_Merge ¶ added in v0.19.0
func (m *IngressSpec) XXX_Merge(src proto.Message)
func (*IngressSpec) XXX_Size ¶ added in v0.19.0
func (m *IngressSpec) XXX_Size() int
func (*IngressSpec) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressSpec) XXX_Unmarshal(b []byte) error
type IngressStatus ¶ added in v0.19.0
type IngressStatus struct {
// loadBalancer contains the current status of the load-balancer.
// +optional
LoadBalancer IngressLoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"`
}
IngressStatus describe the current state of the Ingress.
func (*IngressStatus) DeepCopy ¶ added in v0.19.0
func (in *IngressStatus) DeepCopy() *IngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
func (*IngressStatus) DeepCopyInto ¶ added in v0.19.0
func (in *IngressStatus) DeepCopyInto(out *IngressStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressStatus) Descriptor ¶ added in v0.19.0
func (*IngressStatus) Descriptor() ([]byte, []int)
func (*IngressStatus) Marshal ¶ added in v0.19.0
func (m *IngressStatus) Marshal() (dAtA []byte, err error)
func (*IngressStatus) MarshalTo ¶ added in v0.19.0
func (m *IngressStatus) MarshalTo(dAtA []byte) (int, error)
func (*IngressStatus) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressStatus) ProtoMessage ¶ added in v0.19.0
func (*IngressStatus) ProtoMessage()
func (*IngressStatus) Reset ¶ added in v0.19.0
func (m *IngressStatus) Reset()
func (*IngressStatus) Size ¶ added in v0.19.0
func (m *IngressStatus) Size() (n int)
func (*IngressStatus) String ¶ added in v0.19.0
func (this *IngressStatus) String() string
func (IngressStatus) SwaggerDoc ¶ added in v0.19.0
func (IngressStatus) SwaggerDoc() map[string]string
func (*IngressStatus) Unmarshal ¶ added in v0.19.0
func (m *IngressStatus) Unmarshal(dAtA []byte) error
func (*IngressStatus) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressStatus) XXX_DiscardUnknown()
func (*IngressStatus) XXX_Marshal ¶ added in v0.19.0
func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressStatus) XXX_Merge ¶ added in v0.19.0
func (m *IngressStatus) XXX_Merge(src proto.Message)
func (*IngressStatus) XXX_Size ¶ added in v0.19.0
func (m *IngressStatus) XXX_Size() int
func (*IngressStatus) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressStatus) XXX_Unmarshal(b []byte) error
type IngressTLS ¶ added in v0.19.0
type IngressTLS struct {
// 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.
// +listType=atomic
// +optional
Hosts []string `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"`
// secretName is the name of the secret used to terminate TLS traffic on
// port 443. Field is left optional to allow TLS routing based on SNI
// hostname alone. If the SNI host in a listener conflicts with the "Host"
// header field used by an IngressRule, the SNI host is used for termination
// and value of the "Host" header is used for routing.
// +optional
SecretName string `json:"secretName,omitempty" protobuf:"bytes,2,opt,name=secretName"`
}
IngressTLS describes the transport layer security associated with an ingress.
func (*IngressTLS) DeepCopy ¶ added in v0.19.0
func (in *IngressTLS) DeepCopy() *IngressTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
func (*IngressTLS) DeepCopyInto ¶ added in v0.19.0
func (in *IngressTLS) DeepCopyInto(out *IngressTLS)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IngressTLS) Descriptor ¶ added in v0.19.0
func (*IngressTLS) Descriptor() ([]byte, []int)
func (*IngressTLS) Marshal ¶ added in v0.19.0
func (m *IngressTLS) Marshal() (dAtA []byte, err error)
func (*IngressTLS) MarshalTo ¶ added in v0.19.0
func (m *IngressTLS) MarshalTo(dAtA []byte) (int, error)
func (*IngressTLS) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressTLS) ProtoMessage ¶ added in v0.19.0
func (*IngressTLS) ProtoMessage()
func (*IngressTLS) Reset ¶ added in v0.19.0
func (m *IngressTLS) Reset()
func (*IngressTLS) Size ¶ added in v0.19.0
func (m *IngressTLS) Size() (n int)
func (*IngressTLS) String ¶ added in v0.19.0
func (this *IngressTLS) String() string
func (IngressTLS) SwaggerDoc ¶ added in v0.19.0
func (IngressTLS) SwaggerDoc() map[string]string
func (*IngressTLS) Unmarshal ¶ added in v0.19.0
func (m *IngressTLS) Unmarshal(dAtA []byte) error
func (*IngressTLS) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *IngressTLS) XXX_DiscardUnknown()
func (*IngressTLS) XXX_Marshal ¶ added in v0.19.0
func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressTLS) XXX_Merge ¶ added in v0.19.0
func (m *IngressTLS) XXX_Merge(src proto.Message)
func (*IngressTLS) XXX_Size ¶ added in v0.19.0
func (m *IngressTLS) XXX_Size() int
func (*IngressTLS) XXX_Unmarshal ¶ added in v0.19.0
func (m *IngressTLS) XXX_Unmarshal(b []byte) error
type NetworkPolicy ¶
type NetworkPolicy struct {
metav1.TypeMeta `json:",inline"`
// Standard object's metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// spec represents the specification of the desired behavior for this NetworkPolicy.
// +optional
Spec NetworkPolicySpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
}
NetworkPolicy describes what network traffic is allowed for a set of Pods
func (*NetworkPolicy) DeepCopy ¶
func (in *NetworkPolicy) DeepCopy() *NetworkPolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicy.
func (*NetworkPolicy) DeepCopyInto ¶
func (in *NetworkPolicy) DeepCopyInto(out *NetworkPolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicy) DeepCopyObject ¶
func (in *NetworkPolicy) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NetworkPolicy) Descriptor ¶
func (*NetworkPolicy) Descriptor() ([]byte, []int)
func (*NetworkPolicy) Marshal ¶
func (m *NetworkPolicy) Marshal() (dAtA []byte, err error)
func (*NetworkPolicy) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *NetworkPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkPolicy) ProtoMessage ¶
func (*NetworkPolicy) ProtoMessage()
func (*NetworkPolicy) Reset ¶
func (m *NetworkPolicy) Reset()
func (*NetworkPolicy) Size ¶
func (m *NetworkPolicy) Size() (n int)
func (*NetworkPolicy) String ¶
func (this *NetworkPolicy) String() string
func (NetworkPolicy) SwaggerDoc ¶
func (NetworkPolicy) SwaggerDoc() map[string]string
func (*NetworkPolicy) Unmarshal ¶
func (m *NetworkPolicy) Unmarshal(dAtA []byte) error
func (*NetworkPolicy) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *NetworkPolicy) XXX_DiscardUnknown()
func (*NetworkPolicy) XXX_Marshal ¶ added in v0.16.4
func (m *NetworkPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkPolicy) XXX_Merge ¶ added in v0.16.4
func (m *NetworkPolicy) XXX_Merge(src proto.Message)
func (*NetworkPolicy) XXX_Size ¶ added in v0.16.4
func (m *NetworkPolicy) XXX_Size() int
func (*NetworkPolicy) XXX_Unmarshal ¶ added in v0.16.4
func (m *NetworkPolicy) XXX_Unmarshal(b []byte) error
type NetworkPolicyEgressRule ¶
type NetworkPolicyEgressRule struct {
// 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.
// +optional
Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`
// 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.
// +optional
To []NetworkPolicyPeer `json:"to,omitempty" protobuf:"bytes,2,rep,name=to"`
}
NetworkPolicyEgressRule describes a particular set of traffic that is allowed out of pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and to. This type is beta-level in 1.8
func (*NetworkPolicyEgressRule) DeepCopy ¶
func (in *NetworkPolicyEgressRule) DeepCopy() *NetworkPolicyEgressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyEgressRule.
func (*NetworkPolicyEgressRule) DeepCopyInto ¶
func (in *NetworkPolicyEgressRule) DeepCopyInto(out *NetworkPolicyEgressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyEgressRule) Descriptor ¶
func (*NetworkPolicyEgressRule) Descriptor() ([]byte, []int)
func (*NetworkPolicyEgressRule) Marshal ¶
func (m *NetworkPolicyEgressRule) Marshal() (dAtA []byte, err error)
func (*NetworkPolicyEgressRule) MarshalTo ¶
func (m *NetworkPolicyEgressRule) MarshalTo(dAtA []byte) (int, error)
func (*NetworkPolicyEgressRule) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *NetworkPolicyEgressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkPolicyEgressRule) ProtoMessage ¶
func (*NetworkPolicyEgressRule) ProtoMessage()
func (*NetworkPolicyEgressRule) Reset ¶
func (m *NetworkPolicyEgressRule) Reset()
func (*NetworkPolicyEgressRule) Size ¶
func (m *NetworkPolicyEgressRule) Size() (n int)
func (*NetworkPolicyEgressRule) String ¶
func (this *NetworkPolicyEgressRule) String() string
func (NetworkPolicyEgressRule) SwaggerDoc ¶
func (NetworkPolicyEgressRule) SwaggerDoc() map[string]string
func (*NetworkPolicyEgressRule) Unmarshal ¶
func (m *NetworkPolicyEgressRule) Unmarshal(dAtA []byte) error
func (*NetworkPolicyEgressRule) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *NetworkPolicyEgressRule) XXX_DiscardUnknown()
func (*NetworkPolicyEgressRule) XXX_Marshal ¶ added in v0.16.4
func (m *NetworkPolicyEgressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkPolicyEgressRule) XXX_Merge ¶ added in v0.16.4
func (m *NetworkPolicyEgressRule) XXX_Merge(src proto.Message)
func (*NetworkPolicyEgressRule) XXX_Size ¶ added in v0.16.4
func (m *NetworkPolicyEgressRule) XXX_Size() int
func (*NetworkPolicyEgressRule) XXX_Unmarshal ¶ added in v0.16.4
func (m *NetworkPolicyEgressRule) XXX_Unmarshal(b []byte) error
type NetworkPolicyIngressRule ¶
type NetworkPolicyIngressRule struct {
// 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.
// +optional
Ports []NetworkPolicyPort `json:"ports,omitempty" protobuf:"bytes,1,rep,name=ports"`
// 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.
// +optional
From []NetworkPolicyPeer `json:"from,omitempty" protobuf:"bytes,2,rep,name=from"`
}
NetworkPolicyIngressRule describes a particular set of traffic that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The traffic must match both ports and from.
func (*NetworkPolicyIngressRule) DeepCopy ¶
func (in *NetworkPolicyIngressRule) DeepCopy() *NetworkPolicyIngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyIngressRule.
func (*NetworkPolicyIngressRule) DeepCopyInto ¶
func (in *NetworkPolicyIngressRule) DeepCopyInto(out *NetworkPolicyIngressRule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyIngressRule) Descriptor ¶
func (*NetworkPolicyIngressRule) Descriptor() ([]byte, []int)
func (*NetworkPolicyIngressRule) Marshal ¶
func (m *NetworkPolicyIngressRule) Marshal() (dAtA []byte, err error)
func (*NetworkPolicyIngressRule) MarshalTo ¶
func (m *NetworkPolicyIngressRule) MarshalTo(dAtA []byte) (int, error)
func (*NetworkPolicyIngressRule) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *NetworkPolicyIngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkPolicyIngressRule) ProtoMessage ¶
func (*NetworkPolicyIngressRule) ProtoMessage()
func (*NetworkPolicyIngressRule) Reset ¶
func (m *NetworkPolicyIngressRule) Reset()
func (*NetworkPolicyIngressRule) Size ¶
func (m *NetworkPolicyIngressRule) Size() (n int)
func (*NetworkPolicyIngressRule) String ¶
func (this *NetworkPolicyIngressRule) String() string
func (NetworkPolicyIngressRule) SwaggerDoc ¶
func (NetworkPolicyIngressRule) SwaggerDoc() map[string]string
func (*NetworkPolicyIngressRule) Unmarshal ¶
func (m *NetworkPolicyIngressRule) Unmarshal(dAtA []byte) error
func (*NetworkPolicyIngressRule) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *NetworkPolicyIngressRule) XXX_DiscardUnknown()
func (*NetworkPolicyIngressRule) XXX_Marshal ¶ added in v0.16.4
func (m *NetworkPolicyIngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkPolicyIngressRule) XXX_Merge ¶ added in v0.16.4
func (m *NetworkPolicyIngressRule) XXX_Merge(src proto.Message)
func (*NetworkPolicyIngressRule) XXX_Size ¶ added in v0.16.4
func (m *NetworkPolicyIngressRule) XXX_Size() int
func (*NetworkPolicyIngressRule) XXX_Unmarshal ¶ added in v0.16.4
func (m *NetworkPolicyIngressRule) XXX_Unmarshal(b []byte) error
type NetworkPolicyList ¶
type NetworkPolicyList struct {
metav1.TypeMeta `json:",inline"`
// Standard list metadata.
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
// +optional
metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
// items is a list of schema objects.
Items []NetworkPolicy `json:"items" protobuf:"bytes,2,rep,name=items"`
}
NetworkPolicyList is a list of NetworkPolicy objects.
func (*NetworkPolicyList) DeepCopy ¶
func (in *NetworkPolicyList) DeepCopy() *NetworkPolicyList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyList.
func (*NetworkPolicyList) DeepCopyInto ¶
func (in *NetworkPolicyList) DeepCopyInto(out *NetworkPolicyList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyList) DeepCopyObject ¶
func (in *NetworkPolicyList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*NetworkPolicyList) Descriptor ¶
func (*NetworkPolicyList) Descriptor() ([]byte, []int)
func (*NetworkPolicyList) Marshal ¶
func (m *NetworkPolicyList) Marshal() (dAtA []byte, err error)
func (*NetworkPolicyList) MarshalTo ¶
func (m *NetworkPolicyList) MarshalTo(dAtA []byte) (int, error)
func (*NetworkPolicyList) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *NetworkPolicyList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkPolicyList) ProtoMessage ¶
func (*NetworkPolicyList) ProtoMessage()
func (*NetworkPolicyList) Reset ¶
func (m *NetworkPolicyList) Reset()
func (*NetworkPolicyList) Size ¶
func (m *NetworkPolicyList) Size() (n int)
func (*NetworkPolicyList) String ¶
func (this *NetworkPolicyList) String() string
func (NetworkPolicyList) SwaggerDoc ¶
func (NetworkPolicyList) SwaggerDoc() map[string]string
func (*NetworkPolicyList) Unmarshal ¶
func (m *NetworkPolicyList) Unmarshal(dAtA []byte) error
func (*NetworkPolicyList) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *NetworkPolicyList) XXX_DiscardUnknown()
func (*NetworkPolicyList) XXX_Marshal ¶ added in v0.16.4
func (m *NetworkPolicyList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkPolicyList) XXX_Merge ¶ added in v0.16.4
func (m *NetworkPolicyList) XXX_Merge(src proto.Message)
func (*NetworkPolicyList) XXX_Size ¶ added in v0.16.4
func (m *NetworkPolicyList) XXX_Size() int
func (*NetworkPolicyList) XXX_Unmarshal ¶ added in v0.16.4
func (m *NetworkPolicyList) XXX_Unmarshal(b []byte) error
type NetworkPolicyPeer ¶
type NetworkPolicyPeer struct {
// 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.
// +optional
PodSelector *metav1.LabelSelector `json:"podSelector,omitempty" protobuf:"bytes,1,opt,name=podSelector"`
// 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.
// +optional
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty" protobuf:"bytes,2,opt,name=namespaceSelector"`
// ipBlock defines policy on a particular IPBlock. If this field is set then
// neither of the other fields can be.
// +optional
IPBlock *IPBlock `json:"ipBlock,omitempty" protobuf:"bytes,3,rep,name=ipBlock"`
}
NetworkPolicyPeer describes a peer to allow traffic to/from. Only certain combinations of fields are allowed
func (*NetworkPolicyPeer) DeepCopy ¶
func (in *NetworkPolicyPeer) DeepCopy() *NetworkPolicyPeer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPeer.
func (*NetworkPolicyPeer) DeepCopyInto ¶
func (in *NetworkPolicyPeer) DeepCopyInto(out *NetworkPolicyPeer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyPeer) Descriptor ¶
func (*NetworkPolicyPeer) Descriptor() ([]byte, []int)
func (*NetworkPolicyPeer) Marshal ¶
func (m *NetworkPolicyPeer) Marshal() (dAtA []byte, err error)
func (*NetworkPolicyPeer) MarshalTo ¶
func (m *NetworkPolicyPeer) MarshalTo(dAtA []byte) (int, error)
func (*NetworkPolicyPeer) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *NetworkPolicyPeer) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkPolicyPeer) ProtoMessage ¶
func (*NetworkPolicyPeer) ProtoMessage()
func (*NetworkPolicyPeer) Reset ¶
func (m *NetworkPolicyPeer) Reset()
func (*NetworkPolicyPeer) Size ¶
func (m *NetworkPolicyPeer) Size() (n int)
func (*NetworkPolicyPeer) String ¶
func (this *NetworkPolicyPeer) String() string
func (NetworkPolicyPeer) SwaggerDoc ¶
func (NetworkPolicyPeer) SwaggerDoc() map[string]string
func (*NetworkPolicyPeer) Unmarshal ¶
func (m *NetworkPolicyPeer) Unmarshal(dAtA []byte) error
func (*NetworkPolicyPeer) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *NetworkPolicyPeer) XXX_DiscardUnknown()
func (*NetworkPolicyPeer) XXX_Marshal ¶ added in v0.16.4
func (m *NetworkPolicyPeer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkPolicyPeer) XXX_Merge ¶ added in v0.16.4
func (m *NetworkPolicyPeer) XXX_Merge(src proto.Message)
func (*NetworkPolicyPeer) XXX_Size ¶ added in v0.16.4
func (m *NetworkPolicyPeer) XXX_Size() int
func (*NetworkPolicyPeer) XXX_Unmarshal ¶ added in v0.16.4
func (m *NetworkPolicyPeer) XXX_Unmarshal(b []byte) error
type NetworkPolicyPort ¶
type NetworkPolicyPort struct {
// protocol represents the protocol (TCP, UDP, or SCTP) which traffic must match.
// If not specified, this field defaults to TCP.
// +optional
Protocol *v1.Protocol `json:"protocol,omitempty" protobuf:"bytes,1,opt,name=protocol,casttype=k8s.io/api/core/v1.Protocol"`
// 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.
// +optional
Port *intstr.IntOrString `json:"port,omitempty" protobuf:"bytes,2,opt,name=port"`
// 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.
// +optional
EndPort *int32 `json:"endPort,omitempty" protobuf:"bytes,3,opt,name=endPort"`
}
NetworkPolicyPort describes a port to allow traffic on
func (*NetworkPolicyPort) DeepCopy ¶
func (in *NetworkPolicyPort) DeepCopy() *NetworkPolicyPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyPort.
func (*NetworkPolicyPort) DeepCopyInto ¶
func (in *NetworkPolicyPort) DeepCopyInto(out *NetworkPolicyPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyPort) Descriptor ¶
func (*NetworkPolicyPort) Descriptor() ([]byte, []int)
func (*NetworkPolicyPort) Marshal ¶
func (m *NetworkPolicyPort) Marshal() (dAtA []byte, err error)
func (*NetworkPolicyPort) MarshalTo ¶
func (m *NetworkPolicyPort) MarshalTo(dAtA []byte) (int, error)
func (*NetworkPolicyPort) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *NetworkPolicyPort) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkPolicyPort) ProtoMessage ¶
func (*NetworkPolicyPort) ProtoMessage()
func (*NetworkPolicyPort) Reset ¶
func (m *NetworkPolicyPort) Reset()
func (*NetworkPolicyPort) Size ¶
func (m *NetworkPolicyPort) Size() (n int)
func (*NetworkPolicyPort) String ¶
func (this *NetworkPolicyPort) String() string
func (NetworkPolicyPort) SwaggerDoc ¶
func (NetworkPolicyPort) SwaggerDoc() map[string]string
func (*NetworkPolicyPort) Unmarshal ¶
func (m *NetworkPolicyPort) Unmarshal(dAtA []byte) error
func (*NetworkPolicyPort) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *NetworkPolicyPort) XXX_DiscardUnknown()
func (*NetworkPolicyPort) XXX_Marshal ¶ added in v0.16.4
func (m *NetworkPolicyPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkPolicyPort) XXX_Merge ¶ added in v0.16.4
func (m *NetworkPolicyPort) XXX_Merge(src proto.Message)
func (*NetworkPolicyPort) XXX_Size ¶ added in v0.16.4
func (m *NetworkPolicyPort) XXX_Size() int
func (*NetworkPolicyPort) XXX_Unmarshal ¶ added in v0.16.4
func (m *NetworkPolicyPort) XXX_Unmarshal(b []byte) error
type NetworkPolicySpec ¶
type NetworkPolicySpec struct {
// 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.
PodSelector metav1.LabelSelector `json:"podSelector" protobuf:"bytes,1,opt,name=podSelector"`
// 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)
// +optional
Ingress []NetworkPolicyIngressRule `json:"ingress,omitempty" protobuf:"bytes,2,rep,name=ingress"`
// 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
// +optional
Egress []NetworkPolicyEgressRule `json:"egress,omitempty" protobuf:"bytes,3,rep,name=egress"`
// 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
// +optional
PolicyTypes []PolicyType `json:"policyTypes,omitempty" protobuf:"bytes,4,rep,name=policyTypes,casttype=PolicyType"`
}
NetworkPolicySpec provides the specification of a NetworkPolicy
func (*NetworkPolicySpec) DeepCopy ¶
func (in *NetworkPolicySpec) DeepCopy() *NetworkPolicySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicySpec.
func (*NetworkPolicySpec) DeepCopyInto ¶
func (in *NetworkPolicySpec) DeepCopyInto(out *NetworkPolicySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicySpec) Descriptor ¶
func (*NetworkPolicySpec) Descriptor() ([]byte, []int)
func (*NetworkPolicySpec) Marshal ¶
func (m *NetworkPolicySpec) Marshal() (dAtA []byte, err error)
func (*NetworkPolicySpec) MarshalTo ¶
func (m *NetworkPolicySpec) MarshalTo(dAtA []byte) (int, error)
func (*NetworkPolicySpec) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *NetworkPolicySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*NetworkPolicySpec) ProtoMessage ¶
func (*NetworkPolicySpec) ProtoMessage()
func (*NetworkPolicySpec) Reset ¶
func (m *NetworkPolicySpec) Reset()
func (*NetworkPolicySpec) Size ¶
func (m *NetworkPolicySpec) Size() (n int)
func (*NetworkPolicySpec) String ¶
func (this *NetworkPolicySpec) String() string
func (NetworkPolicySpec) SwaggerDoc ¶
func (NetworkPolicySpec) SwaggerDoc() map[string]string
func (*NetworkPolicySpec) Unmarshal ¶
func (m *NetworkPolicySpec) Unmarshal(dAtA []byte) error
func (*NetworkPolicySpec) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *NetworkPolicySpec) XXX_DiscardUnknown()
func (*NetworkPolicySpec) XXX_Marshal ¶ added in v0.16.4
func (m *NetworkPolicySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NetworkPolicySpec) XXX_Merge ¶ added in v0.16.4
func (m *NetworkPolicySpec) XXX_Merge(src proto.Message)
func (*NetworkPolicySpec) XXX_Size ¶ added in v0.16.4
func (m *NetworkPolicySpec) XXX_Size() int
func (*NetworkPolicySpec) XXX_Unmarshal ¶ added in v0.16.4
func (m *NetworkPolicySpec) XXX_Unmarshal(b []byte) error
type PathType ¶ added in v0.19.0
type PathType string
PathType represents the type of path referred to by a HTTPIngressPath. +enum
type PolicyType ¶
type PolicyType string
PolicyType string describes the NetworkPolicy type This type is beta-level in 1.8 +enum
const ( // PolicyTypeIngress is a NetworkPolicy that affects ingress traffic on selected pods PolicyTypeIngress PolicyType = "Ingress" // PolicyTypeEgress is a NetworkPolicy that affects egress traffic on selected pods PolicyTypeEgress PolicyType = "Egress" )
type ServiceBackendPort ¶ added in v0.19.0
type ServiceBackendPort struct {
// name is the name of the port on the Service.
// This is a mutually exclusive setting with "Number".
// +optional
Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
// number is the numerical port number (e.g. 80) on the Service.
// This is a mutually exclusive setting with "Name".
// +optional
Number int32 `json:"number,omitempty" protobuf:"bytes,2,opt,name=number"`
}
ServiceBackendPort is the service port being referenced.
func (*ServiceBackendPort) DeepCopy ¶ added in v0.19.0
func (in *ServiceBackendPort) DeepCopy() *ServiceBackendPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceBackendPort.
func (*ServiceBackendPort) DeepCopyInto ¶ added in v0.19.0
func (in *ServiceBackendPort) DeepCopyInto(out *ServiceBackendPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceBackendPort) Descriptor ¶ added in v0.19.0
func (*ServiceBackendPort) Descriptor() ([]byte, []int)
func (*ServiceBackendPort) Marshal ¶ added in v0.19.0
func (m *ServiceBackendPort) Marshal() (dAtA []byte, err error)
func (*ServiceBackendPort) MarshalTo ¶ added in v0.19.0
func (m *ServiceBackendPort) MarshalTo(dAtA []byte) (int, error)
func (*ServiceBackendPort) MarshalToSizedBuffer ¶ added in v0.19.0
func (m *ServiceBackendPort) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ServiceBackendPort) ProtoMessage ¶ added in v0.19.0
func (*ServiceBackendPort) ProtoMessage()
func (*ServiceBackendPort) Reset ¶ added in v0.19.0
func (m *ServiceBackendPort) Reset()
func (*ServiceBackendPort) Size ¶ added in v0.19.0
func (m *ServiceBackendPort) Size() (n int)
func (*ServiceBackendPort) String ¶ added in v0.19.0
func (this *ServiceBackendPort) String() string
func (ServiceBackendPort) SwaggerDoc ¶ added in v0.19.0
func (ServiceBackendPort) SwaggerDoc() map[string]string
func (*ServiceBackendPort) Unmarshal ¶ added in v0.19.0
func (m *ServiceBackendPort) Unmarshal(dAtA []byte) error
func (*ServiceBackendPort) XXX_DiscardUnknown ¶ added in v0.19.0
func (m *ServiceBackendPort) XXX_DiscardUnknown()
func (*ServiceBackendPort) XXX_Marshal ¶ added in v0.19.0
func (m *ServiceBackendPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceBackendPort) XXX_Merge ¶ added in v0.19.0
func (m *ServiceBackendPort) XXX_Merge(src proto.Message)
func (*ServiceBackendPort) XXX_Size ¶ added in v0.19.0
func (m *ServiceBackendPort) XXX_Size() int
func (*ServiceBackendPort) XXX_Unmarshal ¶ added in v0.19.0
func (m *ServiceBackendPort) XXX_Unmarshal(b []byte) error