util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GiB = 1024 * 1024 * 1024
)

Variables

This section is empty.

Functions

func GiBToBytes

func GiBToBytes(volumeSizeGiB int64) int64

GiBToBytes converts GiB to Bytes

func MapValues

func MapValues(input []string) map[string]string

func ParseEndpoint

func ParseEndpoint(endpoint string) (string, string, error)

func RoundUpVolumeSize

func RoundUpVolumeSize(volumeSizeBytes int64) int64

func SplitUnnestedCommas

func SplitUnnestedCommas(input string) []string

SplitUnnestedCommas TODO: potential to improve this function with regex, but should be rigorously tested with FileCacheDataRepositoryAssociation with specified subdirectory paths & NFS Configuration with DNS IPs before merging

Types

This section is empty.

Jump to

Keyboard shortcuts

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