minio

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDir

func NewDir(bucketName string, endpoint string, secure bool, userName string, password string, r retry.Retry, maxTranRate int64) (http.FileSystem, error)

NewDir returns a http.FileSystem instance for MinIO

func NewMinIODriver added in v0.5.0

func NewMinIODriver(endpoint string, bucketName string, secure bool, userName string, password string, autoReconnect bool, r retry.Retry, maxTranRate int64) driver.Driver

NewMinIODriver get a MinIO driver

Types

type Dir

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

Dir an implementation of http.FileSystem for MinIO

func (*Dir) Open

func (d *Dir) Open(name string) (http.File, error)

Open opens the named file for reading

Jump to

Keyboard shortcuts

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