Documentation
¶
Index ¶
- Variables
- type ServerDef
- func (*ServerDef) Descriptor() ([]byte, []int)deprecated
- func (x *ServerDef) GetGrpcServer() *proto3.ServerConf
- func (x *ServerDef) GetHttpServer() *proto1.ServerConf
- func (m *ServerDef) GetServer() isServerDef_Server
- func (x *ServerDef) GetType() ServerDef_Type
- func (x *ServerDef) GetUdpServer() *proto2.ServerConf
- func (*ServerDef) ProtoMessage()
- func (x *ServerDef) ProtoReflect() protoreflect.Message
- func (x *ServerDef) Reset()
- func (x *ServerDef) String() string
- type ServerDef_GrpcServer
- type ServerDef_HttpServer
- type ServerDef_Type
- func (ServerDef_Type) Descriptor() protoreflect.EnumDescriptor
- func (x ServerDef_Type) Enum() *ServerDef_Type
- func (ServerDef_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x ServerDef_Type) Number() protoreflect.EnumNumber
- func (x ServerDef_Type) String() string
- func (ServerDef_Type) Type() protoreflect.EnumType
- func (x *ServerDef_Type) UnmarshalJSON(b []byte) errordeprecated
- type ServerDef_UdpServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ServerDef_Type_name = map[int32]string{ 0: "HTTP", 1: "UDP", 2: "GRPC", } ServerDef_Type_value = map[string]int32{ "HTTP": 0, "UDP": 1, "GRPC": 2, } )
Enum value maps for ServerDef_Type.
View Source
var File_github_com_google_cloudprober_servers_proto_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ServerDef ¶
type ServerDef struct { Type *ServerDef_Type `protobuf:"varint,1,req,name=type,enum=cloudprober.servers.ServerDef_Type" json:"type,omitempty"` // Types that are assignable to Server: // *ServerDef_HttpServer // *ServerDef_UdpServer // *ServerDef_GrpcServer Server isServerDef_Server `protobuf_oneof:"server"` // contains filtered or unexported fields }
func (*ServerDef) Descriptor
deprecated
func (*ServerDef) GetGrpcServer ¶
func (x *ServerDef) GetGrpcServer() *proto3.ServerConf
func (*ServerDef) GetHttpServer ¶
func (x *ServerDef) GetHttpServer() *proto1.ServerConf
func (*ServerDef) GetType ¶
func (x *ServerDef) GetType() ServerDef_Type
func (*ServerDef) GetUdpServer ¶
func (x *ServerDef) GetUdpServer() *proto2.ServerConf
func (*ServerDef) ProtoMessage ¶
func (*ServerDef) ProtoMessage()
func (*ServerDef) ProtoReflect ¶ added in v0.10.8
func (x *ServerDef) ProtoReflect() protoreflect.Message
type ServerDef_GrpcServer ¶
type ServerDef_GrpcServer struct {
GrpcServer *proto3.ServerConf `protobuf:"bytes,4,opt,name=grpc_server,json=grpcServer,oneof"`
}
type ServerDef_HttpServer ¶
type ServerDef_HttpServer struct {
HttpServer *proto1.ServerConf `protobuf:"bytes,2,opt,name=http_server,json=httpServer,oneof"`
}
type ServerDef_Type ¶
type ServerDef_Type int32
const ( ServerDef_HTTP ServerDef_Type = 0 ServerDef_UDP ServerDef_Type = 1 ServerDef_GRPC ServerDef_Type = 2 )
func (ServerDef_Type) Descriptor ¶ added in v0.10.8
func (ServerDef_Type) Descriptor() protoreflect.EnumDescriptor
func (ServerDef_Type) Enum ¶
func (x ServerDef_Type) Enum() *ServerDef_Type
func (ServerDef_Type) EnumDescriptor
deprecated
func (ServerDef_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use ServerDef_Type.Descriptor instead.
func (ServerDef_Type) Number ¶ added in v0.10.8
func (x ServerDef_Type) Number() protoreflect.EnumNumber
func (ServerDef_Type) String ¶
func (x ServerDef_Type) String() string
func (ServerDef_Type) Type ¶ added in v0.10.8
func (ServerDef_Type) Type() protoreflect.EnumType
func (*ServerDef_Type) UnmarshalJSON
deprecated
func (x *ServerDef_Type) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ServerDef_UdpServer ¶
type ServerDef_UdpServer struct {
UdpServer *proto2.ServerConf `protobuf:"bytes,3,opt,name=udp_server,json=udpServer,oneof"`
}
Click to show internal directories.
Click to hide internal directories.