Documentation ¶
Index ¶
- Variables
- func CreateBucket(ctx context.Context, cfg aws.Config, name string) error
- type BucketInstance
- func (*BucketInstance) Descriptor() ([]byte, []int)deprecated
- func (x *BucketInstance) GetAccessKey() string
- func (x *BucketInstance) GetBucketName() string
- func (x *BucketInstance) GetRegion() string
- func (x *BucketInstance) GetSecretAccessKey() string
- func (x *BucketInstance) GetUrl() string
- func (*BucketInstance) ProtoMessage()
- func (x *BucketInstance) ProtoReflect() protoreflect.Message
- func (x *BucketInstance) Reset()
- func (x *BucketInstance) String() string
- type BucketIntent
- func (*BucketIntent) Descriptor() ([]byte, []int)deprecated
- func (x *BucketIntent) GetBucketName() string
- func (x *BucketIntent) GetRegion() string
- func (*BucketIntent) ProtoMessage()
- func (x *BucketIntent) ProtoReflect() protoreflect.Message
- func (x *BucketIntent) Reset()
- func (x *BucketIntent) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_library_storage_s3_api_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type BucketInstance ¶
type BucketInstance struct { Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` BucketName string `protobuf:"bytes,2,opt,name=bucket_name,json=bucketName,proto3" json:"bucket_name,omitempty"` Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"` AccessKey string `protobuf:"bytes,4,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` // TODO export as secret reference SecretAccessKey string `protobuf:"bytes,5,opt,name=secret_access_key,json=secretAccessKey,proto3" json:"secret_access_key,omitempty"` // TODO export as secret reference // contains filtered or unexported fields }
func (*BucketInstance) Descriptor
deprecated
func (*BucketInstance) Descriptor() ([]byte, []int)
Deprecated: Use BucketInstance.ProtoReflect.Descriptor instead.
func (*BucketInstance) GetAccessKey ¶
func (x *BucketInstance) GetAccessKey() string
func (*BucketInstance) GetBucketName ¶
func (x *BucketInstance) GetBucketName() string
func (*BucketInstance) GetRegion ¶
func (x *BucketInstance) GetRegion() string
func (*BucketInstance) GetSecretAccessKey ¶
func (x *BucketInstance) GetSecretAccessKey() string
func (*BucketInstance) GetUrl ¶
func (x *BucketInstance) GetUrl() string
func (*BucketInstance) ProtoMessage ¶
func (*BucketInstance) ProtoMessage()
func (*BucketInstance) ProtoReflect ¶
func (x *BucketInstance) ProtoReflect() protoreflect.Message
func (*BucketInstance) Reset ¶
func (x *BucketInstance) Reset()
func (*BucketInstance) String ¶
func (x *BucketInstance) String() string
type BucketIntent ¶
type BucketIntent struct { Region string `protobuf:"bytes,1,opt,name=region,proto3" json:"region,omitempty"` BucketName string `protobuf:"bytes,2,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) GetRegion ¶
func (x *BucketIntent) GetRegion() 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
Click to show internal directories.
Click to hide internal directories.