Documentation
¶
Index ¶
- Constants
- func ExpectApplied(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectAppliedWithOffset(offset int, 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 ExpectManualBinding(ctx context.Context, c client.Client, pod *v1.Pod, node *v1.Node)
- func ExpectManualBindingWithOffset(offset int, ctx context.Context, c client.Client, pod *v1.Pod, node *v1.Node)
- func ExpectMetric(prefix string) *prometheus.MetricFamily
- func ExpectNodeExists(ctx context.Context, c client.Client, name string) *v1.Node
- func ExpectNodeExistsWithOffset(offset int, ctx context.Context, c client.Client, name string) *v1.Node
- func ExpectNotFound(ctx context.Context, c client.Client, objects ...client.Object)
- func ExpectNotFoundWithOffset(offset int, 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 ExpectPodExistsWithOffset(offset int, ctx context.Context, c client.Client, name string, ...) *v1.Pod
- func ExpectProvisioned(ctx context.Context, c client.Client, controller *provisioning.Controller, ...) (result []*v1.Pod)
- func ExpectProvisionedNoBinding(ctx context.Context, c client.Client, controller *provisioning.Controller, ...) (result []*v1.Pod)
- func ExpectProvisionedNoBindingWithOffset(offset int, ctx context.Context, c client.Client, ...) (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
- func ExpectSkew(ctx context.Context, c client.Client, namespace string, ...) Assertion
Constants ¶
View Source
const ( ReconcilerPropagationTime = 10 * time.Second RequestInterval = 1 * time.Second )
Variables ¶
This section is empty.
Functions ¶
func ExpectApplied ¶
func ExpectAppliedWithOffset ¶ added in v0.16.3
func ExpectDeleted ¶
func ExpectManualBinding ¶ added in v0.10.0
func ExpectManualBindingWithOffset ¶ added in v0.16.3
func ExpectMetric ¶ added in v0.6.5
func ExpectMetric(prefix string) *prometheus.MetricFamily
func ExpectNodeExists ¶
func ExpectNodeExistsWithOffset ¶ added in v0.16.3
func ExpectNotFound ¶
func ExpectNotFoundWithOffset ¶ added in v0.16.3
func ExpectNotScheduled ¶
func ExpectPodExists ¶
func ExpectPodExistsWithOffset ¶ added in v0.16.3
func ExpectProvisioned ¶
func ExpectProvisioned(ctx context.Context, c client.Client, controller *provisioning.Controller, pods ...*v1.Pod) (result []*v1.Pod)
func ExpectProvisionedNoBinding ¶ added in v0.11.0
func ExpectProvisionedNoBinding(ctx context.Context, c client.Client, controller *provisioning.Controller, pods ...*v1.Pod) (result []*v1.Pod)
func ExpectProvisionedNoBindingWithOffset ¶ added in v0.16.3
func ExpectScheduled ¶
func ExpectSkew ¶ added in v0.15.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.