Versions in this module Expand all Collapse all v1 v1.48.1 Aug 21, 2019 Changes in this version + var SharedOptions = []fs.Option + func NewFs(name, root string, m configmap.Mapper) (fs.Fs, error) + func NewFsWithConnection(opt *Options, name, root string, c *swift.Connection, noCheckContainer bool) (fs.Fs, error) + type Fs struct + func (f *Fs) About() (*fs.Usage, error) + func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) + func (f *Fs) Features() *fs.Features + func (f *Fs) Hashes() hash.Set + func (f *Fs) List(dir string) (entries fs.DirEntries, err error) + func (f *Fs) ListR(dir string, callback fs.ListRCallback) (err error) + func (f *Fs) Mkdir(dir string) error + func (f *Fs) Name() string + func (f *Fs) NewObject(remote string) (fs.Object, error) + func (f *Fs) Precision() time.Duration + func (f *Fs) Purge() error + func (f *Fs) Put(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) + func (f *Fs) PutStream(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) (fs.Object, error) + func (f *Fs) Rmdir(dir string) error + func (f *Fs) Root() string + func (f *Fs) String() string + type Object struct + func (o *Object) Fs() fs.Info + func (o *Object) Hash(t hash.Type) (string, error) + func (o *Object) MimeType() string + func (o *Object) ModTime() time.Time + func (o *Object) Open(options ...fs.OpenOption) (in io.ReadCloser, err error) + func (o *Object) Remote() string + func (o *Object) Remove() error + func (o *Object) SetModTime(modTime time.Time) error + func (o *Object) Size() int64 + func (o *Object) Storable() bool + func (o *Object) String() string + func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOption) error + type Options struct + ApplicationCredentialID string + ApplicationCredentialName string + ApplicationCredentialSecret string + Auth string + AuthToken string + AuthVersion int + ChunkSize fs.SizeSuffix + Domain string + EndpointType string + EnvAuth bool + Key string + NoChunk bool + Region string + StoragePolicy string + StorageURL string + Tenant string + TenantDomain string + TenantID string + User string + UserID string