v1alpha1pre1

package
v0.0.0-...-042811d Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1pre1 contains API Schema definitions for the networking v1alpha1pre1 API group +kubebuilder:object:generate=true +groupName=networking.x-k8s.io

Index

Constants

View Source
const (
	// HeaderMatchTypeExact matches HTTP request-header fields.
	// Field names matches are case-insensitive while field values matches
	// are case-sensitive.
	HeaderMatchTypeExact                = "Exact"
	HeaderMatchTypeImplementionSpecific = "ImplementationSpecific"
)

HeaderMatchType constants.

View Source
const (
	// TLS1_0 denotes the TLS v1.0.
	TLS1_0 = "TLS1_0"
	// TLS1_1 denotes the TLS v1.1.
	TLS1_1 = "TLS1_1"
	// TLS1_2 denotes the TLS v1.2.
	TLS1_2 = "TLS1_2"
	// TLS1_3 denotes the TLS v1.3.
	TLS1_3 = "TLS1_3"
)
View Source
const GroupName = "networking.x-k8s.io"

GroupName specifies the group name used to register the objects.

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	// Depreciated: use Install instead
	AddToScheme = localSchemeBuilder.AddToScheme
	Install     = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1pre1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1pre1"}

SchemeGroupVersion is group version used to register these objects Deprecated: use GroupVersion instead.

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AddressType

type AddressType string

AddressType defines how a network address is represented as a text string.

const (
	// IPAddressType a textual representation of a numeric IP
	// address. IPv4 addresses, must be in dotted-decimal
	// form. IPv6 addresses must be in a standard IPv6 text
	// representation (see RFC 5952).
	//
	// Implementations should accept any address representation
	// accepted by the inet_pton(3) API.
	//
	// Support: Extended.
	IPAddressType AddressType = "IPAddress"
	// NamedAddressType is an address selected by name. The interpretation of
	// the name is dependent on the controller.
	//
	// Support: Implementation-specific.
	NamedAddressType AddressType = "NamedAddress"
)

type CertificateObjectReference

type CertificateObjectReference = SecretsDefaultLocalObjectReference

CertificateObjectReference identifies a certificate object within a known namespace.

+k8s:deepcopy-gen=false

type ConfigMapsDefaultLocalObjectReference

type ConfigMapsDefaultLocalObjectReference struct {
	// Group is the group of the referent.  Omitting the value or specifying
	// the empty string indicates the core API group.  For example, use the
	// following to specify a configmaps:
	//
	// fooRef:
	//   resource: configmaps
	//   name: myconfigmap
	//
	// Otherwise, if the core API group is not desired, specify the desired
	// group:
	//
	// fooRef:
	//   group: acme.io
	//   resource: foos
	//   name: myfoo
	//
	// +optional
	// +kubebuilder:default=core
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
	// Resource is the API resource name of the referent. Omitting the value
	// or specifying the empty string indicates the configmaps resource. For
	// example, use the following to specify a configmaps resource:
	//
	// fooRef:
	//   name: myconfigmap
	//
	// Otherwise, if the configmaps resource is not desired, specify the desired
	// group:
	//
	// fooRef:
	//   group: acme.io
	//   resource: foos
	//   name: myfoo
	//
	// +optional
	// +kubebuilder:default=configmaps
	Resource string `json:"resource" protobuf:"bytes,2,opt,name=resource"`
	// Name is the name of the referent.
	//
	// +kubebuilder:validation:Required
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
}

ConfigMapsDefaultLocalObjectReference identifies an API object within a known namespace that defaults group to core and resource to configmaps if unspecified.

func (*ConfigMapsDefaultLocalObjectReference) DeepCopy

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

func (*ConfigMapsDefaultLocalObjectReference) DeepCopyInto

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

func (*ConfigMapsDefaultLocalObjectReference) Descriptor

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

func (*ConfigMapsDefaultLocalObjectReference) Marshal

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

func (*ConfigMapsDefaultLocalObjectReference) MarshalTo

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

func (*ConfigMapsDefaultLocalObjectReference) MarshalToSizedBuffer

func (m *ConfigMapsDefaultLocalObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapsDefaultLocalObjectReference) ProtoMessage

func (*ConfigMapsDefaultLocalObjectReference) ProtoMessage()

func (*ConfigMapsDefaultLocalObjectReference) Reset

func (*ConfigMapsDefaultLocalObjectReference) Size

func (*ConfigMapsDefaultLocalObjectReference) String

func (*ConfigMapsDefaultLocalObjectReference) Unmarshal

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

func (*ConfigMapsDefaultLocalObjectReference) XXX_DiscardUnknown

func (m *ConfigMapsDefaultLocalObjectReference) XXX_DiscardUnknown()

func (*ConfigMapsDefaultLocalObjectReference) XXX_Marshal

func (m *ConfigMapsDefaultLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapsDefaultLocalObjectReference) XXX_Merge

func (*ConfigMapsDefaultLocalObjectReference) XXX_Size

func (*ConfigMapsDefaultLocalObjectReference) XXX_Unmarshal

func (m *ConfigMapsDefaultLocalObjectReference) XXX_Unmarshal(b []byte) error

type ForwardToTarget

type ForwardToTarget struct {
	// TargetRef is an object reference to forward matched requests to.
	// The resource may be "services" (omit or use the empty string for the
	// group), or an implementation may support other resources (for
	// example, resource "myroutetargets" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "services".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the HTTPRoute will be true.
	//
	// Support: Core (Kubernetes Services)
	// Support: Implementation-specific (Other resource types)
	//
	TargetRef ForwardToTargetObjectReference `json:"targetRef" protobuf:"bytes,1,opt,name=targetRef"`

	// TargetPort specifies the destination port number to use for the TargetRef.
	// If unspecified and TargetRef is a Service object consisting of a single
	// port definition, that port will be used. If unspecified and TargetRef is
	// a Service object consisting of multiple port definitions, an error is
	// surfaced in status.
	//
	// Support: Core
	//
	// +optional
	TargetPort *TargetPort `json:"targetPort,omitempty" protobuf:"bytes,2,opt,name=targetPort"`

	// Weight specifies the proportion of traffic to be forwarded to a targetRef,
	// computed as weight/(sum of all weights in targetRefs). Weight is not a
	// percentage and the sum of weights does not need to equal 100. The following
	// example (in yaml) sends 70% of traffic to service "my-trafficsplit-sv1" and
	// 30% of the traffic to service "my-trafficsplit-sv2":
	//
	//   forwardTo:
	//     - targetRef:
	//         name: my-trafficsplit-sv1
	//         weight: 70
	//     - targetRef:
	//         name: my-trafficsplit-sv2
	//         weight: 30
	//
	// If only one targetRef is specified, 100% of the traffic is forwarded to the
	// targetRef. If unspecified, weight defaults to 1.
	//
	// Support: Core
	//
	// +optional
	// +kubebuilder:default=1
	// +optional
	Weight TargetWeight `json:"weight" protobuf:"bytes,3,opt,name=weight"`
}

ForwardToTarget identifies a target object within a known namespace.

func (*ForwardToTarget) DeepCopy

func (in *ForwardToTarget) DeepCopy() *ForwardToTarget

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

func (*ForwardToTarget) DeepCopyInto

func (in *ForwardToTarget) DeepCopyInto(out *ForwardToTarget)

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

func (*ForwardToTarget) Descriptor

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

func (*ForwardToTarget) Marshal

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

func (*ForwardToTarget) MarshalTo

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

func (*ForwardToTarget) MarshalToSizedBuffer

func (m *ForwardToTarget) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ForwardToTarget) ProtoMessage

func (*ForwardToTarget) ProtoMessage()

func (*ForwardToTarget) Reset

func (m *ForwardToTarget) Reset()

func (*ForwardToTarget) Size

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

func (*ForwardToTarget) String

func (this *ForwardToTarget) String() string

func (*ForwardToTarget) Unmarshal

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

func (*ForwardToTarget) XXX_DiscardUnknown

func (m *ForwardToTarget) XXX_DiscardUnknown()

func (*ForwardToTarget) XXX_Marshal

func (m *ForwardToTarget) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ForwardToTarget) XXX_Merge

func (m *ForwardToTarget) XXX_Merge(src proto.Message)

func (*ForwardToTarget) XXX_Size

func (m *ForwardToTarget) XXX_Size() int

func (*ForwardToTarget) XXX_Unmarshal

func (m *ForwardToTarget) XXX_Unmarshal(b []byte) error

type ForwardToTargetObjectReference

type ForwardToTargetObjectReference = ServicesDefaultLocalObjectReference

ForwardToTargetObjectReference identifies a target object of a ForwardTo route action within a known namespace.

+k8s:deepcopy-gen=false

type Gateway

type Gateway struct {
	metav1.TypeMeta   `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`

	Spec   GatewaySpec   `json:"spec,omitempty" protobuf:"bytes,3,opt,name=spec"`
	Status GatewayStatus `json:"status,omitempty" protobuf:"bytes,4,opt,name=status"`
}

Gateway represents an instantiation of a service-traffic handling infrastructure by binding Listeners to a set of IP addresses.

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

func (*Gateway) Descriptor

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

func (*Gateway) Marshal

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

func (*Gateway) MarshalTo

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

func (*Gateway) MarshalToSizedBuffer

func (m *Gateway) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Gateway) ProtoMessage

func (*Gateway) ProtoMessage()

func (*Gateway) Reset

func (m *Gateway) Reset()

func (*Gateway) Size

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

func (*Gateway) String

func (this *Gateway) String() string

func (*Gateway) Unmarshal

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

func (*Gateway) XXX_DiscardUnknown

func (m *Gateway) XXX_DiscardUnknown()

func (*Gateway) XXX_Marshal

func (m *Gateway) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Gateway) XXX_Merge

func (m *Gateway) XXX_Merge(src proto.Message)

func (*Gateway) XXX_Size

func (m *Gateway) XXX_Size() int

func (*Gateway) XXX_Unmarshal

func (m *Gateway) XXX_Unmarshal(b []byte) error

type GatewayAddress

type GatewayAddress struct {
	// Type of the Address. This is either "IPAddress" or "NamedAddress".
	//
	// Support: Extended
	//
	// +optional
	// +kubebuilder:validation:Enum=IPAddress;NamedAddress
	// +kubebuilder:default=IPAddress
	Type AddressType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=AddressType"`

	// Value. Examples: "1.2.3.4", "128::1", "my-ip-address". Validity of the
	// values will depend on `Type` and support by the controller.
	//
	// +required
	Value string `json:"value" protobuf:"bytes,2,opt,name=value"`
}

GatewayAddress describes an address that can be bound to a Gateway.

func (*GatewayAddress) DeepCopy

func (in *GatewayAddress) DeepCopy() *GatewayAddress

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

func (*GatewayAddress) DeepCopyInto

func (in *GatewayAddress) DeepCopyInto(out *GatewayAddress)

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

func (*GatewayAddress) Descriptor

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

func (*GatewayAddress) Marshal

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

func (*GatewayAddress) MarshalTo

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

func (*GatewayAddress) MarshalToSizedBuffer

func (m *GatewayAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayAddress) ProtoMessage

func (*GatewayAddress) ProtoMessage()

func (*GatewayAddress) Reset

func (m *GatewayAddress) Reset()

func (*GatewayAddress) Size

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

func (*GatewayAddress) String

func (this *GatewayAddress) String() string

func (*GatewayAddress) Unmarshal

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

func (*GatewayAddress) XXX_DiscardUnknown

func (m *GatewayAddress) XXX_DiscardUnknown()

func (*GatewayAddress) XXX_Marshal

func (m *GatewayAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayAddress) XXX_Merge

func (m *GatewayAddress) XXX_Merge(src proto.Message)

func (*GatewayAddress) XXX_Size

func (m *GatewayAddress) XXX_Size() int

func (*GatewayAddress) XXX_Unmarshal

func (m *GatewayAddress) XXX_Unmarshal(b []byte) error

type GatewayClass

