Documentation ¶
Index ¶
- func ContainerCmd() *cobra.Command
- func InterfaceCmd() *cobra.Command
- func ProfileCmd() *cobra.Command
- func RootCmd(name string) *cobra.Command
- type Command
- type ContainerCommand
- type InterfaceCommand
- func (c *InterfaceCommand) Add(name string, ifname string, hwaddr string) error
- func (c *InterfaceCommand) Delete(name string, ifname string) error
- func (c *InterfaceCommand) Set(name string, ifname string, args []string) error
- func (c *InterfaceCommand) SetFlags(cmd *cobra.Command) *cobra.Command
- func (c *InterfaceCommand) SetSetFlags(cmd *cobra.Command) *cobra.Command
- type ProfileCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerCmd ¶
func InterfaceCmd ¶
func ProfileCmd ¶
Types ¶
type ContainerCommand ¶
type ContainerCommand struct { Command // contains filtered or unexported fields }
func (*ContainerCommand) Create ¶
func (c *ContainerCommand) Create(name string) error
func (*ContainerCommand) Delete ¶
func (c *ContainerCommand) Delete(name string) error
type InterfaceCommand ¶
type InterfaceCommand struct { Command // contains filtered or unexported fields }
func (*InterfaceCommand) Add ¶
func (c *InterfaceCommand) Add(name string, ifname string, hwaddr string) error
func (*InterfaceCommand) Delete ¶
func (c *InterfaceCommand) Delete(name string, ifname string) error
func (*InterfaceCommand) Set ¶
func (c *InterfaceCommand) Set(name string, ifname string, args []string) error
func (*InterfaceCommand) SetFlags ¶
func (c *InterfaceCommand) SetFlags(cmd *cobra.Command) *cobra.Command
func (*InterfaceCommand) SetSetFlags ¶
func (c *InterfaceCommand) SetSetFlags(cmd *cobra.Command) *cobra.Command
type ProfileCommand ¶
type ProfileCommand struct { Command // contains filtered or unexported fields }
func (*ProfileCommand) BackupPath ¶
func (c *ProfileCommand) BackupPath(name string) string
func (*ProfileCommand) Clear ¶
func (c *ProfileCommand) Clear(name string) error
func (*ProfileCommand) Load ¶
func (c *ProfileCommand) Load(name string) error
func (*ProfileCommand) Save ¶
func (c *ProfileCommand) Save(name string) error
Click to show internal directories.
Click to hide internal directories.