Documentation ¶
Index ¶
- Variables
- type Selector
- func (*Selector) Descriptor() ([]byte, []int)deprecated
- func (m *Selector) Equal(that interface{}) bool
- func (x *Selector) GetKeys() []string
- func (m *Selector) Hash(hasher hash.Hash64) (uint64, error)
- func (*Selector) ProtoMessage()
- func (x *Selector) ProtoReflect() protoreflect.Message
- func (x *Selector) Reset()
- func (x *Selector) String() string
- type ServiceSpec
- func (*ServiceSpec) Descriptor() ([]byte, []int)deprecated
- func (m *ServiceSpec) Equal(that interface{}) bool
- func (x *ServiceSpec) GetGrpc() *grpc.ServiceSpec
- func (m *ServiceSpec) GetPluginType() isServiceSpec_PluginType
- func (x *ServiceSpec) GetRest() *rest.ServiceSpec
- func (m *ServiceSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (*ServiceSpec) ProtoMessage()
- func (x *ServiceSpec) ProtoReflect() protoreflect.Message
- func (x *ServiceSpec) Reset()
- func (x *ServiceSpec) String() string
- type ServiceSpec_Grpc
- type ServiceSpec_Rest
- type SubsetSpec
- func (*SubsetSpec) Descriptor() ([]byte, []int)deprecated
- func (m *SubsetSpec) Equal(that interface{}) bool
- func (x *SubsetSpec) GetSelectors() []*Selector
- func (m *SubsetSpec) Hash(hasher hash.Hash64) (uint64, error)
- func (*SubsetSpec) ProtoMessage()
- func (x *SubsetSpec) ProtoReflect() protoreflect.Message
- func (x *SubsetSpec) Reset()
- func (x *SubsetSpec) String() string
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) ProtoMessage ¶
func (*Selector) ProtoMessage()
func (*Selector) ProtoReflect ¶ added in v1.6.0
func (x *Selector) ProtoReflect() protoreflect.Message
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) 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) 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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.