type GatewayClass struct {
	metav1.TypeMeta   `json:",inline" protobuf:"bytes,4,opt,name=typeMeta"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec for this GatewayClass.
	Spec GatewayClassSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	// Status of the GatewayClass.
	// +kubebuilder:default={conditions: {{type: "InvalidParameters", status: "Unknown"}}}
	Status GatewayClassStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

GatewayClass describes a class of Gateways available to the user for creating Gateway resources.

GatewayClass is a Cluster level resource.

Support: Core.

func (*GatewayClass) DeepCopy

func (in *GatewayClass) DeepCopy() *GatewayClass

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

func (*GatewayClass) DeepCopyInto

func (in *GatewayClass) DeepCopyInto(out *GatewayClass)

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

func (*GatewayClass) DeepCopyObject

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

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

func (*GatewayClass) Descriptor

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

func (*GatewayClass) Marshal

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

func (*GatewayClass) MarshalTo

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

func (*GatewayClass) MarshalToSizedBuffer

func (m *GatewayClass) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayClass) ProtoMessage

func (*GatewayClass) ProtoMessage()

func (*GatewayClass) Reset

func (m *GatewayClass) Reset()

func (*GatewayClass) Size

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

func (*GatewayClass) String

func (this *GatewayClass) String() string

func (*GatewayClass) Unmarshal

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

func (*GatewayClass) XXX_DiscardUnknown

func (m *GatewayClass) XXX_DiscardUnknown()

func (*GatewayClass) XXX_Marshal

func (m *GatewayClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayClass) XXX_Merge

func (m *GatewayClass) XXX_Merge(src proto.Message)

func (*GatewayClass) XXX_Size

func (m *GatewayClass) XXX_Size() int

func (*GatewayClass) XXX_Unmarshal

func (m *GatewayClass) XXX_Unmarshal(b []byte) error

type GatewayClassCondition

type GatewayClassCondition struct {
	// Type of this condition.
	//
	// +required
	Type GatewayClassConditionType `json:"type" protobuf:"bytes,1,opt,name=type"`
	// Status of this condition.
	//
	// +required
	Status core.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status"`
	// Reason is a machine consumable string for the last
	// transition. It should be a one-word, CamelCase
	// string. Reason will be defined by the controller.
	//
	// Support: Custom; values will be controller-specific.
	// This field must not be empty.
	//
	// +required
	Reason string `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason"`
	// Message is a human readable reason for last transition.
	// This field may be empty.
	//
	// +required
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
	// LastTransitionTime is the time of the last change to this condition.
	// This should be when the underlying condition changed.
	// If that is not known, then using the time when the API field changed is acceptable.
	//
	// +required
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,5,opt,name=lastTransitionTime"`
	// If set, this represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	//
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,6,opt,name=observedGeneration"`
}

GatewayClassCondition contains the details for the current condition of this GatewayClass.

Support: Core, unless otherwise specified.

func (*GatewayClassCondition) DeepCopy

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

func (*GatewayClassCondition) DeepCopyInto

func (in *GatewayClassCondition) DeepCopyInto(out *GatewayClassCondition)

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

func (*GatewayClassCondition) Descriptor

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

func (*GatewayClassCondition) Marshal

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

func (*GatewayClassCondition) MarshalTo

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

func (*GatewayClassCondition) MarshalToSizedBuffer

func (m *GatewayClassCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayClassCondition) ProtoMessage

func (*GatewayClassCondition) ProtoMessage()

func (*GatewayClassCondition) Reset

func (m *GatewayClassCondition) Reset()

func (*GatewayClassCondition) Size

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

func (*GatewayClassCondition) String

func (this *GatewayClassCondition) String() string

func (*GatewayClassCondition) Unmarshal

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

func (*GatewayClassCondition) XXX_DiscardUnknown

func (m *GatewayClassCondition) XXX_DiscardUnknown()

func (*GatewayClassCondition) XXX_Marshal

func (m *GatewayClassCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayClassCondition) XXX_Merge

func (m *GatewayClassCondition) XXX_Merge(src proto.Message)

func (*GatewayClassCondition) XXX_Size

func (m *GatewayClassCondition) XXX_Size() int

func (*GatewayClassCondition) XXX_Unmarshal

func (m *GatewayClassCondition) XXX_Unmarshal(b []byte) error

type GatewayClassConditionType

type GatewayClassConditionType string

GatewayClassConditionType is the type of status conditions.

const (
	// GatewayClassConditionStatusInvalidParameters indicates the
	// validity of the Parameters set for a given controller. This
	// will initially start off as "Unknown".
	GatewayClassConditionStatusInvalidParameters GatewayClassConditionType = "InvalidParameters"
)

type GatewayClassList

type GatewayClassList struct {
	metav1.TypeMeta `json:",inline" protobuf:"bytes,3,opt,name=typeMeta"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []GatewayClass `json:"items" protobuf:"bytes,2,rep,name=items"`
}

GatewayClassList contains a list of GatewayClass

func (*GatewayClassList) DeepCopy

func (in *GatewayClassList) DeepCopy() *GatewayClassList

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

func (*GatewayClassList) DeepCopyInto

func (in *GatewayClassList) DeepCopyInto(out *GatewayClassList)

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

func (*GatewayClassList) DeepCopyObject

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

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

func (*GatewayClassList) Descriptor

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

func (*GatewayClassList) Marshal

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

func (*GatewayClassList) MarshalTo

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

func (*GatewayClassList) MarshalToSizedBuffer

func (m *GatewayClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayClassList) ProtoMessage

func (*GatewayClassList) ProtoMessage()

func (*GatewayClassList) Reset

func (m *GatewayClassList) Reset()

func (*GatewayClassList) Size

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

func (*GatewayClassList) String

func (this *GatewayClassList) String() string

func (*GatewayClassList) Unmarshal

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

func (*GatewayClassList) XXX_DiscardUnknown

func (m *GatewayClassList) XXX_DiscardUnknown()

func (*GatewayClassList) XXX_Marshal

func (m *GatewayClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayClassList) XXX_Merge

func (m *GatewayClassList) XXX_Merge(src proto.Message)

func (*GatewayClassList) XXX_Size

func (m *GatewayClassList) XXX_Size() int

func (*GatewayClassList) XXX_Unmarshal

func (m *GatewayClassList) XXX_Unmarshal(b []byte) error

type GatewayClassParametersObjectReference

type GatewayClassParametersObjectReference = ConfigMapsDefaultLocalObjectReference

GatewayClassParametersObjectReference identifies a parameters object for a gateway class within a known namespace.

+k8s:deepcopy-gen=false

type GatewayClassSpec

type GatewayClassSpec struct {
	// Controller is a domain/path string that indicates the
	// controller that managing Gateways of this class.
	//
	// Example: "acme.io/gateway-controller".
	//
	// This field is not mutable and cannot be empty.
	//
	// The format of this field is DOMAIN "/" PATH, where DOMAIN
	// and PATH are valid Kubernetes names
	// (https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
	//
	// Support: Core
	//
	// +required
	Controller string `json:"controller" protobuf:"bytes,1,opt,name=controller"`

	// AllowedGatewayNamespaceSelector is a selector of namespaces that Gateways
	// can use this GatewayClass from. This is a standard Kubernetes
	// LabelSelector, a label query over a set of resources. The result of
	// matchLabels and matchExpressions are ANDed. Controllers must not support
	// Gateways in namespaces outside this selector.
	//
	// An empty selector (default) indicates that Gateways can use this
	// GatewayClass from any namespace.
	//
	// When a Gateway attempts to use this class from a namespace that is not
	// allowed by this selector, the controller implementing the GatewayClass
	// may add a new "ForbiddenNamespaceForClass" condition to the Gateway
	// status. Adding this condition is considered optional since not all
	// controllers will have access to all namespaces.
	//
	// Support: Core
	//
	// +optional
	AllowedGatewayNamespaceSelector metav1.LabelSelector `json:"allowedGatewayNamespaceSelector" protobuf:"bytes,2,opt,name=allowedGatewayNamespaceSelector"`

	// AllowedRouteNamespaces indicates in which namespaces Routes can be
	// selected for Gateways of this class. This is restricted to the namespace
	// of the Gateway by default.
	//
	// When any Routes are selected by a Gateway in a namespace that is not
	// allowed by this selector, the controller implementing the GatewayClass
	// may add a new "ForbiddenRoutesForClass" condition to the Gateway status.
	// Adding this condition is considered optional since not all controllers
	// will have access to all namespaces.
	//
	// Support: Core
	//
	// +optional
	// +kubebuilder:default={onlySameNamespace:true}
	AllowedRouteNamespaces RouteNamespaces `json:"allowedRouteNamespaces,omitempty" protobuf:"bytes,3,opt,name=allowedRouteNamespaces"`

	// ParametersRef is a controller specific resource containing
	// the configuration parameters corresponding to this
	// class. This is optional if the controller does not require
	// any additional configuration.
	//
	// Valid resources for reference are up to the Controller. Examples
	// include "configmaps" (omit or specify the empty string for the group
	// to indicate the core API group) or a custom resource (CRD).  Omitting
	// or specifying the empty string for both the resource and group
	// indicates that the resource is "configmaps".  If the referent cannot
	// be found, the GatewayClass's "InvalidParameters" status condition
	// will be true.
	//
	// Support: Custom
	//
	// +optional
	// +protobuf=false
	ParametersRef *GatewayClassParametersObjectReference `json:"parametersRef,omitempty" protobuf:"bytes,4,opt,name=parametersRef"`
}

GatewayClassSpec reflects the configuration of a class of Gateways.

func (*GatewayClassSpec) DeepCopy

func (in *GatewayClassSpec) DeepCopy() *GatewayClassSpec

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

func (*GatewayClassSpec) DeepCopyInto

func (in *GatewayClassSpec) DeepCopyInto(out *GatewayClassSpec)

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

func (*GatewayClassSpec) Descriptor

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

func (*GatewayClassSpec) Marshal

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

func (*GatewayClassSpec) MarshalTo

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

func (*GatewayClassSpec) MarshalToSizedBuffer

func (m *GatewayClassSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayClassSpec) ProtoMessage

func (*GatewayClassSpec) ProtoMessage()

func (*GatewayClassSpec) Reset

func (m *GatewayClassSpec) Reset()

func (*GatewayClassSpec) Size

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

func (*GatewayClassSpec) String

func (this *GatewayClassSpec) String() string

func (*GatewayClassSpec) Unmarshal

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

func (*GatewayClassSpec) XXX_DiscardUnknown

func (m *GatewayClassSpec) XXX_DiscardUnknown()

func (*GatewayClassSpec) XXX_Marshal

func (m *GatewayClassSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayClassSpec) XXX_Merge

func (m *GatewayClassSpec) XXX_Merge(src proto.Message)

func (*GatewayClassSpec) XXX_Size

func (m *GatewayClassSpec) XXX_Size() int

func (*GatewayClassSpec) XXX_Unmarshal

func (m *GatewayClassSpec) XXX_Unmarshal(b []byte) error

type GatewayClassStatus

type GatewayClassStatus struct {
	// Conditions is the current status from the controller for
	// this GatewayClass.
	// +optional
	// +kubebuilder:default={{type: "InvalidParameters", status: "Unknown"}}
	Conditions []GatewayClassCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"`
}

GatewayClassStatus is the current status for the GatewayClass.

func (*GatewayClassStatus) DeepCopy

func (in *GatewayClassStatus) DeepCopy() *GatewayClassStatus

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

func (*GatewayClassStatus) DeepCopyInto

func (in *GatewayClassStatus) DeepCopyInto(out *GatewayClassStatus)

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

func (*GatewayClassStatus) Descriptor

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

func (*GatewayClassStatus) Marshal

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

func (*GatewayClassStatus) MarshalTo

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

func (*GatewayClassStatus) MarshalToSizedBuffer

func (m *GatewayClassStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayClassStatus) ProtoMessage

func (*GatewayClassStatus) ProtoMessage()

func (*GatewayClassStatus) Reset

func (m *GatewayClassStatus) Reset()

func (*GatewayClassStatus) Size

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

func (*GatewayClassStatus) String

func (this *GatewayClassStatus) String() string

func (*GatewayClassStatus) Unmarshal

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

func (*GatewayClassStatus) XXX_DiscardUnknown

func (m *GatewayClassStatus) XXX_DiscardUnknown()

func (*GatewayClassStatus) XXX_Marshal

func (m *GatewayClassStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayClassStatus) XXX_Merge

func (m *GatewayClassStatus) XXX_Merge(src proto.Message)

func (*GatewayClassStatus) XXX_Size

func (m *GatewayClassStatus) XXX_Size() int

func (*GatewayClassStatus) XXX_Unmarshal

func (m *GatewayClassStatus) XXX_Unmarshal(b []byte) error

type GatewayCondition

type GatewayCondition struct {
	// Type indicates the type of condition.
	//
	// +required
	Type GatewayConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=GatewayConditionType"`
	// Status describes the current state of this condition. Can be "True",
	// "False", or "Unknown".
	//
	// +required
	Status core.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Message is a human-understandable message describing the condition.
	// This field may be empty.
	//
	// +required
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`
	// Reason indicates why the condition is in this state.
	// This field must not be empty.
	//
	// +required
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// LastTransitionTime indicates the last time this condition changed.
	// This should be when the underlying condition changed.
	// If that is not known, then using the time when the API field changed is acceptable.
	//
	// +required
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,5,opt,name=lastTransitionTime"`
	// If set, this represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	//
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,6,opt,name=observedGeneration"`
}

GatewayCondition is an error status for a given route.

func (*GatewayCondition) DeepCopy

func (in *GatewayCondition) DeepCopy() *GatewayCondition

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

func (*GatewayCondition) DeepCopyInto

func (in *GatewayCondition) DeepCopyInto(out *GatewayCondition)

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

func (*GatewayCondition) Descriptor

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

func (*GatewayCondition) Marshal

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

func (*GatewayCondition) MarshalTo

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

func (*GatewayCondition) MarshalToSizedBuffer

func (m *GatewayCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayCondition) ProtoMessage

func (*GatewayCondition) ProtoMessage()

func (*GatewayCondition) Reset

func (m *GatewayCondition) Reset()

func (*GatewayCondition) Size

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

func (*GatewayCondition) String

func (this *GatewayCondition) String() string

func (*GatewayCondition) Unmarshal

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

func (*GatewayCondition) XXX_DiscardUnknown

func (m *GatewayCondition) XXX_DiscardUnknown()

func (*GatewayCondition) XXX_Marshal

func (m *GatewayCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayCondition) XXX_Merge

func (m *GatewayCondition) XXX_Merge(src proto.Message)

func (*GatewayCondition) XXX_Size

func (m *GatewayCondition) XXX_Size() int

func (*GatewayCondition) XXX_Unmarshal

func (m *GatewayCondition) XXX_Unmarshal(b []byte) error

type GatewayConditionType

type GatewayConditionType string

GatewayConditionType is a type of condition associated with a Gateway.

const (
	// ConditionNoSuchGatewayClass indicates that the specified GatewayClass
	// does not exist.
	ConditionNoSuchGatewayClass GatewayConditionType = "NoSuchGatewayClass"

	// ConditionForbiddenNamespaceForClass indicates that this Gateway is in
	// a namespace forbidden by the GatewayClass.
	ConditionForbiddenNamespaceForClass GatewayConditionType = "ForbiddenNamespaceForClass"

	// ConditionGatewayNotScheduled indicates that the Gateway has not been
	// scheduled.
	ConditionGatewayNotScheduled GatewayConditionType = "GatewayNotScheduled"

	// ConditionListenersNotReady indicates that at least one of the specified
	// listeners is not ready. If this condition has a status of True, a more
	// detailed ListenerCondition should be present in the corresponding
	// ListenerStatus.
	ConditionListenersNotReady GatewayConditionType = "ListenersNotReady"

	// ConditionInvalidListeners indicates that at least one of the specified
	// listeners is invalid. If this condition has a status of True, a more
	// detailed ListenerCondition should be present in the corresponding
	// ListenerStatus.
	ConditionInvalidListeners GatewayConditionType = "InvalidListeners"

	// ConditionInvalidAddress indicates one or more of the
	// Gateway's Addresses is invalid or could not be assigned.
	ConditionInvalidAddress GatewayConditionType = "InvalidAddress"
)

type GatewayList

type GatewayList struct {
	metav1.TypeMeta `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`
	Items           []Gateway `json:"items" protobuf:"bytes,3,rep,name=items"`
}

GatewayList contains a list of Gateway

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

func (*GatewayList) Descriptor

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

func (*GatewayList) Marshal

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

func (*GatewayList) MarshalTo

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

func (*GatewayList) MarshalToSizedBuffer

func (m *GatewayList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayList) ProtoMessage

func (*GatewayList) ProtoMessage()

func (*GatewayList) Reset

func (m *GatewayList) Reset()

func (*GatewayList) Size

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

func (*GatewayList) String

func (this *GatewayList) String() string

func (*GatewayList) Unmarshal

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

func (*GatewayList) XXX_DiscardUnknown

func (m *GatewayList) XXX_DiscardUnknown()

func (*GatewayList) XXX_Marshal

func (m *GatewayList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayList) XXX_Merge

func (m *GatewayList) XXX_Merge(src proto.Message)

func (*GatewayList) XXX_Size

func (m *GatewayList) XXX_Size() int

func (*GatewayList) XXX_Unmarshal

func (m *GatewayList) XXX_Unmarshal(b []byte) error

type GatewayObjectReference

type GatewayObjectReference struct {
	// Namespace is the namespace of the referent.
	// +optional
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// Name is the name of the referent.
	//
	// +kubebuilder:validation:Required
	// +required
	Name string `json:"name" protobuf:"bytes,2,opt,name=name"`
}

GatewayObjectReference identifies a Gateway object.

func (*GatewayObjectReference) DeepCopy

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

func (*GatewayObjectReference) DeepCopyInto

func (in *GatewayObjectReference) DeepCopyInto(out *GatewayObjectReference)

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

func (*GatewayObjectReference) Descriptor

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

func (*GatewayObjectReference) Marshal

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

func (*GatewayObjectReference) MarshalTo

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

func (*GatewayObjectReference) MarshalToSizedBuffer

func (m *GatewayObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayObjectReference) ProtoMessage

func (*GatewayObjectReference) ProtoMessage()

func (*GatewayObjectReference) Reset

func (m *GatewayObjectReference) Reset()

func (*GatewayObjectReference) Size

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

func (*GatewayObjectReference) String

func (this *GatewayObjectReference) String() string

func (*GatewayObjectReference) Unmarshal

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

func (*GatewayObjectReference) XXX_DiscardUnknown

func (m *GatewayObjectReference) XXX_DiscardUnknown()

func (*GatewayObjectReference) XXX_Marshal

func (m *GatewayObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayObjectReference) XXX_Merge

func (m *GatewayObjectReference) XXX_Merge(src proto.Message)

func (*GatewayObjectReference) XXX_Size

func (m *GatewayObjectReference) XXX_Size() int

func (*GatewayObjectReference) XXX_Unmarshal

func (m *GatewayObjectReference) XXX_Unmarshal(b []byte) error

type GatewaySpec

type GatewaySpec struct {
	// Class used for this Gateway. This is the name of a GatewayClass resource.
	Class string `json:"class" protobuf:"bytes,1,opt,name=class"`

	// Listeners associated with this Gateway. Listeners define
	// logical endpoints that are bound on this Gateway's addresses.
	// At least one Listener MUST be specified.
	//
	// Each Listener in this array must have a unique Port field,
	// however a GatewayClass may collapse compatible Listener
	// definitions into single implementation-defined acceptor
	// configuration even if their Port fields would otherwise conflict.
	//
	// Listeners are compatible if all of the following conditions are true:
	//
	// 1. all their Protocol fields are "HTTP", or all their Protocol fields are "HTTPS" or TLS"
	// 2. their Hostname fields are specified with a match type other than "Any"
	// 3. their Hostname fields are not an exact match for any other Listener
	//
	// As a special case, each group of compatible listeners
	// may contain exactly one Listener with a match type of "Any".
	//
	// If the GatewayClass collapses compatible Listeners, the
	// host name provided in the incoming client request MUST be
	// matched to a Listener to find the correct set of Routes.
	// The incoming host name MUST be matched using the Hostname
	// field for each Listener in order of most to least specific.
	// That is, "Exact" matches must be processed before "Domain"
	// matches, which must be processed before "Any" matches.
	//
	// If this field specifies multiple Listeners that have the same
	// Port value but are not compatible, the GatewayClass must raise
	// a "PortConflict" condition on the Gateway.
	//
	// Support: Core
	//
	// +required
	// +kubebuilder:validation:MinItems=1
	Listeners []Listener `json:"listeners" protobuf:"bytes,2,rep,name=listeners"`

	// Addresses requested for this gateway. This is optional and
	// behavior can depend on the GatewayClass. If a value is set
	// in the spec and the requested address is invalid, the
	// GatewayClass MUST indicate this in the associated entry in
	// GatewayStatus.Listeners.
	//
	// If no ListenerAddresses are specified, the GatewayClass may
	// schedule the Gateway in an implementation-defined manner,
	// assigning an appropriate set of ListenerAddresses.
	//
	// The GatewayClass MUST bind all Listeners to every
	// GatewayAddress that it assigns to the Gateway.
	//
	// Support: Core
	//
	// +optional
	Addresses []GatewayAddress `json:"addresses" protobuf:"bytes,3,rep,name=addresses"`
}

GatewaySpec defines the desired state of Gateway.

The Spec is split into two major pieces: listeners describing client-facing properties and routes that describe application-level routing.

Not all possible combinations of options specified in the Spec are valid. Some invalid configurations can be caught synchronously via a webhook, but there are many cases that will require asynchronous signaling via the GatewayStatus block.

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

func (*GatewaySpec) Descriptor

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

func (*GatewaySpec) Marshal

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

func (*GatewaySpec) MarshalTo

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

func (*GatewaySpec) MarshalToSizedBuffer

func (m *GatewaySpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewaySpec) ProtoMessage

func (*GatewaySpec) ProtoMessage()

func (*GatewaySpec) Reset

func (m *GatewaySpec) Reset()

func (*GatewaySpec) Size

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

func (*GatewaySpec) String

func (this *GatewaySpec) String() string

func (*GatewaySpec) Unmarshal

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

func (*GatewaySpec) XXX_DiscardUnknown

func (m *GatewaySpec) XXX_DiscardUnknown()

func (*GatewaySpec) XXX_Marshal

func (m *GatewaySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewaySpec) XXX_Merge

func (m *GatewaySpec) XXX_Merge(src proto.Message)

func (*GatewaySpec) XXX_Size

func (m *GatewaySpec) XXX_Size() int

func (*GatewaySpec) XXX_Unmarshal

func (m *GatewaySpec) XXX_Unmarshal(b []byte) error

type GatewayStatus

type GatewayStatus struct {
	// Addresses lists the IP addresses that have actually been
	// bound to the Gateway. These addresses may differ from the
	// addresses in the Spec, e.g. if the Gateway automatically
	// assigns an address from a reserved pool.
	//
	// These addresses should all be of type "IPAddress".
	//
	// +required
	Addresses []GatewayAddress `json:"addresses" protobuf:"bytes,1,opt,name=addresses"`

	// Conditions describe the current conditions of the Gateway.
	// +optional
	Conditions []GatewayCondition `json:"conditions,omitempty" protobuf:"bytes,2,rep,name=conditions"`

	// Listeners provides status for each unique listener port defined in the Spec.
	// +optional
	Listeners []ListenerStatus `json:"listeners,omitempty" protobuf:"bytes,3,rep,name=listeners"`
}

GatewayStatus defines the observed state of Gateway.

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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

func (*GatewayStatus) Descriptor

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

func (*GatewayStatus) Marshal

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

func (*GatewayStatus) MarshalTo

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

func (*GatewayStatus) MarshalToSizedBuffer

func (m *GatewayStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GatewayStatus) ProtoMessage

func (*GatewayStatus) ProtoMessage()

func (*GatewayStatus) Reset

func (m *GatewayStatus) Reset()

func (*GatewayStatus) Size

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

func (*GatewayStatus) String

func (this *GatewayStatus) String() string

func (*GatewayStatus) Unmarshal

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

func (*GatewayStatus) XXX_DiscardUnknown

func (m *GatewayStatus) XXX_DiscardUnknown()

func (*GatewayStatus) XXX_Marshal

func (m *GatewayStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GatewayStatus) XXX_Merge

func (m *GatewayStatus) XXX_Merge(src proto.Message)

func (*GatewayStatus) XXX_Size

func (m *GatewayStatus) XXX_Size() int

func (*GatewayStatus) XXX_Unmarshal

func (m *GatewayStatus) XXX_Unmarshal(b []byte) error

type HTTPHeaderFilter

type HTTPHeaderFilter struct {
	// Add adds the given header (name, value) to the request
	// before the action.
	//
	// Input:
	//   GET /foo HTTP/1.1
	//
	// Config:
	//   add: {"my-header": "foo"}
	//
	// Output:
	//   GET /foo HTTP/1.1
	//   my-header: foo
	//
	// Support: extended?
	Add map[string]string `json:"add" protobuf:"bytes,1,rep,name=add"`

	// Remove the given header(s) on the HTTP request before the
	// action. The value of RemoveHeader is a list of HTTP header
	// names. Note that the header names are case-insensitive
	// [RFC-2616 4.2].
	//
	// Input:
	//   GET /foo HTTP/1.1
	//   My-Header1: ABC
	//   My-Header2: DEF
	//   My-Header2: GHI
	//
	// Config:
	//   remove: ["my-header1", "my-header3"]
	//
	// Output:
	//   GET /foo HTTP/1.1
	//   My-Header2: DEF
	//
	// Support: extended?
	Remove []string `json:"remove" protobuf:"bytes,2,rep,name=remove"`
}

HTTPHeaderFilter defines the filter behavior for a request match.

func (*HTTPHeaderFilter) DeepCopy

func (in *HTTPHeaderFilter) DeepCopy() *HTTPHeaderFilter

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

func (*HTTPHeaderFilter) DeepCopyInto

func (in *HTTPHeaderFilter) DeepCopyInto(out *HTTPHeaderFilter)

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

func (*HTTPHeaderFilter) Descriptor

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

func (*HTTPHeaderFilter) Marshal

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

func (*HTTPHeaderFilter) MarshalTo

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

func (*HTTPHeaderFilter) MarshalToSizedBuffer

func (m *HTTPHeaderFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPHeaderFilter) ProtoMessage

func (*HTTPHeaderFilter) ProtoMessage()

func (*HTTPHeaderFilter) Reset

func (m *HTTPHeaderFilter) Reset()

func (*HTTPHeaderFilter) Size

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

func (*HTTPHeaderFilter) String

func (this *HTTPHeaderFilter) String() string

func (*HTTPHeaderFilter) Unmarshal

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

func (*HTTPHeaderFilter) XXX_DiscardUnknown

func (m *HTTPHeaderFilter) XXX_DiscardUnknown()

