Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
RegisterService registers the service on the gRPC server.
Types ¶
type Config ¶
type Config struct { // SocketPath is the Workload API socket path SocketPath string }
Config is the service configuration
type Service ¶
type Service struct { grpc_health_v1.UnimplementedHealthServer // contains filtered or unexported fields }
Service implements the v1 Health service
func (*Service) Check ¶
func (s *Service) Check(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Click to show internal directories.
Click to hide internal directories.