Documentation ¶
Index ¶
- func CreateDirectory(vs *vssh.VSSH, path string) error
- func GetMacAddresses(vs *vssh.VSSH, networkInterfaces *[]NetworkInterfaces) (err error)
- func LineToList(content string) *[]string
- func ListNetworkInterfaces(vs *vssh.VSSH) (*[]NetworkInterfaces, error)
- func New(user, password, addr string, port uint16) (vs *vssh.VSSH, err error)
- func RestartVM(vs *vssh.VSSH) error
- func WriteToFile(vs *vssh.VSSH, filePath string, content *[]string) (err error)
- type NetworkInterfaces
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMacAddresses ¶
func GetMacAddresses(vs *vssh.VSSH, networkInterfaces *[]NetworkInterfaces) (err error)
func LineToList ¶
func ListNetworkInterfaces ¶
func ListNetworkInterfaces(vs *vssh.VSSH) (*[]NetworkInterfaces, error)
Types ¶
type NetworkInterfaces ¶
Click to show internal directories.
Click to hide internal directories.