Documentation ¶
Index ¶
- Variables
- func BatchOperator(opObjects []OPObject, operator func(opObject OPObject) (err error)) (err error)
- func GetFileStream(stage *kk_stage.Stage, opObject OPObject) (io.Reader, error)
- func RemoveIncompleteObject(opObject OPObject) (err error)
- func RemoveObject(opObject OPObject) (err error)
- func RemoveObjectAndIncompleteObject(opObject OPObject) (err error)
- func StatObject(opObject OPObject) (err error, info *minio.ObjectInfo)
- func UploadFile(opObject OPObject) (err error)
- func UploadFileStream(opObject OPObject) (err error)
- type ConfigMinIO
- type OPObject
Constants ¶
This section is empty.
Variables ¶
View Source
var MinioClient *minio.Client
Functions ¶
func BatchOperator ¶
func GetFileStream ¶
func RemoveIncompleteObject ¶
func RemoveObject ¶
func StatObject ¶
StatObject verifies if object exists, you have permission to access it and returns information about the object.
func UploadFile ¶
UploadFile localFilePath 要上传的本地的文件路径 objectName 文件上传的目的路径(路径+文件名)
func UploadFileStream ¶
UploadFileStream objectName 文件上传的目的路径(路径+文件名)
Types ¶
type ConfigMinIO ¶
func (*ConfigMinIO) Check ¶
func (c *ConfigMinIO) Check()
func (*ConfigMinIO) Close ¶
func (c *ConfigMinIO) Close()
func (*ConfigMinIO) Init ¶
func (c *ConfigMinIO) Init()
Click to show internal directories.
Click to hide internal directories.