Documentation ¶
Index ¶
- func Contains(list []string, s string) bool
- func GetQuarantineInitSpec() []tests.QuarantineInitTestCase
- func GetQuarantineIsActiveStructs() []tests.QuarantineTestCase
- func GetQuarantinePrepareStructs() []tests.QuarantineTestCase
- func GetQuarantineStartStructs() []tests.QuarantineTestCase
- func GetQuarantineStopStructs() []tests.QuarantineTestCase
- func GetQuarantineUpdateStructs() []tests.QuarantineTestCase
- type TestClientError
- type TestClientNamespace
- type TestClientNode
- type TestClientPod
- type TestClientQuarantine
- type TestClientResource
- type TestClientSelectorStruct
- type TestClientSelectorValues
- type TestClientSelectors
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Contains ¶ added in v0.3.0
Contains represents func for checking if a string is in a list of strings
func GetQuarantineInitSpec ¶
func GetQuarantineInitSpec() []tests.QuarantineInitTestCase
func GetQuarantineIsActiveStructs ¶
func GetQuarantineIsActiveStructs() []tests.QuarantineTestCase
func GetQuarantinePrepareStructs ¶
func GetQuarantinePrepareStructs() []tests.QuarantineTestCase
func GetQuarantineStartStructs ¶
func GetQuarantineStartStructs() []tests.QuarantineTestCase
func GetQuarantineStopStructs ¶
func GetQuarantineStopStructs() []tests.QuarantineTestCase
func GetQuarantineUpdateStructs ¶
func GetQuarantineUpdateStructs() []tests.QuarantineTestCase
Types ¶
type TestClientError ¶ added in v0.3.0
type TestClientNamespace ¶ added in v0.3.0
type TestClientNamespace struct { Name string Daemonsets []TestClientResource Deployments []TestClientResource Pods []*TestClientPod }
type TestClientNode ¶ added in v0.3.0
type TestClientPod ¶ added in v0.3.0
type TestClientPod struct { Resource TestClientResource // contains filtered or unexported fields }
type TestClientQuarantine ¶ added in v0.3.0
type TestClientQuarantine struct { FakeClient *mocks.Client Nodes []TestClientNode MarkedNodes []TestClientNode Namespaces []TestClientNamespace }
type TestClientResource ¶ added in v0.3.0
type TestClientSelectorStruct ¶ added in v0.3.0
type TestClientSelectorStruct struct { ListSelectors map[string]TestClientSelectorValues FieldSelectors map[string]TestClientSelectorValues }
type TestClientSelectorValues ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.