guest

package
v0.1.1-0...-5e7805d Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2015 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthManager

type AuthManager struct {
	types.ManagedObjectReference
	// contains filtered or unexported fields
}

func (AuthManager) AcquireCredentials

func (m AuthManager) AcquireCredentials(ctx context.Context, requestedAuth types.BaseGuestAuthentication, sessionID int64) (types.BaseGuestAuthentication, error)

func (AuthManager) Reference

func (AuthManager) ReleaseCredentials

func (m AuthManager) ReleaseCredentials(ctx context.Context, auth types.BaseGuestAuthentication) error

func (AuthManager) ValidateCredentials

func (m AuthManager) ValidateCredentials(ctx context.Context, auth types.BaseGuestAuthentication) error

type FileManager

type FileManager struct {
	types.ManagedObjectReference
	// contains filtered or unexported fields
}

func (FileManager) ChangeFileAttributes

func (m FileManager) ChangeFileAttributes(ctx context.Context, auth types.BaseGuestAuthentication, guestFilePath string, fileAttributes types.BaseGuestFileAttributes) error

func (FileManager) CreateTemporaryDirectory

func (m FileManager) CreateTemporaryDirectory(ctx context.Context, auth types.BaseGuestAuthentication, prefix, suffix string) (string, error)

func (FileManager) CreateTemporaryFile

func (m FileManager) CreateTemporaryFile(ctx context.Context, auth types.BaseGuestAuthentication, prefix, suffix string) (string, error)

func (FileManager) DeleteDirectory

func (m FileManager) DeleteDirectory(ctx context.Context, auth types.BaseGuestAuthentication, directoryPath string, recursive bool) error

func (FileManager) DeleteFile

func (m FileManager) DeleteFile(ctx context.Context, auth types.BaseGuestAuthentication, filePath string) error

func (FileManager) InitiateFileTransferFromGuest

func (m FileManager) InitiateFileTransferFromGuest(ctx context.Context, auth types.BaseGuestAuthentication, guestFilePath string) (*types.FileTransferInformation, error)

func (FileManager) InitiateFileTransferToGuest

func (m FileManager) InitiateFileTransferToGuest(ctx context.Context, auth types.BaseGuestAuthentication, guestFilePath string, fileAttributes types.BaseGuestFileAttributes, fileSize int64, overwrite bool) (string, error)

func (FileManager) ListFiles

func (m FileManager) ListFiles(ctx context.Context, auth types.BaseGuestAuthentication, filePath string, index int, maxResults int, matchPattern string) (*types.GuestListFileInfo, error)

func (FileManager) MakeDirectory

func (m FileManager) MakeDirectory(ctx context.Context, auth types.BaseGuestAuthentication, directoryPath string, createParentDirectories bool) error

func (FileManager) MoveDirectory

func (m FileManager) MoveDirectory(ctx context.Context, auth types.BaseGuestAuthentication, srcDirectoryPath string, dstDirectoryPath string) error

func (FileManager) MoveFile

func (m FileManager) MoveFile(ctx context.Context, auth types.BaseGuestAuthentication, srcFilePath string, dstFilePath string, overwrite bool) error

func (FileManager) Reference

type OperationsManager

type OperationsManager struct {
	// contains filtered or unexported fields
}

func (OperationsManager) AuthManager

func (m OperationsManager) AuthManager(ctx context.Context) (*AuthManager, error)

func (OperationsManager) FileManager

func (m OperationsManager) FileManager(ctx context.Context) (*FileManager, error)

func (OperationsManager) ProcessManager

func (m OperationsManager) ProcessManager(ctx context.Context) (*ProcessManager, error)

type ProcessManager

type ProcessManager struct {
	types.ManagedObjectReference
	// contains filtered or unexported fields
}

func (ProcessManager) ListProcesses

func (ProcessManager) ReadEnvironmentVariable

func (m ProcessManager) ReadEnvironmentVariable(ctx context.Context, auth types.BaseGuestAuthentication, names []string) ([]string, error)

func (ProcessManager) Reference

func (ProcessManager) StartProgram

func (ProcessManager) TerminateProcess

func (m ProcessManager) TerminateProcess(ctx context.Context, auth types.BaseGuestAuthentication, pid int64) error

Jump to

Keyboard shortcuts

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