guest

package
Version: v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: Apache-2.0 Imports: 23 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 added in v0.16.0

func (flag *GuestFlag) Toolbox() (*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
t or T : Toggle theme light dark auto
y or Y : Canonical URL