imagedata

package
v0.0.0-...-2804b72 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DownloadResult

type DownloadResult struct {
	gophercloud.Result
}

DownloadResult is the result of a download image operation

func Download

func Download(client *gophercloud.ServiceClient, id string) (r DownloadResult)

Download retrieves file

func (DownloadResult) Extract

func (r DownloadResult) Extract() (io.Reader, error)

Extract builds images model from io.Reader

type UploadResult

type UploadResult struct {
	gophercloud.ErrResult
}

UploadResult is the result of an upload image operation

func Upload

func Upload(client *gophercloud.ServiceClient, id string, data io.Reader) (r UploadResult)

Upload uploads image file

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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