subcmd

package
v0.8.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2026 License: MPL-2.0 Imports: 73 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
	// contains filtered or unexported fields
}

func NewBootstrap

func NewBootstrap(cli CLI) *Bootstrap

func (*Bootstrap) Action

func (a *Bootstrap) Action(cliCtx *cli.Context) error

func (*Bootstrap) Cmds

func (b *Bootstrap) Cmds() []*cli.Command

type BootstrapInterface

type BootstrapInterface interface {
	NewBootstrap(CLI) *Bootstrap
}

type Build

type Build struct {
	// contains filtered or unexported fields
}

func NewBuild

func NewBuild(cli CLI) *Build

func (*Build) Action

func (a *Build) Action(cliCtx *cli.Context) error

func (*Build) ActionBuildImp

func (a *Build) ActionBuildImp(cliCtx *cli.Context, flagArgs, nonFlagArgs []string) error

func (*Build) Cmds

func (a *Build) Cmds() []*cli.Command

func (*Build) HiddenFlags

func (a *Build) HiddenFlags() []cli.Flag

type CLI

type CLI interface {
	App() *cli.App

	Version() string
	GitSHA() string

	Flags() *flag.Global
	Console() conslogging.ConsoleLogger
	SetConsole(conslogging.ConsoleLogger)

	InitFrontend(*cli.Context) error
	Cfg() *config.Config
	SetCommandName(name string)

	GetBuildkitClient(*cli.Context) (client *client.Client, err error)

	LogbusSetup() *setup.BusSetup
	Logbus() *logbus.Bus

	AddDeferredFunc(f func())
}

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(cli CLI) *Config

func (*Config) Cmds

func (a *Config) Cmds() []*cli.Command

type Debug

type Debug struct {
	// contains filtered or unexported fields
}

func NewDebug

func NewDebug(cli CLI) *Debug

func (*Debug) Cmds

func (a *Debug) Cmds() []*cli.Command

type Doc

type Doc struct {
	// contains filtered or unexported fields
}

func NewDoc

func NewDoc(cli CLI) *Doc

func (*Doc) Cmds

func (a *Doc) Cmds() []*cli.Command

type Doc2Earth

type Doc2Earth struct {
	// contains filtered or unexported fields
}

func NewDoc2Earth

func NewDoc2Earth(cli CLI) *Doc2Earth

func (*Doc2Earth) Cmds

func (a *Doc2Earth) Cmds() []*cli.Command

type Init

type Init struct {
	// contains filtered or unexported fields
}

func NewInit

func NewInit(cli CLI) *Init

func (*Init) Cmds

func (a *Init) Cmds() []*cli.Command

type List

type List struct {
	// contains filtered or unexported fields
}

func NewList

func NewList(cli CLI) *List

func (*List) Cmds

func (a *List) Cmds() []*cli.Command

type Prune

type Prune struct {
	// contains filtered or unexported fields
}

func NewPrune

func NewPrune(cli CLI) *Prune

func (*Prune) Cmds

func (a *Prune) Cmds() []*cli.Command

type Root

type Root struct {
	// contains filtered or unexported fields
}

func NewRoot

func NewRoot(cli CLI, buildCmd *Build) *Root

func (*Root) Cmds

func (a *Root) Cmds() []*cli.Command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL