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) GetPrivateEndpointUrl() string
- func (x *BucketInstance) GetPublicUrl() 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
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"` // XXX This will be removed in favor of `endpoint_url` which has clearer semantics. PrivateEndpointUrl string `protobuf:"bytes,6,opt,name=private_endpoint_url,json=privateEndpointUrl,proto3" json:"private_endpoint_url,omitempty"` // The private network endpoint that provides access to this bucket. The bucket name is not part of the URL. PublicUrl string `protobuf:"bytes,7,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"` // If set, a fully qualified URL that provides internet-facing access to this bucket. The bucket name is part of the URL. // These are currently embedded for simplicity. They'll be moved to an // access credential profile that is attached to users of this resource. 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) GetPrivateEndpointUrl ¶ added in v0.0.117
func (x *BucketInstance) GetPrivateEndpointUrl() string
func (*BucketInstance) GetPublicUrl ¶ added in v0.0.117
func (x *BucketInstance) GetPublicUrl() 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
Click to show internal directories.
Click to hide internal directories.