Versions in this module Expand all Collapse all v1 v1.0.0 Feb 19, 2024 Changes in this version + const ConfigJSON + const ConfigProjectId + const ConfigScopes + const Kind + type Container struct + func (c *Container) Bucket() *storage.BucketHandle + func (c *Container) ID() string + func (c *Container) Item(id string) (stow.Item, error) + func (c *Container) Items(prefix string, cursor string, count int) ([]stow.Item, string, error) + func (c *Container) Name() string + func (c *Container) PreSignRequest(_ context.Context, clientMethod stow.ClientMethod, id string, ...) (url string, err error) + func (c *Container) Put(name string, r io.Reader, size int64, metadata map[string]interface{}) (stow.Item, error) + func (c *Container) RemoveItem(id string) error + type Item struct + func (i *Item) ETag() (string, error) + func (i *Item) ID() string + func (i *Item) LastMod() (time.Time, error) + func (i *Item) Metadata() (map[string]interface{}, error) + func (i *Item) Name() string + func (i *Item) Open() (io.ReadCloser, error) + func (i *Item) OpenRange(start, end uint64) (io.ReadCloser, error) + func (i *Item) Size() (int64, error) + func (i *Item) StorageObject() *storage.ObjectAttrs + func (i *Item) URL() *url.URL + type Location struct + func (l *Location) Close() error + func (l *Location) Container(id string) (stow.Container, error) + func (l *Location) Containers(prefix string, cursor string, count int) ([]stow.Container, string, error) + func (l *Location) CreateContainer(containerName string) (stow.Container, error) + func (l *Location) ItemByURL(url *url.URL) (stow.Item, error) + func (l *Location) RemoveContainer(id string) error + func (l *Location) Service() *storage.Client