proto

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// Provider identifier, e.g. "gcp". Server routes incoming requests to various
	// providers based on this id.
	Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
	// Types that are valid to be assigned to Config:
	//	*Provider_GcpConfig
	Config               isProvider_Config `protobuf_oneof:"config"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Provider) Descriptor

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

func (*Provider) GetConfig

func (m *Provider) GetConfig() isProvider_Config

func (*Provider) GetGcpConfig

func (m *Provider) GetGcpConfig() *proto1.ProviderConfig

func (*Provider) GetId

func (m *Provider) GetId() string

func (*Provider) ProtoMessage

func (*Provider) ProtoMessage()

func (*Provider) Reset

func (m *Provider) Reset()

func (*Provider) String

func (m *Provider) String() string

func (*Provider) XXX_DiscardUnknown

func (m *Provider) XXX_DiscardUnknown()

func (*Provider) XXX_Marshal

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

func (*Provider) XXX_Merge

func (dst *Provider) XXX_Merge(src proto.Message)

func (*Provider) XXX_OneofFuncs

func (*Provider) 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 (*Provider) XXX_Size

func (m *Provider) XXX_Size() int

func (*Provider) XXX_Unmarshal

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

type Provider_GcpConfig

type Provider_GcpConfig struct {
	GcpConfig *proto1.ProviderConfig `protobuf:"bytes,2,opt,name=gcp_config,json=gcpConfig,oneof"`
}

type ServerConf

type ServerConf struct {
	// List of providers that server supports.
	Provider []*Provider `protobuf:"bytes,1,rep,name=provider" json:"provider,omitempty"`
	// Listener address for RDS server. If this address is not provided we try
	// to use the default gRPC server configured through the
	// runtime.SetDefaultGRPCServer() call.
	// TODO(manugarg): Deprecate this option. While running as part of
	// cloudprober, only the top-level gRPC server should be configured. While
	// running standalone, cmd/server.go should create a gRPC server and provide
	// that to server.New() call.
	Addr                 *string  `protobuf:"bytes,2,opt,name=addr" json:"addr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ServerConf) Descriptor

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

func (*ServerConf) GetAddr

func (m *ServerConf) GetAddr() string

func (*ServerConf) GetProvider

func (m *ServerConf) GetProvider() []*Provider

func (*ServerConf) ProtoMessage

func (*ServerConf) ProtoMessage()

func (*ServerConf) Reset

func (m *ServerConf) Reset()

func (*ServerConf) String

func (m *ServerConf) String() string

func (*ServerConf) XXX_DiscardUnknown

func (m *ServerConf) XXX_DiscardUnknown()

func (*ServerConf) XXX_Marshal

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

func (*ServerConf) XXX_Merge

func (dst *ServerConf) XXX_Merge(src proto.Message)

func (*ServerConf) XXX_Size

func (m *ServerConf) XXX_Size() int

func (*ServerConf) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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