Documentation ¶
Index ¶
- func ConfigCmd() *cobra.Command
- func DaemonCmd() *cobra.Command
- func GlobalCmd() *cobra.Command
- func IPv4Cmd() *cobra.Command
- func IPv6Cmd() *cobra.Command
- func IfaceCmd() *cobra.Command
- func MplsCmd() *cobra.Command
- func OspfCmd() *cobra.Command
- func Ospfv3Cmd() *cobra.Command
- func RootCmd(name string) *cobra.Command
- func ShowCmd() *cobra.Command
- type ConfigCommand
- type DaemonCommand
- type GlobalCommand
- type IPv4Command
- type IPv6Comand
- type IfaceCommand
- type MplsCommand
- type OspfCommand
- type Ospfv3Command
- type ShowCommand
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigCommand ¶
func (*ConfigCommand) Backup ¶
func (c *ConfigCommand) Backup() error
func (*ConfigCommand) Rollback ¶
func (c *ConfigCommand) Rollback() error
func (*ConfigCommand) Save ¶
func (c *ConfigCommand) Save() error
func (*ConfigCommand) SetFlags ¶
func (c *ConfigCommand) SetFlags(cmd *cobra.Command) *cobra.Command
func (*ConfigCommand) SetPathFlags ¶
func (c *ConfigCommand) SetPathFlags(cmd *cobra.Command) *cobra.Command
func (*ConfigCommand) ShowBackup ¶
func (c *ConfigCommand) ShowBackup() error
type DaemonCommand ¶
func (*DaemonCommand) Disable ¶
func (c *DaemonCommand) Disable(args []string) error
func (*DaemonCommand) Enable ¶
func (c *DaemonCommand) Enable(args []string) error
func (*DaemonCommand) Show ¶
func (c *DaemonCommand) Show() error
type GlobalCommand ¶
func (*GlobalCommand) Global ¶
func (c *GlobalCommand) Global(args []string) error
type IPv4Command ¶
func (*IPv4Command) IPv4 ¶
func (c *IPv4Command) IPv4(args []string) error
type IPv6Comand ¶
func (*IPv6Comand) IPv6 ¶
func (c *IPv6Comand) IPv6(args []string) error
type IfaceCommand ¶
type MplsCommand ¶
func (*MplsCommand) AddrssFamily ¶
func (c *MplsCommand) AddrssFamily(ipver uint, ifname string, args []string) error
func (*MplsCommand) Ldp ¶
func (c *MplsCommand) Ldp(args []string) error
type OspfCommand ¶
func (*OspfCommand) Ospf ¶
func (c *OspfCommand) Ospf(args []string) error
type Ospfv3Command ¶ added in v0.3.0
func (*Ospfv3Command) Ospfv3 ¶ added in v0.3.0
func (c *Ospfv3Command) Ospfv3(args []string) error
Click to show internal directories.
Click to hide internal directories.