Documentation ¶
Index ¶
- Variables
- func RegisterWebServerConfigServer(s *grpc.Server, srv WebServerConfigServer)
- func RegisterWebServerLogWatcherServer(s *grpc.Server, srv WebServerLogWatcherServer)
- func RegisterWebServerStatisticsServer(s *grpc.Server, srv WebServerStatisticsServer)
- func RegisterWebServerStatusServer(s *grpc.Server, srv WebServerStatusServer)
- type LogWatchRequest
- func (*LogWatchRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LogWatchRequest) GetFilterRule() string
- func (x *LogWatchRequest) GetLogName() string
- func (x *LogWatchRequest) GetServerName() string
- func (*LogWatchRequest) ProtoMessage()
- func (x *LogWatchRequest) ProtoReflect() protoreflect.Message
- func (x *LogWatchRequest) Reset()
- func (x *LogWatchRequest) String() string
- type Metrics
- type Null
- type Response
- type ServerConfig
- func (*ServerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ServerConfig) GetJsonData() []byte
- func (x *ServerConfig) GetServerName() string
- func (*ServerConfig) ProtoMessage()
- func (x *ServerConfig) ProtoReflect() protoreflect.Message
- func (x *ServerConfig) Reset()
- func (x *ServerConfig) String() string
- type ServerName
- type ServerNames
- type Statistics
- type UnimplementedWebServerConfigServer
- type UnimplementedWebServerLogWatcherServer
- type UnimplementedWebServerStatisticsServer
- type UnimplementedWebServerStatusServer
- type WebServerConfigClient
- type WebServerConfigServer
- type WebServerConfig_GetClient
- type WebServerConfig_GetServer
- type WebServerConfig_UpdateClient
- type WebServerConfig_UpdateServer
- type WebServerLogWatcherClient
- type WebServerLogWatcherServer
- type WebServerLogWatcher_WatchClient
- type WebServerLogWatcher_WatchServer
- type WebServerStatisticsClient
- type WebServerStatisticsServer
- type WebServerStatistics_GetClient
- type WebServerStatistics_GetServer
- type WebServerStatusClient
- type WebServerStatusServer
- type WebServerStatus_GetClient
- type WebServerStatus_GetServer
Constants ¶
This section is empty.
Variables ¶
var File_api_protobuf_spec_bifrostpb_v1_bifrost_proto protoreflect.FileDescriptor
Functions ¶
func RegisterWebServerConfigServer ¶
func RegisterWebServerConfigServer(s *grpc.Server, srv WebServerConfigServer)
func RegisterWebServerLogWatcherServer ¶
func RegisterWebServerLogWatcherServer(s *grpc.Server, srv WebServerLogWatcherServer)
func RegisterWebServerStatisticsServer ¶
func RegisterWebServerStatisticsServer(s *grpc.Server, srv WebServerStatisticsServer)
func RegisterWebServerStatusServer ¶
func RegisterWebServerStatusServer(s *grpc.Server, srv WebServerStatusServer)
Types ¶
type LogWatchRequest ¶
type LogWatchRequest struct { ServerName string `protobuf:"bytes,1,opt,name=ServerName,proto3" json:"ServerName,omitempty"` LogName string `protobuf:"bytes,2,opt,name=LogName,proto3" json:"LogName,omitempty"` FilterRule string `protobuf:"bytes,3,opt,name=FilterRule,proto3" json:"FilterRule,omitempty"` // contains filtered or unexported fields }
func (*LogWatchRequest) Descriptor
deprecated
func (*LogWatchRequest) Descriptor() ([]byte, []int)
Deprecated: Use LogWatchRequest.ProtoReflect.Descriptor instead.
func (*LogWatchRequest) GetFilterRule ¶
func (x *LogWatchRequest) GetFilterRule() string
func (*LogWatchRequest) GetLogName ¶
func (x *LogWatchRequest) GetLogName() string
func (*LogWatchRequest) GetServerName ¶
func (x *LogWatchRequest) GetServerName() string
func (*LogWatchRequest) ProtoMessage ¶
func (*LogWatchRequest) ProtoMessage()
func (*LogWatchRequest) ProtoReflect ¶
func (x *LogWatchRequest) ProtoReflect() protoreflect.Message
func (*LogWatchRequest) Reset ¶
func (x *LogWatchRequest) Reset()
func (*LogWatchRequest) String ¶
func (x *LogWatchRequest) String() string
type Metrics ¶
type Metrics struct { JsonData []byte `protobuf:"bytes,1,opt,name=JsonData,proto3" json:"JsonData,omitempty"` // contains filtered or unexported fields }
func (*Metrics) Descriptor
deprecated
func (*Metrics) GetJsonData ¶
func (*Metrics) ProtoMessage ¶
func (*Metrics) ProtoMessage()
func (*Metrics) ProtoReflect ¶
func (x *Metrics) ProtoReflect() protoreflect.Message
type Null ¶
type Null struct {
// contains filtered or unexported fields
}
func (*Null) Descriptor
deprecated
func (*Null) ProtoMessage ¶
func (*Null) ProtoMessage()
func (*Null) ProtoReflect ¶
func (x *Null) ProtoReflect() protoreflect.Message
type Response ¶
type Response struct { Msg []byte `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"` // contains filtered or unexported fields }
func (*Response) Descriptor
deprecated
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type ServerConfig ¶
type ServerConfig struct { ServerName string `protobuf:"bytes,1,opt,name=ServerName,proto3" json:"ServerName,omitempty"` JsonData []byte `protobuf:"bytes,2,opt,name=JsonData,proto3" json:"JsonData,omitempty"` // contains filtered or unexported fields }
func (*ServerConfig) Descriptor
deprecated
func (*ServerConfig) Descriptor() ([]byte, []int)
Deprecated: Use ServerConfig.ProtoReflect.Descriptor instead.
func (*ServerConfig) GetJsonData ¶
func (x *ServerConfig) GetJsonData() []byte
func (*ServerConfig) GetServerName ¶
func (x *ServerConfig) GetServerName() string
func (*ServerConfig) ProtoMessage ¶
func (*ServerConfig) ProtoMessage()
func (*ServerConfig) ProtoReflect ¶
func (x *ServerConfig) ProtoReflect() protoreflect.Message
func (*ServerConfig) Reset ¶
func (x *ServerConfig) Reset()
func (*ServerConfig) String ¶
func (x *ServerConfig) String() string
type ServerName ¶
type ServerName struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` // contains filtered or unexported fields }
func (*ServerName) Descriptor
deprecated
func (*ServerName) Descriptor() ([]byte, []int)
Deprecated: Use ServerName.ProtoReflect.Descriptor instead.
func (*ServerName) GetName ¶
func (x *ServerName) GetName() string
func (*ServerName) ProtoMessage ¶
func (*ServerName) ProtoMessage()
func (*ServerName) ProtoReflect ¶
func (x *ServerName) ProtoReflect() protoreflect.Message
func (*ServerName) Reset ¶
func (x *ServerName) Reset()
func (*ServerName) String ¶
func (x *ServerName) String() string
type ServerNames ¶
type ServerNames struct { Names []*ServerName `protobuf:"bytes,1,rep,name=Names,proto3" json:"Names,omitempty"` // contains filtered or unexported fields }
func (*ServerNames) Descriptor
deprecated
func (*ServerNames) Descriptor() ([]byte, []int)
Deprecated: Use ServerNames.ProtoReflect.Descriptor instead.
func (*ServerNames) GetNames ¶
func (x *ServerNames) GetNames() []*ServerName
func (*ServerNames) ProtoMessage ¶
func (*ServerNames) ProtoMessage()
func (*ServerNames) ProtoReflect ¶
func (x *ServerNames) ProtoReflect() protoreflect.Message
func (*ServerNames) Reset ¶
func (x *ServerNames) Reset()
func (*ServerNames) String ¶
func (x *ServerNames) String() string
type Statistics ¶
type Statistics struct { JsonData []byte `protobuf:"bytes,1,opt,name=JsonData,proto3" json:"JsonData,omitempty"` // contains filtered or unexported fields }
func (*Statistics) Descriptor
deprecated
func (*Statistics) Descriptor() ([]byte, []int)
Deprecated: Use Statistics.ProtoReflect.Descriptor instead.
func (*Statistics) GetJsonData ¶
func (x *Statistics) GetJsonData() []byte
func (*Statistics) ProtoMessage ¶
func (*Statistics) ProtoMessage()
func (*Statistics) ProtoReflect ¶
func (x *Statistics) ProtoReflect() protoreflect.Message
func (*Statistics) Reset ¶
func (x *Statistics) Reset()
func (*Statistics) String ¶
func (x *Statistics) String() string
type UnimplementedWebServerConfigServer ¶
type UnimplementedWebServerConfigServer struct { }
UnimplementedWebServerConfigServer can be embedded to have forward compatible implementations.
func (*UnimplementedWebServerConfigServer) GetServerNames ¶
func (*UnimplementedWebServerConfigServer) GetServerNames(context.Context, *Null) (*ServerNames, error)
func (*UnimplementedWebServerConfigServer) Update ¶
func (*UnimplementedWebServerConfigServer) Update(WebServerConfig_UpdateServer) error
type UnimplementedWebServerLogWatcherServer ¶
type UnimplementedWebServerLogWatcherServer struct { }
UnimplementedWebServerLogWatcherServer can be embedded to have forward compatible implementations.
type UnimplementedWebServerStatisticsServer ¶
type UnimplementedWebServerStatisticsServer struct { }
UnimplementedWebServerStatisticsServer can be embedded to have forward compatible implementations.
type UnimplementedWebServerStatusServer ¶
type UnimplementedWebServerStatusServer struct { }
UnimplementedWebServerStatusServer can be embedded to have forward compatible implementations.
func (*UnimplementedWebServerStatusServer) Get ¶
func (*UnimplementedWebServerStatusServer) Get(*Null, WebServerStatus_GetServer) error
type WebServerConfigClient ¶
type WebServerConfigClient interface { GetServerNames(ctx context.Context, in *Null, opts ...grpc.CallOption) (*ServerNames, error) Get(ctx context.Context, in *ServerName, opts ...grpc.CallOption) (WebServerConfig_GetClient, error) Update(ctx context.Context, opts ...grpc.CallOption) (WebServerConfig_UpdateClient, error) }
WebServerConfigClient is the client API for WebServerConfig service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebServerConfigClient ¶
func NewWebServerConfigClient(cc grpc.ClientConnInterface) WebServerConfigClient
type WebServerConfigServer ¶
type WebServerConfigServer interface { GetServerNames(context.Context, *Null) (*ServerNames, error) Get(*ServerName, WebServerConfig_GetServer) error Update(WebServerConfig_UpdateServer) error }
WebServerConfigServer is the server API for WebServerConfig service.
type WebServerConfig_GetClient ¶
type WebServerConfig_GetClient interface { Recv() (*ServerConfig, error) grpc.ClientStream }
type WebServerConfig_GetServer ¶
type WebServerConfig_GetServer interface { Send(*ServerConfig) error grpc.ServerStream }
type WebServerConfig_UpdateClient ¶
type WebServerConfig_UpdateClient interface { Send(*ServerConfig) error CloseAndRecv() (*Response, error) grpc.ClientStream }
type WebServerConfig_UpdateServer ¶
type WebServerConfig_UpdateServer interface { SendAndClose(*Response) error Recv() (*ServerConfig, error) grpc.ServerStream }
type WebServerLogWatcherClient ¶
type WebServerLogWatcherClient interface {
Watch(ctx context.Context, in *LogWatchRequest, opts ...grpc.CallOption) (WebServerLogWatcher_WatchClient, error)
}
WebServerLogWatcherClient is the client API for WebServerLogWatcher service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebServerLogWatcherClient ¶
func NewWebServerLogWatcherClient(cc grpc.ClientConnInterface) WebServerLogWatcherClient
type WebServerLogWatcherServer ¶
type WebServerLogWatcherServer interface {
Watch(*LogWatchRequest, WebServerLogWatcher_WatchServer) error
}
WebServerLogWatcherServer is the server API for WebServerLogWatcher service.
type WebServerLogWatcher_WatchClient ¶
type WebServerLogWatcher_WatchClient interface { Recv() (*Response, error) grpc.ClientStream }
type WebServerLogWatcher_WatchServer ¶
type WebServerLogWatcher_WatchServer interface { Send(*Response) error grpc.ServerStream }
type WebServerStatisticsClient ¶
type WebServerStatisticsClient interface {
Get(ctx context.Context, in *ServerName, opts ...grpc.CallOption) (WebServerStatistics_GetClient, error)
}
WebServerStatisticsClient is the client API for WebServerStatistics service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebServerStatisticsClient ¶
func NewWebServerStatisticsClient(cc grpc.ClientConnInterface) WebServerStatisticsClient
type WebServerStatisticsServer ¶
type WebServerStatisticsServer interface {
Get(*ServerName, WebServerStatistics_GetServer) error
}
WebServerStatisticsServer is the server API for WebServerStatistics service.
type WebServerStatistics_GetClient ¶
type WebServerStatistics_GetClient interface { Recv() (*Statistics, error) grpc.ClientStream }
type WebServerStatistics_GetServer ¶
type WebServerStatistics_GetServer interface { Send(*Statistics) error grpc.ServerStream }
type WebServerStatusClient ¶
type WebServerStatusClient interface {
Get(ctx context.Context, in *Null, opts ...grpc.CallOption) (WebServerStatus_GetClient, error)
}
WebServerStatusClient is the client API for WebServerStatus service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebServerStatusClient ¶
func NewWebServerStatusClient(cc grpc.ClientConnInterface) WebServerStatusClient
type WebServerStatusServer ¶
type WebServerStatusServer interface {
Get(*Null, WebServerStatus_GetServer) error
}
WebServerStatusServer is the server API for WebServerStatus service.
type WebServerStatus_GetClient ¶
type WebServerStatus_GetClient interface { Recv() (*Metrics, error) grpc.ClientStream }
type WebServerStatus_GetServer ¶
type WebServerStatus_GetServer interface { Send(*Metrics) error grpc.ServerStream }