Documentation ¶
Index ¶
- type FakeS3Client
- func (t *FakeS3Client) CreateObjectFromKey(_ *beeorm.Engine, bucket, key string) s3.Object
- func (t *FakeS3Client) DeleteObject(bucket string, objects ...*s3.Object) bool
- func (t *FakeS3Client) GetBucketName(bucket string) string
- func (t *FakeS3Client) GetClient() interface{}
- func (t *FakeS3Client) GetObjectCachedURL(bucket string, object *s3.Object) string
- func (t *FakeS3Client) GetObjectSignedURL(bucket string, object *s3.Object, expires time.Duration) string
- func (t *FakeS3Client) UploadImageFromBase64(_ *beeorm.Engine, bucket, image, extension string) s3.Object
- func (t *FakeS3Client) UploadImageFromFile(_ *beeorm.Engine, bucket, localFile string) s3.Object
- func (t *FakeS3Client) UploadObjectFromBase64(_ *beeorm.Engine, bucket, content, extension string) s3.Object
- func (t *FakeS3Client) UploadObjectFromByte(_ *beeorm.Engine, bucket string, byteData []byte, extension string) s3.Object
- func (t *FakeS3Client) UploadObjectFromFile(_ *beeorm.Engine, bucket, localFile string) s3.Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeS3Client ¶
func (*FakeS3Client) CreateObjectFromKey ¶ added in v0.6.8
func (*FakeS3Client) DeleteObject ¶ added in v0.4.8
func (t *FakeS3Client) DeleteObject(bucket string, objects ...*s3.Object) bool
func (*FakeS3Client) GetBucketName ¶ added in v0.6.8
func (t *FakeS3Client) GetBucketName(bucket string) string
func (*FakeS3Client) GetClient ¶ added in v0.6.6
func (t *FakeS3Client) GetClient() interface{}
func (*FakeS3Client) GetObjectCachedURL ¶
func (t *FakeS3Client) GetObjectCachedURL(bucket string, object *s3.Object) string
func (*FakeS3Client) GetObjectSignedURL ¶
func (*FakeS3Client) UploadImageFromBase64 ¶
func (*FakeS3Client) UploadImageFromFile ¶
func (*FakeS3Client) UploadObjectFromBase64 ¶
func (*FakeS3Client) UploadObjectFromByte ¶ added in v0.8.99
func (*FakeS3Client) UploadObjectFromFile ¶
Click to show internal directories.
Click to hide internal directories.