Documentation
¶
Index ¶
- type ApiService
- func (h ApiService) CreateBucket(ctx context.Context, r *pb.CreateBucketRequest) (*pb.CreateBucketResponse, error)
- func (h ApiService) DeleteBucket(ctx context.Context, r *pb.DeleteBucketRequest) (*pb.DeleteBucketResponse, error)
- func (h ApiService) GetConfigStoreInfo(ctx context.Context, r *pb.GetConfigStoreInfoRequest) (*pb.GetConfigStoreInfoResponse, error)
- func (h ApiService) GetObject(ctx context.Context, r *pb.GetObjectRequest) (*pb.GetObjectResponse, error)
- func (h ApiService) GetObjectPresignedUrl(ctx context.Context, r *pb.GetObjectPresignedUrlRequest) (*pb.GetObjectPresignedUrlResponse, error)
- func (h ApiService) ListBucket(ctx context.Context, r *pb.ListBucketRequest) (*pb.ListBucketResponse, error)
- func (h ApiService) PutObject(ctx context.Context, r *pb.PutObjectRequest) (*pb.PutObjectResponse, error)
- func (h ApiService) PutObjectPresignedUrl(ctx context.Context, r *pb.PutObjectPresignedUrlRequest) (*pb.PutObjectPresignedUrlResponse, error)
- func (h ApiService) UpdateConfigStoreInfo(ctx context.Context, r *pb.UpdateConfigStoreInfoRequest) (*pb.UpdateConfigStoreInfoResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiService ¶
type ApiService struct { }
Creates a Controller Service.
func (ApiService) CreateBucket ¶
func (h ApiService) CreateBucket(ctx context.Context, r *pb.CreateBucketRequest) (*pb.CreateBucketResponse, error)
Creates a new S3 bucket.
func (ApiService) DeleteBucket ¶
func (h ApiService) DeleteBucket(ctx context.Context, r *pb.DeleteBucketRequest) (*pb.DeleteBucketResponse, error)
func (ApiService) GetConfigStoreInfo ¶
func (h ApiService) GetConfigStoreInfo(ctx context.Context, r *pb.GetConfigStoreInfoRequest) (*pb.GetConfigStoreInfoResponse, error)
Gets S3 config info.
func (ApiService) GetObject ¶
func (h ApiService) GetObject(ctx context.Context, r *pb.GetObjectRequest) (*pb.GetObjectResponse, error)
Gets S3 object.
func (ApiService) GetObjectPresignedUrl ¶
func (h ApiService) GetObjectPresignedUrl(ctx context.Context, r *pb.GetObjectPresignedUrlRequest) (*pb.GetObjectPresignedUrlResponse, error)
Gets S3 object presigned url.
func (ApiService) ListBucket ¶
func (h ApiService) ListBucket(ctx context.Context, r *pb.ListBucketRequest) (*pb.ListBucketResponse, error)
func (ApiService) PutObject ¶
func (h ApiService) PutObject(ctx context.Context, r *pb.PutObjectRequest) (*pb.PutObjectResponse, error)
Puts S3 object.
func (ApiService) PutObjectPresignedUrl ¶
func (h ApiService) PutObjectPresignedUrl(ctx context.Context, r *pb.PutObjectPresignedUrlRequest) (*pb.PutObjectPresignedUrlResponse, error)
Puts S3 object presigned url.
func (ApiService) UpdateConfigStoreInfo ¶
func (h ApiService) UpdateConfigStoreInfo(ctx context.Context, r *pb.UpdateConfigStoreInfoRequest) (*pb.UpdateConfigStoreInfoResponse, error)
Updates S3 config info.
Click to show internal directories.
Click to hide internal directories.