mocks

package
v0.0.0-...-ecf3e4b Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PostgresDao

type PostgresDao struct {
	mock.Mock
}

PostgresDao is an autogenerated mock type for the PostgresDao type

func (*PostgresDao) Create

func (_m *PostgresDao) Create(_a0 *image.Material) error

Create provides a mock function with given fields: _a0

func (*PostgresDao) Delete

func (_m *PostgresDao) Delete(_a0 uint) error

Delete provides a mock function with given fields: _a0

func (*PostgresDao) Get

func (_m *PostgresDao) Get() (*[]image.Material, error)

Get provides a mock function with given fields:

func (*PostgresDao) GetOne

func (_m *PostgresDao) GetOne(_a0 uint) (*image.Material, error)

GetOne provides a mock function with given fields: _a0

func (*PostgresDao) Update

func (_m *PostgresDao) Update(_a0 *image.Material) error

Update provides a mock function with given fields: _a0

type RedisDao

type RedisDao struct {
	mock.Mock
}

RedisDao is an autogenerated mock type for the RedisDao type

func (*RedisDao) Flush

func (_m *RedisDao) Flush() error

Flush provides a mock function with given fields:

func (*RedisDao) Get

func (_m *RedisDao) Get(_a0 string) (string, error)

Get provides a mock function with given fields: _a0

func (*RedisDao) Set

func (_m *RedisDao) Set(_a0 string, _a1 string) error

Set provides a mock function with given fields: _a0, _a1

type StorageDao

type StorageDao struct {
	mock.Mock
}

StorageDao is an autogenerated mock type for the StorageDao type

func (*StorageDao) CheckExists

func (_m *StorageDao) CheckExists(_a0 string, _a1 string) (bool, error)

CheckExists provides a mock function with given fields: _a0, _a1

func (*StorageDao) GetObject

func (_m *StorageDao) GetObject(_a0 string, _a1 string) ([]byte, error)

GetObject provides a mock function with given fields: _a0, _a1

func (*StorageDao) RemoveObject

func (_m *StorageDao) RemoveObject(_a0 string, _a1 string) (bool, error)

RemoveObject provides a mock function with given fields: _a0, _a1

func (*StorageDao) WriteObject

func (_m *StorageDao) WriteObject(_a0 string, _a1 string, _a2 string, _a3 []byte) error

WriteObject provides a mock function with given fields: _a0, _a1, _a2, _a3

Jump to

Keyboard shortcuts

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