Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Verbose toggles the verbosity
Verbose bool
// File...
File string
// Path ...
Path string
// FileMode ...
FileMode os.FileMode
// Flags ...
Flags *Flags
// Stdin ...
Stdin *os.File
// Stdout ...
Stdout *os.File
// Stderr ...
Stderr *os.File
// Spec ...
Spec *spec.Spec
// Plugin ...
Plugin string
sync.RWMutex
}
Config contains the configuration.
func (*Config) InitDefaultConfig ¶
InitDefaultConfig initializes the default configuration.
type Flags ¶
type Flags struct {
// Dry toggles the dry run mode.
Dry bool
// Force toggles the force mode.
Force bool
// Root runs the command as root.
Root bool
// Verbose toggles the verbosity.
Verbose bool
// Version toggles the version.
Version bool
// Plugins uses a plugin as storage provider.
Plugins []string
// Vars captures the variables.
Vars []string
}
Flags contains the command line flags.
Click to show internal directories.
Click to hide internal directories.