Documentation
¶
Index ¶
- func ConsoleOutput(message string)
- func Contains(array []string, element string) bool
- func FindInSlice(slice []string, val string) (int, bool)
- func GetBytesInTiB(size uint64) uint32
- func GetPassword(prompt string) string
- func GetTiBInBytes(size uint32) uint64
- func PrintHeader(header string)
- func ReadAzureBasicInfoJSON(path string) (*models.AzureBasicInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindInSlice ¶
FindInSlice returns index greater than -1 and true if item is found Code from https://golangcode.com/check-if-element-exists-in-slice/
func GetBytesInTiB ¶
GetBytesInTiB converts a value from bytes to tebibytes (TiB)
func GetTiBInBytes ¶
GetTiBInBytes converts a value from tebibytes (TiB) to bytes
func ReadAzureBasicInfoJSON ¶
func ReadAzureBasicInfoJSON(path string) (*models.AzureBasicInfo, error)
ReadAzureBasicInfoJSON reads the Azure Authentication json file json file and unmarshals it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.