Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandRunner ¶
type CommandRunner struct{}
func (CommandRunner) Run ¶
func (t CommandRunner) Run(conn *Connection, args ...string) (string, error)
type Connection ¶
type Connection struct { Hostname string Username string Password string Path string Port int Interface string }
Connection properties for a Client
func NewConnection ¶
func NewConnection(server string) *Connection
func (*Connection) LocalIP ¶
func (c *Connection) LocalIP() string
LocalIP returns the local (client) IP address of the Connection
func (*Connection) RemoteIP ¶
func (c *Connection) RemoteIP() string
RemoteIP returns the remote (bmc) IP address of the Connection
type Ipmi ¶
type Ipmi struct { Servers []string // contains filtered or unexported fields }
func (*Ipmi) Description ¶
func (*Ipmi) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.