v1beta1

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2019 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/vendor/k8s.io/api/networking/v1beta1/generated.proto

It has these top-level messages:

HTTPIngressPath
HTTPIngressRuleValue
Ingress
IngressBackend
IngressList
IngressRule
IngressRuleValue
IngressSpec
IngressStatus
IngressTLS

Index

Constants

View Source
const GroupName = "networking.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
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
)
View Source
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 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 `json:"path,omitempty" protobuf:"bytes,1,opt,name=path"`

	// 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 regex 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) MarshalTo

func (m *HTTPIngressPath) MarshalTo(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

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

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) 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

type Ingress

type Ingress struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/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/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/api-conventions.md#spec-and-status
	// +optional
	Status IngressStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Ingress is a collection of rules that allow inbound connections to reach the endpoints defined by a backend. An Ingress can be configured to give services externally-reachable urls, load balance traffic, terminate SSL, offer name based virtual hosting etc.

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Ingress) DeepCopyObject

func (in *Ingress) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Ingress) Descriptor

func (*Ingress) Descriptor() ([]byte, []int)

func (*Ingress) Marshal

func (m *Ingress) Marshal() (dAtA []byte, err error)

func (*Ingress) MarshalTo

func (m *Ingress) MarshalTo(dAtA []byte) (int, error)

func (*Ingress) ProtoMessage

func (*Ingress) ProtoMessage()

func (*Ingress) Reset

func (m *Ingress) Reset()

func (*Ingress) Size

func (m *Ingress) Size() (n int)

func (*Ingress) String

func (this *Ingress) String() string

func (Ingress) SwaggerDoc

func (Ingress) SwaggerDoc() map[string]string

func (*Ingress) Unmarshal

func (m *Ingress) Unmarshal(dAtA []byte) error

type IngressBackend

type IngressBackend struct {
	// Specifies the name of the referenced service.
	ServiceName string `json:"serviceName" protobuf:"bytes,1,opt,name=serviceName"`

	// Specifies the port of the referenced service.
	ServicePort intstr.IntOrString `json:"servicePort" protobuf:"bytes,2,opt,name=servicePort"`
}

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) MarshalTo

func (m *IngressBackend) MarshalTo(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

type IngressList

type IngressList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is the list of Ingress.
	Items []Ingress `json:"items" protobuf:"bytes,2,rep,name=items"`
}

IngressList is a collection of Ingress.

func (*IngressList) DeepCopy

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) MarshalTo

func (m *IngressList) MarshalTo(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

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 `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) MarshalTo

func (m *IngressRule) MarshalTo(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

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) MarshalTo

func (m *IngressRuleValue) MarshalTo(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

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 `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) MarshalTo

func (m *IngressSpec) MarshalTo(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

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) MarshalTo

func (m *IngressStatus) MarshalTo(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

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 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 `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) MarshalTo

func (m *IngressTLS) MarshalTo(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

Jump to

Keyboard shortcuts

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