mock

package
v0.0.0-rc5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3ClientMock

type S3ClientMock struct {
	mock.Mock
}

S3ClientMock is a mock for the S3Client interface

func (*S3ClientMock) CreateMany

func (m *S3ClientMock) CreateMany(ctx context.Context, files []*s3.FileData) map[string]*s3.CreateDto

CreateMany mocks the CreateMany method

func (*S3ClientMock) CreateOne

func (m *S3ClientMock) CreateOne(ctx context.Context, file *s3.FileData) *s3.CreateDto

CreateOne mocks the CreateOne method

func (*S3ClientMock) DeleteMany

func (m *S3ClientMock) DeleteMany(ctx context.Context, objectIDs []string) map[string]error

DeleteMany mocks the DeleteMany method

func (*S3ClientMock) DeleteOne

func (m *S3ClientMock) DeleteOne(ctx context.Context, objectID string) error

DeleteOne mocks the DeleteOne method

func (*S3ClientMock) GetMany

func (m *S3ClientMock) GetMany(ctx context.Context, objectIDs []string) map[string]*s3.GetDto

GetMany mocks the GetMany method

func (*S3ClientMock) GetOne

func (m *S3ClientMock) GetOne(ctx context.Context, objectID string) *s3.GetDto

GetOne mocks the GetOne method

Jump to

Keyboard shortcuts

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