Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct {
// contains filtered or unexported fields
}
Checker checks the health of a local experiment instance.
func NewChecker ¶
func NewChecker(pp *PortProbe, ec *EndpointClient) *Checker
NewChecker creates a new Checker.
func NewCheckerK8S ¶
func NewCheckerK8S(pp *PortProbe, k8s *KubernetesClient, ec *EndpointClient) *Checker
NewCheckerK8S creates a new Checker for Kubernetes deployments.
type EndpointClient ¶ added in v0.14.27
EndpointClient is an http client to check the local /health endpoint.
func NewEndpointClient ¶ added in v0.14.27
func NewEndpointClient(timeout time.Duration) *EndpointClient
NewEndpointClient returns a new *EndpointClient with the specified request timeout.
type KubernetesClient ¶
type KubernetesClient struct {
// contains filtered or unexported fields
}
KubernetesClient manages requests to the Kubernetes API server.
func MustNewKubernetesClient ¶
func MustNewKubernetesClient(url *url.URL, pod, node, namespace, auth string) *KubernetesClient
MustNewKubernetesClient creates a new KubenernetesClient instance. If the client cannot be instantiated, the function will exit.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.