Versions in this module Expand all Collapse all v0 v0.0.2 Oct 13, 2021 v0.0.1 Oct 13, 2021 Changes in this version + const GiB + const KiB + const MiB + const TiB + func AccessModesContainedInAll(indexedModes []v1.PersistentVolumeAccessMode, ...) bool + func AccessModesContains(modes []v1.PersistentVolumeAccessMode, mode v1.PersistentVolumeAccessMode) bool + func CheckPersistentVolumeClaimModeBlock(pvc *v1.PersistentVolumeClaim) bool + func FindDNSIP(ctx context.Context, client kubernetes.Interface) (dnsip string) + func GetPersistentVolumeClaimClass(claim *v1.PersistentVolumeClaim) string + func GetPersistentVolumeClass(volume *v1.PersistentVolume) string + func JoinHostPort(host, port string) (hostport string) + func LookupHost(hostname string, serverip string) (iplist []string, err error) + func RoundUpSize(volumeSizeBytes int64, allocationUnitBytes int64) int64 + func RoundUpToGiB(sizeBytes int64) int64 + func SplitHostPort(hostport string) (host, port string)