Documentation ¶
Index ¶
- Variables
- type HTTPIngressPath
- func (*HTTPIngressPath) Descriptor() ([]byte, []int)
- func (this *HTTPIngressPath) Equal(that interface{}) bool
- func (m *HTTPIngressPath) GetBackend() *IngressBackend
- func (m *HTTPIngressPath) GetPath() string
- func (this *HTTPIngressPath) GoString() string
- 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 (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 (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)
- func (this *HTTPIngressRuleValue) Equal(that interface{}) bool
- func (m *HTTPIngressRuleValue) GetPaths() []*HTTPIngressPath
- func (this *HTTPIngressRuleValue) GoString() string
- 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 (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 (*Ingress) Descriptor() ([]byte, []int)
- func (this *Ingress) Equal(that interface{}) bool
- func (m *Ingress) GetMetadata() *v1.ObjectMeta
- func (m *Ingress) GetSpec() *IngressSpec
- func (m *Ingress) GetStatus() *IngressStatus
- func (this *Ingress) GoString() string
- 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 (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 (*IngressBackend) Descriptor() ([]byte, []int)
- func (this *IngressBackend) Equal(that interface{}) bool
- func (m *IngressBackend) GetServiceName() string
- func (m *IngressBackend) GetServicePort() *intstr.IntOrString
- func (this *IngressBackend) GoString() string
- 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 (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 IngressList
- func (*IngressList) Descriptor() ([]byte, []int)
- func (this *IngressList) Equal(that interface{}) bool
- func (m *IngressList) GetItems() []*Ingress
- func (m *IngressList) GetMetadata() *v1.ListMeta
- func (this *IngressList) GoString() string
- 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 (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 (*IngressRule) Descriptor() ([]byte, []int)
- func (this *IngressRule) Equal(that interface{}) bool
- func (m *IngressRule) GetHost() string
- func (m *IngressRule) GetIngressRuleValue() *IngressRuleValue
- func (this *IngressRule) GoString() string
- 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 (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 (*IngressRuleValue) Descriptor() ([]byte, []int)
- func (this *IngressRuleValue) Equal(that interface{}) bool
- func (m *IngressRuleValue) GetHttp() *HTTPIngressRuleValue
- func (this *IngressRuleValue) GoString() string
- 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 (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 (*IngressSpec) Descriptor() ([]byte, []int)
- func (this *IngressSpec) Equal(that interface{}) bool
- func (m *IngressSpec) GetBackend() *IngressBackend
- func (m *IngressSpec) GetRules() []*IngressRule
- func (m *IngressSpec) GetTls() []*IngressTLS
- func (this *IngressSpec) GoString() string
- 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 (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 (*IngressStatus) Descriptor() ([]byte, []int)
- func (this *IngressStatus) Equal(that interface{}) bool
- func (m *IngressStatus) GetLoadBalancer() *v11.LoadBalancerStatus
- func (this *IngressStatus) GoString() string
- 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 (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 (*IngressTLS) Descriptor() ([]byte, []int)
- func (this *IngressTLS) Equal(that interface{}) bool
- func (m *IngressTLS) GetHosts() []string
- func (m *IngressTLS) GetSecretName() string
- func (this *IngressTLS) GoString() string
- 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 (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
Constants ¶
This section is empty.
Variables ¶
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type HTTPIngressPath ¶
type HTTPIngressPath struct { // Path is an extended POSIX regex as defined by IEEE Std 1003.1, // (i.e this follows the egrep/unix syntax, not the perl syntax) // 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 '/'. If unspecified, the path defaults to a catch all sending // traffic to the backend. // +optional Path string `protobuf:"bytes,1,opt,name=path" json:"path"` // Backend defines the referenced service endpoint to which the traffic // will be forwarded to. Backend *IngressBackend `protobuf:"bytes,2,opt,name=backend" json:"backend,omitempty"` }
HTTPIngressPath associates a path regex with a backend. Incoming urls matching the path are forwarded to the backend.
func (*HTTPIngressPath) Descriptor ¶
func (*HTTPIngressPath) Descriptor() ([]byte, []int)
func (*HTTPIngressPath) Equal ¶
func (this *HTTPIngressPath) Equal(that interface{}) bool
func (*HTTPIngressPath) GetBackend ¶
func (m *HTTPIngressPath) GetBackend() *IngressBackend
func (*HTTPIngressPath) GetPath ¶
func (m *HTTPIngressPath) GetPath() string
func (*HTTPIngressPath) GoString ¶
func (this *HTTPIngressPath) GoString() string
func (*HTTPIngressPath) Marshal ¶
func (m *HTTPIngressPath) Marshal() (dAtA []byte, err error)
func (*HTTPIngressPath) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *HTTPIngressPath) Unmarshal(dAtA []byte) error
func (*HTTPIngressPath) XXX_DiscardUnknown ¶
func (m *HTTPIngressPath) XXX_DiscardUnknown()
func (*HTTPIngressPath) XXX_Marshal ¶
func (m *HTTPIngressPath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HTTPIngressPath) XXX_Merge ¶
func (m *HTTPIngressPath) XXX_Merge(src proto.Message)
func (*HTTPIngressPath) XXX_Size ¶
func (m *HTTPIngressPath) XXX_Size() int
func (*HTTPIngressPath) XXX_Unmarshal ¶
func (m *HTTPIngressPath) XXX_Unmarshal(b []byte) error
type HTTPIngressRuleValue ¶
type HTTPIngressRuleValue struct { // A collection of paths that map requests to backends. Paths []*HTTPIngressPath `protobuf:"bytes,1,rep,name=paths" json:"paths,omitempty"` }
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) Descriptor ¶
func (*HTTPIngressRuleValue) Descriptor() ([]byte, []int)
func (*HTTPIngressRuleValue) Equal ¶
func (this *HTTPIngressRuleValue) Equal(that interface{}) bool
func (*HTTPIngressRuleValue) GetPaths ¶
func (m *HTTPIngressRuleValue) GetPaths() []*HTTPIngressPath
func (*HTTPIngressRuleValue) GoString ¶
func (this *HTTPIngressRuleValue) GoString() string
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 ¶
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) Unmarshal ¶
func (m *HTTPIngressRuleValue) Unmarshal(dAtA []byte) error
func (*HTTPIngressRuleValue) XXX_DiscardUnknown ¶
func (m *HTTPIngressRuleValue) XXX_DiscardUnknown()
func (*HTTPIngressRuleValue) XXX_Marshal ¶
func (m *HTTPIngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HTTPIngressRuleValue) XXX_Merge ¶
func (m *HTTPIngressRuleValue) XXX_Merge(src proto.Message)
func (*HTTPIngressRuleValue) XXX_Size ¶
func (m *HTTPIngressRuleValue) XXX_Size() int
func (*HTTPIngressRuleValue) XXX_Unmarshal ¶
func (m *HTTPIngressRuleValue) XXX_Unmarshal(b []byte) error
type Ingress ¶
type Ingress struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Spec is the desired state of the Ingress. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status // +optional Spec *IngressSpec `protobuf:"bytes,2,opt,name=spec" json:"spec,omitempty"` // Status is the current state of the Ingress. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status // +optional Status *IngressStatus `protobuf:"bytes,3,opt,name=status" json:"status,omitempty"` }
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) Descriptor ¶
func (*Ingress) GetMetadata ¶
func (m *Ingress) GetMetadata() *v1.ObjectMeta
func (*Ingress) GetSpec ¶
func (m *Ingress) GetSpec() *IngressSpec
func (*Ingress) GetStatus ¶
func (m *Ingress) GetStatus() *IngressStatus
func (*Ingress) MarshalToSizedBuffer ¶
func (*Ingress) ProtoMessage ¶
func (*Ingress) ProtoMessage()
func (*Ingress) XXX_DiscardUnknown ¶
func (m *Ingress) XXX_DiscardUnknown()
func (*Ingress) XXX_Marshal ¶
func (*Ingress) XXX_Unmarshal ¶
type IngressBackend ¶
type IngressBackend struct { // Specifies the name of the referenced service. ServiceName string `protobuf:"bytes,1,opt,name=serviceName" json:"serviceName"` // Specifies the port of the referenced service. ServicePort *intstr.IntOrString `protobuf:"bytes,2,opt,name=servicePort" json:"servicePort,omitempty"` }
IngressBackend describes all endpoints for a given service and port.
func (*IngressBackend) Descriptor ¶
func (*IngressBackend) Descriptor() ([]byte, []int)
func (*IngressBackend) Equal ¶
func (this *IngressBackend) Equal(that interface{}) bool
func (*IngressBackend) GetServiceName ¶
func (m *IngressBackend) GetServiceName() string
func (*IngressBackend) GetServicePort ¶
func (m *IngressBackend) GetServicePort() *intstr.IntOrString
func (*IngressBackend) GoString ¶
func (this *IngressBackend) GoString() string
func (*IngressBackend) Marshal ¶
func (m *IngressBackend) Marshal() (dAtA []byte, err error)
func (*IngressBackend) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *IngressBackend) Unmarshal(dAtA []byte) error
func (*IngressBackend) XXX_DiscardUnknown ¶
func (m *IngressBackend) XXX_DiscardUnknown()
func (*IngressBackend) XXX_Marshal ¶
func (m *IngressBackend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressBackend) XXX_Merge ¶
func (m *IngressBackend) XXX_Merge(src proto.Message)
func (*IngressBackend) XXX_Size ¶
func (m *IngressBackend) XXX_Size() int
func (*IngressBackend) XXX_Unmarshal ¶
func (m *IngressBackend) XXX_Unmarshal(b []byte) error
type IngressList ¶
type IngressList struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // Items is the list of Ingress. Items []*Ingress `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` }
IngressList is a collection of Ingress.
func (*IngressList) Descriptor ¶
func (*IngressList) Descriptor() ([]byte, []int)
func (*IngressList) Equal ¶
func (this *IngressList) Equal(that interface{}) bool
func (*IngressList) GetItems ¶
func (m *IngressList) GetItems() []*Ingress
func (*IngressList) GetMetadata ¶
func (m *IngressList) GetMetadata() *v1.ListMeta
func (*IngressList) GoString ¶
func (this *IngressList) GoString() string
func (*IngressList) Marshal ¶
func (m *IngressList) Marshal() (dAtA []byte, err error)
func (*IngressList) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *IngressList) Unmarshal(dAtA []byte) error
func (*IngressList) XXX_DiscardUnknown ¶
func (m *IngressList) XXX_DiscardUnknown()
func (*IngressList) XXX_Marshal ¶
func (m *IngressList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressList) XXX_Merge ¶
func (m *IngressList) XXX_Merge(src proto.Message)
func (*IngressList) XXX_Size ¶
func (m *IngressList) XXX_Size() int
func (*IngressList) XXX_Unmarshal ¶
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 the RFC: // 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. // +optional Host string `protobuf:"bytes,1,opt,name=host" json:"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 *IngressRuleValue `protobuf:"bytes,2,opt,name=ingressRuleValue" json:"ingressRuleValue,omitempty"` }
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) Descriptor ¶
func (*IngressRule) Descriptor() ([]byte, []int)
func (*IngressRule) Equal ¶
func (this *IngressRule) Equal(that interface{}) bool
func (*IngressRule) GetHost ¶
func (m *IngressRule) GetHost() string
func (*IngressRule) GetIngressRuleValue ¶
func (m *IngressRule) GetIngressRuleValue() *IngressRuleValue
func (*IngressRule) GoString ¶
func (this *IngressRule) GoString() string
func (*IngressRule) Marshal ¶
func (m *IngressRule) Marshal() (dAtA []byte, err error)
func (*IngressRule) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *IngressRule) Unmarshal(dAtA []byte) error
func (*IngressRule) XXX_DiscardUnknown ¶
func (m *IngressRule) XXX_DiscardUnknown()
func (*IngressRule) XXX_Marshal ¶
func (m *IngressRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressRule) XXX_Merge ¶
func (m *IngressRule) XXX_Merge(src proto.Message)
func (*IngressRule) XXX_Size ¶
func (m *IngressRule) XXX_Size() int
func (*IngressRule) XXX_Unmarshal ¶
func (m *IngressRule) XXX_Unmarshal(b []byte) error
type IngressRuleValue ¶
type IngressRuleValue struct { // +optional Http *HTTPIngressRuleValue `protobuf:"bytes,1,opt,name=http" json:"http,omitempty"` }
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) Descriptor ¶
func (*IngressRuleValue) Descriptor() ([]byte, []int)
func (*IngressRuleValue) Equal ¶
func (this *IngressRuleValue) Equal(that interface{}) bool
func (*IngressRuleValue) GetHttp ¶
func (m *IngressRuleValue) GetHttp() *HTTPIngressRuleValue
func (*IngressRuleValue) GoString ¶
func (this *IngressRuleValue) GoString() string
func (*IngressRuleValue) Marshal ¶
func (m *IngressRuleValue) Marshal() (dAtA []byte, err error)
func (*IngressRuleValue) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *IngressRuleValue) Unmarshal(dAtA []byte) error
func (*IngressRuleValue) XXX_DiscardUnknown ¶
func (m *IngressRuleValue) XXX_DiscardUnknown()
func (*IngressRuleValue) XXX_Marshal ¶
func (m *IngressRuleValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressRuleValue) XXX_Merge ¶
func (m *IngressRuleValue) XXX_Merge(src proto.Message)
func (*IngressRuleValue) XXX_Size ¶
func (m *IngressRuleValue) XXX_Size() int
func (*IngressRuleValue) XXX_Unmarshal ¶
func (m *IngressRuleValue) XXX_Unmarshal(b []byte) error
type IngressSpec ¶
type IngressSpec struct { // 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 `protobuf:"bytes,1,opt,name=backend" json:"backend,omitempty"` // 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 `protobuf:"bytes,2,rep,name=tls" json:"tls,omitempty"` // 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 `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"` }
IngressSpec describes the Ingress the user wishes to exist.
func (*IngressSpec) Descriptor ¶
func (*IngressSpec) Descriptor() ([]byte, []int)
func (*IngressSpec) Equal ¶
func (this *IngressSpec) Equal(that interface{}) bool
func (*IngressSpec) GetBackend ¶
func (m *IngressSpec) GetBackend() *IngressBackend
func (*IngressSpec) GetRules ¶
func (m *IngressSpec) GetRules() []*IngressRule
func (*IngressSpec) GetTls ¶
func (m *IngressSpec) GetTls() []*IngressTLS
func (*IngressSpec) GoString ¶
func (this *IngressSpec) GoString() string
func (*IngressSpec) Marshal ¶
func (m *IngressSpec) Marshal() (dAtA []byte, err error)
func (*IngressSpec) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *IngressSpec) Unmarshal(dAtA []byte) error
func (*IngressSpec) XXX_DiscardUnknown ¶
func (m *IngressSpec) XXX_DiscardUnknown()
func (*IngressSpec) XXX_Marshal ¶
func (m *IngressSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressSpec) XXX_Merge ¶
func (m *IngressSpec) XXX_Merge(src proto.Message)
func (*IngressSpec) XXX_Size ¶
func (m *IngressSpec) XXX_Size() int
func (*IngressSpec) XXX_Unmarshal ¶
func (m *IngressSpec) XXX_Unmarshal(b []byte) error
type IngressStatus ¶
type IngressStatus struct { // LoadBalancer contains the current status of the load-balancer. // +optional LoadBalancer *v11.LoadBalancerStatus `protobuf:"bytes,1,opt,name=loadBalancer" json:"loadBalancer,omitempty"` }
IngressStatus describe the current state of the Ingress.
func (*IngressStatus) Descriptor ¶
func (*IngressStatus) Descriptor() ([]byte, []int)
func (*IngressStatus) Equal ¶
func (this *IngressStatus) Equal(that interface{}) bool
func (*IngressStatus) GetLoadBalancer ¶
func (m *IngressStatus) GetLoadBalancer() *v11.LoadBalancerStatus
func (*IngressStatus) GoString ¶
func (this *IngressStatus) GoString() string
func (*IngressStatus) Marshal ¶
func (m *IngressStatus) Marshal() (dAtA []byte, err error)
func (*IngressStatus) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *IngressStatus) Unmarshal(dAtA []byte) error
func (*IngressStatus) XXX_DiscardUnknown ¶
func (m *IngressStatus) XXX_DiscardUnknown()
func (*IngressStatus) XXX_Marshal ¶
func (m *IngressStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressStatus) XXX_Merge ¶
func (m *IngressStatus) XXX_Merge(src proto.Message)
func (*IngressStatus) XXX_Size ¶
func (m *IngressStatus) XXX_Size() int
func (*IngressStatus) XXX_Unmarshal ¶
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 `protobuf:"bytes,1,rep,name=hosts" json:"hosts,omitempty"` // SecretName is the name of the secret used to terminate SSL traffic on 443. // Field is left optional to allow SSL 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 `protobuf:"bytes,2,opt,name=secretName" json:"secretName"` }
IngressTLS describes the transport layer security associated with an Ingress.
func (*IngressTLS) Descriptor ¶
func (*IngressTLS) Descriptor() ([]byte, []int)
func (*IngressTLS) Equal ¶
func (this *IngressTLS) Equal(that interface{}) bool
func (*IngressTLS) GetHosts ¶
func (m *IngressTLS) GetHosts() []string
func (*IngressTLS) GetSecretName ¶
func (m *IngressTLS) GetSecretName() string
func (*IngressTLS) GoString ¶
func (this *IngressTLS) GoString() string
func (*IngressTLS) Marshal ¶
func (m *IngressTLS) Marshal() (dAtA []byte, err error)
func (*IngressTLS) MarshalToSizedBuffer ¶
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) Unmarshal ¶
func (m *IngressTLS) Unmarshal(dAtA []byte) error
func (*IngressTLS) XXX_DiscardUnknown ¶
func (m *IngressTLS) XXX_DiscardUnknown()
func (*IngressTLS) XXX_Marshal ¶
func (m *IngressTLS) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressTLS) XXX_Merge ¶
func (m *IngressTLS) XXX_Merge(src proto.Message)
func (*IngressTLS) XXX_Size ¶
func (m *IngressTLS) XXX_Size() int
func (*IngressTLS) XXX_Unmarshal ¶
func (m *IngressTLS) XXX_Unmarshal(b []byte) error