Documentation ¶
Index ¶
- func Execute()
- func GetExistingAliases(aliases []string, allAliases []api.ImageAliasesEntry) []api.ImageAliasesEntry
- type CmdAction
- type CmdConfig
- type CmdConnect
- type CmdConsole
- type CmdCreate
- type CmdDocs
- type CmdExec
- type CmdList
- type CmdMonitor
- type CmdPause
- type CmdProject
- type CmdProjectList
- type CmdProjectSwitch
- type CmdRemote
- type CmdRemoteList
- type CmdRemoteSwitch
- type CmdRemove
- type CmdRestart
- type CmdStart
- type CmdStop
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 CmdConnect ¶
func (*CmdConnect) Command ¶
func (c *CmdConnect) Command() *cobra.Command
type CmdConsole ¶
func (*CmdConsole) Command ¶
func (c *CmdConsole) Command() *cobra.Command
func (*CmdConsole) Console ¶
func (c *CmdConsole) Console(d lxd.InstanceServer, name 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
type CmdProject ¶
func (*CmdProject) Command ¶
func (c *CmdProject) Command() *cobra.Command
type CmdProjectList ¶
func (*CmdProjectList) Command ¶
func (c *CmdProjectList) Command() *cobra.Command
type CmdProjectSwitch ¶
func (*CmdProjectSwitch) Command ¶
func (c *CmdProjectSwitch) Command() *cobra.Command
type CmdRemoteList ¶
func (*CmdRemoteList) Command ¶
func (c *CmdRemoteList) Command() *cobra.Command
type CmdRemoteSwitch ¶
func (*CmdRemoteSwitch) Command ¶
func (c *CmdRemoteSwitch) Command() *cobra.Command
type CmdRestart ¶
Restart
func (*CmdRestart) Command ¶
func (c *CmdRestart) Command() *cobra.Command
Source Files ¶
Click to show internal directories.
Click to hide internal directories.