k8sutils

package
v2.4.3-rc1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2020 License: Apache-2.0 Imports: 3 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPVCsForGroupSnapshot added in v1.4.0

func GetPVCsForGroupSnapshot(namespace string, matchLabels map[string]string) ([]v1.PersistentVolumeClaim, error)

GetPVCsForGroupSnapshot returns all PVCs in given namespace that match the given matchLabels. All PVCs need to be bound.

func GetVolumeNamesFromLabelSelector added in v1.4.0

func GetVolumeNamesFromLabelSelector(namespace string, labels map[string]string) ([]string, error)

GetVolumeNamesFromLabelSelector returns PV names for all PVCs in given namespace that match the given labels

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL