Documentation ¶
Overview ¶
Package minio_inst/client.go was generated by codegen, please fix its package dependency, but do not modify its functionality
global config
global var
Index ¶
- func AddIAMUser(value *credentials.Value) error
- func AtomicDeleteFlow(resp minio_api.Resp)
- func AtomicWorkflow(req minio_api.Req) (minio_api.Resp, error)
- func BatchDeleteAccessKey()
- func BatchDeletePolicy()
- func BatchRemoveBucket(_mapstringstruct map[string]struct{}) error
- func CreateAccessKey() (credentials.Value, error)
- func DeleteAccessKey(_string string) error
- func DeleteAccessPolicy(policyConfig *minio_api.PolicyConfig) error
- func GC(varLenfunc ...util.Func)
- func GetPublicBucket() string
- func Init()
- func ListAccessKey()
- func ListBucket() ([]minio.BucketInfo, error)
- func ListCannedPolicy()
- func MakeBucket(bucketConfig *minio_api.BucketConfig) error
- func RemoveBucket(_string string) error
- func RemoveIAMUser(_string string) error
- func SetAccessPolicy(policyConfig *minio_api.PolicyConfig) error
- func SetBucketPolicy(policyConfig *minio_api.PolicyConfig) error
- func TempGetObject(objectConfig *minio_api.ObjectConfig, duration time.Duration) (*url.URL, error)
- func TempGetObjectList(objectConfig []minio_api.ObjectConfig, duration time.Duration) ([]*url.URL, error)
- func TempPutObject(objectConfig *minio_api.ObjectConfig, duration time.Duration) (*url.URL, error)
- func UpdateBucketQuota(bucketConfig *minio_api.BucketConfig) error
- func WithContext(context context.Context) *minio_api.Client
- func WithPage(page *util.Page) *minio_api.Client
- type ConfigOption
- func (o *ConfigOption) Load()
- func (o *ConfigOption) WithAccessKeyID(accessKeyID string) *ConfigOption
- func (o *ConfigOption) WithEndpoint(endpoint string) *ConfigOption
- func (o *ConfigOption) WithPublicBucket(publicBucket string) *ConfigOption
- func (o *ConfigOption) WithSecretAccessKey(secretAccessKey string) *ConfigOption
- func (o *ConfigOption) WithSecure() *ConfigOption
- func (o *ConfigOption) WithSessionToken(sessionToken string) *ConfigOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIAMUser ¶ added in v1.1.1
func AddIAMUser(value *credentials.Value) error
func AtomicDeleteFlow ¶ added in v1.2.21
func AtomicWorkflow ¶ added in v1.1.1
func BatchDeleteAccessKey ¶ added in v1.1.4
func BatchDeleteAccessKey()
func BatchDeletePolicy ¶ added in v1.1.4
func BatchDeletePolicy()
func BatchRemoveBucket ¶ added in v1.2.17
func CreateAccessKey ¶
func CreateAccessKey() (credentials.Value, error)
func DeleteAccessKey ¶
func DeleteAccessPolicy ¶
func DeleteAccessPolicy(policyConfig *minio_api.PolicyConfig) error
func GetPublicBucket ¶ added in v1.1.3
func GetPublicBucket() string
func ListAccessKey ¶ added in v1.1.4
func ListAccessKey()
func ListBucket ¶ added in v1.1.4
func ListBucket() ([]minio.BucketInfo, error)
func ListCannedPolicy ¶ added in v1.1.4
func ListCannedPolicy()
func MakeBucket ¶
func MakeBucket(bucketConfig *minio_api.BucketConfig) error
func RemoveBucket ¶
func RemoveIAMUser ¶ added in v1.1.1
func SetAccessPolicy ¶ added in v1.1.1
func SetAccessPolicy(policyConfig *minio_api.PolicyConfig) error
func SetBucketPolicy ¶ added in v1.1.1
func SetBucketPolicy(policyConfig *minio_api.PolicyConfig) error
func TempGetObject ¶ added in v1.1.3
func TempGetObjectList ¶ added in v1.2.17
func TempPutObject ¶ added in v1.1.3
func UpdateBucketQuota ¶
func UpdateBucketQuota(bucketConfig *minio_api.BucketConfig) error
Types ¶
type ConfigOption ¶
func New ¶ added in v1.1.5
func New() *ConfigOption
func (*ConfigOption) Load ¶
func (o *ConfigOption) Load()
func (*ConfigOption) WithAccessKeyID ¶
func (o *ConfigOption) WithAccessKeyID(accessKeyID string) *ConfigOption
func (*ConfigOption) WithEndpoint ¶
func (o *ConfigOption) WithEndpoint(endpoint string) *ConfigOption
func (*ConfigOption) WithPublicBucket ¶ added in v1.1.3
func (o *ConfigOption) WithPublicBucket(publicBucket string) *ConfigOption
func (*ConfigOption) WithSecretAccessKey ¶
func (o *ConfigOption) WithSecretAccessKey(secretAccessKey string) *ConfigOption
func (*ConfigOption) WithSecure ¶
func (o *ConfigOption) WithSecure() *ConfigOption
func (*ConfigOption) WithSessionToken ¶
func (o *ConfigOption) WithSessionToken(sessionToken string) *ConfigOption
Click to show internal directories.
Click to hide internal directories.