func (*HTTPHeaderFilter) XXX_Marshal

func (m *HTTPHeaderFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPHeaderFilter) XXX_Merge

func (m *HTTPHeaderFilter) XXX_Merge(src proto.Message)

func (*HTTPHeaderFilter) XXX_Size

func (m *HTTPHeaderFilter) XXX_Size() int

func (*HTTPHeaderFilter) XXX_Unmarshal

func (m *HTTPHeaderFilter) XXX_Unmarshal(b []byte) error

type HTTPRoute

type HTTPRoute struct {
	metav1.TypeMeta   `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`

	Spec   HTTPRouteSpec   `json:"spec,omitempty" protobuf:"bytes,3,opt,name=spec"`
	Status HTTPRouteStatus `json:"status,omitempty" protobuf:"bytes,4,opt,name=status"`
}

HTTPRoute is the Schema for the httproutes API

func (*HTTPRoute) DeepCopy

func (in *HTTPRoute) DeepCopy() *HTTPRoute

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

func (*HTTPRoute) DeepCopyInto

func (in *HTTPRoute) DeepCopyInto(out *HTTPRoute)

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

func (*HTTPRoute) DeepCopyObject

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

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

func (*HTTPRoute) Descriptor

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

func (*HTTPRoute) Marshal

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

func (*HTTPRoute) MarshalTo

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

func (*HTTPRoute) MarshalToSizedBuffer

func (m *HTTPRoute) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRoute) ProtoMessage

func (*HTTPRoute) ProtoMessage()

func (*HTTPRoute) Reset

func (m *HTTPRoute) Reset()

func (*HTTPRoute) Size

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

func (*HTTPRoute) String

func (this *HTTPRoute) String() string

func (*HTTPRoute) Unmarshal

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

func (*HTTPRoute) XXX_DiscardUnknown

func (m *HTTPRoute) XXX_DiscardUnknown()

func (*HTTPRoute) XXX_Marshal

func (m *HTTPRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRoute) XXX_Merge

func (m *HTTPRoute) XXX_Merge(src proto.Message)

func (*HTTPRoute) XXX_Size

func (m *HTTPRoute) XXX_Size() int

func (*HTTPRoute) XXX_Unmarshal

func (m *HTTPRoute) XXX_Unmarshal(b []byte) error

type HTTPRouteAction

type HTTPRouteAction struct {
	// ForwardTo sends requests to the referenced object(s).  The
	// resource may be "services" (omit or use the empty string for the
	// group), or an implementation may support other resources (for
	// example, resource "myroutetargets" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "services".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the HTTPRoute will be true.
	//
	// Support: core
	//
	ForwardTo []ForwardToTarget `json:"forwardTo" protobuf:"bytes,1,rep,name=forwardTo"`
	// ExtensionRef is an optional, implementation-specific extension to the
	// "action" behavior.  The resource may be "configmaps" (use the empty
	// string for the group) or an implementation-defined resource (for
	// example, resource "myrouteactions" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "configmaps".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the HTTPRoute will be true.
	//
	// Support: custom
	//
	// +optional
	ExtensionRef *RouteActionExtensionObjectReference `json:"extensionRef" protobuf:"bytes,2,opt,name=extensionRef"`
}

HTTPRouteAction is the action taken given a match.

func (*HTTPRouteAction) DeepCopy

func (in *HTTPRouteAction) DeepCopy() *HTTPRouteAction

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

func (*HTTPRouteAction) DeepCopyInto

func (in *HTTPRouteAction) DeepCopyInto(out *HTTPRouteAction)

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

func (*HTTPRouteAction) Descriptor

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

func (*HTTPRouteAction) Marshal

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

func (*HTTPRouteAction) MarshalTo

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

func (*HTTPRouteAction) MarshalToSizedBuffer

func (m *HTTPRouteAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteAction) ProtoMessage

func (*HTTPRouteAction) ProtoMessage()

func (*HTTPRouteAction) Reset

func (m *HTTPRouteAction) Reset()

func (*HTTPRouteAction) Size

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

func (*HTTPRouteAction) String

func (this *HTTPRouteAction) String() string

func (*HTTPRouteAction) Unmarshal

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

func (*HTTPRouteAction) XXX_DiscardUnknown

func (m *HTTPRouteAction) XXX_DiscardUnknown()

func (*HTTPRouteAction) XXX_Marshal

func (m *HTTPRouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteAction) XXX_Merge

func (m *HTTPRouteAction) XXX_Merge(src proto.Message)

func (*HTTPRouteAction) XXX_Size

func (m *HTTPRouteAction) XXX_Size() int

func (*HTTPRouteAction) XXX_Unmarshal

func (m *HTTPRouteAction) XXX_Unmarshal(b []byte) error

type HTTPRouteFilter

type HTTPRouteFilter struct {
	// Headers related filters.
	//
	// Support: extended
	// +optional
	Headers *HTTPHeaderFilter `json:"headers" protobuf:"bytes,1,opt,name=headers"`

	// ExtensionRef is an optional, implementation-specific extension to the
	// "filter" behavior.  The resource may be "configmap" (use the empty
	// string for the group) or an implementation-defined resource (for
	// example, resource "myroutefilters" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "configmaps".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the HTTPRoute will be true.
	//
	// Support: custom
	//
	// +optional
	ExtensionRef *RouteFilterExtensionObjectReference `json:"extensionRef" protobuf:"bytes,2,opt,name=extensionRef"`
}

HTTPRouteFilter defines a filter-like action to be applied to requests.

func (*HTTPRouteFilter) DeepCopy

func (in *HTTPRouteFilter) DeepCopy() *HTTPRouteFilter

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

func (*HTTPRouteFilter) DeepCopyInto

func (in *HTTPRouteFilter) DeepCopyInto(out *HTTPRouteFilter)

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

func (*HTTPRouteFilter) Descriptor

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

func (*HTTPRouteFilter) Marshal

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

func (*HTTPRouteFilter) MarshalTo

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

func (*HTTPRouteFilter) MarshalToSizedBuffer

func (m *HTTPRouteFilter) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteFilter) ProtoMessage

func (*HTTPRouteFilter) ProtoMessage()

func (*HTTPRouteFilter) Reset

func (m *HTTPRouteFilter) Reset()

func (*HTTPRouteFilter) Size

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

func (*HTTPRouteFilter) String

func (this *HTTPRouteFilter) String() string

func (*HTTPRouteFilter) Unmarshal

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

func (*HTTPRouteFilter) XXX_DiscardUnknown

func (m *HTTPRouteFilter) XXX_DiscardUnknown()

func (*HTTPRouteFilter) XXX_Marshal

func (m *HTTPRouteFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteFilter) XXX_Merge

func (m *HTTPRouteFilter) XXX_Merge(src proto.Message)

func (*HTTPRouteFilter) XXX_Size

func (m *HTTPRouteFilter) XXX_Size() int

func (*HTTPRouteFilter) XXX_Unmarshal

func (m *HTTPRouteFilter) XXX_Unmarshal(b []byte) error

type HTTPRouteHost

type HTTPRouteHost struct {
	// Hostnames defines a set of hostname that should match against
	// the HTTP Host header to select a HTTPRoute to process a the request.
	// Hostname 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.
	// 2. The `:` delimiter is not respected because ports are not allowed.
	//
	// Incoming requests are matched against the hostnames before the
	// HTTPRoute rules. If no hostname is specified, traffic is routed
	// based on the HTTPRouteRules.
	//
	// Hostname can be "precise" which is a domain name without the terminating
	// dot of a network host (e.g. "foo.example.com") or "wildcard", which is
	// a domain name prefixed with a single wildcard label (e.g. "*.example.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 order:
	// 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.
	//
	// Support: Core
	//
	// +optional
	Hostnames []string `json:"hostnames,omitempty" protobuf:"bytes,1,opt,name=hostnames"`

	// Rules are a list of HTTP matchers, filters and actions.
	Rules []HTTPRouteRule `json:"rules" protobuf:"bytes,2,rep,name=rules"`

	// ExtensionRef is an optional, implementation-specific extension to the
	// "host" block.  The resource may be "configmaps" (omit or specify the
	// empty string for the group) or an implementation-defined resource
	// (for example, resource "myroutehosts" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "configmaps".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the HTTPRoute will be true.
	//
	// Support: custom
	//
	// +optional
	ExtensionRef *RouteHostExtensionObjectReference `json:"extensionRef" protobuf:"bytes,3,opt,name=extensionRef"`
}

HTTPRouteHost is the configuration for a given set of hosts.

func (*HTTPRouteHost) DeepCopy

func (in *HTTPRouteHost) DeepCopy() *HTTPRouteHost

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

func (*HTTPRouteHost) DeepCopyInto

func (in *HTTPRouteHost) DeepCopyInto(out *HTTPRouteHost)

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

func (*HTTPRouteHost) Descriptor

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

func (*HTTPRouteHost) Marshal

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

func (*HTTPRouteHost) MarshalTo

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

func (*HTTPRouteHost) MarshalToSizedBuffer

func (m *HTTPRouteHost) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteHost) ProtoMessage

func (*HTTPRouteHost) ProtoMessage()

func (*HTTPRouteHost) Reset

func (m *HTTPRouteHost) Reset()

func (*HTTPRouteHost) Size

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

func (*HTTPRouteHost) String

func (this *HTTPRouteHost) String() string

func (*HTTPRouteHost) Unmarshal

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

func (*HTTPRouteHost) XXX_DiscardUnknown

func (m *HTTPRouteHost) XXX_DiscardUnknown()

func (*HTTPRouteHost) XXX_Marshal

func (m *HTTPRouteHost) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteHost) XXX_Merge

func (m *HTTPRouteHost) XXX_Merge(src proto.Message)

func (*HTTPRouteHost) XXX_Size

func (m *HTTPRouteHost) XXX_Size() int

func (*HTTPRouteHost) XXX_Unmarshal

func (m *HTTPRouteHost) XXX_Unmarshal(b []byte) error

type HTTPRouteList

type HTTPRouteList struct {
	metav1.TypeMeta `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`
	Items           []HTTPRoute `json:"items" protobuf:"bytes,3,rep,name=items"`
}

HTTPRouteList contains a list of HTTPRoute

func (*HTTPRouteList) DeepCopy

func (in *HTTPRouteList) DeepCopy() *HTTPRouteList

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

func (*HTTPRouteList) DeepCopyInto

func (in *HTTPRouteList) DeepCopyInto(out *HTTPRouteList)

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

func (*HTTPRouteList) DeepCopyObject

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

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

func (*HTTPRouteList) Descriptor

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

func (*HTTPRouteList) Marshal

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

func (*HTTPRouteList) MarshalTo

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

func (*HTTPRouteList) MarshalToSizedBuffer

func (m *HTTPRouteList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteList) ProtoMessage

func (*HTTPRouteList) ProtoMessage()

func (*HTTPRouteList) Reset

func (m *HTTPRouteList) Reset()

func (*HTTPRouteList) Size

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

func (*HTTPRouteList) String

func (this *HTTPRouteList) String() string

func (*HTTPRouteList) Unmarshal

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

func (*HTTPRouteList) XXX_DiscardUnknown

func (m *HTTPRouteList) XXX_DiscardUnknown()

func (*HTTPRouteList) XXX_Marshal

func (m *HTTPRouteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteList) XXX_Merge

func (m *HTTPRouteList) XXX_Merge(src proto.Message)

func (*HTTPRouteList) XXX_Size

func (m *HTTPRouteList) XXX_Size() int

func (*HTTPRouteList) XXX_Unmarshal

func (m *HTTPRouteList) XXX_Unmarshal(b []byte) error

type HTTPRouteMatch

type HTTPRouteMatch struct {
	// PathType is defines the semantics of the `Path` matcher.
	//
	// Support: core (Exact, Prefix)
	// Support: extended (RegularExpression)
	// Support: custom (ImplementationSpecific)
	//
	// Default: "Exact"
	//
	// +optional
	PathMatchType PathMatchType `json:"pathMatchType" protobuf:"bytes,1,opt,name=pathMatchType"`
	// Path is the value of the HTTP path as interpreted via
	// PathType.
	//
	// Default: "/"
	Path *string `json:"path" protobuf:"bytes,2,opt,name=path"`

	// HeaderMatchType defines the semantics of the `Header` matcher.
	//
	// Support: core (Exact)
	// Support: custom (ImplementationSpecific)
	//
	// Default: "Exact"
	//
	// +optional
	HeaderMatchType *string `json:"headerMatchType" protobuf:"bytes,3,opt,name=headerMatchType"`
	// Headers are the HTTP Headers to match as interpreted via
	// HeaderMatchType. Multiple headers are ANDed together, meaning, a request
	// must contain all the headers specified in order to select this route.
	//
	// +optional
	Headers map[string]string `json:"headers" protobuf:"bytes,4,rep,name=headers"`

	// ExtensionRef is an optional, implementation-specific extension to the
	// "match" behavior.  The resource may be "configmap" (use the empty
	// string for the group) or an implementation-defined resource (for
	// example, resource "myroutematchers" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "configmaps".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the HTTPRoute will be true.
	//
	// Support: custom
	//
	// +optional
	ExtensionRef *RouteMatchExtensionObjectReference `json:"extensionRef" protobuf:"bytes,5,opt,name=extensionRef"`
}

