Documentation ¶
Index ¶
- type Posix
- func (p *Posix) AbortMultipartUpload(_ context.Context, mpu *s3.AbortMultipartUploadInput) error
- func (p *Posix) ChangeBucketOwner(ctx context.Context, bucket, newOwner string) error
- func (p *Posix) CompleteMultipartUpload(ctx context.Context, input *s3.CompleteMultipartUploadInput) (*s3.CompleteMultipartUploadOutput, error)
- func (p *Posix) CopyObject(ctx context.Context, input *s3.CopyObjectInput) (*s3.CopyObjectOutput, error)
- func (p *Posix) CreateBucket(ctx context.Context, input *s3.CreateBucketInput, acl []byte) error
- func (p *Posix) CreateMultipartUpload(ctx context.Context, mpu *s3.CreateMultipartUploadInput) (*s3.CreateMultipartUploadOutput, error)
- func (p *Posix) DeleteBucket(_ context.Context, input *s3.DeleteBucketInput) error
- func (p *Posix) DeleteBucketPolicy(ctx context.Context, bucket string) error
- func (p *Posix) DeleteBucketTagging(ctx context.Context, bucket string) error
- func (p *Posix) DeleteObject(_ context.Context, input *s3.DeleteObjectInput) error
- func (p *Posix) DeleteObjectTagging(ctx context.Context, bucket, object string) error
- func (p *Posix) DeleteObjects(ctx context.Context, input *s3.DeleteObjectsInput) (s3response.DeleteResult, error)
- func (p *Posix) GetBucketAcl(_ context.Context, input *s3.GetBucketAclInput) ([]byte, error)
- func (p *Posix) GetBucketPolicy(ctx context.Context, bucket string) ([]byte, error)
- func (p *Posix) GetBucketTagging(_ context.Context, bucket string) (map[string]string, error)
- func (p *Posix) GetObject(_ context.Context, input *s3.GetObjectInput, writer io.Writer) (*s3.GetObjectOutput, error)
- func (p *Posix) GetObjectAttributes(ctx context.Context, input *s3.GetObjectAttributesInput) (s3response.GetObjectAttributesResult, error)
- func (p *Posix) GetObjectLegalHold(_ context.Context, bucket, object, versionId string) (*bool, error)
- func (p *Posix) GetObjectLockConfiguration(_ context.Context, bucket string) ([]byte, error)
- func (p *Posix) GetObjectRetention(_ context.Context, bucket, object, versionId string) ([]byte, error)
- func (p *Posix) GetObjectTagging(_ context.Context, bucket, object string) (map[string]string, error)
- func (p *Posix) HeadBucket(_ context.Context, input *s3.HeadBucketInput) (*s3.HeadBucketOutput, error)
- func (p *Posix) HeadObject(ctx context.Context, input *s3.HeadObjectInput) (*s3.HeadObjectOutput, error)
- func (p *Posix) ListBuckets(_ context.Context, owner string, isAdmin bool) (s3response.ListAllMyBucketsResult, error)
- func (p *Posix) ListBucketsAndOwners(ctx context.Context) (buckets []s3response.Bucket, err error)
- func (p *Posix) ListMultipartUploads(_ context.Context, mpu *s3.ListMultipartUploadsInput) (s3response.ListMultipartUploadsResult, error)
- func (p *Posix) ListObjects(_ context.Context, input *s3.ListObjectsInput) (*s3.ListObjectsOutput, error)
- func (p *Posix) ListObjectsV2(_ context.Context, input *s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error)
- func (p *Posix) ListParts(_ context.Context, input *s3.ListPartsInput) (s3response.ListPartsResult, error)
- func (p *Posix) PutBucketAcl(_ context.Context, bucket string, data []byte) error
- func (p *Posix) PutBucketPolicy(ctx context.Context, bucket string, policy []byte) error
- func (p *Posix) PutBucketTagging(_ context.Context, bucket string, tags map[string]string) error
- func (p *Posix) PutObject(ctx context.Context, po *s3.PutObjectInput) (string, error)
- func (p *Posix) PutObjectLegalHold(_ context.Context, bucket, object, versionId string, status bool) error
- func (p *Posix) PutObjectLockConfiguration(_ context.Context, bucket string, config []byte) error
- func (p *Posix) PutObjectRetention(_ context.Context, bucket, object, versionId string, bypass bool, ...) error
- func (p *Posix) PutObjectTagging(_ context.Context, bucket, object string, tags map[string]string) error
- func (p *Posix) Shutdown()
- func (p *Posix) String() string
- func (p *Posix) UploadPart(ctx context.Context, input *s3.UploadPartInput) (string, error)
- func (p *Posix) UploadPartCopy(ctx context.Context, upi *s3.UploadPartCopyInput) (s3response.CopyObjectResult, error)
- type PosixOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Posix ¶
type Posix struct { backend.BackendUnsupported // contains filtered or unexported fields }
func (*Posix) AbortMultipartUpload ¶
func (*Posix) ChangeBucketOwner ¶
func (*Posix) CompleteMultipartUpload ¶
func (p *Posix) CompleteMultipartUpload(ctx context.Context, input *s3.CompleteMultipartUploadInput) (*s3.CompleteMultipartUploadOutput, error)
func (*Posix) CopyObject ¶
func (p *Posix) CopyObject(ctx context.Context, input *s3.CopyObjectInput) (*s3.CopyObjectOutput, error)
func (*Posix) CreateBucket ¶
func (*Posix) CreateMultipartUpload ¶
func (p *Posix) CreateMultipartUpload(ctx context.Context, mpu *s3.CreateMultipartUploadInput) (*s3.CreateMultipartUploadOutput, error)
func (*Posix) DeleteBucket ¶
func (*Posix) DeleteBucketPolicy ¶
func (*Posix) DeleteBucketTagging ¶
func (*Posix) DeleteObject ¶
func (*Posix) DeleteObjectTagging ¶
func (*Posix) DeleteObjects ¶
func (p *Posix) DeleteObjects(ctx context.Context, input *s3.DeleteObjectsInput) (s3response.DeleteResult, error)
func (*Posix) GetBucketAcl ¶
func (*Posix) GetBucketPolicy ¶
func (*Posix) GetBucketTagging ¶
func (*Posix) GetObject ¶
func (p *Posix) GetObject(_ context.Context, input *s3.GetObjectInput, writer io.Writer) (*s3.GetObjectOutput, error)
func (*Posix) GetObjectAttributes ¶
func (p *Posix) GetObjectAttributes(ctx context.Context, input *s3.GetObjectAttributesInput) (s3response.GetObjectAttributesResult, error)
func (*Posix) GetObjectLegalHold ¶
func (*Posix) GetObjectLockConfiguration ¶
func (*Posix) GetObjectRetention ¶
func (*Posix) GetObjectTagging ¶
func (*Posix) HeadBucket ¶
func (p *Posix) HeadBucket(_ context.Context, input *s3.HeadBucketInput) (*s3.HeadBucketOutput, error)
func (*Posix) HeadObject ¶
func (p *Posix) HeadObject(ctx context.Context, input *s3.HeadObjectInput) (*s3.HeadObjectOutput, error)
func (*Posix) ListBuckets ¶
func (p *Posix) ListBuckets(_ context.Context, owner string, isAdmin bool) (s3response.ListAllMyBucketsResult, error)
func (*Posix) ListBucketsAndOwners ¶
func (*Posix) ListMultipartUploads ¶
func (p *Posix) ListMultipartUploads(_ context.Context, mpu *s3.ListMultipartUploadsInput) (s3response.ListMultipartUploadsResult, error)
func (*Posix) ListObjects ¶
func (p *Posix) ListObjects(_ context.Context, input *s3.ListObjectsInput) (*s3.ListObjectsOutput, error)
func (*Posix) ListObjectsV2 ¶
func (p *Posix) ListObjectsV2(_ context.Context, input *s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error)
func (*Posix) ListParts ¶
func (p *Posix) ListParts(_ context.Context, input *s3.ListPartsInput) (s3response.ListPartsResult, error)
func (*Posix) PutBucketAcl ¶
func (*Posix) PutBucketPolicy ¶
func (*Posix) PutBucketTagging ¶
func (*Posix) PutObjectLegalHold ¶
func (*Posix) PutObjectLockConfiguration ¶
func (*Posix) PutObjectRetention ¶
func (*Posix) PutObjectTagging ¶
func (*Posix) UploadPart ¶
func (*Posix) UploadPartCopy ¶
func (p *Posix) UploadPartCopy(ctx context.Context, upi *s3.UploadPartCopyInput) (s3response.CopyObjectResult, error)
Click to show internal directories.
Click to hide internal directories.