plugins

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 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 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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