mocks

package
v0.0.0-...-a58b211 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func (*Interface) Debug

func (_m *Interface) Debug(message interface{}, args ...interface{})

Debug provides a mock function with given fields: message, args

func (*Interface) Error

func (_m *Interface) Error(message interface{}, args ...interface{})

Error provides a mock function with given fields: message, args

func (*Interface) Fatal

func (_m *Interface) Fatal(message interface{}, args ...interface{})

Fatal provides a mock function with given fields: message, args

func (*Interface) Info

func (_m *Interface) Info(message string, args ...interface{})

Info provides a mock function with given fields: message, args

func (*Interface) Warn

func (_m *Interface) Warn(message string, args ...interface{})

Warn provides a mock function with given fields: message, args

type MovieTagRepo

type MovieTagRepo struct {
	mock.Mock
}

MovieTagRepo is an autogenerated mock type for the MovieTagRepo type

func (*MovieTagRepo) Create

func (_m *MovieTagRepo) Create(_a0 context.Context, _a1 string) (entity.MovieTag, error)

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

func (*MovieTagRepo) Delete

func (_m *MovieTagRepo) Delete(_a0 context.Context, _a1 string) error

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

func (*MovieTagRepo) GetAll

func (_m *MovieTagRepo) GetAll(_a0 context.Context) ([]entity.MovieTag, error)

GetAll provides a mock function with given fields: _a0

func (*MovieTagRepo) GetById

func (_m *MovieTagRepo) GetById(_a0 context.Context, _a1 string) (entity.MovieTag, error)

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

func (*MovieTagRepo) Update

func (_m *MovieTagRepo) Update(_a0 context.Context, _a1 string, _a2 entity.MovieTag) error

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

type Option

type Option struct {
	mock.Mock
}

Option is an autogenerated mock type for the Option type

func (*Option) Execute

func (_m *Option) Execute(_a0 *httpserver.Server)

Execute provides a mock function with given fields: _a0

type ProfileRepo

type ProfileRepo struct {
	mock.Mock
}

ProfileRepo is an autogenerated mock type for the ProfileRepo type

func (*ProfileRepo) Create

func (_m *ProfileRepo) Create(_a0 context.Context, _a1 entity.Profile) (entity.Profile, error)

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

func (*ProfileRepo) Delete

func (_m *ProfileRepo) Delete(_a0 context.Context, _a1 string) error

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

func (*ProfileRepo) GetAll

func (_m *ProfileRepo) GetAll(_a0 context.Context) ([]entity.Profile, error)

GetAll provides a mock function with given fields: _a0

func (*ProfileRepo) GetAllById

func (_m *ProfileRepo) GetAllById(_a0 context.Context, _a1 string) ([]entity.Profile, error)

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

func (*ProfileRepo) GetById

func (_m *ProfileRepo) GetById(_a0 context.Context, _a1 string) (entity.Profile, error)

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

func (*ProfileRepo) Update

func (_m *ProfileRepo) Update(_a0 context.Context, _a1 string, _a2 entity.Profile) error

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

type User

type User struct {
	mock.Mock
}

User is an autogenerated mock type for the User type

func (*User) Create

func (_m *User) Create(_a0 context.Context, _a1 string) error

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

func (*User) Delete

func (_m *User) Delete(_a0 context.Context, _a1 string) error

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

func (*User) GetAll

func (_m *User) GetAll(_a0 context.Context) ([]entity.User, error)

GetAll provides a mock function with given fields: _a0

func (*User) GetAllProfilesById

func (_m *User) GetAllProfilesById(_a0 context.Context, _a1 string) ([]entity.Profile, error)

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

func (*User) GetById

func (_m *User) GetById(_a0 context.Context, _a1 string) (entity.User, error)

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

type UserConsumer

type UserConsumer struct {
	mock.Mock
}

UserConsumer is an autogenerated mock type for the UserConsumer type

func (*UserConsumer) CreateUser

func (_m *UserConsumer) CreateUser(_a0 string, _a1 internal.User) error

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

func (*UserConsumer) DeleteUser

func (_m *UserConsumer) DeleteUser(_a0 string, _a1 internal.User) error

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

func (*UserConsumer) NewUserServiceEvents

func (_m *UserConsumer) NewUserServiceEvents(_a0 amqp.Channel, _a1 internal.User) (bool, error)

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

type UserRepo

type UserRepo struct {
	mock.Mock
}

UserRepo is an autogenerated mock type for the UserRepo type

func (*UserRepo) Create

func (_m *UserRepo) Create(_a0 context.Context, _a1 string) (entity.User, error)

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

func (*UserRepo) Delete

func (_m *UserRepo) Delete(_a0 context.Context, _a1 string) error

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

func (*UserRepo) GetAll

func (_m *UserRepo) GetAll(_a0 context.Context) ([]entity.User, error)

GetAll provides a mock function with given fields: _a0

func (*UserRepo) GetById

func (_m *UserRepo) GetById(_a0 context.Context, _a1 string) (entity.User, error)

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

func (*UserRepo) GetByKeycloakId

func (_m *UserRepo) GetByKeycloakId(_a0 context.Context, _a1 string) (entity.User, error)

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

func (*UserRepo) Update

func (_m *UserRepo) Update(_a0 context.Context, _a1 string, _a2 entity.User) error

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

type WebAPI

type WebAPI struct {
	mock.Mock
}

WebAPI is an autogenerated mock type for the WebAPI type

Jump to

Keyboard shortcuts

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