Documentation
¶
Index ¶
- type FullHealthServer
- func (s *FullHealthServer) Check(ctx context.Context, req *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
- func (s *FullHealthServer) List(ctx context.Context, req *healthpb.HealthListRequest) (*healthpb.HealthListResponse, error)
- func (s *FullHealthServer) SetServingStatus(service string, status healthpb.HealthCheckResponse_ServingStatus)
- func (s *FullHealthServer) Watch(req *healthpb.HealthCheckRequest, stream healthpb.Health_WatchServer) error
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FullHealthServer ¶
type FullHealthServer struct {
healthpb.UnimplementedHealthServer
// contains filtered or unexported fields
}
func NewFullHealthServer ¶
func NewFullHealthServer() *FullHealthServer
func (*FullHealthServer) Check ¶
func (s *FullHealthServer) Check(ctx context.Context, req *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
func (*FullHealthServer) List ¶
func (s *FullHealthServer) List(ctx context.Context, req *healthpb.HealthListRequest) (*healthpb.HealthListResponse, error)
func (*FullHealthServer) SetServingStatus ¶
func (s *FullHealthServer) SetServingStatus(service string, status healthpb.HealthCheckResponse_ServingStatus)
func (*FullHealthServer) Watch ¶
func (s *FullHealthServer) Watch(req *healthpb.HealthCheckRequest, stream healthpb.Health_WatchServer) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(serverState *state.ServerState, settingsState *state.SettingsState, logger *slog.Logger, distributionState *state.DistributionState, eventBus *events.EventBus) *Server
Click to show internal directories.
Click to hide internal directories.