Documentation ¶
Index ¶
- type FileItem
- type Lease
- func (l *Lease) Abort(ctx context.Context, fault *types.LocalizedMethodFault) error
- func (l *Lease) Complete(ctx context.Context) error
- func (l *Lease) DownloadFile(ctx context.Context, file string, item FileItem, opts soap.Download) error
- func (l *Lease) GetManifest(ctx context.Context) error
- func (l *Lease) Progress(ctx context.Context, percent int32) error
- func (l *Lease) StartUpdater(ctx context.Context, info *LeaseInfo) *LeaseUpdater
- func (l *Lease) Upload(ctx context.Context, item FileItem, f io.Reader, opts soap.Upload) error
- func (l *Lease) Wait(ctx context.Context, items []types.OvfFileItem) (*LeaseInfo, error)
- type LeaseInfo
- type LeaseUpdater
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileItem ¶
type FileItem struct { types.OvfFileItem URL *url.URL // contains filtered or unexported fields }
func (FileItem) File ¶
File converts the FileItem.OvfFileItem to an OvfFile
type Lease ¶
type Lease struct { types.ManagedObjectReference // contains filtered or unexported fields }
func (*Lease) Abort ¶
Abort wraps methods.Abort
func (*Lease) Complete ¶
Complete wraps methods.Complete
func (*Lease) DownloadFile ¶
func (*Lease) GetManifest ¶
GetManifest wraps methods.GetManifest
func (*Lease) Progress ¶
Progress wraps methods.Progress
func (*Lease) StartUpdater ¶
func (l *Lease) StartUpdater(ctx context.Context, info *LeaseInfo) *LeaseUpdater
func (*Lease) Upload ¶
type LeaseInfo ¶
type LeaseInfo struct { types.HttpNfcLeaseInfo Items []FileItem }
type LeaseUpdater ¶
type LeaseUpdater struct {
// contains filtered or unexported fields
}
func (*LeaseUpdater) Done ¶
func (l *LeaseUpdater) Done()
Click to show internal directories.
Click to hide internal directories.