plugins

package
v0.18.15 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 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 added in v0.13.6

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 added in v0.13.6

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

func (*Selector) Equal added in v0.13.6

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

func (*Selector) GetKeys added in v0.13.6

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

func (*Selector) ProtoMessage added in v0.13.6

func (*Selector) ProtoMessage()

func (*Selector) Reset added in v0.13.6

func (m *Selector) Reset()

func (*Selector) String added in v0.13.6

func (m *Selector) String() string

func (*Selector) XXX_DiscardUnknown added in v0.13.6

func (m *Selector) XXX_DiscardUnknown()

func (*Selector) XXX_Marshal added in v0.13.6

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

func (*Selector) XXX_Merge added in v0.13.6

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

func (*Selector) XXX_Size added in v0.13.6

func (m *Selector) XXX_Size() int

func (*Selector) XXX_Unmarshal added in v0.13.6

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_OneofFuncs

func (*ServiceSpec) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs 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"`
}

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"`
}

func (*ServiceSpec_Rest) Equal

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

type SubsetSpec added in v0.13.6

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 added in v0.13.6

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

func (*SubsetSpec) Equal added in v0.13.6

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

func (*SubsetSpec) GetSelectors added in v0.13.6

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

func (*SubsetSpec) ProtoMessage added in v0.13.6

func (*SubsetSpec) ProtoMessage()

func (*SubsetSpec) Reset added in v0.13.6

func (m *SubsetSpec) Reset()

func (*SubsetSpec) String added in v0.13.6

func (m *SubsetSpec) String() string

func (*SubsetSpec) XXX_DiscardUnknown added in v0.13.6

func (m *SubsetSpec) XXX_DiscardUnknown()

func (*SubsetSpec) XXX_Marshal added in v0.13.6

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

func (*SubsetSpec) XXX_Merge added in v0.13.6

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

func (*SubsetSpec) XXX_Size added in v0.13.6

func (m *SubsetSpec) XXX_Size() int

func (*SubsetSpec) XXX_Unmarshal added in v0.13.6

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