Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EligibleStatefulSets ¶
func EligibleStatefulSets(clientset kube.Interface, namespace string, filter *metav1.ListOptions) (eligVictims []victims.Victim, err error)
EligibleStatefulSets gets all eligible statefulsets that opted in (filtered by config.EnabledLabel)
Types ¶
type StatefulSet ¶
type StatefulSet struct {
*victims.VictimBase
}
func New ¶
func New(ss *v1.StatefulSet) (*StatefulSet, error)
New creates a new instance of StatefulSet
func (*StatefulSet) IsEnrolled ¶
func (ss *StatefulSet) IsEnrolled(clientset kube.Interface) (bool, error)
Checks if the statefulset is currently enrolled in kube-monkey
Click to show internal directories.
Click to hide internal directories.