services

package
v0.0.0-...-d36ff20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 NewS3Service(cluster *minio.Cluster) *S3Service

func (*S3Service) CreateBucket

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 (p *S3Service) RemoveObject(ctx context.Context, req *pb.RemoveObjectRequest) (*emptypb.Empty, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL