Documentation ¶
Index ¶
- type Client
- func (c *Client) AbortMultipartUpload(ctx context.Context, bucket, object, uploadID string) error
- func (c *Client) CompleteMultipartUpload(ctx context.Context, bucket, object, uploadID string, ...) (string, error)
- func (c *Client) CopyObject(ctx context.Context, sourceBucket, sourceObject, destBucket, destObject string, ...) (models.ObjectInfo, error)
- func (c *Client) CopyObjectMultipart(ctx context.Context, srcObject models.ObjectInfo, ...) error
- func (c *Client) CopyObjectMultipartThreshold() int64
- func (c *Client) GetObject(ctx context.Context, bucketName, objectName string, opts models.ReadMeta) (io.ReadCloser, models.ObjectInfo, error)
- func (c *Client) ListBuckets(ctx context.Context) ([]models.BucketInfo, error)
- func (c *Client) ListMultipartUploads(ctx context.Context, ...) (result models.ListMultipartUploadsResult, err error)
- func (c *Client) ListObjectParts(ctx context.Context, bucketName, objectName, uploadID string, ...) (models.ListObjectPartsResult, error)
- func (c *Client) ListObjects(ctx context.Context, bucket, prefix, marker, delimiter string, maxKeys int) (result models.ListBucketResult, err error)
- func (c *Client) ListenBucketNotification(ctx context.Context, bucketName, prefix, suffix string, events []string) <-chan notification.Info
- func (c *Client) MakeBucket(ctx context.Context, bucketName string, location string) (err error)
- func (c *Client) NewMultipartUpload(ctx context.Context, bucket, object string, opts models.PutMeta) (uploadID string, err error)
- func (c *Client) PutObject(ctx context.Context, bucketName, objectName string, reader io.Reader, ...) (n int64, err error)
- func (c *Client) PutObjectPart(ctx context.Context, bucket, object, uploadID string, partID int, ...) (models.MultipartObjectPart, error)
- func (c *Client) RemoveBucket(ctx context.Context, bucketName string) error
- func (c *Client) RemoveObject(ctx context.Context, bucketName, objectName string) error
- func (c *Client) StatObject(ctx context.Context, bucketName, objectName string, opts models.ReadMeta) (models.ObjectInfo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client wraps a minio.Core client in the nodes.StorageClient interface
func New ¶
func New(endpoint, accessKey, secretKey string, secure bool, customRegion ...string) (*Client, error)
New creates a new minio.Core with the most standard options
func (*Client) AbortMultipartUpload ¶
func (*Client) CompleteMultipartUpload ¶
func (*Client) CopyObject ¶
func (*Client) CopyObjectMultipart ¶
func (*Client) CopyObjectMultipartThreshold ¶
func (*Client) ListBuckets ¶
func (*Client) ListMultipartUploads ¶
func (*Client) ListObjectParts ¶
func (*Client) ListObjects ¶
func (*Client) ListenBucketNotification ¶
func (c *Client) ListenBucketNotification(ctx context.Context, bucketName, prefix, suffix string, events []string) <-chan notification.Info
ListenBucketNotification hooks to events - Not part of the interface
func (*Client) MakeBucket ¶
func (*Client) NewMultipartUpload ¶
func (*Client) PutObjectPart ¶
func (*Client) RemoveBucket ¶
func (*Client) RemoveObject ¶
Click to show internal directories.
Click to hide internal directories.