Documentation ¶
Index ¶
- func JobIsCompleted(ctx context.Context, cli clientset.Interface, namespace, podName string) bool
- func MatchCapacity(expectedNew map[string]k8sLabels, oldNodes []corev1.Node) gomegatypes.GomegaMatcher
- func MatchLabels(expectedNew map[string]k8sLabels, oldNodes []corev1.Node) gomegatypes.GomegaMatcher
- func NVDescribe(text string, body func()) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JobIsCompleted ¶
JobIsCompleted checks if a job is completed
func MatchCapacity ¶
func MatchCapacity(expectedNew map[string]k8sLabels, oldNodes []corev1.Node) gomegatypes.GomegaMatcher
MatchCapacity returns a specialized Gomega matcher for checking if a list of nodes are configured as expected.
func MatchLabels ¶
func MatchLabels(expectedNew map[string]k8sLabels, oldNodes []corev1.Node) gomegatypes.GomegaMatcher
MatchLabels returns a specialized Gomega matcher for checking if a list of nodes are labeled as expected.
func NVDescribe ¶
NVDescribe annotates the test with the NVIDIA label.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.