类 MinioBucketController

java.lang.Object
cn.herodotus.oss.rest.minio.reactive.controller.MinioBucketController
所有已实现的接口:
OssController, cn.herodotus.stirrup.web.core.definition.Controller, cn.herodotus.stirrup.web.core.definition.ReactiveController

@RestController @RequestMapping("/oss/bucket") public class MinioBucketController extends Object implements OssController

Description: Minio 对象存储 Bucket 管理接口

作者:
: gengwei.zheng
Date:
: 2022/7/2 14:45
  • 构造器详细资料

    • MinioBucketController

      public MinioBucketController(MinioBucketService minioBucketService)
  • 方法详细资料

    • listBuckets

      @AccessLimited @GetMapping("/list") public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<List<cn.herodotus.oss.core.domain.bucket.BucketDomain>>> listBuckets(ListBucketsRequest request)
    • doesBucketExist

      @AccessLimited @GetMapping("/exists") public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<Boolean>> doesBucketExist(BucketExistsRequest request)
    • createBucket

      @Idempotent @PostMapping public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<VoidResponse>> createBucket(@Validated @RequestBody MakeBucketRequest request)
    • deleteBucket

      @Idempotent @DeleteMapping public reactor.core.publisher.Mono<cn.herodotus.stirrup.core.definition.domain.Result<VoidResponse>> deleteBucket(@Validated @RequestBody RemoveBucketRequest request)