s3

package
v0.0.0-...-598a827 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

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
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL