minio_inst

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package minio_inst/client.go was generated by codegen, do not modify it

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 CreateAccessKey

func CreateAccessKey() (credentials.Value, error)

func DeleteAccessKey

func DeleteAccessKey(_string string) error

func DeleteAccessPolicy

func DeleteAccessPolicy(policyConfig *minio_api.PolicyConfig) error

func Init

func Init()

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 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 NewConfig

func NewConfig() *ConfigOption

func (*ConfigOption) Load

func (o *ConfigOption) Load() *ConfigOption

func (*ConfigOption) WithAccessKeyID

func (o *ConfigOption) WithAccessKeyID(accessKeyID string) *ConfigOption

func (*ConfigOption) WithEndpoint

func (o *ConfigOption) WithEndpoint(endpoint 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