HTTPRouteMatch defines the predicate used to match requests to a given action.

func (*HTTPRouteMatch) DeepCopy

func (in *HTTPRouteMatch) DeepCopy() *HTTPRouteMatch

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

func (*HTTPRouteMatch) DeepCopyInto

func (in *HTTPRouteMatch) DeepCopyInto(out *HTTPRouteMatch)

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

func (*HTTPRouteMatch) Descriptor

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

func (*HTTPRouteMatch) Marshal

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

func (*HTTPRouteMatch) MarshalTo

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

func (*HTTPRouteMatch) MarshalToSizedBuffer

func (m *HTTPRouteMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteMatch) ProtoMessage

func (*HTTPRouteMatch) ProtoMessage()

func (*HTTPRouteMatch) Reset

func (m *HTTPRouteMatch) Reset()

func (*HTTPRouteMatch) Size

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

func (*HTTPRouteMatch) String

func (this *HTTPRouteMatch) String() string

func (*HTTPRouteMatch) Unmarshal

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

func (*HTTPRouteMatch) XXX_DiscardUnknown

func (m *HTTPRouteMatch) XXX_DiscardUnknown()

func (*HTTPRouteMatch) XXX_Marshal

func (m *HTTPRouteMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteMatch) XXX_Merge

func (m *HTTPRouteMatch) XXX_Merge(src proto.Message)

func (*HTTPRouteMatch) XXX_Size

func (m *HTTPRouteMatch) XXX_Size() int

func (*HTTPRouteMatch) XXX_Unmarshal

func (m *HTTPRouteMatch) XXX_Unmarshal(b []byte) error

type HTTPRouteRule

type HTTPRouteRule struct {
	// Match defines which requests match this path.
	// +optional
	Match *HTTPRouteMatch `json:"match" protobuf:"bytes,1,opt,name=match"`
	// Filter defines what filters are applied to the request.
	// +optional
	Filter *HTTPRouteFilter `json:"filter" protobuf:"bytes,2,opt,name=filter"`
	// Action defines what happens to the request.
	// +optional
	Action *HTTPRouteAction `json:"action" protobuf:"bytes,3,opt,name=action"`
}

HTTPRouteRule is the configuration for a given path.

func (*HTTPRouteRule) DeepCopy

func (in *HTTPRouteRule) DeepCopy() *HTTPRouteRule

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

func (*HTTPRouteRule) DeepCopyInto

func (in *HTTPRouteRule) DeepCopyInto(out *HTTPRouteRule)

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

func (*HTTPRouteRule) Descriptor

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

func (*HTTPRouteRule) Marshal

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

func (*HTTPRouteRule) MarshalTo

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

func (*HTTPRouteRule) MarshalToSizedBuffer

func (m *HTTPRouteRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteRule) ProtoMessage

func (*HTTPRouteRule) ProtoMessage()

func (*HTTPRouteRule) Reset

func (m *HTTPRouteRule) Reset()

func (*HTTPRouteRule) Size

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

func (*HTTPRouteRule) String

func (this *HTTPRouteRule) String() string

func (*HTTPRouteRule) Unmarshal

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

func (*HTTPRouteRule) XXX_DiscardUnknown

func (m *HTTPRouteRule) XXX_DiscardUnknown()

func (*HTTPRouteRule) XXX_Marshal

func (m *HTTPRouteRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteRule) XXX_Merge

func (m *HTTPRouteRule) XXX_Merge(src proto.Message)

func (*HTTPRouteRule) XXX_Size

func (m *HTTPRouteRule) XXX_Size() int

func (*HTTPRouteRule) XXX_Unmarshal

func (m *HTTPRouteRule) XXX_Unmarshal(b []byte) error

type HTTPRouteSpec

type HTTPRouteSpec struct {
	// Hosts is a list of Host definitions.
	Hosts []HTTPRouteHost `json:"hosts,omitempty" protobuf:"bytes,1,rep,name=hosts"`

	// Default is the default host to use. Default.Hostnames must
	// be an empty list.
	//
	// +optional
	Default *HTTPRouteHost `json:"default" protobuf:"bytes,2,opt,name=default"`
}

HTTPRouteSpec defines the desired state of HTTPRoute

func (*HTTPRouteSpec) DeepCopy

func (in *HTTPRouteSpec) DeepCopy() *HTTPRouteSpec

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

func (*HTTPRouteSpec) DeepCopyInto

func (in *HTTPRouteSpec) DeepCopyInto(out *HTTPRouteSpec)

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

func (*HTTPRouteSpec) Descriptor

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

func (*HTTPRouteSpec) Marshal

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

func (*HTTPRouteSpec) MarshalTo

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

func (*HTTPRouteSpec) MarshalToSizedBuffer

func (m *HTTPRouteSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteSpec) ProtoMessage

func (*HTTPRouteSpec) ProtoMessage()

func (*HTTPRouteSpec) Reset

func (m *HTTPRouteSpec) Reset()

func (*HTTPRouteSpec) Size

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

func (*HTTPRouteSpec) String

func (this *HTTPRouteSpec) String() string

func (*HTTPRouteSpec) Unmarshal

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

func (*HTTPRouteSpec) XXX_DiscardUnknown

func (m *HTTPRouteSpec) XXX_DiscardUnknown()

func (*HTTPRouteSpec) XXX_Marshal

func (m *HTTPRouteSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteSpec) XXX_Merge

func (m *HTTPRouteSpec) XXX_Merge(src proto.Message)

func (*HTTPRouteSpec) XXX_Size

func (m *HTTPRouteSpec) XXX_Size() int

func (*HTTPRouteSpec) XXX_Unmarshal

func (m *HTTPRouteSpec) XXX_Unmarshal(b []byte) error

type HTTPRouteStatus

type HTTPRouteStatus struct {
	GatewayRefs []GatewayObjectReference `json:"gatewayRefs" protobuf:"bytes,1,rep,name=gatewayRefs"`
}

HTTPRouteStatus defines the observed state of HTTPRoute.

func (*HTTPRouteStatus) DeepCopy

func (in *HTTPRouteStatus) DeepCopy() *HTTPRouteStatus

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

func (*HTTPRouteStatus) DeepCopyInto

func (in *HTTPRouteStatus) DeepCopyInto(out *HTTPRouteStatus)

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

func (*HTTPRouteStatus) Descriptor

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

func (*HTTPRouteStatus) Marshal

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

func (*HTTPRouteStatus) MarshalTo

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

func (*HTTPRouteStatus) MarshalToSizedBuffer

func (m *HTTPRouteStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HTTPRouteStatus) ProtoMessage

func (*HTTPRouteStatus) ProtoMessage()

func (*HTTPRouteStatus) Reset

func (m *HTTPRouteStatus) Reset()

func (*HTTPRouteStatus) Size

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

func (*HTTPRouteStatus) String

func (this *HTTPRouteStatus) String() string

func (*HTTPRouteStatus) Unmarshal

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

func (*HTTPRouteStatus) XXX_DiscardUnknown

func (m *HTTPRouteStatus) XXX_DiscardUnknown()

func (*HTTPRouteStatus) XXX_Marshal

func (m *HTTPRouteStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HTTPRouteStatus) XXX_Merge

func (m *HTTPRouteStatus) XXX_Merge(src proto.Message)

func (*HTTPRouteStatus) XXX_Size

func (m *HTTPRouteStatus) XXX_Size() int

func (*HTTPRouteStatus) XXX_Unmarshal

func (m *HTTPRouteStatus) XXX_Unmarshal(b []byte) error

type HostnameMatch

type HostnameMatch struct {
	// Match specifies how the host name provided by the client should be
	// matched against the given value.
	//
	// +optional
	// +kubebuilder:validation:Enum=Domain;Exact;Any
	// +kubebuilder:default=Exact
	Match HostnameMatchType `json:"match" protobuf:"bytes,1,name=match"`

	// Name contains the name to match against. This value must
	// be a fully qualified host or domain name conforming to the
	// preferred name syntax defined in
	// [RFC 1034](https://tools.ietf.org/html/rfc1034#section-3.5)
	//
	// In addition to any RFC rules, this field MUST NOT contain
	//
	// 1. IP address literals
	// 2. Colon-delimited port numbers
	// 3. Percent-encoded octets
	//
	// This field is required for the "Domain" and "Exact" match types.
	//
	// +optional
	Name string `json:"name" protobuf:"bytes,2,name=name"`
}

HostnameMatch specifies how a Listener should match the incoming host name from a client request. Depending on the incoming protocol, the match must apply to names provided by the client at both the TLS and the HTTP protocol layers.

func (*HostnameMatch) DeepCopy

func (in *HostnameMatch) DeepCopy() *HostnameMatch

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

func (*HostnameMatch) DeepCopyInto

func (in *HostnameMatch) DeepCopyInto(out *HostnameMatch)

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

func (*HostnameMatch) Descriptor

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

func (*HostnameMatch) Marshal

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

func (*HostnameMatch) MarshalTo

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

func (*HostnameMatch) MarshalToSizedBuffer

func (m *HostnameMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*HostnameMatch) ProtoMessage

func (*HostnameMatch) ProtoMessage()

func (*HostnameMatch) Reset

func (m *HostnameMatch) Reset()

func (*HostnameMatch) Size

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

func (*HostnameMatch) String

func (this *HostnameMatch) String() string

func (*HostnameMatch) Unmarshal

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

func (*HostnameMatch) XXX_DiscardUnknown

func (m *HostnameMatch) XXX_DiscardUnknown()

func (*HostnameMatch) XXX_Marshal

func (m *HostnameMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HostnameMatch) XXX_Merge

func (m *HostnameMatch) XXX_Merge(src proto.Message)

func (*HostnameMatch) XXX_Size

func (m *HostnameMatch) XXX_Size() int

func (*HostnameMatch) XXX_Unmarshal

func (m *HostnameMatch) XXX_Unmarshal(b []byte) error

type HostnameMatchType

type HostnameMatchType string

HostnameMatchType specifies the types of matches that are valid for host names.

const (
	// HostnameMatchDomain specifies that the host name provided
	// by the client should be matched against a DNS domain value.
	// The domain match removes the leftmost DNS label from the
	// host name provided by the client and compares the resulting
	// value.
	//
	// For example, "example.com" is a "Domain" match for the host
	// name "foo.example.com", but not for "foo.bar.example.com"
	// or for "example.foo.com".
	//
	// This match type MUST be case-insensitive.
	HostnameMatchDomain HostnameMatchType = "Domain"

	// HostnameMatchExact specifies that the host name provided
	// by the client must exactly match the specified value.
	//
	// This match type MUST be case-insensitive.
	HostnameMatchExact HostnameMatchType = "Exact"

	// HostnameMatchAny specifies that this Listener accepts
	// all client traffic regardless of the presence or value of
	// any host name supplied by the client.
	HostnameMatchAny HostnameMatchType = "Any"
)

type Listener

type Listener struct {
	// Hostname specifies to match the virtual host name for
	// protocol types that define this concept.
	//
	// Incoming requests that include a host name are matched
	// according to the given HostnameMatchType to select
	// the Routes from this Listener.
	//
	// If a match type other than "Any" is supplied, it MUST
	// be compatible with the specified Protocol field.
	//
	// Support: Core
	//
	// +optional
	// +kubebuilder:default={match: "Any"}
	Hostname HostnameMatch `json:"hostname,omitempty" protobuf:"bytes,1,opt,name=hostname"`

	// Port is the network port. Multiple listeners may use the
	// same port, subject to the Listener compatibility rules.
	//
	// Support: Core
	//
	// +required
	// +kubebuilder:validation:Minimum=0
	// +kubebuilder:validation:Maximum=65536
	// +kubebuilder:validation:ExclusiveMinimum=true
	// +kubebuilder:validation:ExclusiveMaximum=true
	Port int32 `json:"port,omitempty" protobuf:"varint,2,opt,name=port"`

	// Protocol specifies the network protocol this listener
	// expects to receive. The GatewayClass MUST validate that
	// match type specified in the Hostname field is appropriate
	// for the protocol.
	//
	// * For the "TLS" protocol, the Hostname match MUST be
	//   applied to the [SNI](https://tools.ietf.org/html/rfc6066#section-3)
	//   server name offered by the client.
	// * For the "HTTP" protocol, the Hostname match MUST be
	//   applied to the host portion of the
	//   [effective request URI](https://tools.ietf.org/html/rfc7230#section-5.5)
	//   or the [:authority pseudo-header](https://tools.ietf.org/html/rfc7540#section-8.1.2.3)
	// * For the "HTTPS" protocol, the Hostname match MUST be
	//   applied at both the TLS and HTTP protocol layers.
	//
	// Support: Core
	//
	// +required
	// +kubebuilder:validation:Enum=HTTP;HTTPS;TLS;TCP
	Protocol ProtocolType `json:"protocol,omitempty" protobuf:"bytes,3,opt,name=protocol"`

	// TLS is the TLS configuration for the Listener. This field
	// is required if the Protocol field is "HTTPS" or "TLS" and
	// ignored otherwise.
	//
	// Support: Core
	//
	// +optional
	TLS *TLSConfig `json:"tls,omitempty" protobuf:"bytes,4,opt,name=tls"`

	// Routes specifies a schema for associating routes with the
	// Listener using selectors. A Route is a resource capable of
	// servicing a request and allows a cluster operator to expose
	// a cluster resource (i.e. Service) by externally-reachable
	// URL, load-balance traffic and terminate SSL/TLS.  Typically,
	// a route is a "HTTPRoute" or "TCPRoute" in group
	// "networking.x-k8s.io", however, an implementation may support
	// other types of resources.
	//
	// The Routes selector MUST select a set of objects that
	// are compatible with the application protocol specified in
	// the Protocol field.
	//
	// Support: Core
	//
	// +required
	Routes RouteBindingSelector `json:"routes" protobuf:"bytes,5,opt,name=routes"`
}

