Minio
MinIO is a High Performance Object Storage released under Apache License v2.0. It is API compatible with Amazon S3 cloud storage service. Use MinIO to build high performance infrastructure for machine learning, analytics and application data workloads.
Setup
We are using helm chart with custom values in order to install minIO to our kubernetes cluster. check our setup on Suite5 github for MinIO
Backend Services
bucketExists
Checks if a bucket with backetName is exists. Using bucketExists
listBuckets
Lists all buckets. more
createBucket
Creates a new bucket. Using bucketExists and makeBucket
Param | Type | Description |
---|---|---|
bucket | NewBucketDTO | has only name (as a string)* |
*
export class NewBucketDTO {
@IsString()
@IsNotEmpty()
@ApiProperty()
readonly name: string;
}
deleteBucket
Removes a bucket.
Using bucketExists and removeBucket
Param | Type | Description |
---|---|---|
bucketName | string | bucket name |
getBucketFiles
Lists all objects in a bucket.
Using bucketExists and listObjects
Param | Type | Description |
---|---|---|
bucketName | string | Name of the bucket. |
prefix | string | The prefix of the objects that should be listed (optional, default ''). |
recursive | boolean | true indicates recursive style listing and false indicates directory style listing delimited by '/'. (optional, default false). |