command

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDaemonRestartCommand

func NewDaemonRestartCommand(m plugin.Manager) *cobra.Command

func NewDaemonStartCommand

func NewDaemonStartCommand(m plugin.Manager) *cobra.Command

func NewDaemonStopCommand

func NewDaemonStopCommand(m plugin.Manager) *cobra.Command

func RestartContainer

func RestartContainer(m plugin.Manager, name string) error

func RunContainer

func RunContainer(m plugin.Manager, name string) error

func StopContainer

func StopContainer(m plugin.Manager, name string) error

Types

type Command

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

func New

func New(m plugin.Manager) *Command

func (Command) Cleanup added in v0.3.2

func (Command) Cleanup()

func (*Command) GetCobraCommand

func (p *Command) GetCobraCommand() *cobra.Command

func (*Command) Init

func (*Command) Init() (plugin.PluginConfig, error)

func (*Command) PluginInfo

func (p *Command) PluginInfo() *api.PluginInfo

func (*Command) Type

func (p *Command) Type() plugin.Type

Jump to

Keyboard shortcuts

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