Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = New()
DefaultConfig is the default configuration.
Functions ¶
This section is empty.
Types ¶
type AuthFlags ¶
type AuthFlags struct {
Dex bool `envconfig:"DEX" default:"true"`
DexClientID string `envconfig:"DEX_CLIENT_ID"`
DexClientSecret string `envconfig:"DEX_CLIENT_SECRET"`
DexClientURL string `envconfig:"DEX_CLIENT_URL"`
}
AuthFlags contains the flags for the authentication.
type Config ¶
type Config struct {
URL string
Flags *Flags
Store string
Stdin *os.File
Stdout *os.File
Stderr *os.File
Spec *specs.Spec
File string
Path string
Plugin string
sync.RWMutex
FileMode os.FileMode
Verbose bool
Task TaskFlags
}
Config contains the configuration.
func (*Config) InitDefaultConfig ¶
InitDefaultConfig initializes the default configuration.
type Flags ¶
type Flags struct {
// Plugins contains the plugins to use.
Plugins []string
// Vars contains the variables to use.
Vars []string
// Dry indicates whether to print dry run messages.
Dry bool
// Force indicates whether to force overwrite.
Force bool
// Root is the root directory of the project.
Root bool
// Verbose indicates whether to print verbose messages.
Verbose bool
// Version indicates whether to print version.
Version bool
// TaskFlags contains the flags for a task.
TaskFlags TaskFlags
// AuthFlags contains the flags for the authentication.
AuthFlags AuthFlags
}
Flags contains the command line flags.
Click to show internal directories.
Click to hide internal directories.