importx

package
Version: v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2016 License: Apache-2.0, Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Archive

type Archive interface {
	Open(string) (io.ReadCloser, int64, error)
}

type ArchiveFlag

type ArchiveFlag struct {
	Archive
}

ArchiveFlag doesn't register any flags; only encapsulates some common archive related functionality.

func (*ArchiveFlag) Process

func (f *ArchiveFlag) Process() error

func (*ArchiveFlag) ReadEnvelope

func (f *ArchiveFlag) ReadEnvelope(fpath string) (*ovf.Envelope, error)

func (*ArchiveFlag) ReadOvf

func (f *ArchiveFlag) ReadOvf(fpath string) ([]byte, error)

func (*ArchiveFlag) Register

func (f *ArchiveFlag) Register(fs *flag.FlagSet)

type FileArchive

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

func (*FileArchive) Open

func (t *FileArchive) Open(name string) (io.ReadCloser, int64, error)

type FolderFlag

type FolderFlag struct {
	*flags.DatacenterFlag
	// contains filtered or unexported fields
}

func (*FolderFlag) Folder

func (flag *FolderFlag) Folder() (*object.Folder, error)

func (*FolderFlag) Register

func (flag *FolderFlag) Register(f *flag.FlagSet)

type Options

type Options struct {
	AllDeploymentOptions []string `json:",omitempty"`
	Deployment           string

	AllDiskProvisioningOptions []string `json:",omitempty"`
	DiskProvisioning           string

	AllIPAllocationPolicyOptions []string `json:",omitempty"`
	IPAllocationPolicy           string

	AllIPProtocolOptions []string `json:",omitempty"`
	IPProtocol           string

	PropertyMapping []Property `json:",omitempty"`

	PowerOn      bool
	InjectOvfEnv bool
	WaitForIP    bool
}

type OptionsFlag

type OptionsFlag struct {
	Options Options
	// contains filtered or unexported fields
}

func (*OptionsFlag) Process

func (flag *OptionsFlag) Process() error

func (*OptionsFlag) Register

func (flag *OptionsFlag) Register(f *flag.FlagSet)

type Property

type Property struct {
	types.KeyValue
	Spec *ovf.Property `json:",omitempty"`
}

type TapeArchive

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

func (*TapeArchive) Open

func (t *TapeArchive) Open(name string) (io.ReadCloser, int64, error)

type TapeArchiveEntry

type TapeArchiveEntry struct {
	io.Reader
	// contains filtered or unexported fields
}

func (*TapeArchiveEntry) Close

func (t *TapeArchiveEntry) Close() error

Jump to

Keyboard shortcuts

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