cli

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

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