Documentation ¶
Index ¶
- Constants
- func DeleteClusterQueue(ctx context.Context, c client.Client, cq *kueue.ClusterQueue) error
- func DeleteNamespace(ctx context.Context, c client.Client, ns *corev1.Namespace) error
- func DeleteQueue(ctx context.Context, c client.Client, q *kueue.LocalQueue) error
- func DeleteResourceFlavor(ctx context.Context, c client.Client, rf *kueue.ResourceFlavor) error
- func DeleteRuntimeClass(ctx context.Context, c client.Client, runtimeClass *nodev1.RuntimeClass) error
- func DeleteWorkload(ctx context.Context, c client.Client, wl *kueue.Workload) error
- func ExpectAdmittedActiveWorkloadsMetric(cq *kueue.ClusterQueue, v int)
- func ExpectAdmittedWorkloadsTotalMetric(cq *kueue.ClusterQueue, v int)
- func ExpectClusterQueueStatusMetric(cq *kueue.ClusterQueue, status metrics.ClusterQueueStatus)
- func ExpectClusterQueueToBeDeleted(ctx context.Context, k8sClient client.Client, cq *kueue.ClusterQueue, ...)
- func ExpectPendingWorkloadsMetric(cq *kueue.ClusterQueue, active, inadmissible int)
- func ExpectResourceFlavorToBeDeleted(ctx context.Context, k8sClient client.Client, rf *kueue.ResourceFlavor, ...)
- func ExpectWorkloadToBeAdmittedAs(ctx context.Context, k8sClient client.Client, wl *kueue.Workload, ...)
- func ExpectWorkloadsToBeAdmitted(ctx context.Context, k8sClient client.Client, cqName string, ...)
- func ExpectWorkloadsToBeFrozen(ctx context.Context, k8sClient client.Client, cq string, ...)
- func ExpectWorkloadsToBePending(ctx context.Context, k8sClient client.Client, wls ...*kueue.Workload)
- func FinishWorkloads(ctx context.Context, k8sClient client.Client, workloads ...*kueue.Workload)
- type Framework
- type ManagerSetup
Constants ¶
View Source
const ( Timeout = time.Second * 10 ConsistentDuration = time.Second * 3 Interval = time.Millisecond * 250 )
Variables ¶
This section is empty.
Functions ¶
func DeleteClusterQueue ¶
func DeleteNamespace ¶
DeleteNamespace deletes all objects the tests typically create in the namespace.
func DeleteQueue ¶
func DeleteResourceFlavor ¶
func DeleteRuntimeClass ¶ added in v0.2.0
func DeleteWorkload ¶ added in v0.2.0
func ExpectAdmittedActiveWorkloadsMetric ¶ added in v0.2.0
func ExpectAdmittedActiveWorkloadsMetric(cq *kueue.ClusterQueue, v int)
func ExpectAdmittedWorkloadsTotalMetric ¶ added in v0.2.0
func ExpectAdmittedWorkloadsTotalMetric(cq *kueue.ClusterQueue, v int)
func ExpectClusterQueueStatusMetric ¶ added in v0.2.0
func ExpectClusterQueueStatusMetric(cq *kueue.ClusterQueue, status metrics.ClusterQueueStatus)
func ExpectClusterQueueToBeDeleted ¶ added in v0.2.0
func ExpectPendingWorkloadsMetric ¶ added in v0.2.0
func ExpectPendingWorkloadsMetric(cq *kueue.ClusterQueue, active, inadmissible int)
func ExpectResourceFlavorToBeDeleted ¶ added in v0.2.0
func ExpectWorkloadToBeAdmittedAs ¶ added in v0.2.0
func ExpectWorkloadsToBeFrozen ¶ added in v0.2.0
Types ¶
Click to show internal directories.
Click to hide internal directories.