Documentation ¶
Overview ¶
Package v1 is the v1 version of the API. +groupName=gloo.solo.io
Index ¶
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 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 UpstreamGroup ¶
type UpstreamGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UpstreamGroupSpec `json:"spec"` }
UpstreamGroup is a specification for a Gloo UpstreamGroup resource
func (*UpstreamGroup) DeepCopy ¶
func (in *UpstreamGroup) DeepCopy() *UpstreamGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamGroup.
func (*UpstreamGroup) DeepCopyInto ¶
func (in *UpstreamGroup) DeepCopyInto(out *UpstreamGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpstreamGroup) DeepCopyObject ¶
func (in *UpstreamGroup) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpstreamGroupList ¶
type UpstreamGroupList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []UpstreamGroup `json:"items"` }
UpstreamGroupList is a list of UpstreamGroup resources
func (*UpstreamGroupList) DeepCopy ¶
func (in *UpstreamGroupList) DeepCopy() *UpstreamGroupList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamGroupList.
func (*UpstreamGroupList) DeepCopyInto ¶
func (in *UpstreamGroupList) DeepCopyInto(out *UpstreamGroupList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpstreamGroupList) DeepCopyObject ¶
func (in *UpstreamGroupList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpstreamGroupSpec ¶
type UpstreamGroupSpec struct {
Destinations []WeightedDestination `json:"destinations,omitempty"`
}
func (*UpstreamGroupSpec) DeepCopy ¶
func (in *UpstreamGroupSpec) DeepCopy() *UpstreamGroupSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpstreamGroupSpec.
func (*UpstreamGroupSpec) DeepCopyInto ¶
func (in *UpstreamGroupSpec) DeepCopyInto(out *UpstreamGroupSpec)
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.