guest

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 19 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) 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