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) ReadEnvelope ¶
func (f *ArchiveFlag) ReadEnvelope(fpath string) (*ovf.Envelope, 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
}
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"`
NetworkMapping []Network `json:",omitempty"`
Annotation string `json:",omitempty"`
PowerOn bool
InjectOvfEnv bool
WaitForIP bool
Name *string
}
type OptionsFlag ¶
type OptionsFlag struct {
Options Options
// contains filtered or unexported fields
}
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 ¶
func (*TapeArchiveEntry) Close ¶
func (t *TapeArchiveEntry) Close() error
Click to show internal directories.
Click to hide internal directories.