minio

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: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name = "minio"
)

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"`
	Endpoint string `yaml:"endpoint" mapstructure:"endpoint" json:"endpoint"`
	UseSSL   bool   `yaml:"use_ssl" mapstructure:"use_ssl" json:"use_ssl"`
}

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