Documentation ¶
Index ¶
- func Convert(inputFormat string, outputFormat string, input string) (string, error)
- func DownloadFile(filepath string, url string) error
- func GetJsonPath(source string, sourceFormat string, jsonPath string) (string, error)
- func GetParameterFromTerminalAsSecret(text1 string, text2 string, errorText string) (string, error)
- func Merge(destination string, source string, serializationType string) (string, error)
- func RandomString(n int) string
- func ReadFileFromUrl(resourceUrl string) ([]byte, error)
- func UseSourceUrl(resourceUrl string) (string, error)
- func VerifyCertForHost(resourceUrl string, cert string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
DownloadFile will download a url to a local file. It's efficient because it will write as it downloads and not load the whole file into memory.
func GetJsonPath ¶
func GetParameterFromTerminalAsSecret ¶ added in v0.0.22
func RandomString ¶ added in v0.0.22
func ReadFileFromUrl ¶ added in v0.0.22
func UseSourceUrl ¶
This function allows using a filepath or http/s url to get resource from
func VerifyCertForHost ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.