Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPodsSuiteProvider ¶
func NewPodsSuiteProvider() strategy.StrategyProvider
func NewTestCase ¶
func NewTestWorker ¶
Types ¶
type PodAnnotationTestCase ¶
PodAnnotationTestCase asserts that a pod has an annotation with an expected value
func (*PodAnnotationTestCase) Run ¶
func (tc *PodAnnotationTestCase) Run(c client.Client, namespace string) error
func (*PodAnnotationTestCase) ShouldRun ¶
func (tc *PodAnnotationTestCase) ShouldRun(s interface{}) bool
type PodAnnotationTestWorker ¶
func (*PodAnnotationTestWorker) Run ¶
func (tw *PodAnnotationTestWorker) Run(ctx context.Context, namespace string, client client.Client) (testworker.MutateStateFn, error)
func (*PodAnnotationTestWorker) ShouldRun ¶
func (tw *PodAnnotationTestWorker) ShouldRun(s interface{}) bool
type PodStatus ¶
type PodStatus string
var PodAnnotated PodStatus = "Annotated"
var PodNotReady PodStatus = "NotReady"
var PodReady PodStatus = "Ready"
var PodTested PodStatus = "Tested"
type PodSuiteState ¶
PodSuiteState represent the current testing state as an association between pod names -> whether they're ready or not
type PodsSuiteReconciler ¶
type PodsSuiteReconciler struct{}
PodsSuiteReconciler reconciles the testing state with the pods in the namespace
func (*PodsSuiteReconciler) ParseState ¶
func (r *PodsSuiteReconciler) ParseState(state string) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.