v1

package
v1.36.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=gateway.solo.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: gloo.GatewayGroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

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

func (in *Matcher) DeepCopy() *Matcher

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

func (*Matcher) DeepCopyInto

func (in *Matcher) DeepCopyInto(out *Matcher)

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

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

func (in *Route) DeepCopy() *Route

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

func (*Route) DeepCopyInto

func (in *Route) DeepCopyInto(out *Route)

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.

Jump to

Keyboard shortcuts

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