subcmd

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MPL-2.0 Imports: 90 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

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

func NewAccount

func NewAccount(cli CLI) *Account

func (*Account) Cmds

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

type AutoSkip added in v0.7.23

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

func NewAutoSkip added in v0.7.23

func NewAutoSkip(cli CLI) *AutoSkip

func (*AutoSkip) Cmds added in v0.7.23

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

type Billing added in v0.7.22

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

func NewBilling added in v0.7.22

func NewBilling(cli CLI) *Billing

func (*Billing) Cmds added in v0.7.22

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

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)

	SetAnaMetaTarget(domain.Target)
	SetAnaMetaIsRemoteBK(bool)
	SetAnaMetaBKPlatform(string)
	SetAnaMetaUserPlatform(string)
	IsUsingSatellite(*cli.Context) bool
	OrgName() string

	GetBuildkitClient(*cli.Context, *cloud.Client) (client *client.Client, cleanupTLS func(), err error)
	GetSatelliteOrg(context.Context, *cloud.Client) (string, string, error)

	ConfigureSatellite(*cli.Context, *cloud.Client, string, string) (cleanupTLS func(), err error)
	CIHost() string
	LogbusSetup() *setup.BusSetup
	Logbus() *logbus.Bus

	AddDeferredFunc(f func())

	CollectBillingInfo(ctx context.Context, cloudClient *cloud.Client, orgName string) error
}

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 Github added in v0.8.8

type Github struct {
	Org     string
	GHOrg   string
	GHRepo  string
	GHToken string
	// contains filtered or unexported fields
}

func NewGithub added in v0.8.8

func NewGithub(cli CLI) *Github

func (*Github) Cmds added in v0.8.8

func (a *Github) 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 Org

type Org struct {
	Cfg *config.Config
	// contains filtered or unexported fields
}

func NewOrg

func NewOrg(cli CLI) *Org

func (*Org) Cmds

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

type Project

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

func NewProject

func NewProject(cli CLI) *Project

func (*Project) Cmds

func (a *Project) 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 Registry

type Registry struct {
	CredHelper    string
	Username      string
	Password      string
	PasswordStdin bool
	// contains filtered or unexported fields
}

func NewRegistry

func NewRegistry(cli CLI) *Registry

func (*Registry) Cmds

func (a *Registry) 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

type Satellite

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

func NewSatellite

func NewSatellite(cli CLI) *Satellite

func (*Satellite) Cmds

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

type Secret

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

func NewSecret

func NewSecret(cli CLI) *Secret

func (*Secret) Cmds

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

type Web

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

func NewWeb

func NewWeb(cli CLI) *Web

func (*Web) Cmds

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

Jump to

Keyboard shortcuts

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