s3

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "s3"
)

Variables

This section is empty.

Functions

func MustNewObjectStore

func MustNewObjectStore(config Config) osi.ObjectStore

func NewObjectStore

func NewObjectStore(config Config) (osi.ObjectStore, error)

Types

type Config

type Config struct {
	Region string `yaml:"region" mapstructure:"region" json:"region"`
	KeyID  string `yaml:"key_id" mapstructure:"key_id" json:"key_id"`
	Secret string `yaml:"secret" mapstructure:"secret" json:"secret"`
}

type ObjectStore

type ObjectStore struct {
	// contains filtered or unexported fields
}

func (*ObjectStore) ACLEnum

func (t *ObjectStore) ACLEnum() osi.ACLEnum

func (*ObjectStore) Bucket

func (t *ObjectStore) Bucket(name string) osi.Bucket

func (*ObjectStore) Name

func (t *ObjectStore) Name() string

Jump to

Keyboard shortcuts

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