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) ([]types.HttpNfcLeaseManifestEntry, 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 NewFileItem ¶
func NewFileItem(u *url.URL, item types.OvfFileItem) FileItem
type Lease ¶
type Lease struct { types.ManagedObjectReference // contains filtered or unexported fields }
func (*Lease) DownloadFile ¶
func (*Lease) GetManifest ¶
GetManifest wraps methods.GetManifest
func (*Lease) StartUpdater ¶
func (l *Lease) StartUpdater(ctx context.Context, info *LeaseInfo) *LeaseUpdater
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.