Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder collects functions that add things to a scheme. It's to allow // code to compile without explicitly referencing generated types. You should // declare one in each package that will have generated deep copy or conversion // functions. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme applies all the stored functions to the scheme. A non-nil error // indicates that one function failed and the attempt was abandoned. AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{ Group: ts.GroupName, Version: "v1alpha2", }
SchemeGroupVersion is the identifier for the API which includes the name of the group and the version of the API
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type HTTPMatch ¶
type HTTPMatch struct { // Name is the name of the match for referencing in a TrafficTarget Name string `json:"name,omitempty"` // Methods for inbound traffic as defined in RFC 7231 // https://tools.ietf.org/html/rfc7231#section-4 Methods []string `json:"methods,omitempty"` // PathRegex is a regular expression defining the route PathRegex string `json:"pathRegex,omitempty"` // Headers is a list of headers used to match HTTP traffic Headers httpHeaders `json:"headers,omitempty"` }
HTTPMatch defines an individual route for HTTP traffic
func (*HTTPMatch) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPMatch.
func (*HTTPMatch) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HTTPRouteGroup ¶
type HTTPRouteGroup struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Routes for inbound traffic Matches []HTTPMatch `json:"matches,omitempty"` }
HTTPRouteGroup is used to describe HTTP/1 and HTTP/2 traffic. It enumerates the routes that can be served by an application.
func (*HTTPRouteGroup) DeepCopy ¶
func (in *HTTPRouteGroup) DeepCopy() *HTTPRouteGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteGroup.
func (*HTTPRouteGroup) DeepCopyInto ¶
func (in *HTTPRouteGroup) DeepCopyInto(out *HTTPRouteGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPRouteGroup) DeepCopyObject ¶
func (in *HTTPRouteGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPRouteGroupList ¶
type HTTPRouteGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []HTTPRouteGroup `json:"items"` }
HTTPRouteGroupList satisfy K8s code gen requirements
func (*HTTPRouteGroupList) DeepCopy ¶
func (in *HTTPRouteGroupList) DeepCopy() *HTTPRouteGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HTTPRouteGroupList.
func (*HTTPRouteGroupList) DeepCopyInto ¶
func (in *HTTPRouteGroupList) DeepCopyInto(out *HTTPRouteGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HTTPRouteGroupList) DeepCopyObject ¶
func (in *HTTPRouteGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HTTPRouteMethod ¶
type HTTPRouteMethod string
HTTPRouteMethod are methods allowed by the route
const ( // HTTPRouteMethodAll is a wildcard for all HTTP methods HTTPRouteMethodAll HTTPRouteMethod = "*" // HTTPRouteMethodGet HTTP GET method HTTPRouteMethodGet HTTPRouteMethod = "GET" // HTTPRouteMethodHead HTTP HEAD method HTTPRouteMethodHead HTTPRouteMethod = "HEAD" // HTTPRouteMethodPut HTTP PUT method HTTPRouteMethodPut HTTPRouteMethod = "PUT" // HTTPRouteMethodPost HTTP POST method HTTPRouteMethodPost HTTPRouteMethod = "POST" // HTTPRouteMethodDelete HTTP DELETE method HTTPRouteMethodDelete HTTPRouteMethod = "DELETE" // HTTPRouteMethodConnect HTTP CONNECT method HTTPRouteMethodConnect HTTPRouteMethod = "CONNECT" // HTTPRouteMethodOptions HTTP OPTIONS method HTTPRouteMethodOptions HTTPRouteMethod = "OPTIONS" // HTTPRouteMethodTrace HTTP TRACE method HTTPRouteMethodTrace HTTPRouteMethod = "TRACE" // HTTPRouteMethodPatch HTTP PATCH method HTTPRouteMethodPatch HTTPRouteMethod = "PATCH" )
type TCPRoute ¶
type TCPRoute struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` }
TCPRoute is used to describe TCP inbound connections
func (*TCPRoute) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TCPRoute.
func (*TCPRoute) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TCPRoute) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TCPRouteList ¶
type TCPRouteList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []TCPRoute `json:"items"` }
TCPRouteList satisfy K8s code gen requirements
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.