Documentation ¶
Index ¶
- type VcenterClient
- func (c *VcenterClient) EjectCDRom(vmInventoryPath string, deviceName string) error
- func (c *VcenterClient) ExportVM(vmInventoryPath string, destination string) error
- func (c *VcenterClient) FindVM(vmInventoryPath string) error
- func (c *VcenterClient) IsPoweredOff(vmInventoryPath string) (bool, error)
- func (c *VcenterClient) ListDevices(vmInventoryPath string) ([]string, error)
- func (c *VcenterClient) MakeDirectory(vmInventoryPath, path, username, password string) error
- func (c *VcenterClient) RemoveDevice(vmInventoryPath string, deviceName string) error
- func (c *VcenterClient) Start(vmInventoryPath, username, password, command string, args ...string) (string, error)
- func (c *VcenterClient) UploadArtifact(vmInventoryPath, artifact, destination, username, password string) error
- func (c *VcenterClient) ValidateCredentials() error
- func (c *VcenterClient) ValidateUrl() error
- func (c *VcenterClient) WaitForExit(vmInventoryPath, username, password, pid string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VcenterClient ¶
type VcenterClient struct { Url string Runner iaas_cli.CliRunner // contains filtered or unexported fields }
func NewVcenterClient ¶
func (*VcenterClient) EjectCDRom ¶
func (c *VcenterClient) EjectCDRom(vmInventoryPath string, deviceName string) error
func (*VcenterClient) ExportVM ¶
func (c *VcenterClient) ExportVM(vmInventoryPath string, destination string) error
func (*VcenterClient) FindVM ¶
func (c *VcenterClient) FindVM(vmInventoryPath string) error
func (*VcenterClient) IsPoweredOff ¶
func (c *VcenterClient) IsPoweredOff(vmInventoryPath string) (bool, error)
func (*VcenterClient) ListDevices ¶
func (c *VcenterClient) ListDevices(vmInventoryPath string) ([]string, error)
func (*VcenterClient) MakeDirectory ¶
func (c *VcenterClient) MakeDirectory(vmInventoryPath, path, username, password string) error
func (*VcenterClient) RemoveDevice ¶
func (c *VcenterClient) RemoveDevice(vmInventoryPath string, deviceName string) error
func (*VcenterClient) Start ¶
func (c *VcenterClient) Start(vmInventoryPath, username, password, command string, args ...string) (string, error)
func (*VcenterClient) UploadArtifact ¶
func (c *VcenterClient) UploadArtifact(vmInventoryPath, artifact, destination, username, password string) error
func (*VcenterClient) ValidateCredentials ¶
func (c *VcenterClient) ValidateCredentials() error
func (*VcenterClient) ValidateUrl ¶
func (c *VcenterClient) ValidateUrl() error
func (*VcenterClient) WaitForExit ¶
func (c *VcenterClient) WaitForExit(vmInventoryPath, username, password, pid string) (int, error)
Directories ¶
Path | Synopsis |
---|---|
guest_managerfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
vcenter_managerfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.