Documentation ¶
Index ¶
- type Selector
- func (*Selector) Descriptor() ([]byte, []int)
- func (this *Selector) Equal(that interface{}) bool
- func (m *Selector) GetKeys() []string
- func (*Selector) ProtoMessage()
- func (m *Selector) Reset()
- func (m *Selector) String() string
- func (m *Selector) XXX_DiscardUnknown()
- func (m *Selector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Selector) XXX_Merge(src proto.Message)
- func (m *Selector) XXX_Size() int
- func (m *Selector) XXX_Unmarshal(b []byte) error
- type ServiceSpec
- func (*ServiceSpec) Descriptor() ([]byte, []int)
- func (this *ServiceSpec) Equal(that interface{}) bool
- func (m *ServiceSpec) GetGrpc() *grpc.ServiceSpec
- func (m *ServiceSpec) GetPluginType() isServiceSpec_PluginType
- func (m *ServiceSpec) GetRest() *rest.ServiceSpec
- func (*ServiceSpec) ProtoMessage()
- func (m *ServiceSpec) Reset()
- func (m *ServiceSpec) String() string
- func (m *ServiceSpec) XXX_DiscardUnknown()
- func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceSpec) XXX_Merge(src proto.Message)
- func (*ServiceSpec) XXX_OneofWrappers() []interface{}
- func (m *ServiceSpec) XXX_Size() int
- func (m *ServiceSpec) XXX_Unmarshal(b []byte) error
- type ServiceSpec_Grpc
- type ServiceSpec_Rest
- type SubsetSpec
- func (*SubsetSpec) Descriptor() ([]byte, []int)
- func (this *SubsetSpec) Equal(that interface{}) bool
- func (m *SubsetSpec) GetSelectors() []*Selector
- func (*SubsetSpec) ProtoMessage()
- func (m *SubsetSpec) Reset()
- func (m *SubsetSpec) String() string
- func (m *SubsetSpec) XXX_DiscardUnknown()
- func (m *SubsetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubsetSpec) XXX_Merge(src proto.Message)
- func (m *SubsetSpec) XXX_Size() int
- func (m *SubsetSpec) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Selector ¶
type Selector struct { Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Selector) Descriptor ¶
func (*Selector) ProtoMessage ¶
func (*Selector) ProtoMessage()
func (*Selector) XXX_DiscardUnknown ¶
func (m *Selector) XXX_DiscardUnknown()
func (*Selector) XXX_Marshal ¶
func (*Selector) XXX_Unmarshal ¶
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 valid to be assigned to PluginType: // *ServiceSpec_Rest // *ServiceSpec_Grpc PluginType isServiceSpec_PluginType `protobuf_oneof:"plugin_type"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*ServiceSpec) Descriptor() ([]byte, []int)
func (*ServiceSpec) Equal ¶
func (this *ServiceSpec) Equal(that interface{}) bool
func (*ServiceSpec) GetGrpc ¶
func (m *ServiceSpec) GetGrpc() *grpc.ServiceSpec
func (*ServiceSpec) GetPluginType ¶
func (m *ServiceSpec) GetPluginType() isServiceSpec_PluginType
func (*ServiceSpec) GetRest ¶
func (m *ServiceSpec) GetRest() *rest.ServiceSpec
func (*ServiceSpec) ProtoMessage ¶
func (*ServiceSpec) ProtoMessage()
func (*ServiceSpec) Reset ¶
func (m *ServiceSpec) Reset()
func (*ServiceSpec) String ¶
func (m *ServiceSpec) String() string
func (*ServiceSpec) XXX_DiscardUnknown ¶
func (m *ServiceSpec) XXX_DiscardUnknown()
func (*ServiceSpec) XXX_Marshal ¶
func (m *ServiceSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceSpec) XXX_Merge ¶
func (m *ServiceSpec) XXX_Merge(src proto.Message)
func (*ServiceSpec) XXX_OneofWrappers ¶
func (*ServiceSpec) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ServiceSpec) XXX_Size ¶
func (m *ServiceSpec) XXX_Size() int
func (*ServiceSpec) XXX_Unmarshal ¶
func (m *ServiceSpec) XXX_Unmarshal(b []byte) error
type ServiceSpec_Grpc ¶
type ServiceSpec_Grpc struct {
Grpc *grpc.ServiceSpec `protobuf:"bytes,2,opt,name=grpc,proto3,oneof" json:"grpc,omitempty"`
}
func (*ServiceSpec_Grpc) Equal ¶
func (this *ServiceSpec_Grpc) Equal(that interface{}) bool
type ServiceSpec_Rest ¶
type ServiceSpec_Rest struct {
Rest *rest.ServiceSpec `protobuf:"bytes,1,opt,name=rest,proto3,oneof" json:"rest,omitempty"`
}
func (*ServiceSpec_Rest) Equal ¶
func (this *ServiceSpec_Rest) Equal(that interface{}) bool
type SubsetSpec ¶
type SubsetSpec struct { Selectors []*Selector `protobuf:"bytes,1,rep,name=selectors,proto3" json:"selectors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubsetSpec) Descriptor ¶
func (*SubsetSpec) Descriptor() ([]byte, []int)
func (*SubsetSpec) Equal ¶
func (this *SubsetSpec) Equal(that interface{}) bool
func (*SubsetSpec) GetSelectors ¶
func (m *SubsetSpec) GetSelectors() []*Selector
func (*SubsetSpec) ProtoMessage ¶
func (*SubsetSpec) ProtoMessage()
func (*SubsetSpec) Reset ¶
func (m *SubsetSpec) Reset()
func (*SubsetSpec) String ¶
func (m *SubsetSpec) String() string
func (*SubsetSpec) XXX_DiscardUnknown ¶
func (m *SubsetSpec) XXX_DiscardUnknown()
func (*SubsetSpec) XXX_Marshal ¶
func (m *SubsetSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubsetSpec) XXX_Merge ¶
func (m *SubsetSpec) XXX_Merge(src proto.Message)
func (*SubsetSpec) XXX_Size ¶
func (m *SubsetSpec) XXX_Size() int
func (*SubsetSpec) XXX_Unmarshal ¶
func (m *SubsetSpec) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.