Documentation
¶
Index ¶
- type CLI
- func (c *CLI) AddDeferredFunc(f func())
- func (c *CLI) App() *cli.App
- func (c *CLI) BuiltBy() string
- func (c *CLI) Cfg() *config.Config
- func (c *CLI) CommandName() string
- func (c *CLI) Console() conslogging.ConsoleLogger
- func (c *CLI) DefaultBuildkitdImage() string
- func (c *CLI) DefaultInstallationName() string
- func (c *CLI) ExecuteDeferredFuncs()
- func (c *CLI) Flags() *flag.Global
- func (cli *CLI) GetBuildkitClient(cliCtx *cli.Context) (c *client.Client, err error)
- func (c *CLI) GitSHA() string
- func (cli *CLI) InitFrontend(cliCtx *cli.Context) error
- func (c *CLI) Logbus() *logbus.Bus
- func (c *CLI) LogbusSetup() *setup.BusSetup
- func (c *CLI) SetAction(action cli.ActionFunc)
- func (c *CLI) SetAppUsage(usage string)
- func (c *CLI) SetAppUsageText(usageText string)
- func (c *CLI) SetAppUseShortOptionHandling(use bool)
- func (c *CLI) SetBefore(before cli.BeforeFunc)
- func (c *CLI) SetCfg(cfg *config.Config)
- func (c *CLI) SetCommandName(commandName string)
- func (c *CLI) SetCommands(commands []*cli.Command)
- func (c *CLI) SetConsole(cons conslogging.ConsoleLogger)
- func (c *CLI) SetFlags(flags []cli.Flag)
- func (c *CLI) SetLogbus(logbus *logbus.Bus)
- func (c *CLI) SetLogbusSetup(setup *setup.BusSetup)
- func (c *CLI) SetVersion(version string)
- func (c *CLI) Version() string
- type CLIOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func NewCLI ¶
func NewCLI(console conslogging.ConsoleLogger, opts ...CLIOpt) *CLI
func (*CLI) AddDeferredFunc ¶
func (c *CLI) AddDeferredFunc(f func())
func (*CLI) CommandName ¶
func (*CLI) Console ¶
func (c *CLI) Console() conslogging.ConsoleLogger
func (*CLI) DefaultBuildkitdImage ¶
func (*CLI) DefaultInstallationName ¶
func (*CLI) ExecuteDeferredFuncs ¶
func (c *CLI) ExecuteDeferredFuncs()
func (*CLI) GetBuildkitClient ¶
func (*CLI) LogbusSetup ¶
func (*CLI) SetAction ¶
func (c *CLI) SetAction(action cli.ActionFunc)
func (*CLI) SetAppUsage ¶
func (*CLI) SetAppUsageText ¶
func (*CLI) SetAppUseShortOptionHandling ¶
func (*CLI) SetBefore ¶
func (c *CLI) SetBefore(before cli.BeforeFunc)
func (*CLI) SetCommandName ¶
func (*CLI) SetCommands ¶
func (*CLI) SetConsole ¶
func (c *CLI) SetConsole(cons conslogging.ConsoleLogger)
func (*CLI) SetLogbusSetup ¶
func (*CLI) SetVersion ¶
type CLIOpt ¶
func WithBuiltBy ¶
func WithGitSHA ¶
func WithVersion ¶
Click to show internal directories.
Click to hide internal directories.