Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileInfo ¶
func NewFileInfo(objectInfo minio.ObjectInfo) os.FileInfo
Types ¶
type S3 ¶
type S3 interface {
GetObject(bucketName, objectName string, opts minio.GetObjectOptions) (*minio.Object, error)
ListBuckets() ([]minio.BucketInfo, error)
ListObjectsV2(bucketName, objectPrefix string, recursive bool, doneCh <-chan struct{}) <-chan minio.ObjectInfo
MakeBucket(bucketName, location string) error
PutObject(bucketName, objectName string, reader io.Reader, objectSize int64, opts minio.PutObjectOptions) (int64, error)
RemoveBucket(bucketName string) error
RemoveObject(bucketName, objectName string) error
}
S3 is a client to interact with S3 storage.
Click to show internal directories.
Click to hide internal directories.