commands

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetCommand

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

func (*GetCommand) Cmd

func (g *GetCommand) Cmd() *cobra.Command

func (*GetCommand) Execute

func (g *GetCommand) Execute(cmd *cobra.Command, args []string) error

func (*GetCommand) Handle

func (g *GetCommand) Handle(version *entities.Version, phase string) error

nolint

func (*GetCommand) Init

func (g *GetCommand) Init()

type GetCommandI

type GetCommandI interface {
	Handle(version *entities.Version, phase string) error
	Execute(cmd *cobra.Command, args []string) error
	Cmd() *cobra.Command
	Init()
}

func NewGetCommand

func NewGetCommand() GetCommandI

type InitCommand

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

func (*InitCommand) Cmd

func (i *InitCommand) Cmd() *cobra.Command

func (*InitCommand) Execute

func (i *InitCommand) Execute(cmd *cobra.Command, args []string) error

func (*InitCommand) Handle

func (i *InitCommand) Handle() error

func (*InitCommand) Init

func (i *InitCommand) Init()

nolint

type InitCommandI

type InitCommandI interface {
	Handle() error
	Execute(cmd *cobra.Command, args []string) error
	Cmd() *cobra.Command
	Init()
}

func NewInitCommand

func NewInitCommand() InitCommandI

type UpVersionCommand

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

func (*UpVersionCommand) Cmd

func (u *UpVersionCommand) Cmd() *cobra.Command

func (*UpVersionCommand) Execute

func (u *UpVersionCommand) Execute(cmd *cobra.Command, args []string) error

func (*UpVersionCommand) Handle

func (u *UpVersionCommand) Handle(release *entities.Version, phase string) error

nolint

func (*UpVersionCommand) Init

func (u *UpVersionCommand) Init()

type UpVersionCommandI

type UpVersionCommandI interface {
	Handle(release *entities.Version, phase string) error
	Execute(cmd *cobra.Command, args []string) error
	Cmd() *cobra.Command
	Init()
}

func NewUpVersionCommand

func NewUpVersionCommand() UpVersionCommandI

Jump to

Keyboard shortcuts

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