Documentation
¶
Index ¶
- type S3Service
- func (p *S3Service) CreateBucket(ctx context.Context, req *pb.CreateBucketRequest) (*pb.CreateBucketResponse, error)
- func (p *S3Service) ObjectPermanentUrl(ctx context.Context, req *pb.ObjectPermanentUrlRequest) (*pb.UrlResponse, error)
- func (p *S3Service) ObjectPresignedUrl(ctx context.Context, req *pb.ObjectPresignedUrlRequest) (*pb.UrlResponse, error)
- func (p *S3Service) RemoveObject(ctx context.Context, req *pb.RemoveObjectRequest) (*emptypb.Empty, error)
- func (p *S3Service) UploadObject(ctx context.Context, req *pb.UploadObjectRequest) (*pb.UploadObjectResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Service ¶
type S3Service struct { pb.UnimplementedS3Server // contains filtered or unexported fields }
func NewS3Service ¶
func (*S3Service) CreateBucket ¶
func (p *S3Service) CreateBucket(ctx context.Context, req *pb.CreateBucketRequest) (*pb.CreateBucketResponse, error)
func (*S3Service) ObjectPermanentUrl ¶
func (p *S3Service) ObjectPermanentUrl(ctx context.Context, req *pb.ObjectPermanentUrlRequest) (*pb.UrlResponse, error)
func (*S3Service) ObjectPresignedUrl ¶
func (p *S3Service) ObjectPresignedUrl(ctx context.Context, req *pb.ObjectPresignedUrlRequest) (*pb.UrlResponse, error)
func (*S3Service) RemoveObject ¶
func (*S3Service) UploadObject ¶
func (p *S3Service) UploadObject(ctx context.Context, req *pb.UploadObjectRequest) (*pb.UploadObjectResponse, error)
https://min.io/docs/minio/linux/integrations/presigned-put-upload-via-browser.html
Click to show internal directories.
Click to hide internal directories.