 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- type S3Backend
- func (be *S3Backend) Close() error
- func (be *S3Backend) Delete(ctx context.Context, u *url.URL) error
- func (be *S3Backend) ListPrefix(ctx context.Context, u *url.URL, optFunc ...types.ListOption) ([]*types.Object, error)
- func (be *S3Backend) ReadMetadata(ctx context.Context, u *url.URL) (*types.ObjectMetadata, error)
- func (be *S3Backend) Reader(ctx context.Context, u *url.URL) (types.Reader, error)
- func (be *S3Backend) ReaderAt(ctx context.Context, u *url.URL) (types.ReaderAt, error)
- func (be *S3Backend) Writer(ctx context.Context, u *url.URL) (types.Writer, error)
 
- type S3BackendConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Backend ¶
type S3Backend struct {
	// contains filtered or unexported fields
}
    func NewS3Backend ¶
func NewS3Backend(ctx context.Context, conf S3BackendConfig) (*S3Backend, error)
func (*S3Backend) ListPrefix ¶
func (*S3Backend) ReadMetadata ¶
type S3BackendConfig ¶
type S3BackendConfig struct {
	AccessKeyId         string
	SecretAccessKey     string
	SessionToken        string
	Endpoint            string
	Region              string
	DisableSsl          bool
	InsecureSkipVerify  bool
	ForcePathStyle      bool
	UploadPartSize      int
	UploadConcurrency   int
	UploadMaxParts      int
	DownloadPartSize    int
	DownloadConcurrency int
	EnableAwsSdkLogging bool
	AwsSdkLogLevel      string
}
     Click to show internal directories. 
   Click to hide internal directories.