Documentation ¶
Overview ¶
Package engine uses pkg/health to provide a quick way to start a health check
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine is a structure to hold the details about the deployment mode and the pods to be tested.
func (Engine) Init ¶
func (e Engine) Init(path string) *kubernetes.Clientset
Init connects the application to the cluster's api-server
func (Engine) Start ¶
func (e Engine) Start(client *kubernetes.Clientset)
Start runs the health check and checks for failures. It also attempts to fix any terminated pods.
Click to show internal directories.
Click to hide internal directories.