mocks

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeOSSClient

type FakeOSSClient struct {
	mock.Mock
}

func (*FakeOSSClient) GetObjectCachedURL

func (t *FakeOSSClient) GetObjectCachedURL(bucket string, object *oss.Object) string

func (*FakeOSSClient) GetObjectSignedURL

func (t *FakeOSSClient) GetObjectSignedURL(bucket string, object *oss.Object, expires time.Time) string

func (*FakeOSSClient) GetObjectURL

func (t *FakeOSSClient) GetObjectURL(bucket string, object *oss.Object) string

func (*FakeOSSClient) UploadImageFromBase64

func (t *FakeOSSClient) UploadImageFromBase64(_ *orm.Engine, bucket, image, extension string) oss.Object

func (*FakeOSSClient) UploadImageFromFile

func (t *FakeOSSClient) UploadImageFromFile(_ *orm.Engine, bucket, localFile string) oss.Object

func (*FakeOSSClient) UploadObjectFromBase64

func (t *FakeOSSClient) UploadObjectFromBase64(_ *orm.Engine, bucket, content, extension string) oss.Object

func (*FakeOSSClient) UploadObjectFromFile

func (t *FakeOSSClient) UploadObjectFromFile(_ *orm.Engine, bucket, localFile string) oss.Object

Jump to

Keyboard shortcuts

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