Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDevice ¶
func NewDevice(connection connections.Connection, DeviceType string) (types.CiscoDevice, error)
Types ¶
type ASADevice ¶
type ASADevice struct {
Driver driver.IDriver
Prompt string
// contains filtered or unexported fields
}
func (*ASADevice) Disconnect ¶
func (d *ASADevice) Disconnect()
func (*ASADevice) SetTimeout ¶ added in v0.1.0
type CSCODevice ¶
func (*CSCODevice) Connect ¶
func (d *CSCODevice) Connect() error
func (*CSCODevice) Disconnect ¶
func (d *CSCODevice) Disconnect()
func (*CSCODevice) SendCommand ¶
func (d *CSCODevice) SendCommand(cmd string) (string, error)
func (*CSCODevice) SendConfigSet ¶
func (d *CSCODevice) SendConfigSet(cmds []string) (string, error)
func (*CSCODevice) SetSecret ¶ added in v0.0.2
func (d *CSCODevice) SetSecret(secret string)
func (*CSCODevice) SetTimeout ¶ added in v0.1.0
func (d *CSCODevice) SetTimeout(timeout uint8)
type IOSDevice ¶
type IOSDevice struct {
Driver driver.IDriver
Prompt string
// contains filtered or unexported fields
}
func (*IOSDevice) Disconnect ¶
func (d *IOSDevice) Disconnect()
func (*IOSDevice) SetTimeout ¶ added in v0.1.0
type IOSXRDevice ¶
type IOSXRDevice struct {
Driver driver.IDriver
Prompt string
// contains filtered or unexported fields
}
func (*IOSXRDevice) Connect ¶
func (d *IOSXRDevice) Connect() error
func (*IOSXRDevice) Disconnect ¶
func (d *IOSXRDevice) Disconnect()
func (*IOSXRDevice) SendCommand ¶
func (d *IOSXRDevice) SendCommand(cmd string) (string, error)
func (*IOSXRDevice) SendConfigSet ¶
func (d *IOSXRDevice) SendConfigSet(cmds []string) (string, error)
func (*IOSXRDevice) SetSecret ¶ added in v0.0.2
func (d *IOSXRDevice) SetSecret(secret string)
func (*IOSXRDevice) SetTimeout ¶ added in v0.1.0
func (d *IOSXRDevice) SetTimeout(timeout uint8)
type NXOSDevice ¶
type NXOSDevice struct {
Driver driver.IDriver
Prompt string
// contains filtered or unexported fields
}
func (*NXOSDevice) Connect ¶
func (d *NXOSDevice) Connect() error
func (*NXOSDevice) Disconnect ¶
func (d *NXOSDevice) Disconnect()
func (*NXOSDevice) SendCommand ¶
func (d *NXOSDevice) SendCommand(cmd string) (string, error)
func (*NXOSDevice) SendConfigSet ¶
func (d *NXOSDevice) SendConfigSet(cmds []string) (string, error)
func (*NXOSDevice) SetSecret ¶ added in v0.0.2
func (d *NXOSDevice) SetSecret(secret string)
func (*NXOSDevice) SetTimeout ¶ added in v0.1.0
func (d *NXOSDevice) SetTimeout(timeout uint8)
Click to show internal directories.
Click to hide internal directories.