Documentation ¶
Index ¶
- Variables
- type Provider
- func (*Provider) Descriptor() ([]byte, []int)deprecated
- func (m *Provider) GetConfig() isProvider_Config
- func (x *Provider) GetFileConfig() *proto.ProviderConfig
- func (x *Provider) GetGcpConfig() *proto1.ProviderConfig
- func (x *Provider) GetId() string
- func (x *Provider) GetKubernetesConfig() *proto2.ProviderConfig
- func (*Provider) ProtoMessage()
- func (x *Provider) ProtoReflect() protoreflect.Message
- func (x *Provider) Reset()
- func (x *Provider) String() string
- type Provider_FileConfig
- type Provider_GcpConfig
- type Provider_KubernetesConfig
- type ServerConf
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_google_cloudprober_rds_server_proto_config_proto protoreflect.FileDescriptor
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,opt,name=id" json:"id,omitempty"` // Types that are assignable to Config: // *Provider_FileConfig // *Provider_GcpConfig // *Provider_KubernetesConfig Config isProvider_Config `protobuf_oneof:"config"` // contains filtered or unexported fields }
func (*Provider) Descriptor
deprecated
func (*Provider) GetFileConfig ¶ added in v0.11.3
func (x *Provider) GetFileConfig() *proto.ProviderConfig
func (*Provider) GetGcpConfig ¶
func (x *Provider) GetGcpConfig() *proto1.ProviderConfig
func (*Provider) GetKubernetesConfig ¶
func (x *Provider) GetKubernetesConfig() *proto2.ProviderConfig
func (*Provider) ProtoMessage ¶
func (*Provider) ProtoMessage()
func (*Provider) ProtoReflect ¶ added in v0.10.8
func (x *Provider) ProtoReflect() protoreflect.Message
type Provider_FileConfig ¶ added in v0.11.3
type Provider_FileConfig struct {
FileConfig *proto.ProviderConfig `protobuf:"bytes,4,opt,name=file_config,json=fileConfig,oneof"`
}
type Provider_GcpConfig ¶
type Provider_GcpConfig struct {
GcpConfig *proto1.ProviderConfig `protobuf:"bytes,2,opt,name=gcp_config,json=gcpConfig,oneof"`
}
type Provider_KubernetesConfig ¶
type Provider_KubernetesConfig struct {
KubernetesConfig *proto2.ProviderConfig `protobuf:"bytes,3,opt,name=kubernetes_config,json=kubernetesConfig,oneof"`
}
type ServerConf ¶
type ServerConf struct { // List of providers that server supports. Provider []*Provider `protobuf:"bytes,1,rep,name=provider" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*ServerConf) Descriptor
deprecated
func (*ServerConf) Descriptor() ([]byte, []int)
Deprecated: Use ServerConf.ProtoReflect.Descriptor instead.
func (*ServerConf) GetProvider ¶
func (x *ServerConf) GetProvider() []*Provider
func (*ServerConf) ProtoMessage ¶
func (*ServerConf) ProtoMessage()
func (*ServerConf) ProtoReflect ¶ added in v0.10.8
func (x *ServerConf) ProtoReflect() protoreflect.Message
func (*ServerConf) Reset ¶
func (x *ServerConf) Reset()
func (*ServerConf) String ¶
func (x *ServerConf) String() string
Click to show internal directories.
Click to hide internal directories.