Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EligibleDeployments ¶
func EligibleDeployments(clientset kube.Interface, namespace string, filter *metav1.ListOptions) (eligVictims []victims.Victim, err error)
Get all eligible deployments that opted in (filtered by config.EnabledLabel)
Types ¶
type Deployment ¶
type Deployment struct {
*victims.VictimBase
}
func (*Deployment) IsEnrolled ¶
func (d *Deployment) IsEnrolled(clientset kube.Interface) (bool, error)
Checks if the deployment is currently enrolled in kube-monkey
Click to show internal directories.
Click to hide internal directories.