forked from rook/rook
Add functions for helping test Kubernetes volumes and volume mounts. - Create functions for testing the existence of volumes/mounts by name in a list of vols/mounts without needing to know the index of the vol/mount in the list. - Create functions for printing vols/mounts in a human-readable format so that tests may output more useful errors. - Create a test definition for ensuring that all the volumes a pod provides and all the mounts from each pod container match. For each volume, there must be at least one container which mounts the volume, and for each mount, there must be a source volume. Signed-off-by: Blaine Gardner <blaine.gardner@suse.com>