Documentation
¶
Index ¶
- Variables
- func LogError(err *Error, checkLogMessage string)
- func NewApp() *cli.App
- func NewBuildCommand(action func(*cli.Context) error) *cli.Command
- func NewGenerateCommand(action func(*cli.Context) error) *cli.Command
- func NewValidateCommand(action func(*cli.Context) error) *cli.Command
- func NewVersionCommand(action func(*cli.Context) error) *cli.Command
- type CommonFlags
- type Error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CacheFlag = &cli.BoolFlag{ Name: "cache", Usage: "Whether to use cache when building images", Destination: &CommonArgs.Cache, Value: true, } CacheDirFlag = &cli.StringFlag{ Name: "cache-dir", Usage: "Full path to the cache directory", Value: "/eib-cache", Destination: &CommonArgs.CacheDir, } DefinitionFileFlag = &cli.StringFlag{ Name: "definition-file", Usage: "Name of the image definition file", Destination: &CommonArgs.DefinitionFile, } ConfigDirFlag = &cli.StringFlag{ Name: "config-dir", Usage: "Full path to the image configuration directory", Value: "/eib", Destination: &CommonArgs.ConfigDir, } BuildDirFlag = &cli.StringFlag{ Name: "build-dir", Usage: "Full path to the directory to store build artifacts", Destination: &CommonArgs.RootBuildDir, } )
Functions ¶
func NewGenerateCommand ¶ added in v1.3.0
Types ¶
type CommonFlags ¶ added in v1.3.0
type CommonFlags struct {
Cache bool
CacheDir string
DefinitionFile string
ConfigDir string
RootBuildDir string
}
var CommonArgs CommonFlags
Click to show internal directories.
Click to hide internal directories.