Documentation ¶
Index ¶
- func CreateTempFileWithData(data []byte) (string, error)
- func GetComponent(filePath string) (string, error)
- func GetEnvWithDefault(key, defaultValue string) string
- func ReadTempCredsFile(filePath, credentialProfile string) (string, string, error)
- func WaitRandom(message, timeout string, log *zap.SugaredLogger) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempFileWithData ¶
CreateTempFileWithData used to create temp cloud-creds utilized for object store access
func GetComponent ¶
GetComponent retrieves component info from file
func GetEnvWithDefault ¶
GetEnvWithDefault retrieves env variable with default value
func ReadTempCredsFile ¶
ReadTempCredsFile reads object store credentials from a temporary file for registration purpose
func WaitRandom ¶
func WaitRandom(message, timeout string, log *zap.SugaredLogger) (int, error)
WaitRandom generates a random number between min and max
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.