Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HealthCheck ¶
type HealthCheck interface { // Wait for this healthchecks condition to be true. Wait(context.Context, *cluster.Context, *experimentpb.ClusterSpec) error // Name returns a printable name for the healthcheck. Name() string }
HealthCheck is the interface for checking an arbitrary health condition on a workload.
func NewK8SHealthCheck ¶
func NewK8SHealthCheck(spec *experimentpb.K8SPodsReadyCheck) HealthCheck
NewK8SHealthCheck returns a new HealthCheck that checks that all pods in the given namespace are ready.
func NewPxLHealthCheck ¶
func NewPxLHealthCheck(pxCtx *pixie.Context, spec *experimentpb.PxLHealthCheck) HealthCheck
NewPxLHealthCheck returns a new HealthCheck based on a 'success' column of a PxL script being true.
Click to show internal directories.
Click to hide internal directories.