minio

package
v0.0.263 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_library_oss_minio_types_proto protoreflect.FileDescriptor

Functions

func EnsureBucket added in v0.0.145

func EnsureBucket(ctx context.Context, instance EnsureBucketOptions) error

func FromSecret added in v0.0.145

func FromSecret(r *resources.Parsed, secretName string) func() ([]byte, error)

func FromStatic added in v0.0.145

func FromStatic(secretValue []byte) func() ([]byte, error)

Types

type BucketIntent

type BucketIntent struct {
	BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BucketIntent) Descriptor deprecated

func (*BucketIntent) Descriptor() ([]byte, []int)

Deprecated: Use BucketIntent.ProtoReflect.Descriptor instead.

func (*BucketIntent) GetBucketName

func (x *BucketIntent) GetBucketName() string

func (*BucketIntent) ProtoMessage

func (*BucketIntent) ProtoMessage()

func (*BucketIntent) ProtoReflect

func (x *BucketIntent) ProtoReflect() protoreflect.Message

func (*BucketIntent) Reset

func (x *BucketIntent) Reset()

func (*BucketIntent) String

func (x *BucketIntent) String() string

type Endpoint added in v0.0.145

type Endpoint struct {
	AccessKey          string
	SecretAccessKey    string
	PrivateEndpoint    string
	PrivateEndpointUrl string
	PublicEndpointUrl  string
}

func PrepareEndpoint added in v0.0.145

func PrepareEndpoint(r *resources.Parsed, serverRef, serviceName string, accessKey, secretKey deferredFunc) (*Endpoint, error)

type EnsureBucketOptions added in v0.0.153

type EnsureBucketOptions struct {
	AccessKey       string
	SecretAccessKey string
	BucketName      string
	Endpoint        string
	Region          string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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