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 Ingress
- func (in *Ingress) APILifecycleDeprecated() (major, minor int)
- func (in *Ingress) APILifecycleIntroduced() (major, minor int)
- func (in *Ingress) APILifecycleRemoved() (major, minor int)
- func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind
- 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) APILifecycleDeprecated() (major, minor int)
- func (in *IngressClass) APILifecycleIntroduced() (major, minor int)
- func (in *IngressClass) APILifecycleRemoved() (major, minor int)
- func (in *IngressClass) APILifecycleReplacement() schema.GroupVersionKind
- 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) APILifecycleDeprecated() (major, minor int)
- func (in *IngressClassList) APILifecycleIntroduced() (major, minor int)
- func (in *IngressClassList) APILifecycleRemoved() (major, minor int)
- func (in *IngressClassList) APILifecycleReplacement() schema.GroupVersionKind
- 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) APILifecycleDeprecated() (major, minor int)
- func (in *IngressList) APILifecycleIntroduced() (major, minor int)
- func (in *IngressList) APILifecycleRemoved() (major, minor int)
- func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind
- 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 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 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 PathType
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" // AnnotationIngressClass indicates the class of an Ingress to be used when // determining which controller should implement the Ingress. Use of this // annotation is deprecated. The Ingress class field should be used instead // of this annotation. // +deprecated AnnotationIngressClass = "kubernetes.io/ingress.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 ( // SchemeBuilder holds functions that add things to a scheme // 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 adds the types of this group into the given scheme. AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
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 ¶
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. // Defaults to ImplementationSpecific. PathType *PathType `json:"pathType,omitempty" 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 ¶
func (in *HTTPIngressPath) DeepCopy() *HTTPIngressPath
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressPath.
func (*HTTPIngressPath) DeepCopyInto ¶
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 ¶
func (*HTTPIngressPath) Descriptor() ([]byte, []int)
func (*HTTPIngressPath) Marshal ¶
func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error)
func (*HTTPIngressPath) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *HTTPIngressPath) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HTTPIngressPath) ProtoMessage ¶
func (*HTTPIngressPath) ProtoMessage()
func (*HTTPIngressPath) Reset ¶
func (m *HTTPIngressPath) Reset()
func (*HTTPIngressPath) Size ¶
func (m *HTTPIngressPath) Size() (n int)
func (*HTTPIngressPath) String ¶
func (this *HTTPIngressPath) String() string
func (HTTPIngressPath) SwaggerDoc ¶
func (HTTPIngressPath) SwaggerDoc() map[string]string
func (*HTTPIngressPath) Unmarshal ¶
func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error
func (*HTTPIngressPath) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *HTTPIngressPath) XXX_DiscardUnknown()
func (*HTTPIngressPath) XXX_Marshal ¶ added in v0.16.4
func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HTTPIngressPath) XXX_Merge ¶ added in v0.16.4
func (m *HTTPIngressPath) XXX_Merge(src proto.Message)
func (*HTTPIngressPath) XXX_Size ¶ added in v0.16.4
func (m *HTTPIngressPath) XXX_Size() int
func (*HTTPIngressPath) XXX_Unmarshal ¶ added in v0.16.4
func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error
type HTTPIngressRuleValue ¶
type HTTPIngressRuleValue struct { // A collection of paths that map requests to backends. 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 ¶
func (in *HTTPIngressRuleValue) DeepCopy() *HTTPIngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPIngressRuleValue.
func (*HTTPIngressRuleValue) DeepCopyInto ¶
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 ¶
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)
func (*HTTPIngressRuleValue) Marshal ¶
func (m *HTTPIngressRuleValue) Marshal() (dAtA []byte, err error)
func (*HTTPIngressRuleValue) MarshalTo ¶
func (m *HTTPIngressRuleValue) MarshalTo(dAtA []byte) (int, error)
func (*HTTPIngressRuleValue) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *HTTPIngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*HTTPIngressRuleValue) ProtoMessage ¶
func (*HTTPIngressRuleValue) ProtoMessage()
func (*HTTPIngressRuleValue) Reset ¶
func (m *HTTPIngressRuleValue) Reset()
func (*HTTPIngressRuleValue) Size ¶
func (m *HTTPIngressRuleValue) Size() (n int)
func (*HTTPIngressRuleValue) String ¶
func (this *HTTPIngressRuleValue) String() string
func (HTTPIngressRuleValue) SwaggerDoc ¶
func (HTTPIngressRuleValue) SwaggerDoc() map[string]string
func (*HTTPIngressRuleValue) Unmarshal ¶
func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error
func (*HTTPIngressRuleValue) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *HTTPIngressRuleValue) XXX_DiscardUnknown()
func (*HTTPIngressRuleValue) XXX_Marshal ¶ added in v0.16.4
func (m *HTTPIngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HTTPIngressRuleValue) XXX_Merge ¶ added in v0.16.4
func (m *HTTPIngressRuleValue) XXX_Merge(src proto.Message)
func (*HTTPIngressRuleValue) XXX_Size ¶ added in v0.16.4
func (m *HTTPIngressRuleValue) XXX_Size() int
func (*HTTPIngressRuleValue) XXX_Unmarshal ¶ added in v0.16.4
func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error
type Ingress ¶
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) APILifecycleDeprecated ¶ added in v0.19.0
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*Ingress) APILifecycleIntroduced ¶ added in v0.19.0
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*Ingress) APILifecycleRemoved ¶ added in v0.19.0
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*Ingress) APILifecycleReplacement ¶ added in v0.19.0
func (in *Ingress) APILifecycleReplacement() schema.GroupVersionKind
APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
func (*Ingress) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Ingress) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Ingress) Descriptor ¶
func (*Ingress) MarshalToSizedBuffer ¶ added in v0.16.4
func (*Ingress) ProtoMessage ¶
func (*Ingress) ProtoMessage()
func (Ingress) SwaggerDoc ¶
func (*Ingress) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *Ingress) XXX_DiscardUnknown()
func (*Ingress) XXX_Marshal ¶ added in v0.16.4
func (*Ingress) XXX_Unmarshal ¶ added in v0.16.4
type IngressBackend ¶
type IngressBackend struct { // Specifies the name of the referenced service. // +optional ServiceName string `json:"serviceName,omitempty" protobuf:"bytes,1,opt,name=serviceName"` // Specifies the port of the referenced service. // +optional ServicePort intstr.IntOrString `json:"servicePort,omitempty" protobuf:"bytes,2,opt,name=servicePort"` // Resource is an ObjectRef to another Kubernetes resource in the namespace // of the Ingress object. If resource is specified, serviceName and servicePort // must not be specified. // +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 ¶
func (in *IngressBackend) DeepCopy() *IngressBackend
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressBackend.
func (*IngressBackend) DeepCopyInto ¶
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 ¶
func (*IngressBackend) Descriptor() ([]byte, []int)
func (*IngressBackend) Marshal ¶
func (m *IngressBackend) Marshal() (dAtA []byte, err error)
func (*IngressBackend) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *IngressBackend) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressBackend) ProtoMessage ¶
func (*IngressBackend) ProtoMessage()
func (*IngressBackend) Reset ¶
func (m *IngressBackend) Reset()
func (*IngressBackend) Size ¶
func (m *IngressBackend) Size() (n int)
func (*IngressBackend) String ¶
func (this *IngressBackend) String() string
func (IngressBackend) SwaggerDoc ¶
func (IngressBackend) SwaggerDoc() map[string]string
func (*IngressBackend) Unmarshal ¶
func (m *IngressBackend) Unmarshal(dAtA []byte) error
func (*IngressBackend) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IngressBackend) XXX_DiscardUnknown()
func (*IngressBackend) XXX_Marshal ¶ added in v0.16.4
func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressBackend) XXX_Merge ¶ added in v0.16.4
func (m *IngressBackend) XXX_Merge(src proto.Message)
func (*IngressBackend) XXX_Size ¶ added in v0.16.4
func (m *IngressBackend) XXX_Size() int
func (*IngressBackend) XXX_Unmarshal ¶ added in v0.16.4
func (m *IngressBackend) XXX_Unmarshal(b []byte) error
type IngressClass ¶ added in v0.18.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) APILifecycleDeprecated ¶ added in v0.19.0
func (in *IngressClass) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*IngressClass) APILifecycleIntroduced ¶ added in v0.19.0
func (in *IngressClass) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*IngressClass) APILifecycleRemoved ¶ added in v0.19.0
func (in *IngressClass) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*IngressClass) APILifecycleReplacement ¶ added in v0.19.0
func (in *IngressClass) APILifecycleReplacement() schema.GroupVersionKind
APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
func (*IngressClass) DeepCopy ¶ added in v0.18.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.18.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.18.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.18.0
func (*IngressClass) Descriptor() ([]byte, []int)
func (*IngressClass) Marshal ¶ added in v0.18.0
func (m *IngressClass) Marshal() (dAtA []byte, err error)
func (*IngressClass) MarshalTo ¶ added in v0.18.0
func (m *IngressClass) MarshalTo(dAtA []byte) (int, error)
func (*IngressClass) MarshalToSizedBuffer ¶ added in v0.18.0
func (m *IngressClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressClass) ProtoMessage ¶ added in v0.18.0
func (*IngressClass) ProtoMessage()
func (*IngressClass) Reset ¶ added in v0.18.0
func (m *IngressClass) Reset()
func (*IngressClass) Size ¶ added in v0.18.0
func (m *IngressClass) Size() (n int)
func (*IngressClass) String ¶ added in v0.18.0
func (this *IngressClass) String() string
func (IngressClass) SwaggerDoc ¶ added in v0.18.0
func (IngressClass) SwaggerDoc() map[string]string
func (*IngressClass) Unmarshal ¶ added in v0.18.0
func (m *IngressClass) Unmarshal(dAtA []byte) error
func (*IngressClass) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *IngressClass) XXX_DiscardUnknown()
func (*IngressClass) XXX_Marshal ¶ added in v0.18.0
func (m *IngressClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressClass) XXX_Merge ¶ added in v0.18.0
func (m *IngressClass) XXX_Merge(src proto.Message)
func (*IngressClass) XXX_Size ¶ added in v0.18.0
func (m *IngressClass) XXX_Size() int
func (*IngressClass) XXX_Unmarshal ¶ added in v0.18.0
func (m *IngressClass) XXX_Unmarshal(b []byte) error
type IngressClassList ¶ added in v0.18.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) APILifecycleDeprecated ¶ added in v0.19.0
func (in *IngressClassList) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*IngressClassList) APILifecycleIntroduced ¶ added in v0.19.0
func (in *IngressClassList) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*IngressClassList) APILifecycleRemoved ¶ added in v0.19.0
func (in *IngressClassList) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*IngressClassList) APILifecycleReplacement ¶ added in v0.19.0
func (in *IngressClassList) APILifecycleReplacement() schema.GroupVersionKind
APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
func (*IngressClassList) DeepCopy ¶ added in v0.18.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.18.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.18.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.18.0
func (*IngressClassList) Descriptor() ([]byte, []int)
func (*IngressClassList) Marshal ¶ added in v0.18.0
func (m *IngressClassList) Marshal() (dAtA []byte, err error)
func (*IngressClassList) MarshalTo ¶ added in v0.18.0
func (m *IngressClassList) MarshalTo(dAtA []byte) (int, error)
func (*IngressClassList) MarshalToSizedBuffer ¶ added in v0.18.0
func (m *IngressClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressClassList) ProtoMessage ¶ added in v0.18.0
func (*IngressClassList) ProtoMessage()
func (*IngressClassList) Reset ¶ added in v0.18.0
func (m *IngressClassList) Reset()
func (*IngressClassList) Size ¶ added in v0.18.0
func (m *IngressClassList) Size() (n int)
func (*IngressClassList) String ¶ added in v0.18.0
func (this *IngressClassList) String() string
func (IngressClassList) SwaggerDoc ¶ added in v0.18.0
func (IngressClassList) SwaggerDoc() map[string]string
func (*IngressClassList) Unmarshal ¶ added in v0.18.0
func (m *IngressClassList) Unmarshal(dAtA []byte) error
func (*IngressClassList) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *IngressClassList) XXX_DiscardUnknown()
func (*IngressClassList) XXX_Marshal ¶ added in v0.18.0
func (m *IngressClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressClassList) XXX_Merge ¶ added in v0.18.0
func (m *IngressClassList) XXX_Merge(src proto.Message)
func (*IngressClassList) XXX_Size ¶ added in v0.18.0
func (m *IngressClassList) XXX_Size() int
func (*IngressClassList) XXX_Unmarshal ¶ added in v0.18.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". 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.18.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.18.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.18.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.18.0
func (*IngressClassSpec) Descriptor() ([]byte, []int)
func (*IngressClassSpec) Marshal ¶ added in v0.18.0
func (m *IngressClassSpec) Marshal() (dAtA []byte, err error)
func (*IngressClassSpec) MarshalTo ¶ added in v0.18.0
func (m *IngressClassSpec) MarshalTo(dAtA []byte) (int, error)
func (*IngressClassSpec) MarshalToSizedBuffer ¶ added in v0.18.0
func (m *IngressClassSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressClassSpec) ProtoMessage ¶ added in v0.18.0
func (*IngressClassSpec) ProtoMessage()
func (*IngressClassSpec) Reset ¶ added in v0.18.0
func (m *IngressClassSpec) Reset()
func (*IngressClassSpec) Size ¶ added in v0.18.0
func (m *IngressClassSpec) Size() (n int)
func (*IngressClassSpec) String ¶ added in v0.18.0
func (this *IngressClassSpec) String() string
func (IngressClassSpec) SwaggerDoc ¶ added in v0.18.0
func (IngressClassSpec) SwaggerDoc() map[string]string
func (*IngressClassSpec) Unmarshal ¶ added in v0.18.0
func (m *IngressClassSpec) Unmarshal(dAtA []byte) error
func (*IngressClassSpec) XXX_DiscardUnknown ¶ added in v0.18.0
func (m *IngressClassSpec) XXX_DiscardUnknown()
func (*IngressClassSpec) XXX_Marshal ¶ added in v0.18.0
func (m *IngressClassSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressClassSpec) XXX_Merge ¶ added in v0.18.0
func (m *IngressClassSpec) XXX_Merge(src proto.Message)
func (*IngressClassSpec) XXX_Size ¶ added in v0.18.0
func (m *IngressClassSpec) XXX_Size() int
func (*IngressClassSpec) XXX_Unmarshal ¶ added in v0.18.0
func (m *IngressClassSpec) XXX_Unmarshal(b []byte) error
type IngressList ¶
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) APILifecycleDeprecated ¶ added in v0.19.0
func (in *IngressList) APILifecycleDeprecated() (major, minor int)
APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.
func (*IngressList) APILifecycleIntroduced ¶ added in v0.19.0
func (in *IngressList) APILifecycleIntroduced() (major, minor int)
APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (*IngressList) APILifecycleRemoved ¶ added in v0.19.0
func (in *IngressList) APILifecycleRemoved() (major, minor int)
APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.
func (*IngressList) APILifecycleReplacement ¶ added in v0.19.0
func (in *IngressList) APILifecycleReplacement() schema.GroupVersionKind
APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.
func (*IngressList) DeepCopy ¶
func (in *IngressList) DeepCopy() *IngressList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressList.
func (*IngressList) DeepCopyInto ¶
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 ¶
func (in *IngressList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IngressList) Descriptor ¶
func (*IngressList) Descriptor() ([]byte, []int)
func (*IngressList) Marshal ¶
func (m *IngressList) Marshal() (dAtA []byte, err error)
func (*IngressList) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *IngressList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressList) ProtoMessage ¶
func (*IngressList) ProtoMessage()
func (*IngressList) Reset ¶
func (m *IngressList) Reset()
func (*IngressList) Size ¶
func (m *IngressList) Size() (n int)
func (*IngressList) String ¶
func (this *IngressList) String() string
func (IngressList) SwaggerDoc ¶
func (IngressList) SwaggerDoc() map[string]string
func (*IngressList) Unmarshal ¶
func (m *IngressList) Unmarshal(dAtA []byte) error
func (*IngressList) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IngressList) XXX_DiscardUnknown()
func (*IngressList) XXX_Marshal ¶ added in v0.16.4
func (m *IngressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressList) XXX_Merge ¶ added in v0.16.4
func (m *IngressList) XXX_Merge(src proto.Message)
func (*IngressList) XXX_Size ¶ added in v0.16.4
func (m *IngressList) XXX_Size() int
func (*IngressList) XXX_Unmarshal ¶ added in v0.16.4
func (m *IngressList) XXX_Unmarshal(b []byte) error
type IngressRule ¶
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 ¶
func (in *IngressRule) DeepCopy() *IngressRule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRule.
func (*IngressRule) DeepCopyInto ¶
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 ¶
func (*IngressRule) Descriptor() ([]byte, []int)
func (*IngressRule) Marshal ¶
func (m *IngressRule) Marshal() (dAtA []byte, err error)
func (*IngressRule) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *IngressRule) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressRule) ProtoMessage ¶
func (*IngressRule) ProtoMessage()
func (*IngressRule) Reset ¶
func (m *IngressRule) Reset()
func (*IngressRule) Size ¶
func (m *IngressRule) Size() (n int)
func (*IngressRule) String ¶
func (this *IngressRule) String() string
func (IngressRule) SwaggerDoc ¶
func (IngressRule) SwaggerDoc() map[string]string
func (*IngressRule) Unmarshal ¶
func (m *IngressRule) Unmarshal(dAtA []byte) error
func (*IngressRule) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IngressRule) XXX_DiscardUnknown()
func (*IngressRule) XXX_Marshal ¶ added in v0.16.4
func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressRule) XXX_Merge ¶ added in v0.16.4
func (m *IngressRule) XXX_Merge(src proto.Message)
func (*IngressRule) XXX_Size ¶ added in v0.16.4
func (m *IngressRule) XXX_Size() int
func (*IngressRule) XXX_Unmarshal ¶ added in v0.16.4
func (m *IngressRule) XXX_Unmarshal(b []byte) error
type IngressRuleValue ¶
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 ¶
func (in *IngressRuleValue) DeepCopy() *IngressRuleValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressRuleValue.
func (*IngressRuleValue) DeepCopyInto ¶
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 ¶
func (*IngressRuleValue) Descriptor() ([]byte, []int)
func (*IngressRuleValue) Marshal ¶
func (m *IngressRuleValue) Marshal() (dAtA []byte, err error)
func (*IngressRuleValue) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *IngressRuleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressRuleValue) ProtoMessage ¶
func (*IngressRuleValue) ProtoMessage()
func (*IngressRuleValue) Reset ¶
func (m *IngressRuleValue) Reset()
func (*IngressRuleValue) Size ¶
func (m *IngressRuleValue) Size() (n int)
func (*IngressRuleValue) String ¶
func (this *IngressRuleValue) String() string
func (IngressRuleValue) SwaggerDoc ¶
func (IngressRuleValue) SwaggerDoc() map[string]string
func (*IngressRuleValue) Unmarshal ¶
func (m *IngressRuleValue) Unmarshal(dAtA []byte) error
func (*IngressRuleValue) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IngressRuleValue) XXX_DiscardUnknown()
func (*IngressRuleValue) XXX_Marshal ¶ added in v0.16.4
func (m *IngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressRuleValue) XXX_Merge ¶ added in v0.16.4
func (m *IngressRuleValue) XXX_Merge(src proto.Message)
func (*IngressRuleValue) XXX_Size ¶ added in v0.16.4
func (m *IngressRuleValue) XXX_Size() int
func (*IngressRuleValue) XXX_Unmarshal ¶ added in v0.16.4
func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error
type IngressSpec ¶
type IngressSpec struct { // IngressClassName is the name of the IngressClass cluster resource. The // associated IngressClass defines which controller will implement the // resource. This replaces the deprecated `kubernetes.io/ingress.class` // annotation. For backwards compatibility, when that annotation is set, it // must be given precedence over this field. The controller may emit a // warning if the field and annotation have different values. // Implementations of this API should ignore Ingresses without a class // specified. An IngressClass resource may be marked as default, which can // be used to set a default value for this field. For more information, // refer to the IngressClass documentation. // +optional IngressClassName *string `json:"ingressClassName,omitempty" protobuf:"bytes,4,opt,name=ingressClassName"` // A default backend capable of servicing requests that don't match any // rule. At least one of 'backend' or 'rules' must be specified. This field // is optional to allow the loadbalancer controller or defaulting logic to // specify a global default. // +optional Backend *IngressBackend `json:"backend,omitempty" protobuf:"bytes,1,opt,name=backend"` // 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. // +optional TLS []IngressTLS `json:"tls,omitempty" protobuf:"bytes,2,rep,name=tls"` // A list of host rules used to configure the Ingress. If unspecified, or // no rule matches, all traffic is sent to the default backend. // +optional Rules []IngressRule `json:"rules,omitempty" protobuf:"bytes,3,rep,name=rules"` }
IngressSpec describes the Ingress the user wishes to exist.
func (*IngressSpec) DeepCopy ¶
func (in *IngressSpec) DeepCopy() *IngressSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressSpec.
func (*IngressSpec) DeepCopyInto ¶
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 ¶
func (*IngressSpec) Descriptor() ([]byte, []int)
func (*IngressSpec) Marshal ¶
func (m *IngressSpec) Marshal() (dAtA []byte, err error)
func (*IngressSpec) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *IngressSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressSpec) ProtoMessage ¶
func (*IngressSpec) ProtoMessage()
func (*IngressSpec) Reset ¶
func (m *IngressSpec) Reset()
func (*IngressSpec) Size ¶
func (m *IngressSpec) Size() (n int)
func (*IngressSpec) String ¶
func (this *IngressSpec) String() string
func (IngressSpec) SwaggerDoc ¶
func (IngressSpec) SwaggerDoc() map[string]string
func (*IngressSpec) Unmarshal ¶
func (m *IngressSpec) Unmarshal(dAtA []byte) error
func (*IngressSpec) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IngressSpec) XXX_DiscardUnknown()
func (*IngressSpec) XXX_Marshal ¶ added in v0.16.4
func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressSpec) XXX_Merge ¶ added in v0.16.4
func (m *IngressSpec) XXX_Merge(src proto.Message)
func (*IngressSpec) XXX_Size ¶ added in v0.16.4
func (m *IngressSpec) XXX_Size() int
func (*IngressSpec) XXX_Unmarshal ¶ added in v0.16.4
func (m *IngressSpec) XXX_Unmarshal(b []byte) error
type IngressStatus ¶
type IngressStatus struct { // LoadBalancer contains the current status of the load-balancer. // +optional LoadBalancer v1.LoadBalancerStatus `json:"loadBalancer,omitempty" protobuf:"bytes,1,opt,name=loadBalancer"` }
IngressStatus describe the current state of the Ingress.
func (*IngressStatus) DeepCopy ¶
func (in *IngressStatus) DeepCopy() *IngressStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressStatus.
func (*IngressStatus) DeepCopyInto ¶
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 ¶
func (*IngressStatus) Descriptor() ([]byte, []int)
func (*IngressStatus) Marshal ¶
func (m *IngressStatus) Marshal() (dAtA []byte, err error)
func (*IngressStatus) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *IngressStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressStatus) ProtoMessage ¶
func (*IngressStatus) ProtoMessage()
func (*IngressStatus) Reset ¶
func (m *IngressStatus) Reset()
func (*IngressStatus) Size ¶
func (m *IngressStatus) Size() (n int)
func (*IngressStatus) String ¶
func (this *IngressStatus) String() string
func (IngressStatus) SwaggerDoc ¶
func (IngressStatus) SwaggerDoc() map[string]string
func (*IngressStatus) Unmarshal ¶
func (m *IngressStatus) Unmarshal(dAtA []byte) error
func (*IngressStatus) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IngressStatus) XXX_DiscardUnknown()
func (*IngressStatus) XXX_Marshal ¶ added in v0.16.4
func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressStatus) XXX_Merge ¶ added in v0.16.4
func (m *IngressStatus) XXX_Merge(src proto.Message)
func (*IngressStatus) XXX_Size ¶ added in v0.16.4
func (m *IngressStatus) XXX_Size() int
func (*IngressStatus) XXX_Unmarshal ¶ added in v0.16.4
func (m *IngressStatus) XXX_Unmarshal(b []byte) error
type IngressTLS ¶
type IngressTLS struct { // Hosts are a list of hosts included in the TLS certificate. The values in // this list must match the name/s used in the tlsSecret. Defaults to the // wildcard host setting for the loadbalancer controller fulfilling this // Ingress, if left unspecified. // +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 ¶
func (in *IngressTLS) DeepCopy() *IngressTLS
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressTLS.
func (*IngressTLS) DeepCopyInto ¶
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 ¶
func (*IngressTLS) Descriptor() ([]byte, []int)
func (*IngressTLS) Marshal ¶
func (m *IngressTLS) Marshal() (dAtA []byte, err error)
func (*IngressTLS) MarshalToSizedBuffer ¶ added in v0.16.4
func (m *IngressTLS) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*IngressTLS) ProtoMessage ¶
func (*IngressTLS) ProtoMessage()
func (*IngressTLS) Reset ¶
func (m *IngressTLS) Reset()
func (*IngressTLS) Size ¶
func (m *IngressTLS) Size() (n int)
func (*IngressTLS) String ¶
func (this *IngressTLS) String() string
func (IngressTLS) SwaggerDoc ¶
func (IngressTLS) SwaggerDoc() map[string]string
func (*IngressTLS) Unmarshal ¶
func (m *IngressTLS) Unmarshal(dAtA []byte) error
func (*IngressTLS) XXX_DiscardUnknown ¶ added in v0.16.4
func (m *IngressTLS) XXX_DiscardUnknown()
func (*IngressTLS) XXX_Marshal ¶ added in v0.16.4
func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressTLS) XXX_Merge ¶ added in v0.16.4
func (m *IngressTLS) XXX_Merge(src proto.Message)
func (*IngressTLS) XXX_Size ¶ added in v0.16.4
func (m *IngressTLS) XXX_Size() int
func (*IngressTLS) XXX_Unmarshal ¶ added in v0.16.4
func (m *IngressTLS) XXX_Unmarshal(b []byte) error