Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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(ctx context.Context) error
func (*ArchiveFlag) ReadEnvelope ¶
func (f *ArchiveFlag) ReadEnvelope(fpath string) (*ovf.Envelope, error)
func (*ArchiveFlag) ReadOvf ¶
func (f *ArchiveFlag) ReadOvf(fpath string) ([]byte, error)
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) Process ¶ added in v0.3.0
func (flag *FolderFlag) Process(ctx context.Context) error
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 Name *string }
type OptionsFlag ¶
type OptionsFlag struct { Options Options // contains filtered or unexported fields }
func (*OptionsFlag) Process ¶
func (flag *OptionsFlag) Process(ctx context.Context) error
type TapeArchive ¶
type TapeArchive struct {
// contains filtered or unexported fields
}
func (*TapeArchive) Open ¶
func (t *TapeArchive) Open(name string) (io.ReadCloser, int64, error)
Click to show internal directories.
Click to hide internal directories.