Documentation ¶
Overview ¶
Package suitcase holds all the stuff necessary for a suitecase generation
Index ¶
Constants ¶
View Source
const ( // NullFormat is the unset value for this type NullFormat = iota // TarFormat is for tar TarFormat // TarGzFormat is for tar.gz TarGzFormat // TarGzGpgFormat is for encrypted tar.gz (tar.gz.gpg) TarGzGpgFormat // TarGpgFormat is for encrypted tar.gz (tar.gpg) TarGpgFormat // TarZstFormat uses the zstd compression engine (tar.zst) TarZstFormat // TarZstGpgFormat uses the zstd compression engine with Gpg (tar.zst.gpg) TarZstGpgFormat )
Variables ¶
This section is empty.
Functions ¶
func FormatCompletion ¶ added in v0.11.0
func FormatCompletion(_ *cobra.Command, _ []string, toComplete string) ([]string, cobra.ShellCompDirective)
FormatCompletion returns shell completion
func WriteHashFile ¶ added in v0.12.0
WriteHashFile writes out the hashset array to an io.Writer
Types ¶
type Format ¶ added in v0.11.0
type Format int
Format is the format the inventory will use, such as yaml, json, etc
func (*Format) MarshalJSON ¶ added in v0.11.0
MarshalJSON ensures that json conversions use the string value here, not the int value
Directories ¶
Path | Synopsis |
---|---|
Package tar provides simple tar suitcases
|
Package tar provides simple tar suitcases |
Package tarbz2 creates tar.bz2 files
|
Package tarbz2 creates tar.bz2 files |
Package targpg works the tar.gpg suitcases
|
Package targpg works the tar.gpg suitcases |
Package targz creates tar.gz files
|
Package targz creates tar.gz files |
Package targzgpg provides gpg encrypted tar.gz suitcases
|
Package targzgpg provides gpg encrypted tar.gz suitcases |
Package tarzstd creates tar.zst files
|
Package tarzstd creates tar.zst files |
Package tarzstgpg provides gpg encrypted tar.zst suitcases
|
Package tarzstgpg provides gpg encrypted tar.zst suitcases |
Click to show internal directories.
Click to hide internal directories.