plugins

package
v0.0.0-...-5a6645a Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Selector) Equal

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

func (*Selector) GetKeys

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

func (*Selector) ProtoMessage

func (*Selector) ProtoMessage()

func (*Selector) Reset

func (m *Selector) Reset()

func (*Selector) String

func (m *Selector) String() string

func (*Selector) XXX_DiscardUnknown

func (m *Selector) XXX_DiscardUnknown()

func (*Selector) XXX_Marshal

func (m *Selector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Selector) XXX_Merge

func (m *Selector) XXX_Merge(src proto.Message)

func (*Selector) XXX_Size

func (m *Selector) XXX_Size() int

func (*Selector) XXX_Unmarshal

func (m *Selector) XXX_Unmarshal(b []byte) error

type ServiceSpec

type ServiceSpec struct {
	// Note to developers: new Service Plugins must be added to this oneof field
	// to be usable by 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 Plugins.

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

Jump to

Keyboard shortcuts

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