Documentation
¶
Index ¶
- type Service
- func (s *Service) CreateBucket(ctx context.Context, bucketName string, region string) error
- func (s *Service) DeleteBucket(ctx context.Context, bucketName string) error
- func (s *Service) DeleteObject(ctx context.Context, objectName string) error
- func (s *Service) DownloadObject(ctx context.Context, objectName string) (io.ReadCloser, error)
- func (s *Service) GetPresignedURL(ctx context.Context, objectName string, expires time.Duration) (*url.URL, error)
- func (s *Service) ListBuckets(ctx context.Context) ([]minio.BucketInfo, error)
- func (s *Service) ListObjects(ctx context.Context) ([]minio.ObjectInfo, error)
- func (s *Service) ListObjectsBatch(ctx context.Context, startAfter, prefix string, batchSize int) ([]minio.ObjectInfo, error)
- func (s *Service) UploadObject(filePath string, data []byte) error
- func (s *Service) UploadObjectReader(ctx context.Context, filePath string, objectName string, r io.Reader, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func (*Service) CreateBucket ¶ added in v0.9.1
func (*Service) DeleteBucket ¶ added in v0.9.1
func (*Service) DeleteObject ¶
func (*Service) DownloadObject ¶
func (*Service) GetPresignedURL ¶ added in v0.4.0
func (*Service) ListBuckets ¶ added in v0.9.1
func (*Service) ListObjects ¶
func (*Service) ListObjectsBatch ¶
Click to show internal directories.
Click to hide internal directories.