Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileCodec ¶
FileCodec is a codec to en- and decode data in cloud-init scripts with.j
func FileCodecForID ¶
func FileCodecForID(id FileCodecID) FileCodec
FileCodecForID retrieves the FileCodec for the given FileCodecID.
type FileCodecID ¶
type FileCodecID string
FileCodecID is the id of a FileCodec for cloud-init scripts.
const ( // B64FileCodecID is the base64 file codec id. B64FileCodecID FileCodecID = "b64" // GZIPFileCodecID is the gzip file codec id. GZIPFileCodecID FileCodecID = "gzip" // GZIPB64FileCodecID is the gzip combined with base64 codec id. GZIPB64FileCodecID FileCodecID = "gzip+b64" )
func ParseFileCodecID ¶
func ParseFileCodecID(s string) (FileCodecID, error)
ParseFileCodecID tries to parse a string into a FileCodecID.
Click to show internal directories.
Click to hide internal directories.