Listener embodies the concept of a logical endpoint where a Gateway can accept network connections.

func (*Listener) DeepCopy

func (in *Listener) DeepCopy() *Listener

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

func (*Listener) DeepCopyInto

func (in *Listener) DeepCopyInto(out *Listener)

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

func (*Listener) Descriptor

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

func (*Listener) Marshal

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

func (*Listener) MarshalTo

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

func (*Listener) MarshalToSizedBuffer

func (m *Listener) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Listener) ProtoMessage

func (*Listener) ProtoMessage()

func (*Listener) Reset

func (m *Listener) Reset()

func (*Listener) Size

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

func (*Listener) String

func (this *Listener) String() string

func (*Listener) Unmarshal

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

func (*Listener) XXX_DiscardUnknown

func (m *Listener) XXX_DiscardUnknown()

func (*Listener) XXX_Marshal

func (m *Listener) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Listener) XXX_Merge

func (m *Listener) XXX_Merge(src proto.Message)

func (*Listener) XXX_Size

func (m *Listener) XXX_Size() int

func (*Listener) XXX_Unmarshal

func (m *Listener) XXX_Unmarshal(b []byte) error

type ListenerCondition

type ListenerCondition struct {
	// Type indicates the type of condition.
	//
	// +required
	Type ListenerConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ListenerConditionType"`
	// Status describes the current state of this condition. Can be "True",
	// "False", or "Unknown".
	//
	// +required
	Status core.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`
	// Message is a human-understandable message describing the condition.
	// This field may be empty.
	//
	// +required
	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`
	// Reason indicates why the condition is in this state.
	// This field must not be empty.
	//
	// +required
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// LastTransitionTime indicates the last time this condition changed.
	// This should be when the underlying condition changed.
	// If that is not known, then using the time when the API field changed is acceptable.
	//
	// +required
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,5,opt,name=lastTransitionTime"`
	// If set, this represents the .metadata.generation that the condition was set based upon.
	// For instance, if .metadata.generation is currently 12, but the .status.condition[x].observedGeneration is 9, the condition is out of date
	// with respect to the current state of the instance.
	//
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,6,opt,name=observedGeneration"`
}

ListenerCondition is an error status for a given listener.

func (*ListenerCondition) DeepCopy

func (in *ListenerCondition) DeepCopy() *ListenerCondition

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

func (*ListenerCondition) DeepCopyInto

func (in *ListenerCondition) DeepCopyInto(out *ListenerCondition)

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

func (*ListenerCondition) Descriptor

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

func (*ListenerCondition) Marshal

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

func (*ListenerCondition) MarshalTo

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

func (*ListenerCondition) MarshalToSizedBuffer

func (m *ListenerCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListenerCondition) ProtoMessage

func (*ListenerCondition) ProtoMessage()

func (*ListenerCondition) Reset

func (m *ListenerCondition) Reset()

func (*ListenerCondition) Size

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

func (*ListenerCondition) String

func (this *ListenerCondition) String() string

func (*ListenerCondition) Unmarshal

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

func (*ListenerCondition) XXX_DiscardUnknown

func (m *ListenerCondition) XXX_DiscardUnknown()

func (*ListenerCondition) XXX_Marshal

func (m *ListenerCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenerCondition) XXX_Merge

func (m *ListenerCondition) XXX_Merge(src proto.Message)

func (*ListenerCondition) XXX_Size

func (m *ListenerCondition) XXX_Size() int

func (*ListenerCondition) XXX_Unmarshal

func (m *ListenerCondition) XXX_Unmarshal(b []byte) error

type ListenerConditionType

type ListenerConditionType string

ListenerConditionType is a type of condition associated with the listener.

const (
	// ConditionInvalidListener is a generic condition that is a catch all for
	// unsupported configurations that do not match a more specific condition.
	// Implementors should try to use a more specific condition instead of this
	// one to give users and automation more information.
	ConditionInvalidListener ListenerConditionType = "InvalidListener"

	// ConditionListenerNotReady indicates the listener is not ready.
	ConditionListenerNotReady ListenerConditionType = "NotReady"

	// ConditionPortConflict indicates that two or more Listeners with
	// the same port were bound to this gateway and they could not be
	// collapsed into a single configuration.
	ConditionPortConflict ListenerConditionType = "PortConflict"

	// ConditionInvalidCertificateRef indicates the certificate reference of the
	// listener's TLS configuration is invalid.
	ConditionInvalidCertificateRef ListenerConditionType = "InvalidCertificateRef"

	// ConditionRoutesNotReady indicates that at least one of the specified
	// routes is not ready.
	ConditionRoutesNotReady ListenerConditionType = "RoutesNotReady"

	// ConditionInvalidRoutes indicates that at least one of the specified
	// routes is invalid.
	ConditionInvalidRoutes ListenerConditionType = "InvalidRoutes"

	// ConditionForbiddenRoutesForClass indicates that at least one of the
	// routes is in a namespace forbidden by the GatewayClass.
	ConditionForbiddenRoutesForClass ListenerConditionType = "ForbiddenRoutesForClass"

	// ConditionUnsupportedProtocol indicates that an invalid
	// or unsupported protocol type was requested.
	ConditionUnsupportedProtocol ListenerConditionType = "UnsupportedProtocol"
)

type ListenerExtensionObjectReference

type ListenerExtensionObjectReference = ConfigMapsDefaultLocalObjectReference

ListenerExtensionObjectReference identifies a listener extension object within a known namespace.

+k8s:deepcopy-gen=false

type ListenerStatus

type ListenerStatus struct {
	// Port is the unique Listener port value for which this message
	// is reporting the status. If more than one Gateway Listener
	// shares the same port value, this message reports the combined
	// status of all such Listeners.
	//
	// +required
	Port string `json:"port" protobuf:"varint,1,opt,name=port"`

	// Conditions describe the current condition of this listener.
	//
	// +required
	Conditions []ListenerCondition `json:"conditions" protobuf:"bytes,3,rep,name=conditions"`
}

ListenerStatus is the status associated with a Listener port.

func (*ListenerStatus) DeepCopy

func (in *ListenerStatus) DeepCopy() *ListenerStatus

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

func (*ListenerStatus) DeepCopyInto

func (in *ListenerStatus) DeepCopyInto(out *ListenerStatus)

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

func (*ListenerStatus) Descriptor

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

func (*ListenerStatus) Marshal

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

func (*ListenerStatus) MarshalTo

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

func (*ListenerStatus) MarshalToSizedBuffer

func (m *ListenerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListenerStatus) ProtoMessage

func (*ListenerStatus) ProtoMessage()

func (*ListenerStatus) Reset

func (m *ListenerStatus) Reset()

func (*ListenerStatus) Size

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

func (*ListenerStatus) String

func (this *ListenerStatus) String() string

func (*ListenerStatus) Unmarshal

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

func (*ListenerStatus) XXX_DiscardUnknown

func (m *ListenerStatus) XXX_DiscardUnknown()

func (*ListenerStatus) XXX_Marshal

func (m *ListenerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListenerStatus) XXX_Merge

func (m *ListenerStatus) XXX_Merge(src proto.Message)

func (*ListenerStatus) XXX_Size

func (m *ListenerStatus) XXX_Size() int

func (*ListenerStatus) XXX_Unmarshal

func (m *ListenerStatus) XXX_Unmarshal(b []byte) error

type PathMatchType

type PathMatchType string

PathMatchType specifies the semantics of how HTTP paths should be compared.

const (
	PathMatchExact                PathMatchType = "Exact"
	PathMatchPrefix               PathMatchType = "Prefix"
	PathMatchRegularExpression    PathMatchType = "RegularExpression"
	PathMatchImplementionSpecific PathMatchType = "ImplementationSpecific"
)

PathType constants.

type ProtocolType

type ProtocolType string

ProtocolType defines the application protocol accepted by a Listener. Implementations are not required to accept all the defined protocols. If an implementation does not support a specified protocol, it should raise a "ConditionUnsupportedProtocol" condition for the affected Listener.

const (
	// HTTPProtocolType accepts cleartext HTTP/1.1 sessions over TCP.
	HTTPProtocolType ProtocolType = "HTTP"

	// HTTPSProtocolType accepts HTTP/1.1 or HTTP/2 sessions over TLS.
	HTTPSProtocolType ProtocolType = "HTTPS"

	// TLSProtocolType accepts TLS sessions over TCP.
	TLSProtocolType ProtocolType = "TLS"

	// TCPProtocolType accepts TCP sessions.
	TCPProtocolType ProtocolType = "TCP"
)

type RouteActionExtensionObjectReference

type RouteActionExtensionObjectReference = ConfigMapsDefaultLocalObjectReference

RouteActionExtensionObjectReference identifies a route-action extension object within a known namespace.

+k8s:deepcopy-gen=false

type RouteBindingSelector

type RouteBindingSelector struct {
	// RouteNamespaces indicates in which namespaces Routes should be selected
	// for this Gateway. This is restricted to the namespace of this Gateway by
	// default.
	//
	// Support: Core
	//
	// +optional
	// +kubebuilder:default={onlySameNamespace:true}
	RouteNamespaces RouteNamespaces `json:"routeNamespaces,omitempty" protobuf:"bytes,1,opt,name=routeNamespaces"`
	// RouteSelector specifies a set of route labels used for selecting
	// routes to associate with the Gateway. If RouteSelector is defined,
	// only routes matching the RouteSelector are associated with the Gateway.
	// An empty RouteSelector matches all routes.
	//
	// Support: Core
	//
	// +optional
	RouteSelector metav1.LabelSelector `json:"routeSelector,omitempty" protobuf:"bytes,2,opt,name=routeSelector"`
	// Group is the group of the route resource to select. Omitting the value or specifying
	// the empty string indicates the networking.x-k8s.io API group.
	// For example, use the following to select an HTTPRoute:
	//
	// routes:
	//   resource: httproutes
	//
	// Otherwise, if an alternative API group is desired, specify the desired
	// group:
	//
	// routes:
	//   group: acme.io
	//   resource: fooroutes
	//
	// Support: Core
	//
	// +optional
	// +kubebuilder:default=networking.x-k8s.io
	Group string `json:"group" protobuf:"bytes,3,opt,name=group"`
	// Resource is the API resource name of the route resource to select.
	//
	// Resource MUST correspond to route resources that are compatible with the
	// application protocol specified in the Listener's Protocol field.
	//
	// If an implementation does not support or recognize this
	// resource type, it SHOULD raise a "ConditionInvalidRoutes"
	// condition for the affected Listener.
	//
	// Support: Core
	//
	// +required
	Resource string `json:"resource" protobuf:"bytes,4,opt,name=resource"`
}

RouteBindingSelector defines a schema for associating routes with the Gateway. If NamespaceSelector and RouteSelector are defined, only routes matching both selectors are associated with the Gateway.

func (*RouteBindingSelector) DeepCopy

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

func (*RouteBindingSelector) DeepCopyInto

func (in *RouteBindingSelector) DeepCopyInto(out *RouteBindingSelector)

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

func (*RouteBindingSelector) Descriptor

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

func (*RouteBindingSelector) Marshal

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

func (*RouteBindingSelector) MarshalTo

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

func (*RouteBindingSelector) MarshalToSizedBuffer

func (m *RouteBindingSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouteBindingSelector) ProtoMessage

func (*RouteBindingSelector) ProtoMessage()

func (*RouteBindingSelector) Reset

func (m *RouteBindingSelector) Reset()

func (*RouteBindingSelector) Size

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

func (*RouteBindingSelector) String

func (this *RouteBindingSelector) String() string

func (*RouteBindingSelector) Unmarshal

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

func (*RouteBindingSelector) XXX_DiscardUnknown

func (m *RouteBindingSelector) XXX_DiscardUnknown()

func (*RouteBindingSelector) XXX_Marshal

func (m *RouteBindingSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteBindingSelector) XXX_Merge

func (m *RouteBindingSelector) XXX_Merge(src proto.Message)

func (*RouteBindingSelector) XXX_Size

func (m *RouteBindingSelector) XXX_Size() int

