package
1.3.2
Repository: https://github.com/mayadata-io/velero.git
Documentation: pkg.go.dev

# Functions

EnsureNamespaceExistsAndIsReady attempts to create the provided Kubernetes namespace.
GetVolumeDirectory gets the name of the directory on the host, under /var/lib/kubelet/pods/<podUID>/volumes/, where the specified volume lives.
IsCRDReady checks a CRD to see if it's ready, with both the Established and NamesAccepted conditions.
IsUnstructuredCRDReady checks an unstructured CRD to see if it's ready, with both the Established and NamesAccepted conditions.
NamespaceAndName returns a string in the format <namespace>/<name>.
ParseResourceRequirements takes a set of CPU and memory requests and limit string values and returns a ResourceRequirements struct to be used in a Container.