Documentation ¶
Index ¶
- func CompareObjectMeta(t *testing.T, got, want metav1.ObjectMeta)
- func GetTestClientWithObjects(predefinedObjects []runtime.Object) client.Client
- func MergePatchContainers(base, patches []v1.Container) ([]v1.Container, error)
- func SanitizeVolumeName(name string) string
- func UpdatePodAnnotations(ctx context.Context, rclient client.Client, selector map[string]string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareObjectMeta ¶
func CompareObjectMeta(t *testing.T, got, want metav1.ObjectMeta)
func MergePatchContainers ¶
MergePatchContainers adds patches to base using a strategic merge patch and iterating by container name, failing on the first error
func SanitizeVolumeName ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.