Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func ExtractNames(page pagination.Page) ([]string, error) + func List(c *gophercloud.ServiceClient, 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, containers []string) (r BulkDeleteResult) + func (r BulkDeleteResult) Extract() (*BulkDeleteResponse, error) + type Container struct + Bytes int64 + Count int64 + Name string + func ExtractInfo(r pagination.Page) ([]Container, error) + type ContainerPage struct + func (r ContainerPage) IsEmpty() (bool, error) + func (r ContainerPage) LastMarker() (string, error) + type CreateHeader struct + ContentLength int64 + ContentType string + Date time.Time + TransID string + func (r *CreateHeader) UnmarshalJSON(b []byte) error + type CreateOpts struct + ContainerRead string + ContainerSyncKey string + ContainerSyncTo string + ContainerWrite string + ContentType string + DetectContentType bool + HistoryLocation string + IfNoneMatch string + Metadata map[string]string + StoragePolicy string + TempURLKey string + TempURLKey2 string + VersionsLocation string + func (opts CreateOpts) ToContainerCreateMap() (map[string]string, error) + type CreateOptsBuilder interface + ToContainerCreateMap func() (map[string]string, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, containerName string, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*CreateHeader, error) + type DeleteHeader struct + ContentLength int64 + ContentType string + Date time.Time + TransID string + func (r *DeleteHeader) UnmarshalJSON(b []byte) error + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, containerName string) (r DeleteResult) + func (r DeleteResult) Extract() (*DeleteHeader, error) + type GetHeader struct + AcceptRanges string + BytesUsed int64 + ContentLength int64 + ContentType string + Date time.Time + HistoryLocation string + ObjectCount int64 + Read []string + StoragePolicy string + TempURLKey string + TempURLKey2 string + Timestamp float64 + TransID string + VersionsLocation string + Write []string + func (r *GetHeader) UnmarshalJSON(b []byte) error + type GetOpts struct + Newest bool + func (opts GetOpts) ToContainerGetMap() (map[string]string, error) + type GetOptsBuilder interface + ToContainerGetMap func() (map[string]string, error) + type GetResult struct + func Get(c *gophercloud.ServiceClient, containerName string, opts GetOptsBuilder) (r GetResult) + func (r GetResult) Extract() (*GetHeader, error) + func (r GetResult) ExtractMetadata() (map[string]string, error) + type ListOpts struct + Delimiter string + EndMarker string + Format string + Full bool + Limit int + Marker string + Prefix string + func (opts ListOpts) ToContainerListParams() (bool, string, error) + type ListOptsBuilder interface + ToContainerListParams func() (bool, string, error) + type UpdateHeader struct + ContentLength int64 + ContentType string + Date time.Time + TransID string + func (r *UpdateHeader) UnmarshalJSON(b []byte) error + type UpdateOpts struct + ContainerRead *string + ContainerSyncKey *string + ContainerSyncTo *string + ContainerWrite *string + ContentType *string + DetectContentType *bool + HistoryLocation string + Metadata map[string]string + RemoveHistoryLocation string + RemoveMetadata []string + RemoveVersionsLocation string + TempURLKey string + TempURLKey2 string + VersionsLocation string + func (opts UpdateOpts) ToContainerUpdateMap() (map[string]string, error) + type UpdateOptsBuilder interface + ToContainerUpdateMap func() (map[string]string, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, containerName string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*UpdateHeader, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3