Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
func (*Command) FieldConfig ¶
type MinioClient ¶
type MinioClient struct {
*minio.Client
}
func AutoConnMinio ¶
func AutoConnMinio(endpoints, accessKeyID, secretAccessKey string) (*MinioClient, error)
func (*MinioClient) TracFile ¶ added in v0.2.1
func (m *MinioClient) TracFile(bucket, prefix string) error
TracFile 清理 minio 中 ha 相关的文件 ,从而达到 flink 可用状态 逻辑如下: 1、如果没有 bucket ,要创建 2、如果有 bucket,要删除指定路径下的 object ,然后创建 2.1、清除逻辑参考 mc 源码 (https://github.com/minio/mc/blob/RELEASE.2022-02-23T03-15-59Z/cmd/rb-main.go#L153) ,批量删除后清除空 bucket
Click to show internal directories.
Click to hide internal directories.