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: gloogateway.GatewayGroupName, 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 ¶
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 ¶
func (in *HeaderMatcher) DeepCopy() *HeaderMatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HeaderMatcher.
func (*HeaderMatcher) DeepCopyInto ¶
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 ¶
type Matcher struct { Headers []HeaderMatcher `json:"headers,omitempty"` QueryParameterMatchers []QueryParameterMatcher `json:"queryParameters,omitempty"` Methods []string `json:"methods,omitempty"` }
func (*Matcher) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Matcher.
func (*Matcher) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultiDestination ¶
type MultiDestination struct {
Destinations []WeightedDestination `json:"destinations,omitempty"`
}
func (*MultiDestination) DeepCopy ¶
func (in *MultiDestination) DeepCopy() *MultiDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiDestination.
func (*MultiDestination) DeepCopyInto ¶
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 ¶
type QueryParameterMatcher struct { Name string `json:"name,omitempty"` Value string `json:"value,omitempty"` Regex bool `json:"regex,omitempty"` }
func (*QueryParameterMatcher) DeepCopy ¶
func (in *QueryParameterMatcher) DeepCopy() *QueryParameterMatcher
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new QueryParameterMatcher.
func (*QueryParameterMatcher) DeepCopyInto ¶
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 ¶
type Route struct { Matchers []Matcher `json:"matchers,omitempty"` Action RouteAction `json:"routeAction,omitempty"` InheritablePathMatchers bool `json:"inheritablePathMatchers,omitempty"` }
func (*Route) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Route.
func (*Route) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteAction ¶
type RouteAction struct {
Destination MultiDestination `json:"multi,omitempty"`
}
func (*RouteAction) DeepCopy ¶
func (in *RouteAction) DeepCopy() *RouteAction
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteAction.
func (*RouteAction) DeepCopyInto ¶
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 ¶
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 ¶
func (in *RouteTable) DeepCopy() *RouteTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTable.
func (*RouteTable) DeepCopyInto ¶
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 ¶
func (in *RouteTable) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteTableList ¶
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 ¶
func (in *RouteTableList) DeepCopy() *RouteTableList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableList.
func (*RouteTableList) DeepCopyInto ¶
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 ¶
func (in *RouteTableList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteTableSpec ¶
type RouteTableSpec struct {
Routes []Route `json:"routes,omitempty"`
}
func (*RouteTableSpec) DeepCopy ¶
func (in *RouteTableSpec) DeepCopy() *RouteTableSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTableSpec.
func (*RouteTableSpec) DeepCopyInto ¶
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.