 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context interface {
	// GetSpec returns the current specification of the deployment
	GetSpec() api.DeploymentSpec
	// DeletePod deletes a pod with given name in the namespace
	// of the deployment. If the pod does not exist, the error is ignored.
	DeletePod(ctx context.Context, podName string, options meta.DeleteOptions) error
	// GetOwnedPods returns a list of all pods owned by the deployment.
	GetOwnedPods(ctx context.Context) ([]core.Pod, error)
}
    Context provides methods to the chaos package.
type Monkey ¶
type Monkey struct {
	// contains filtered or unexported fields
}
    Monkey is the service that introduces chaos in the deployment if allowed and enabled.
 Click to show internal directories. 
   Click to hide internal directories.