Documentation ¶
Index ¶
Constants ¶
View Source
const DEFAULT_PUBLIC_POLICY = `` /* 159-byte string literal not displayed */
View Source
const MINIO_DEFAULT_SERVE_ADDRESS = "http://127.0.0.1:9000/"
Variables ¶
This section is empty.
Functions ¶
func CreateMINIOInstance ¶
func CreateMINIOInstance(minioConfig *MINIOConfig) *minio.Client
Types ¶
type MINIOConfig ¶
type MINIOConfig struct { AccessKeyID string AccessKeySecret string Endpoint string BucketName string SSLEnabled bool UploadTimeout time.Duration }
func NewSystemMINIOConfigByGlobalConfig ¶
func NewSystemMINIOConfigByGlobalConfig(config *config.Config) *MINIOConfig
func NewTeamMINIOConfigByGlobalConfig ¶
func NewTeamMINIOConfigByGlobalConfig(config *config.Config) *MINIOConfig
type S3Drive ¶
type S3Drive struct { Instance *minio.Client Config *MINIOConfig }
func NewS3Drive ¶
func NewS3Drive(minioConfig *MINIOConfig) *S3Drive
Click to show internal directories.
Click to hide internal directories.