Documentation ¶
Index ¶
- type S3fsDriver
- func (d *S3fsDriver) Capabilities() *volume.CapabilitiesResponse
- func (d *S3fsDriver) Create(req *volume.CreateRequest) error
- func (d *S3fsDriver) Get(req *volume.GetRequest) (*volume.GetResponse, error)
- func (d *S3fsDriver) List() (*volume.ListResponse, error)
- func (d *S3fsDriver) Lock(bucket string, object string) error
- func (d *S3fsDriver) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
- func (d *S3fsDriver) Path(req *volume.PathRequest) (*volume.PathResponse, error)
- func (d *S3fsDriver) Remove(req *volume.RemoveRequest) error
- func (d *S3fsDriver) UnLock(bucket string, object string) error
- func (d *S3fsDriver) Unmount(req *volume.UnmountRequest) error
- type VolConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3fsDriver ¶
type S3fsDriver struct { Endpoint string UseSSL bool AccessKey string SecretKey string Region string RootMount string ReplaceUnderscores bool ConfigBucketName string Defaults map[string]string // contains filtered or unexported fields }
S3fsDriver is a volume driver over s3fs
func NewDriver ¶
func NewDriver(c *cli.Context) (*S3fsDriver, error)
NewDriver creates a new S3FS driver
func (*S3fsDriver) Capabilities ¶
func (d *S3fsDriver) Capabilities() *volume.CapabilitiesResponse
Capabilities returns capabilities
func (*S3fsDriver) Create ¶
func (d *S3fsDriver) Create(req *volume.CreateRequest) error
Create creates a volume
func (*S3fsDriver) Get ¶
func (d *S3fsDriver) Get(req *volume.GetRequest) (*volume.GetResponse, error)
Get gets a volume
func (*S3fsDriver) List ¶
func (d *S3fsDriver) List() (*volume.ListResponse, error)
List lists volumes
func (*S3fsDriver) Lock ¶
func (d *S3fsDriver) Lock(bucket string, object string) error
Lock locks an object
func (*S3fsDriver) Mount ¶
func (d *S3fsDriver) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
Mount mounts a volume
func (*S3fsDriver) Path ¶
func (d *S3fsDriver) Path(req *volume.PathRequest) (*volume.PathResponse, error)
Path provides the path
func (*S3fsDriver) Remove ¶
func (d *S3fsDriver) Remove(req *volume.RemoveRequest) error
Remove removes a volume
func (*S3fsDriver) UnLock ¶
func (d *S3fsDriver) UnLock(bucket string, object string) error
UnLock unlocks an object
func (*S3fsDriver) Unmount ¶
func (d *S3fsDriver) Unmount(req *volume.UnmountRequest) error
Unmount unmounts a volume
Click to show internal directories.
Click to hide internal directories.