dlx

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: Apache-2.0, MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func GetExistingAliases

func GetExistingAliases(aliases []string, allAliases []api.ImageAliasesEntry) []api.ImageAliasesEntry

GetExistingAliases returns the intersection between a list of aliases and all the existing ones.

Types

type CmdAction

type CmdAction struct {
	Global *state.Global
	// contains filtered or unexported fields
}

func (*CmdAction) Command

func (c *CmdAction) Command(action string) *cobra.Command

func (*CmdAction) Run

func (c *CmdAction) Run(cmd *cobra.Command, args []string) error

type CmdConfig

type CmdConfig struct {
	Global *state.Global
}

func (*CmdConfig) Command

func (c *CmdConfig) Command() *cobra.Command

configCmd represents the config command

func (*CmdConfig) Run

func (c *CmdConfig) Run(cmd *cobra.Command, args []string) error

type CmdConnect

type CmdConnect struct {
	Global *state.Global
	// contains filtered or unexported fields
}

func (*CmdConnect) Command

func (c *CmdConnect) Command() *cobra.Command

func (*CmdConnect) Run

func (c *CmdConnect) Run(cmd *cobra.Command, args []string) error

type CmdConsole

type CmdConsole struct {
	Global *state.Global
	// contains filtered or unexported fields
}

func (*CmdConsole) Command

func (c *CmdConsole) Command() *cobra.Command

func (*CmdConsole) Console

func (c *CmdConsole) Console(d lxd.InstanceServer, name string) error

func (*CmdConsole) Run

func (c *CmdConsole) Run(cmd *cobra.Command, args []string) error

type CmdCreate

type CmdCreate struct {
	Global *state.Global
	// contains filtered or unexported fields
}

func (*CmdCreate) Command

func (c *CmdCreate) Command() *cobra.Command

createCmd represents the create command

func (*CmdCreate) Run

func (c *CmdCreate) Run(cmd *cobra.Command, args []string) error

type CmdDocs

type CmdDocs struct {
	Global *state.Global
}

func (*CmdDocs) Command

func (c *CmdDocs) Command() *cobra.Command

type CmdExec

type CmdExec struct {
	Global *state.Global
	// contains filtered or unexported fields
}

func (*CmdExec) Command

func (c *CmdExec) Command() *cobra.Command

func (*CmdExec) Run

func (c *CmdExec) Run(cmd *cobra.Command, args []string) error

type CmdList

type CmdList struct {
	Global *state.Global
}

func (*CmdList) Command

func (c *CmdList) Command() *cobra.Command

func (*CmdList) Run

func (c *CmdList) Run(cmd *cobra.Command, args []string) error

type CmdMonitor

type CmdMonitor struct {
	Cmd    *cobra.Command
	Global *state.Global
	// contains filtered or unexported fields
}

func (*CmdMonitor) Command

func (c *CmdMonitor) Command() *cobra.Command

func (*CmdMonitor) Run

func (c *CmdMonitor) Run(cmd *cobra.Command, args []string) error

type CmdPause

type CmdPause struct {
	Global *state.Global
	// contains filtered or unexported fields
}

Pause

func (*CmdPause) Command

func (c *CmdPause) Command() *cobra.Command

type CmdProject

type CmdProject struct {
	Global *state.Global
	Cmd    *cobra.Command
}

func (*CmdProject) Command

func (c *CmdProject) Command() *cobra.Command

type CmdProjectList

type CmdProjectList struct {
	Cmd    *cobra.Command
	Global *state.Global
}

func (*CmdProjectList) Command

func (c *CmdProjectList) Command() *cobra.Command

func (*CmdProjectList) Run

func (c *CmdProjectList) Run(cmd *cobra.Command, args []string) error

type CmdProjectSwitch

type CmdProjectSwitch struct {
	Cmd    *cobra.Command
	Global *state.Global
}

func (*CmdProjectSwitch) Command

func (c *CmdProjectSwitch) Command() *cobra.Command

func (*CmdProjectSwitch) Run

func (c *CmdProjectSwitch) Run(cmd *cobra.Command, args []string) error

type CmdRemote

type CmdRemote struct {
	Global *state.Global
}

func (*CmdRemote) Command

func (c *CmdRemote) Command() *cobra.Command

type CmdRemoteList

type CmdRemoteList struct {
	Cmd    *cobra.Command
	Global *state.Global
}

func (*CmdRemoteList) Command

func (c *CmdRemoteList) Command() *cobra.Command

func (*CmdRemoteList) Run

func (c *CmdRemoteList) Run(cmd *cobra.Command, args []string) error

type CmdRemoteSwitch

type CmdRemoteSwitch struct {
	Cmd    *cobra.Command
	Global *state.Global
}

func (*CmdRemoteSwitch) Command

func (c *CmdRemoteSwitch) Command() *cobra.Command

func (*CmdRemoteSwitch) Run

func (c *CmdRemoteSwitch) Run(cmd *cobra.Command, args []string) error

type CmdRemove

type CmdRemove struct {
	Cmd    *cobra.Command
	Global *state.Global
}

func (*CmdRemove) Command

func (c *CmdRemove) Command() *cobra.Command

func (*CmdRemove) Run

func (c *CmdRemove) Run(cmd *cobra.Command, args []string) error

type CmdRestart

type CmdRestart struct {
	Global *state.Global
	// contains filtered or unexported fields
}

Restart

func (*CmdRestart) Command

func (c *CmdRestart) Command() *cobra.Command

type CmdStart

type CmdStart struct {
	Global *state.Global
	// contains filtered or unexported fields
}

Start

func (*CmdStart) Command

func (c *CmdStart) Command() *cobra.Command

type CmdStop

type CmdStop struct {
	Global *state.Global
	// contains filtered or unexported fields
}

Stop

func (*CmdStop) Command

func (c *CmdStop) Command() *cobra.Command

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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