guest

package
v0.0.0-...-d5d7872 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthFlag

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

func (*AuthFlag) Auth

func (flag *AuthFlag) Auth() types.BaseGuestAuthentication

func (*AuthFlag) Process

func (flag *AuthFlag) Process(ctx context.Context) error

func (*AuthFlag) Register

func (flag *AuthFlag) Register(ctx context.Context, f *flag.FlagSet)

func (*AuthFlag) Set

func (flag *AuthFlag) Set(s string) error

func (*AuthFlag) String

func (flag *AuthFlag) String() string

type FileAttrFlag

type FileAttrFlag struct {
	types.GuestPosixFileAttributes
}

func (*FileAttrFlag) Attr

func (*FileAttrFlag) Process

func (flag *FileAttrFlag) Process(ctx context.Context) error

func (*FileAttrFlag) Register

func (flag *FileAttrFlag) Register(ctx context.Context, f *flag.FlagSet)

type GuestFlag

type GuestFlag struct {
	*flags.ClientFlag
	*flags.VirtualMachineFlag

	*AuthFlag
}

func (*GuestFlag) FileManager

func (flag *GuestFlag) FileManager() (*guest.FileManager, error)

func (*GuestFlag) ParseURL

func (flag *GuestFlag) ParseURL(urlStr string) (*url.URL, error)

func (*GuestFlag) Process

func (flag *GuestFlag) Process(ctx context.Context) error

func (*GuestFlag) ProcessManager

func (flag *GuestFlag) ProcessManager() (*guest.ProcessManager, error)

func (*GuestFlag) Register

func (flag *GuestFlag) Register(ctx context.Context, f *flag.FlagSet)

func (*GuestFlag) Toolbox

func (flag *GuestFlag) Toolbox(ctx context.Context) (*toolbox.Client, error)

func (*GuestFlag) VirtualMachine

func (flag *GuestFlag) VirtualMachine() (*object.VirtualMachine, error)

Jump to

Keyboard shortcuts

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