Documentation ¶
Index ¶
- type ConnectionInfo
- type OsHelper
- type S3Driver
- func (d S3Driver) Activate(env dockerdriver.Env) dockerdriver.ActivateResponse
- func (d S3Driver) Capabilities(env dockerdriver.Env) dockerdriver.CapabilitiesResponse
- func (d *S3Driver) Create(env dockerdriver.Env, createRequest dockerdriver.CreateRequest) dockerdriver.ErrorResponse
- func (d *S3Driver) Drain(env dockerdriver.Env) error
- func (d S3Driver) Get(env dockerdriver.Env, getRequest dockerdriver.GetRequest) dockerdriver.GetResponse
- func (d S3Driver) List(env dockerdriver.Env) dockerdriver.ListResponse
- func (d *S3Driver) Mount(env dockerdriver.Env, mountRequest dockerdriver.MountRequest) dockerdriver.MountResponse
- func (d S3Driver) Path(env dockerdriver.Env, pathRequest dockerdriver.PathRequest) dockerdriver.PathResponse
- func (d *S3Driver) Purge(env dockerdriver.Env, path string)
- func (d *S3Driver) Remove(env dockerdriver.Env, removeRequest dockerdriver.RemoveRequest) dockerdriver.ErrorResponse
- func (d *S3Driver) Unmount(env dockerdriver.Env, unmountRequest dockerdriver.UnmountRequest) dockerdriver.ErrorResponse
- type S3VolumeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionInfo ¶
type ConnectionInfo struct { AccessKeyId string `mapstructure:"access_key_id" json:"-"` Bucket string `mapstructure:"bucket"` SecretAccessKey string `mapstructure:"secret_access_key" json:"-"` Endpoint string `mapstructure:"endpoint"` Region string `mapstructure:"region"` RegionSet bool `mapstructure:"region_set"` StorageClass string `mapstructure:"storage_class"` UseContentType bool `mapstructure:"use_content_type"` UseSSE bool `mapstructure:"use_sse"` UseKMS bool `mapstructure:"use_kms"` KMSKeyID string `mapstructure:"kms_key_id" json:"-"` ACL string `mapstructure:"acl"` Subdomain bool `mapstructure:"subdomain"` MountOptions map[string]string `mapstructure:"mount_options"` }
type S3Driver ¶
type S3Driver struct {
// contains filtered or unexported fields
}
func NewS3Driver ¶
func NewS3Driver( logger lager.Logger, os osshim.Os, filepath filepathshim.Filepath, ioutil ioutilshim.Ioutil, time timeshim.Time, mountChecker mountchecker.MountChecker, mountPathRoot string, oshelper OsHelper, invoker invoker.Invoker, mounterPath string, ) *S3Driver
func (S3Driver) Activate ¶
func (d S3Driver) Activate(env dockerdriver.Env) dockerdriver.ActivateResponse
func (S3Driver) Capabilities ¶
func (d S3Driver) Capabilities(env dockerdriver.Env) dockerdriver.CapabilitiesResponse
func (*S3Driver) Create ¶
func (d *S3Driver) Create(env dockerdriver.Env, createRequest dockerdriver.CreateRequest) dockerdriver.ErrorResponse
func (S3Driver) Get ¶
func (d S3Driver) Get(env dockerdriver.Env, getRequest dockerdriver.GetRequest) dockerdriver.GetResponse
func (S3Driver) List ¶
func (d S3Driver) List(env dockerdriver.Env) dockerdriver.ListResponse
func (*S3Driver) Mount ¶
func (d *S3Driver) Mount(env dockerdriver.Env, mountRequest dockerdriver.MountRequest) dockerdriver.MountResponse
func (S3Driver) Path ¶
func (d S3Driver) Path(env dockerdriver.Env, pathRequest dockerdriver.PathRequest) dockerdriver.PathResponse
func (*S3Driver) Remove ¶
func (d *S3Driver) Remove(env dockerdriver.Env, removeRequest dockerdriver.RemoveRequest) dockerdriver.ErrorResponse
func (*S3Driver) Unmount ¶
func (d *S3Driver) Unmount(env dockerdriver.Env, unmountRequest dockerdriver.UnmountRequest) dockerdriver.ErrorResponse
type S3VolumeInfo ¶
type S3VolumeInfo struct { ConnectionInfo ConnectionInfo dockerdriver.VolumeInfo // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.