iaas_clients

package
v0.0.0-...-f26de15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 NewVcenterClient(username string, password string, u string, caCertFile string, runner iaas_cli.CliRunner) *VcenterClient

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL