cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 23 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	Resources     embed.FS
	CWD           string
	DockerService docker.DockerService
	Logger        *log.Logger

	Writer io.Writer
	// contains filtered or unexported fields
}

func (*CLI) Build

func (c *CLI) Build(cCtx *cli.Context) error

func (CLI) BuildCMD

func (c CLI) BuildCMD() *cli.Command

func (CLI) CommandFlags

func (c CLI) CommandFlags(command FlagsType) []cli.Flag

func (*CLI) Delete

func (c *CLI) Delete(cCtx *cli.Context) error

func (*CLI) DeleteCMD

func (c *CLI) DeleteCMD() *cli.Command

func (*CLI) Deploy

func (c *CLI) Deploy(cCtx *cli.Context) error

func (CLI) DeployCMD

func (c CLI) DeployCMD() *cli.Command

func (CLI) InitCMD

func (c CLI) InitCMD() *cli.Command

func (CLI) InitConfigCMD

func (c CLI) InitConfigCMD(ctx *cli.Context) error

func (CLI) InitGithubCMD

func (c CLI) InitGithubCMD(cCtx *cli.Context) error

func (CLI) InitServiceAccountCMD

func (c CLI) InitServiceAccountCMD(ctx *cli.Context) error

func (CLI) OnBranchCMD

func (c CLI) OnBranchCMD() *cli.Command

func (*CLI) OnMainCMD

func (c *CLI) OnMainCMD() *cli.Command

func (*CLI) Push

func (c *CLI) Push(cCtx *cli.Context) error

func (*CLI) PushCMD

func (c *CLI) PushCMD() *cli.Command

func (CLI) Run

func (c CLI) Run(args []string) error

func (*CLI) TemplateCMD

func (c *CLI) TemplateCMD() *cli.Command

type FlagsType

type FlagsType string
const (
	Build      FlagsType = "build"
	Kubernetes FlagsType = "kubernetes"
	Registry   FlagsType = "registry"
	InitGithub FlagsType = "init-github"
	App        FlagsType = "app"
)

Jump to

Keyboard shortcuts

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