Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotADirectory = errors.New("path exists but it's not a directory")
Functions ¶
func CreateDirectory ¶
func RunCommand ¶
RunCommand runs the input command through bash. This implies `/bin/bash` is installed on the host.
func WriteFile ¶
WriteFile writes the input file into the filesystem.
TODO: This is meant to be an implementation of the `write_files` cloud init instruction.
See: https://cloudinit.readthedocs.io/en/latest/reference/modules.html#write-files All the keys should be supported (for ex. owner, permissions, encoding, etc.)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.