Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=gateway.solo.io
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Destination
- type HeaderMatcher
- type Matcher
- type MultiDestination
- type QueryParameterMatcher
- type ResourceRef
- type Route
- type RouteAction
- type RouteTable
- type RouteTableList
- type RouteTableSpec
- type WeightedDestination
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: gloo.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Destination ¶
type Destination struct {
Upstream ResourceRef `json:"upstream"`
}
Destinations define routable destinations for proxied requests
func (*Destination) DeepCopy ¶
func (in *Destination) DeepCopy() *Destination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination.
func (*Destination) DeepCopyInto ¶
func (in *Destination) DeepCopyInto(out *Destination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HeaderMatcher ¶ added in v1.6.0
type HeaderMatcher struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Regex bool `json:"regex,omitempty"` InvertMatch bool `json:"invertMatch,omitempty"` }
func (*HeaderMatcher) DeepCopy ¶ added in v1.6.0
func (in *HeaderMatcher) DeepCopy() *HeaderMatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderMatcher.
func (*HeaderMatcher) DeepCopyInto ¶ added in v1.6.0
func (in *HeaderMatcher) DeepCopyInto(out *HeaderMatcher)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Matcher ¶ added in v1.6.0
type Matcher struct { Headers []HeaderMatcher `json:"headers,omitempty"` QueryParameterMatchers []QueryParameterMatcher `json:"queryParameters,omitempty"` Methods []string `json:"methods,omitempty"` }
func (*Matcher) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Matcher.
func (*Matcher) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiDestination ¶ added in v1.6.0
type MultiDestination struct {
Destinations []WeightedDestination `json:"destinations,omitempty"`
}
func (*MultiDestination) DeepCopy ¶ added in v1.6.0
func (in *MultiDestination) DeepCopy() *MultiDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiDestination.
func (*MultiDestination) DeepCopyInto ¶ added in v1.6.0
func (in *MultiDestination) DeepCopyInto(out *MultiDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type QueryParameterMatcher ¶ added in v1.6.0
type QueryParameterMatcher struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Regex bool `json:"regex,omitempty"` }
func (*QueryParameterMatcher) DeepCopy ¶ added in v1.6.0
func (in *QueryParameterMatcher) DeepCopy() *QueryParameterMatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParameterMatcher.
func (*QueryParameterMatcher) DeepCopyInto ¶ added in v1.6.0
func (in *QueryParameterMatcher) DeepCopyInto(out *QueryParameterMatcher)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceRef ¶
type ResourceRef struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` }
ResourceRef references resources across namespaces
func (*ResourceRef) DeepCopy ¶
func (in *ResourceRef) DeepCopy() *ResourceRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceRef.
func (*ResourceRef) DeepCopyInto ¶
func (in *ResourceRef) DeepCopyInto(out *ResourceRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Route ¶ added in v1.6.0
type Route struct { Matchers []Matcher `json:"matchers,omitempty"` Action RouteAction `json:"routeAction,omitempty"` InheritablePathMatchers bool `json:"inheritablePathMatchers,omitempty"` }
func (*Route) DeepCopy ¶ added in v1.6.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶ added in v1.6.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteAction ¶ added in v1.6.0
type RouteAction struct {
Destination MultiDestination `json:"multi,omitempty"`
}
func (*RouteAction) DeepCopy ¶ added in v1.6.0
func (in *RouteAction) DeepCopy() *RouteAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteAction.
func (*RouteAction) DeepCopyInto ¶ added in v1.6.0
func (in *RouteAction) DeepCopyInto(out *RouteAction)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTable ¶ added in v1.6.0
type RouteTable struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RouteTableSpec `json:"spec"` }
RouteTable is a specification for a Gloo RouteTable resource
func (*RouteTable) DeepCopy ¶ added in v1.6.0
func (in *RouteTable) DeepCopy() *RouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTable.
func (*RouteTable) DeepCopyInto ¶ added in v1.6.0
func (in *RouteTable) DeepCopyInto(out *RouteTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteTable) DeepCopyObject ¶ added in v1.6.0
func (in *RouteTable) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteTableList ¶ added in v1.6.0
type RouteTableList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []RouteTable `json:"items"` }
RouteTableList is a list of RouteTable resources
func (*RouteTableList) DeepCopy ¶ added in v1.6.0
func (in *RouteTableList) DeepCopy() *RouteTableList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableList.
func (*RouteTableList) DeepCopyInto ¶ added in v1.6.0
func (in *RouteTableList) DeepCopyInto(out *RouteTableList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteTableList) DeepCopyObject ¶ added in v1.6.0
func (in *RouteTableList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteTableSpec ¶ added in v1.6.0
type RouteTableSpec struct {
Routes []Route `json:"routes,omitempty"`
}
func (*RouteTableSpec) DeepCopy ¶ added in v1.6.0
func (in *RouteTableSpec) DeepCopy() *RouteTableSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableSpec.
func (*RouteTableSpec) DeepCopyInto ¶ added in v1.6.0
func (in *RouteTableSpec) DeepCopyInto(out *RouteTableSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeightedDestination ¶
type WeightedDestination struct { Destination Destination `json:"destination,omitempty"` // Weight must be greater than zero // Routing to each destination will be balanced by the ratio of the destination's weight to the total weight on a route Weight uint32 `json:"weight,omitempty"` }
WeightedDestination attaches a weight to a single destination.
func (*WeightedDestination) DeepCopy ¶
func (in *WeightedDestination) DeepCopy() *WeightedDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedDestination.
func (*WeightedDestination) DeepCopyInto ¶
func (in *WeightedDestination) DeepCopyInto(out *WeightedDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.