Documentation ¶
Index ¶
- func DecodeBase64Content(content string) ([]byte, error)
- func DecodeContent(content string, encoding string) ([]byte, error)
- func DecodeGzipContent(content string) ([]byte, error)
- func DecompressGzip(content []byte) ([]byte, error)
- func EnsureDirectoryExists(dir string) error
- func ExistsAndExecutable(path string) bool
- func HTTPDownloadToFile(url, dest string) error
- func HTTPLoadBytes(url string) ([]byte, error)
- func MaskPassword(r *os.File, w io.Writer) ([]byte, error)
- func PromptPassword() (string, bool, error)
- func RunScript(path string, arg ...string) error
- func WriteFileAtomic(filename string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeBase64Content ¶
func DecodeGzipContent ¶
func DecompressGzip ¶
func EnsureDirectoryExists ¶
func ExistsAndExecutable ¶
func HTTPDownloadToFile ¶
func HTTPLoadBytes ¶
func PromptPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.