Documentation ¶
Index ¶
- Constants
- func ExpectApplied(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectCleanedUp(ctx context.Context, c client.Client)
- func ExpectDeleted(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectMetric(prefix string) *prometheus.MetricFamily
- func ExpectNodeExists(ctx context.Context, c client.Client, name string) *v1.Node
- func ExpectNotFound(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectNotScheduled(ctx context.Context, c client.Client, pod *v1.Pod) *v1.Pod
- func ExpectPodExists(ctx context.Context, c client.Client, name string, namespace string) *v1.Pod
- func ExpectProvisioned(ctx context.Context, c client.Client, controller *provisioning.Controller, ...) (result []*v1.Pod)
- func ExpectReconcileSucceeded(ctx context.Context, reconciler reconcile.Reconciler, key client.ObjectKey) reconcile.Result
- func ExpectScheduled(ctx context.Context, c client.Client, pod *v1.Pod) *v1.Node
Constants ¶
View Source
const ( ReconcilerPropagationTime = 10 * time.Second RequestInterval = 1 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func ExpectApplied ¶
func ExpectDeleted ¶
func ExpectMetric ¶ added in v0.6.5
func ExpectMetric(prefix string) *prometheus.MetricFamily
func ExpectNodeExists ¶
func ExpectNotFound ¶
func ExpectNotScheduled ¶
func ExpectPodExists ¶
func ExpectProvisioned ¶
func ExpectProvisioned(ctx context.Context, c client.Client, controller *provisioning.Controller, pods ...*v1.Pod) (result []*v1.Pod)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.