options

package
v1.8.22 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: Apache-2.0 Imports: 18 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_service_spec_proto protoreflect.FileDescriptor
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_subset_spec_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Selector

type Selector struct {
	Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*Selector) Descriptor deprecated

func (*Selector) Descriptor() ([]byte, []int)

Deprecated: Use Selector.ProtoReflect.Descriptor instead.

func (*Selector) Equal

func (m *Selector) Equal(that interface{}) bool

Equal function

func (*Selector) GetKeys

func (x *Selector) GetKeys() []string

func (*Selector) Hash added in v1.2.13

func (m *Selector) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) ProtoReflect added in v1.6.0

func (x *Selector) ProtoReflect() protoreflect.Message

func (*Selector) Reset

func (x *Selector) Reset()

func (*Selector) String

func (x *Selector) String() string

type ServiceSpec

type ServiceSpec struct {

	// Note to developers: new Service plugins must be added to this oneof field
	// to be usable by Gloo. (plugins currently need to be compiled into Gloo)
	//
	// Types that are assignable to PluginType:
	//	*ServiceSpec_Rest
	//	*ServiceSpec_Grpc
	PluginType isServiceSpec_PluginType `protobuf_oneof:"plugin_type"`
	// contains filtered or unexported fields
}

Describes APIs and application-level information for services Gloo routes to. ServiceSpec is contained within the UpstreamSpec for certain types of upstreams, including Kubernetes, Consul, and Static. ServiceSpec configuration is opaque to Gloo and handled by Service Options.

func (*ServiceSpec) Descriptor deprecated

func (*ServiceSpec) Descriptor() ([]byte, []int)

Deprecated: Use ServiceSpec.ProtoReflect.Descriptor instead.

func (*ServiceSpec) Equal

func (m *ServiceSpec) Equal(that interface{}) bool

Equal function

func (*ServiceSpec) GetGrpc

func (x *ServiceSpec) GetGrpc() *grpc.ServiceSpec

func (*ServiceSpec) GetPluginType

func (m *ServiceSpec) GetPluginType() isServiceSpec_PluginType

func (*ServiceSpec) GetRest

func (x *ServiceSpec) GetRest() *rest.ServiceSpec

func (*ServiceSpec) Hash added in v1.2.13

func (m *ServiceSpec) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*ServiceSpec) ProtoMessage

func (*ServiceSpec) ProtoMessage()

func (*ServiceSpec) ProtoReflect added in v1.6.0

func (x *ServiceSpec) ProtoReflect() protoreflect.Message

func (*ServiceSpec) Reset

func (x *ServiceSpec) Reset()

func (*ServiceSpec) String

func (x *ServiceSpec) String() string

type ServiceSpec_Grpc

type ServiceSpec_Grpc struct {
	Grpc *grpc.ServiceSpec `protobuf:"bytes,2,opt,name=grpc,proto3,oneof"`
}

type ServiceSpec_Rest

type ServiceSpec_Rest struct {
	Rest *rest.ServiceSpec `protobuf:"bytes,1,opt,name=rest,proto3,oneof"`
}

type SubsetSpec

type SubsetSpec struct {
	Selectors []*Selector `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"`
	// contains filtered or unexported fields
}

func (*SubsetSpec) Descriptor deprecated

func (*SubsetSpec) Descriptor() ([]byte, []int)

Deprecated: Use SubsetSpec.ProtoReflect.Descriptor instead.

func (*SubsetSpec) Equal

func (m *SubsetSpec) Equal(that interface{}) bool

Equal function

func (*SubsetSpec) GetSelectors

func (x *SubsetSpec) GetSelectors() []*Selector

func (*SubsetSpec) Hash added in v1.2.13

func (m *SubsetSpec) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*SubsetSpec) ProtoMessage

func (*SubsetSpec) ProtoMessage()

func (*SubsetSpec) ProtoReflect added in v1.6.0

func (x *SubsetSpec) ProtoReflect() protoreflect.Message

func (*SubsetSpec) Reset

func (x *SubsetSpec) Reset()

func (*SubsetSpec) String

func (x *SubsetSpec) String() string

Jump to

Keyboard shortcuts

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