minio_inst

package
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

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 AtomicWorkflow added in v1.1.1

func AtomicWorkflow(req minio_api.Req) (minio_api.Resp, error)

func BatchDeleteAccessKey added in v1.1.4

func BatchDeleteAccessKey()

func BatchDeleteBucket added in v1.1.4

func BatchDeleteBucket()

func BatchDeletePolicy added in v1.1.4

func BatchDeletePolicy()

func CreateAccessKey

func CreateAccessKey() (credentials.Value, error)

func DeleteAccessKey

func DeleteAccessKey(_string string) error

func DeleteAccessPolicy

func DeleteAccessPolicy(policyConfig *minio_api.PolicyConfig) error

func GC added in v1.1.4

func GC(varLenfunc ...util.Func)

func GetPublicBucket added in v1.1.3

func GetPublicBucket() string

func Init

func Init()

func ListAccessKey added in v1.1.4

func ListAccessKey()

func ListBucket added in v1.1.4

func ListBucket()

func ListCannedPolicy added in v1.1.4

func ListCannedPolicy()

func MakeBucket

func MakeBucket(bucketConfig *minio_api.BucketConfig) error

func RemoveBucket

func RemoveBucket(bucketConfig *minio_api.BucketConfig) error

func RemoveIAMUser added in v1.1.1

func RemoveIAMUser(_string string) error

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 TempGetObject(objectConfig *minio_api.ObjectConfig, duration time.Duration) (*url.URL, error)

func TempPutObject added in v1.1.3

func TempPutObject(objectConfig *minio_api.ObjectConfig, duration time.Duration) (*url.URL, error)

func UpdateBucketQuota

func UpdateBucketQuota(bucketConfig *minio_api.BucketConfig) error

func WithContext added in v1.1.1

func WithContext(context context.Context) *minio_api.Client

Types

type ConfigOption

type ConfigOption struct {
	sync.Once
	// contains filtered or unexported fields
}

func New added in v1.1.5

func New() *ConfigOption

func NewConfig

func NewConfig() *ConfigOption

NewConfig Deprecated, use New instead

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL