mocks

package
v1.3.174 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeS3Client

type FakeS3Client struct {
	mock.Mock
}

func (*FakeS3Client) CreateObjectFromKey added in v0.6.8

func (t *FakeS3Client) CreateObjectFromKey(_ *beeorm.Engine, bucket, key string) s3.Object

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 (t *FakeS3Client) GetObjectSignedURL(bucket string, object *s3.Object, expires time.Duration) string

func (*FakeS3Client) UploadImageFromBase64

func (t *FakeS3Client) UploadImageFromBase64(_ *beeorm.Engine, bucket, image, extension string) s3.Object

func (*FakeS3Client) UploadImageFromFile

func (t *FakeS3Client) UploadImageFromFile(_ *beeorm.Engine, bucket, localFile string) s3.Object

func (*FakeS3Client) UploadObjectFromBase64

func (t *FakeS3Client) UploadObjectFromBase64(_ *beeorm.Engine, bucket, content, extension string) s3.Object

func (*FakeS3Client) UploadObjectFromByte added in v0.8.99

func (t *FakeS3Client) UploadObjectFromByte(_ *beeorm.Engine, bucket string, byteData []byte, extension string) s3.Object

func (*FakeS3Client) UploadObjectFromFile

func (t *FakeS3Client) UploadObjectFromFile(_ *beeorm.Engine, bucket, localFile string) s3.Object

Jump to

Keyboard shortcuts

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