func (*RouteBindingSelector) XXX_Unmarshal

func (m *RouteBindingSelector) XXX_Unmarshal(b []byte) error

type RouteFilterExtensionObjectReference

type RouteFilterExtensionObjectReference = ConfigMapsDefaultLocalObjectReference

RouteFilterExtensionObjectReference identifies a route-filter extension object within a known namespace.

+k8s:deepcopy-gen=false

type RouteHostExtensionObjectReference

type RouteHostExtensionObjectReference = ConfigMapsDefaultLocalObjectReference

RouteHostExtensionObjectReference identifies a route-host extension object within a known namespace.

+k8s:deepcopy-gen=false

type RouteMatchExtensionObjectReference

type RouteMatchExtensionObjectReference = ConfigMapsDefaultLocalObjectReference

RouteMatchExtensionObjectReference identifies a route-match extension object within a known namespace.

+k8s:deepcopy-gen=false

type RouteNamespaces

type RouteNamespaces struct {
	// NamespaceSelector is a selector of namespaces that Routes should be
	// selected from. This is a standard Kubernetes LabelSelector, a label query
	// over a set of resources. The result of matchLabels and matchExpressions
	// are ANDed. Controllers must not support Routes in namespaces outside this
	// selector.
	//
	// An empty selector (default) indicates that Routes in any namespace can be
	// selected.
	//
	// The OnlySameNamespace field takes precedence over this field. This
	// selector will only take effect when OnlySameNamespace is false.
	//
	// Support: Core
	//
	// +optional
	NamespaceSelector metav1.LabelSelector `json:"namespaceSelector" protobuf:"bytes,1,opt,name=namespaceSelector"`

	// OnlySameNamespace is a boolean used to indicate if Route references are
	// limited to the same Namespace as the Gateway. When true, only Routes
	// within the same Namespace as the Gateway should be selected.
	//
	// This field takes precedence over the NamespaceSelector field. That
	// selector should only take effect when this field is set to false.
	//
	// Support: Core
	//
	// +optional
	// +kubebuilder:default=true
	OnlySameNamespace bool `json:"onlySameNamespace" protobuf:"bytes,2,opt,name=onlySameNamespace"`
}

RouteNamespaces is used by Gateway and GatewayClass to indicate which namespaces Routes should be selected from.

func (*RouteNamespaces) DeepCopy

func (in *RouteNamespaces) DeepCopy() *RouteNamespaces

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

func (*RouteNamespaces) DeepCopyInto

func (in *RouteNamespaces) DeepCopyInto(out *RouteNamespaces)

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

func (*RouteNamespaces) Descriptor

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

func (*RouteNamespaces) Marshal

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

func (*RouteNamespaces) MarshalTo

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

func (*RouteNamespaces) MarshalToSizedBuffer

func (m *RouteNamespaces) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RouteNamespaces) ProtoMessage

func (*RouteNamespaces) ProtoMessage()

func (*RouteNamespaces) Reset

func (m *RouteNamespaces) Reset()

func (*RouteNamespaces) Size

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

func (*RouteNamespaces) String

func (this *RouteNamespaces) String() string

func (*RouteNamespaces) Unmarshal

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

func (*RouteNamespaces) XXX_DiscardUnknown

func (m *RouteNamespaces) XXX_DiscardUnknown()

func (*RouteNamespaces) XXX_Marshal

func (m *RouteNamespaces) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RouteNamespaces) XXX_Merge

func (m *RouteNamespaces) XXX_Merge(src proto.Message)

func (*RouteNamespaces) XXX_Size

func (m *RouteNamespaces) XXX_Size() int

func (*RouteNamespaces) XXX_Unmarshal

func (m *RouteNamespaces) XXX_Unmarshal(b []byte) error

type SecretsDefaultLocalObjectReference

type SecretsDefaultLocalObjectReference struct {
	// Group is the group of the referent.  Omitting the value or specifying
	// the empty string indicates the core API group.  For example, use the
	// following to specify a secrets resource:
	//
	// fooRef:
	//   resource: secrets
	//   name: mysecret
	//
	// Otherwise, if the core API group is not desired, specify the desired
	// group:
	//
	// fooRef:
	//   group: acme.io
	//   resource: foos
	//   name: myfoo
	//
	// +optional
	// +kubebuilder:default=core
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
	// Resource is the API resource name of the referent. Omitting the value
	// or specifying the empty string indicates the secrets resource. For
	// example, use the following to specify a secrets resource:
	//
	// fooRef:
	//   name: mysecret
	//
	// Otherwise, if the secrets resource is not desired, specify the desired
	// group:
	//
	// fooRef:
	//   group: acme.io
	//   resource: foos
	//   name: myfoo
	//
	// +optional
	// +kubebuilder:default=secrets
	Resource string `json:"resource" protobuf:"bytes,2,opt,name=resource"`
	// Name is the name of the referent.
	//
	// +kubebuilder:validation:Required
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
}

SecretsDefaultLocalObjectReference identifies an API object within a known namespace that defaults group to core and resource to secrets if unspecified.

func (*SecretsDefaultLocalObjectReference) DeepCopy

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

func (*SecretsDefaultLocalObjectReference) DeepCopyInto

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

func (*SecretsDefaultLocalObjectReference) Descriptor

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

func (*SecretsDefaultLocalObjectReference) Marshal

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

func (*SecretsDefaultLocalObjectReference) MarshalTo

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

func (*SecretsDefaultLocalObjectReference) MarshalToSizedBuffer

func (m *SecretsDefaultLocalObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretsDefaultLocalObjectReference) ProtoMessage

func (*SecretsDefaultLocalObjectReference) ProtoMessage()

func (*SecretsDefaultLocalObjectReference) Reset

func (*SecretsDefaultLocalObjectReference) Size

func (*SecretsDefaultLocalObjectReference) String

func (*SecretsDefaultLocalObjectReference) Unmarshal

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

func (*SecretsDefaultLocalObjectReference) XXX_DiscardUnknown

func (m *SecretsDefaultLocalObjectReference) XXX_DiscardUnknown()

func (*SecretsDefaultLocalObjectReference) XXX_Marshal

func (m *SecretsDefaultLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretsDefaultLocalObjectReference) XXX_Merge

func (*SecretsDefaultLocalObjectReference) XXX_Size

func (*SecretsDefaultLocalObjectReference) XXX_Unmarshal

func (m *SecretsDefaultLocalObjectReference) XXX_Unmarshal(b []byte) error

type ServicesDefaultLocalObjectReference

type ServicesDefaultLocalObjectReference struct {
	// Group is the group of the referent.  Omitting the value or specifying
	// the empty string indicates the core API group.  For example, use the
	// following to specify a service:
	//
	// fooRef:
	//   resource: services
	//   name: myservice
	//
	// Otherwise, if the core API group is not desired, specify the desired
	// group:
	//
	// fooRef:
	//   group: acme.io
	//   resource: foos
	//   name: myfoo
	//
	// +optional
	// +kubebuilder:default=core
	Group string `json:"group" protobuf:"bytes,1,opt,name=group"`
	// Resource is the API resource name of the referent. Omitting the value
	// or specifying the empty string indicates the services resource. For example,
	// use the following to specify a services resource:
	//
	// fooRef:
	//   name: myservice
	//
	// Otherwise, if the services resource is not desired, specify the desired
	// group:
	//
	// fooRef:
	//   group: acme.io
	//   resource: foos
	//   name: myfoo
	//
	// +optional
	// +kubebuilder:default=services
	Resource string `json:"resource" protobuf:"bytes,2,opt,name=resource"`
	// Name is the name of the referent.
	//
	// +kubebuilder:validation:Required
	Name string `json:"name" protobuf:"bytes,3,opt,name=name"`
}

ServicesDefaultLocalObjectReference identifies an API object within a known namespace that defaults group to core and resource to services if unspecified.

func (*ServicesDefaultLocalObjectReference) DeepCopy

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

func (*ServicesDefaultLocalObjectReference) DeepCopyInto

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

func (*ServicesDefaultLocalObjectReference) Descriptor

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

func (*ServicesDefaultLocalObjectReference) Marshal

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

func (*ServicesDefaultLocalObjectReference) MarshalTo

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

func (*ServicesDefaultLocalObjectReference) MarshalToSizedBuffer

func (m *ServicesDefaultLocalObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ServicesDefaultLocalObjectReference) ProtoMessage

func (*ServicesDefaultLocalObjectReference) ProtoMessage()

func (*ServicesDefaultLocalObjectReference) Reset

func (*ServicesDefaultLocalObjectReference) Size

func (*ServicesDefaultLocalObjectReference) String

func (*ServicesDefaultLocalObjectReference) Unmarshal

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

func (*ServicesDefaultLocalObjectReference) XXX_DiscardUnknown

func (m *ServicesDefaultLocalObjectReference) XXX_DiscardUnknown()

func (*ServicesDefaultLocalObjectReference) XXX_Marshal

func (m *ServicesDefaultLocalObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServicesDefaultLocalObjectReference) XXX_Merge

func (*ServicesDefaultLocalObjectReference) XXX_Size

func (*ServicesDefaultLocalObjectReference) XXX_Unmarshal

func (m *ServicesDefaultLocalObjectReference) XXX_Unmarshal(b []byte) error

type TCPRoute

type TCPRoute struct {
	metav1.TypeMeta   `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`

	Spec   TCPRouteSpec   `json:"spec,omitempty" protobuf:"bytes,3,opt,name=spec"`
	Status TCPRouteStatus `json:"status,omitempty" protobuf:"bytes,4,opt,name=status"`
}

TCPRoute is the Schema for the tcproutes API

func (*TCPRoute) DeepCopy

func (in *TCPRoute) DeepCopy() *TCPRoute

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

func (*TCPRoute) DeepCopyInto

func (in *TCPRoute) DeepCopyInto(out *TCPRoute)

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

func (*TCPRoute) DeepCopyObject

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

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

func (*TCPRoute) Descriptor

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

func (*TCPRoute) Marshal

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

func (*TCPRoute) MarshalTo

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

func (*TCPRoute) MarshalToSizedBuffer

func (m *TCPRoute) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPRoute) ProtoMessage

func (*TCPRoute) ProtoMessage()

func (*TCPRoute) Reset

func (m *TCPRoute) Reset()

func (*TCPRoute) Size

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

func (*TCPRoute) String

func (this *TCPRoute) String() string

func (*TCPRoute) Unmarshal

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

func (*TCPRoute) XXX_DiscardUnknown

func (m *TCPRoute) XXX_DiscardUnknown()

func (*TCPRoute) XXX_Marshal

func (m *TCPRoute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPRoute) XXX_Merge

func (m *TCPRoute) XXX_Merge(src proto.Message)

func (*TCPRoute) XXX_Size

func (m *TCPRoute) XXX_Size() int

func (*TCPRoute) XXX_Unmarshal

func (m *TCPRoute) XXX_Unmarshal(b []byte) error

type TCPRouteAction

type TCPRouteAction struct {
	// ForwardTo sends requests to the referenced object.  The
	// resource may be "services" (omit or use the empty string for the
	// group), or an implementation may support other resources (for
	// example, resource "myroutetargets" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "services".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the TCPRoute will be true.
	ForwardTo *ForwardToTarget `json:"forwardTo" protobuf:"bytes,1,opt,name=forwardTo"`

	// ExtensionRef is an optional, implementation-specific extension to the
	// "action" behavior.  The resource may be "configmaps" (use the empty
	// string for the group) or an implementation-defined resource (for
	// example, resource "myrouteactions" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "configmaps".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the TCPRoute will be true.
	//
	// Support: custom
	//
	// +optional
	ExtensionRef *RouteActionExtensionObjectReference `json:"extensionRef" protobuf:"bytes,2,opt,name=extensionRef"`
}

TCPRouteAction is the action for a given rule.

func (*TCPRouteAction) DeepCopy

func (in *TCPRouteAction) DeepCopy() *TCPRouteAction

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

func (*TCPRouteAction) DeepCopyInto

func (in *TCPRouteAction) DeepCopyInto(out *TCPRouteAction)

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

func (*TCPRouteAction) Descriptor

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

func (*TCPRouteAction) Marshal

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

func (*TCPRouteAction) MarshalTo

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

func (*TCPRouteAction) MarshalToSizedBuffer

func (m *TCPRouteAction) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPRouteAction) ProtoMessage

func (*TCPRouteAction) ProtoMessage()

func (*TCPRouteAction) Reset

func (m *TCPRouteAction) Reset()

func (*TCPRouteAction) Size

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

func (*TCPRouteAction) String

func (this *TCPRouteAction) String() string

func (*TCPRouteAction) Unmarshal

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

func (*TCPRouteAction) XXX_DiscardUnknown

func (m *TCPRouteAction) XXX_DiscardUnknown()

func (*TCPRouteAction) XXX_Marshal

func (m *TCPRouteAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPRouteAction) XXX_Merge

func (m *TCPRouteAction) XXX_Merge(src proto.Message)

func (*TCPRouteAction) XXX_Size

func (m *TCPRouteAction) XXX_Size() int

func (*TCPRouteAction) XXX_Unmarshal

