Documentation ¶
Index ¶
- func GetAllPipelinesForAllProjects(ctx context.Context, orgName string, cloudClient *cloud.Client) ([]cloud.Pipeline, error)
- func GetSatelliteName(ctx context.Context, orgName, satelliteName string, cloudClient *cloud.Client) (string, error)
- func PipelineSatelliteName(p *cloud.Pipeline) string
- func ShowSatelliteLoading(console conslogging.ConsoleLogger, satName string, ...) error
- type CLI
- func (c *CLI) AddDeferredFunc(f func())
- func (c *CLI) AnaMetaBKPlatform() string
- func (c *CLI) AnaMetaIsRemoteBK() bool
- func (c *CLI) AnaMetaIsSat() bool
- func (c *CLI) AnaMetaSatCurrentVersion() string
- func (c *CLI) AnaMetaTarget() domain.Target
- func (c *CLI) AnaMetaUserPlatform() string
- func (c *CLI) App() *cli.App
- func (c *CLI) BuiltBy() string
- func (c *CLI) CIHost() string
- func (c *CLI) Cfg() *config.Config
- func (cli *CLI) CollectBillingInfo(ctx context.Context, cloudClient *cloud.Client, orgName string) error
- func (c *CLI) CommandName() string
- func (cli *CLI) ConfigureSatellite(cliCtx *cli.Context, cloudClient *cloud.Client, ...) (cleanupTLS func(), err error)
- 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, cloudClient *cloud.Client) (c *client.Client, cleanupTLS func(), err error)
- func (c *CLI) GetSatelliteOrg(ctx context.Context, cloudClient *cloud.Client) (orgName, orgID string, err error)
- func (c *CLI) GitSHA() string
- func (cli *CLI) InitFrontend(cliCtx *cli.Context) error
- func (c *CLI) IsUsingSatellite(cliCtx *cli.Context) bool
- func (c *CLI) Logbus() *logbus.Bus
- func (c *CLI) LogbusSetup() *setup.BusSetup
- func (c *CLI) OrgName() string
- func (c *CLI) SetAction(action cli.ActionFunc)
- func (c *CLI) SetAnaMetaBKPlatform(platform string)
- func (c *CLI) SetAnaMetaIsRemoteBK(isRBK bool)
- func (c *CLI) SetAnaMetaIsSat(isSat bool)
- func (c *CLI) SetAnaMetaSatCurrentVersion(currentVersion string)
- func (c *CLI) SetAnaMetaTarget(target domain.Target)
- func (c *CLI) SetAnaMetaUserPlatform(platform string)
- 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 ¶
func GetSatelliteName ¶
func PipelineSatelliteName ¶
func ShowSatelliteLoading ¶
func ShowSatelliteLoading(console conslogging.ConsoleLogger, satName string, out chan cloud.SatelliteStatusUpdate) error
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func NewCLI ¶
func NewCLI(console conslogging.ConsoleLogger, opts ...CLIOpt) *CLI
func (*CLI) AddDeferredFunc ¶ added in v0.7.22
func (c *CLI) AddDeferredFunc(f func())
func (*CLI) AnaMetaBKPlatform ¶
func (*CLI) AnaMetaIsRemoteBK ¶
func (*CLI) AnaMetaIsSat ¶
func (*CLI) AnaMetaSatCurrentVersion ¶
func (*CLI) AnaMetaTarget ¶
func (*CLI) AnaMetaUserPlatform ¶
func (*CLI) CollectBillingInfo ¶ added in v0.7.22
func (cli *CLI) CollectBillingInfo(ctx context.Context, cloudClient *cloud.Client, orgName string) error
CollectBillingInfo will collect billing plan info from billing service and make it available for other commands to use later
func (*CLI) CommandName ¶
func (*CLI) ConfigureSatellite ¶
func (*CLI) Console ¶
func (c *CLI) Console() conslogging.ConsoleLogger
func (*CLI) DefaultBuildkitdImage ¶
func (*CLI) DefaultInstallationName ¶
func (*CLI) ExecuteDeferredFuncs ¶ added in v0.7.22
func (c *CLI) ExecuteDeferredFuncs()
func (*CLI) GetBuildkitClient ¶
func (*CLI) GetSatelliteOrg ¶
func (*CLI) InitFrontend ¶
func (*CLI) IsUsingSatellite ¶
func (*CLI) LogbusSetup ¶
func (*CLI) SetAnaMetaBKPlatform ¶
func (*CLI) SetAnaMetaIsRemoteBK ¶
func (*CLI) SetAnaMetaIsSat ¶
func (*CLI) SetAnaMetaSatCurrentVersion ¶
func (*CLI) SetAnaMetaTarget ¶
func (*CLI) SetAnaMetaUserPlatform ¶
func (*CLI) SetAppUsage ¶
func (*CLI) SetAppUsageText ¶
func (*CLI) SetAppUseShortOptionHandling ¶
func (*CLI) SetCommandName ¶
func (*CLI) SetCommands ¶
func (c *CLI) SetCommands(commands []*cli.Command)
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.