Documentation ¶
Index ¶
- Constants
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)
- func (m *Provider) GetConfig() isProvider_Config
- func (m *Provider) GetGcpConfig() *proto1.ProviderConfig
- func (m *Provider) GetId() string
- func (*Provider) ProtoMessage()
- func (m *Provider) Reset()
- func (m *Provider) String() string
- func (m *Provider) XXX_DiscardUnknown()
- func (m *Provider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Provider) XXX_Merge(src proto.Message)
- func (*Provider) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Provider) XXX_Size() int
- func (m *Provider) XXX_Unmarshal(b []byte) error
- type Provider_GcpConfig
- type ServerConf
- func (*ServerConf) Descriptor() ([]byte, []int)
- func (m *ServerConf) GetAddr() string
- func (m *ServerConf) GetProvider() []*Provider
- func (*ServerConf) ProtoMessage()
- func (m *ServerConf) Reset()
- func (m *ServerConf) String() string
- func (m *ServerConf) XXX_DiscardUnknown()
- func (m *ServerConf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ServerConf) XXX_Merge(src proto.Message)
- func (m *ServerConf) XXX_Size() int
- func (m *ServerConf) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Default_ServerConf_Addr string = ":9314"
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) GetGcpConfig ¶
func (m *Provider) GetGcpConfig() *proto1.ProviderConfig
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) XXX_DiscardUnknown ¶
func (m *Provider) XXX_DiscardUnknown()
func (*Provider) XXX_Marshal ¶
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_Unmarshal ¶
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. Addr *string `protobuf:"bytes,2,opt,name=addr,def=:9314" 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
Click to show internal directories.
Click to hide internal directories.