Documentation ¶
Index ¶
- type FakeOSSClient
- func (t *FakeOSSClient) CreateObjectFromKey(_ *beeorm.Engine, _ oss.Bucket, _ string) oss.Object
- func (t *FakeOSSClient) DeleteObject(_ oss.Bucket, _ *oss.Object) error
- func (t *FakeOSSClient) GetBucketConfig(_ oss.Bucket) *oss.BucketConfig
- func (t *FakeOSSClient) GetClient() interface{}
- func (t *FakeOSSClient) GetObjectBase64Content(bucket oss.Bucket, object *oss.Object) (string, error)
- func (t *FakeOSSClient) GetObjectCDNURL(bucket oss.Bucket, object *oss.Object) (string, error)
- func (t *FakeOSSClient) GetObjectOSSURL(bucket oss.Bucket, object *oss.Object) (string, error)
- func (t *FakeOSSClient) GetObjectSignedURL(bucket oss.Bucket, object *oss.Object, expires time.Time) (string, error)
- func (t *FakeOSSClient) GetObjectURL(bucket oss.Bucket, object *oss.Object) (string, error)
- func (t *FakeOSSClient) UploadImageFromBase64(_ *beeorm.Engine, bucket oss.Bucket, path oss.Namespace, ...) (oss.Object, error)
- func (t *FakeOSSClient) UploadImageFromFile(_ *beeorm.Engine, bucket oss.Bucket, path oss.Namespace, localFile string) (oss.Object, error)
- func (t *FakeOSSClient) UploadObjectFromBase64(_ *beeorm.Engine, bucket oss.Bucket, path oss.Namespace, content string, ...) (oss.Object, error)
- func (t *FakeOSSClient) UploadObjectFromByte(_ *beeorm.Engine, bucket oss.Bucket, path oss.Namespace, content []byte, ...) (oss.Object, error)
- func (t *FakeOSSClient) UploadObjectFromFile(_ *beeorm.Engine, bucket oss.Bucket, path oss.Namespace, localFile string) (oss.Object, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeOSSClient ¶
func (*FakeOSSClient) CreateObjectFromKey ¶ added in v0.9.30
func (*FakeOSSClient) DeleteObject ¶ added in v0.9.24
func (*FakeOSSClient) GetBucketConfig ¶ added in v1.0.51
func (t *FakeOSSClient) GetBucketConfig(_ oss.Bucket) *oss.BucketConfig
func (*FakeOSSClient) GetClient ¶ added in v0.9.39
func (t *FakeOSSClient) GetClient() interface{}
func (*FakeOSSClient) GetObjectBase64Content ¶ added in v0.6.3
func (*FakeOSSClient) GetObjectCDNURL ¶ added in v0.9.24
func (*FakeOSSClient) GetObjectOSSURL ¶ added in v0.9.24
func (*FakeOSSClient) GetObjectSignedURL ¶
func (*FakeOSSClient) GetObjectURL ¶
func (*FakeOSSClient) UploadImageFromBase64 ¶
func (*FakeOSSClient) UploadImageFromFile ¶
func (*FakeOSSClient) UploadObjectFromBase64 ¶
func (*FakeOSSClient) UploadObjectFromByte ¶ added in v0.9.24
Click to show internal directories.
Click to hide internal directories.