Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func CreateTempURL(c *gophercloud.ServiceClient, containerName, objectName string, ...) (string, error) + func ExtractNames(r pagination.Page) ([]string, error) + func List(c *gophercloud.ServiceClient, containerName string, opts ListOptsBuilder) pagination.Pager + type BulkDeleteResponse struct + Errors [][]string + NumberDeleted int + NumberNotFound int + ResponseBody string + ResponseStatus string + type BulkDeleteResult struct + func BulkDelete(c *gophercloud.ServiceClient, container string, objects []string) (r BulkDeleteResult) + func (r BulkDeleteResult) Extract() (*BulkDeleteResponse, error) + type CopyHeader struct + ContentLength int64 + ContentType string + CopiedFrom string + CopiedFromLastModified time.Time + Date time.Time + ETag string + LastModified time.Time + TransID string + func (r *CopyHeader) UnmarshalJSON(b []byte) error + 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, ...) (r CopyResult) + func (r CopyResult) Extract() (*CopyHeader, error) + type CreateHeader struct + ContentLength int64 + ContentType string + Date time.Time + ETag string + LastModified time.Time + TransID string + func (r *CreateHeader) UnmarshalJSON(b []byte) error + type CreateOpts struct + CacheControl string + Content io.Reader + ContentDisposition string + ContentEncoding string + ContentLength int64 + ContentType string + CopyFrom string + DeleteAfter int64 + DeleteAt int64 + DetectContentType string + ETag string + Expires string + IfNoneMatch string + Metadata map[string]string + MultipartManifest string + NoETag bool + ObjectManifest string + Signature string + TransferEncoding string + func (opts CreateOpts) ToObjectCreateParams() (io.Reader, map[string]string, string, error) + type CreateOptsBuilder interface + ToObjectCreateParams func() (io.Reader, map[string]string, string, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, containerName, objectName string, ...) (r CreateResult) + func (r CreateResult) Extract() (*CreateHeader, error) + type CreateTempURLOpts struct + Method HTTPMethod + Split string + TTL int + Timestamp time.Time + type DeleteHeader struct + ContentLength int64 + ContentType string + Date time.Time + TransID string + func (r *DeleteHeader) UnmarshalJSON(b []byte) error + 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, ...) (r DeleteResult) + func (r 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 + func (r *DownloadHeader) UnmarshalJSON(b []byte) error + type DownloadOpts struct + Expires string + IfMatch string + IfModifiedSince time.Time + IfNoneMatch string + IfUnmodifiedSince time.Time + MultipartManifest string + Newest bool + 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, ...) (r DownloadResult) + func (r *DownloadResult) ExtractContent() ([]byte, error) + func (r DownloadResult) Extract() (*DownloadHeader, error) + type ErrWrongChecksum struct + func (e ErrWrongChecksum) Error() string + 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 + func (r *GetHeader) UnmarshalJSON(b []byte) error + type GetOpts struct + Expires string + Newest bool + Signature string + func (opts GetOpts) ToObjectGetParams() (map[string]string, string, error) + type GetOptsBuilder interface + ToObjectGetParams func() (map[string]string, string, error) + type GetResult struct + func Get(c *gophercloud.ServiceClient, containerName, objectName string, ...) (r GetResult) + func (r GetResult) Extract() (*GetHeader, error) + func (r 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 time.Time + Name string + Subdir string + func ExtractInfo(r pagination.Page) ([]Object, error) + func (r *Object) UnmarshalJSON(b []byte) 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 + func (r *UpdateHeader) UnmarshalJSON(b []byte) error + type UpdateOpts struct + ContentDisposition *string + ContentEncoding *string + ContentType *string + DeleteAfter *int64 + DeleteAt *int64 + DetectContentType *bool + Metadata map[string]string + RemoveMetadata []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, ...) (r UpdateResult) + func (r UpdateResult) Extract() (*UpdateHeader, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3