Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewS3storage ¶
func NewS3storage(ctx context.Context, creds request.AWSCredential, env map[string]string, endpoint string, bucket string, key string, validate bool, useSSL bool) (s *s3Storage, err kv.Error)
NewS3storage is used to initialize a client that will communicate with S3 compatible storage.
S3 configuration will only be respected using the AWS environment variables.
Types ¶
type StorageImpl ¶
type StorageImpl int
StorageImpl is a type that describes the implementation of an S3 storage entity
const ( // MinioImpl is a minio implementation of an S3 resource MinioImpl StorageImpl = iota // S3Impl is the references aws implementation of an S3 resource S3Impl )
Click to show internal directories.
Click to hide internal directories.