func (m *TCPRouteAction) XXX_Unmarshal(b []byte) error

type TCPRouteList

type TCPRouteList struct {
	metav1.TypeMeta `json:",inline" protobuf:"bytes,1,opt,name=typeMeta"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,2,opt,name=metadata"`
	Items           []TCPRoute `json:"items" protobuf:"bytes,3,rep,name=items"`
}

TCPRouteList contains a list of TCPRoute

func (*TCPRouteList) DeepCopy

func (in *TCPRouteList) DeepCopy() *TCPRouteList

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

func (*TCPRouteList) DeepCopyInto

func (in *TCPRouteList) DeepCopyInto(out *TCPRouteList)

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

func (*TCPRouteList) DeepCopyObject

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

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

func (*TCPRouteList) Descriptor

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

func (*TCPRouteList) Marshal

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

func (*TCPRouteList) MarshalTo

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

func (*TCPRouteList) MarshalToSizedBuffer

func (m *TCPRouteList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPRouteList) ProtoMessage

func (*TCPRouteList) ProtoMessage()

func (*TCPRouteList) Reset

func (m *TCPRouteList) Reset()

func (*TCPRouteList) Size

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

func (*TCPRouteList) String

func (this *TCPRouteList) String() string

func (*TCPRouteList) Unmarshal

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

func (*TCPRouteList) XXX_DiscardUnknown

func (m *TCPRouteList) XXX_DiscardUnknown()

func (*TCPRouteList) XXX_Marshal

func (m *TCPRouteList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPRouteList) XXX_Merge

func (m *TCPRouteList) XXX_Merge(src proto.Message)

func (*TCPRouteList) XXX_Size

func (m *TCPRouteList) XXX_Size() int

func (*TCPRouteList) XXX_Unmarshal

func (m *TCPRouteList) XXX_Unmarshal(b []byte) error

type TCPRouteMatch

type TCPRouteMatch struct {
	// ExtensionRef is an optional, implementation-specific extension to the
	// "match" behavior.  The resource may be "configmap" (use the empty
	// string for the group) or an implementation-defined resource (for
	// example, resource "myroutematchers" in group "networking.acme.io").
	// Omitting or specifying the empty string for both the resource and
	// group indicates that the resource is "configmaps".  If the referent
	// cannot be found, the "InvalidRoutes" status condition on any Gateway
	// that includes the TCPRoute will be true.
	//
	// Support: custom
	//
	// +optional
	ExtensionRef *RouteMatchExtensionObjectReference `json:"extensionRef" protobuf:"bytes,1,opt,name=extensionRef"`
}

TCPRouteMatch defines the predicate used to match connections to a given action.

func (*TCPRouteMatch) DeepCopy

func (in *TCPRouteMatch) DeepCopy() *TCPRouteMatch

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

func (*TCPRouteMatch) DeepCopyInto

func (in *TCPRouteMatch) DeepCopyInto(out *TCPRouteMatch)

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

func (*TCPRouteMatch) Descriptor

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

func (*TCPRouteMatch) Marshal

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

func (*TCPRouteMatch) MarshalTo

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

func (*TCPRouteMatch) MarshalToSizedBuffer

func (m *TCPRouteMatch) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPRouteMatch) ProtoMessage

func (*TCPRouteMatch) ProtoMessage()

func (*TCPRouteMatch) Reset

func (m *TCPRouteMatch) Reset()

func (*TCPRouteMatch) Size

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

func (*TCPRouteMatch) String

func (this *TCPRouteMatch) String() string

func (*TCPRouteMatch) Unmarshal

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

func (*TCPRouteMatch) XXX_DiscardUnknown

func (m *TCPRouteMatch) XXX_DiscardUnknown()

func (*TCPRouteMatch) XXX_Marshal

func (m *TCPRouteMatch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPRouteMatch) XXX_Merge

func (m *TCPRouteMatch) XXX_Merge(src proto.Message)

func (*TCPRouteMatch) XXX_Size

func (m *TCPRouteMatch) XXX_Size() int

func (*TCPRouteMatch) XXX_Unmarshal

func (m *TCPRouteMatch) XXX_Unmarshal(b []byte) error

type TCPRouteRule

type TCPRouteRule struct {
	// Match defines which connections match this rule.
	//
	// +optional
	Match *TCPRouteMatch `json:"match" protobuf:"bytes,1,opt,name=match"`
	// Action defines what happens to the connection.
	//
	// +optional
	Action *TCPRouteAction `json:"action" protobuf:"bytes,2,opt,name=action"`
}

TCPRouteRule is the configuration for a given rule.

func (*TCPRouteRule) DeepCopy

func (in *TCPRouteRule) DeepCopy() *TCPRouteRule

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

func (*TCPRouteRule) DeepCopyInto

func (in *TCPRouteRule) DeepCopyInto(out *TCPRouteRule)

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

func (*TCPRouteRule) Descriptor

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

func (*TCPRouteRule) Marshal

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

func (*TCPRouteRule) MarshalTo

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

func (*TCPRouteRule) MarshalToSizedBuffer

func (m *TCPRouteRule) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPRouteRule) ProtoMessage

func (*TCPRouteRule) ProtoMessage()

func (*TCPRouteRule) Reset

func (m *TCPRouteRule) Reset()

func (*TCPRouteRule) Size

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

func (*TCPRouteRule) String

func (this *TCPRouteRule) String() string

func (*TCPRouteRule) Unmarshal

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

func (*TCPRouteRule) XXX_DiscardUnknown

func (m *TCPRouteRule) XXX_DiscardUnknown()

func (*TCPRouteRule) XXX_Marshal

func (m *TCPRouteRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPRouteRule) XXX_Merge

func (m *TCPRouteRule) XXX_Merge(src proto.Message)

func (*TCPRouteRule) XXX_Size

func (m *TCPRouteRule) XXX_Size() int

func (*TCPRouteRule) XXX_Unmarshal

func (m *TCPRouteRule) XXX_Unmarshal(b []byte) error

type TCPRouteSpec

type TCPRouteSpec struct {
	// Rules are a list of TCP matchers and actions.
	Rules []TCPRouteRule `json:"rules" protobuf:"bytes,1,rep,name=rules"`
}

TCPRouteSpec defines the desired state of TCPRoute

func (*TCPRouteSpec) DeepCopy

func (in *TCPRouteSpec) DeepCopy() *TCPRouteSpec

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

func (*TCPRouteSpec) DeepCopyInto

func (in *TCPRouteSpec) DeepCopyInto(out *TCPRouteSpec)

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

func (*TCPRouteSpec) Descriptor

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

func (*TCPRouteSpec) Marshal

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

func (*TCPRouteSpec) MarshalTo

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

func (*TCPRouteSpec) MarshalToSizedBuffer

func (m *TCPRouteSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPRouteSpec) ProtoMessage

func (*TCPRouteSpec) ProtoMessage()

func (*TCPRouteSpec) Reset

func (m *TCPRouteSpec) Reset()

func (*TCPRouteSpec) Size

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

func (*TCPRouteSpec) String

func (this *TCPRouteSpec) String() string

func (*TCPRouteSpec) Unmarshal

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

func (*TCPRouteSpec) XXX_DiscardUnknown

func (m *TCPRouteSpec) XXX_DiscardUnknown()

func (*TCPRouteSpec) XXX_Marshal

func (m *TCPRouteSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPRouteSpec) XXX_Merge

func (m *TCPRouteSpec) XXX_Merge(src proto.Message)

func (*TCPRouteSpec) XXX_Size

func (m *TCPRouteSpec) XXX_Size() int

func (*TCPRouteSpec) XXX_Unmarshal

func (m *TCPRouteSpec) XXX_Unmarshal(b []byte) error

type TCPRouteStatus

type TCPRouteStatus struct {
	GatewayRefs []GatewayObjectReference `json:"gatewayRefs" protobuf:"bytes,1,rep,name=gatewayRefs"`
}

TCPRouteStatus defines the observed state of TCPRoute

func (*TCPRouteStatus) DeepCopy

func (in *TCPRouteStatus) DeepCopy() *TCPRouteStatus

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

func (*TCPRouteStatus) DeepCopyInto

func (in *TCPRouteStatus) DeepCopyInto(out *TCPRouteStatus)

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

func (*TCPRouteStatus) Descriptor

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

func (*TCPRouteStatus) Marshal

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

func (*TCPRouteStatus) MarshalTo

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

func (*TCPRouteStatus) MarshalToSizedBuffer

func (m *TCPRouteStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TCPRouteStatus) ProtoMessage

func (*TCPRouteStatus) ProtoMessage()

func (*TCPRouteStatus) Reset

func (m *TCPRouteStatus) Reset()

func (*TCPRouteStatus) Size

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

func (*TCPRouteStatus) String

func (this *TCPRouteStatus) String() string

func (*TCPRouteStatus) Unmarshal

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

func (*TCPRouteStatus) XXX_DiscardUnknown

func (m *TCPRouteStatus) XXX_DiscardUnknown()

func (*TCPRouteStatus) XXX_Marshal

func (m *TCPRouteStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TCPRouteStatus) XXX_Merge

func (m *TCPRouteStatus) XXX_Merge(src proto.Message)

func (*TCPRouteStatus) XXX_Size

func (m *TCPRouteStatus) XXX_Size() int

func (*TCPRouteStatus) XXX_Unmarshal

func (m *TCPRouteStatus) XXX_Unmarshal(b []byte) error

type TLSConfig

type TLSConfig struct {
	// CertificateRefs is a list of references to Kubernetes objects that each
	// contain an identity certificate.  The host name in a TLS SNI client hello
	// message is used for certificate matching and route host name selection.
	// The SNI server_name must match a route host name for the Gateway to route
	// the TLS request.  If an entry in this list omits or specifies the empty
	// string for both the group and the resource, the resource defaults to "secrets".
	// An implementation may support other resources (for example, resource
	// "mycertificates" in group "networking.acme.io").
	//
	// Support: Core (Kubernetes Secrets)
	// Support: Implementation-specific (Other resource types)
	//
	// +required
	CertificateRefs []CertificateObjectReference `json:"certificateRefs,omitempty" protobuf:"bytes,1,rep,name=certificateRefs"`
	// MinimumVersion of TLS allowed. It is recommended to use one of
	// the TLS_* constants above. Note: MinimumVersion is not strongly
	// typed to allow implementation-specific versions to be used without
	// requiring updates to the API types. String must be of the form
	// "<protocol><major>_<minor>".
	//
	// Support: Core for TLS1_{1,2,3}. Implementation-specific for all other
	// values.
	//
	// +optional
	MinimumVersion *string `json:"minimumVersion" protobuf:"bytes,2,opt,name=minimumVersion"`
	// Options are a list of key/value pairs to give extended options
	// to the provider.
	//
	// There variation among providers as to how ciphersuites are
	// expressed. If there is a common subset for expressing ciphers
	// then it will make sense to loft that as a core API
	// construct.
	//
	// Support: Implementation-specific.
	Options map[string]string `json:"options" protobuf:"bytes,3,rep,name=options"`
}

TLSConfig describes a TLS configuration.

References - nginx: https://nginx.org/en/docs/http/configuring_https_servers.html - envoy: https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/auth/cert.proto - haproxy: https://www.haproxy.com/documentation/aloha/9-5/traffic-management/lb-layer7/tls/ - gcp: https://cloud.google.com/load-balancing/docs/use-ssl-policies#creating_an_ssl_policy_with_a_custom_profile - aws: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies - azure: https://docs.microsoft.com/en-us/azure/app-service/configure-ssl-bindings#enforce-tls-1112

func (*TLSConfig) DeepCopy

func (in *TLSConfig) DeepCopy() *TLSConfig

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

func (*TLSConfig) DeepCopyInto

func (in *TLSConfig) DeepCopyInto(out *TLSConfig)

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

func (*TLSConfig) Descriptor

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

func (*TLSConfig) Marshal

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

func (*TLSConfig) MarshalTo

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

func (*TLSConfig) MarshalToSizedBuffer

func (m *TLSConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TLSConfig) ProtoMessage

func (*TLSConfig) ProtoMessage()

func (*TLSConfig) Reset

func (m *TLSConfig) Reset()

func (*TLSConfig) Size

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

func (*TLSConfig) String

func (this *TLSConfig) String() string

func (*TLSConfig) Unmarshal

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

func (*TLSConfig) XXX_DiscardUnknown

func (m *TLSConfig) XXX_DiscardUnknown()

func (*TLSConfig) XXX_Marshal

func (m *TLSConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TLSConfig) XXX_Merge

func (m *TLSConfig) XXX_Merge(src proto.Message)

func (*TLSConfig) XXX_Size

func (m *TLSConfig) XXX_Size() int

func (*TLSConfig) XXX_Unmarshal

func (m *TLSConfig) XXX_Unmarshal(b []byte) error

type TargetPort

type TargetPort int32

TargetPort specifies the destination port number to use for a TargetRef.

type TargetWeight

type TargetWeight int32

TargetWeight specifies weight used for making a forwarding decision to a TargetRef.

Jump to

Keyboard shortcuts

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