Documentation
¶
Index ¶
- Constants
- type Minio
- func (m *Minio) DeleteFromMinio(ctx context.Context, minioFilePath, bucketName string) error
- func (m *Minio) DeployMinio(ctx context.Context) error
- func (m *Minio) GetMinioURL(ctx context.Context, minioFilePath, bucketName string) (string, error)
- func (m *Minio) IsMinioDeployed(ctx context.Context) (bool, error)
- func (m *Minio) PushToMinio(ctx context.Context, localReader io.Reader, minioFilePath, bucketName string) error
Constants ¶
View Source
const ( ServiceName = "minio-service" ServiceAPIPort = 9000 // API port ServiceWebUIPort = 9001 // WebUI port DeploymentName = "minio" Image = "minio/minio:RELEASE.2024-03-30T09-41-56Z" StorageClassName = "standard" // standard | gp2 | default VolumeClaimName = "minio-data" VolumeMountPath = "/data" PVCStorageSize = "1Gi" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Minio ¶
type Minio struct { Clientset kubernetes.Interface Namespace string }
func (*Minio) DeleteFromMinio ¶ added in v0.13.0
DeleteFromMinio deletes a file from Minio and fails if the content does not exist
func (*Minio) GetMinioURL ¶
GetMinioURL returns an S3-compatible URL for a Minio file
Click to show internal directories.
Click to hide internal directories.