Versions in this module Expand all Collapse all v0 v0.9.0 Mar 19, 2016 Changes in this version + func CreateTempURL(c *gophercloud.ServiceClient, containerName, objectName string, ...) (string, error) + func ExtractNames(page pagination.Page) ([]string, error) + func List(c *gophercloud.ServiceClient, containerName string, opts ListOptsBuilder) pagination.Pager + type CopyHeader struct + ContentLength int64 + ContentType string + CopiedFrom string + CopiedFromLastModified time.Time + Date time.Time + ETag string + LastModified time.Time + TransID string + type CopyOpts struct + ContentDisposition string + ContentEncoding string + ContentType string + Destination string + Metadata map[string]string + func (opts CopyOpts) ToObjectCopyMap() (map[string]string, error) + type CopyOptsBuilder interface + ToObjectCopyMap func() (map[string]string, error) + type CopyResult struct + func Copy(c *gophercloud.ServiceClient, containerName, objectName string, ...) CopyResult + func (cr CopyResult) Extract() (CopyHeader, error) + type CreateHeader struct + ContentLength int64 + ContentType string + Date time.Time + ETag string + LastModified time.Time + TransID string + type CreateOpts struct + ContentDisposition string + ContentEncoding string + ContentLength int64 + ContentType string + CopyFrom string + DeleteAfter int + DeleteAt int + DetectContentType string + ETag string + Expires string + IfNoneMatch string + Metadata map[string]string + MultipartManifest string + ObjectManifest string + Signature string + TransferEncoding string + func (opts CreateOpts) ToObjectCreateParams() (map[string]string, string, error) + type CreateOptsBuilder interface + ToObjectCreateParams func() (map[string]string, string, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, containerName, objectName string, ...) CreateResult + func (cr CreateResult) Extract() (CreateHeader, error) + type CreateTempURLOpts struct + Method HTTPMethod + Split string + TTL int + type DeleteHeader struct + ContentLength int64 + ContentType string + Date time.Time + TransID string + type DeleteOpts struct + MultipartManifest string + func (opts DeleteOpts) ToObjectDeleteQuery() (string, error) + type DeleteOptsBuilder interface + ToObjectDeleteQuery func() (string, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, containerName, objectName string, ...) DeleteResult + func (dr DeleteResult) Extract() (DeleteHeader, error) + type DownloadHeader struct + AcceptRanges string + ContentDisposition string + ContentEncoding string + ContentLength int64 + ContentType string + Date time.Time + DeleteAt time.Time + ETag string + LastModified time.Time + ObjectManifest string + StaticLargeObject bool + TransID string + type DownloadOpts struct + Expires string + IfMatch string + IfModifiedSince time.Time + IfNoneMatch string + IfUnmodifiedSince time.Time + MultipartManifest string + Range string + Signature string + func (opts DownloadOpts) ToObjectDownloadParams() (map[string]string, string, error) + type DownloadOptsBuilder interface + ToObjectDownloadParams func() (map[string]string, string, error) + type DownloadResult struct + Body io.ReadCloser + func Download(c *gophercloud.ServiceClient, containerName, objectName string, ...) DownloadResult + func (dr DownloadResult) Extract() (DownloadHeader, error) + func (dr DownloadResult) ExtractContent() ([]byte, error) + type GetHeader struct + ContentDisposition string + ContentEncoding string + ContentLength int64 + ContentType string + Date time.Time + DeleteAt time.Time + ETag string + LastModified time.Time + ObjectManifest string + StaticLargeObject bool + TransID string + type GetOpts struct + Expires string + Signature string + func (opts GetOpts) ToObjectGetQuery() (string, error) + type GetOptsBuilder interface + ToObjectGetQuery func() (string, error) + type GetResult struct + func Get(c *gophercloud.ServiceClient, containerName, objectName string, ...) GetResult + func (gr GetResult) Extract() (GetHeader, error) + func (gr GetResult) ExtractMetadata() (map[string]string, error) + type HTTPMethod string + var GET HTTPMethod = "GET" + var POST HTTPMethod = "POST" + type ListOpts struct + Delimiter string + EndMarker string + Format string + Full bool + Limit int + Marker string + Path string + Prefix string + func (opts ListOpts) ToObjectListParams() (bool, string, error) + type ListOptsBuilder interface + ToObjectListParams func() (bool, string, error) + type Object struct + Bytes int64 + ContentType string + Hash string + LastModified string + Name string + func ExtractInfo(page pagination.Page) ([]Object, error) + type ObjectPage struct + func (r ObjectPage) IsEmpty() (bool, error) + func (r ObjectPage) LastMarker() (string, error) + type UpdateHeader struct + ContentLength int64 + ContentType string + Date time.Time + TransID string + type UpdateOpts struct + ContentDisposition string + ContentEncoding string + ContentType string + DeleteAfter int + DeleteAt int + DetectContentType bool + Metadata map[string]string + func (opts UpdateOpts) ToObjectUpdateMap() (map[string]string, error) + type UpdateOptsBuilder interface + ToObjectUpdateMap func() (map[string]string, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, containerName, objectName string, ...) UpdateResult + func (ur UpdateResult) Extract() (UpdateHeader, error)