Documentation ¶
Index ¶
Constants ¶
View Source
const ( KubeProbesStatusOk = "OK" KubeProbesStatusError = "ERROR" KubeProbesCodeOk = 200 KubeProbesCodeError = 500 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrpcInterface ¶
GrpcInterface -
type GrpcReadyness ¶
type KubeProbes ¶
type KubeProbes struct {
GrpcInterface GrpcInterface
}
type KubeProbesServer ¶
KubeProbesServer - Kubernetes REST server
func NewKubeProbesServer ¶
func NewKubeProbesServer(probes KubeProbes) (*KubeProbesServer, error)
NewKubeProbesServer - Create new Kubernetes REST server
func (*KubeProbesServer) Shutdown ¶
func (s *KubeProbesServer) Shutdown()
Shutdown - Shutdown Kubernetes REST server
func (*KubeProbesServer) Start ¶
func (s *KubeProbesServer) Start()
Start - Start Kubernetes REST server
type Readyness ¶
type Readyness struct { Code int `json:"code"` Status string `json:"status"` Grpc GrpcReadyness `json:"grpc"` }
Click to show internal directories.
Click to hide internal directories.