mocks

package
v0.0.0-...-2f4d8a3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 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 AppUserModel

type AppUserModel struct {
	mock.Mock
}

AppUserModel is an autogenerated mock type for the AppUserModel type

func NewAppUserModel

func NewAppUserModel(t testing.TB) *AppUserModel

NewAppUserModel creates a new instance of AppUserModel. It also registers a cleanup function to assert the mocks expectations.

func (*AppUserModel) GetAppUserID

func (_m *AppUserModel) GetAppUserID() domain.AppUserID

GetAppUserID provides a mock function with given fields:

func (*AppUserModel) GetCreatedAt

func (_m *AppUserModel) GetCreatedAt() time.Time

GetCreatedAt provides a mock function with given fields:

func (*AppUserModel) GetCreatedBy

func (_m *AppUserModel) GetCreatedBy() uint

GetCreatedBy provides a mock function with given fields:

func (*AppUserModel) GetID

func (_m *AppUserModel) GetID() uint

GetID provides a mock function with given fields:

func (*AppUserModel) GetLoginID

func (_m *AppUserModel) GetLoginID() string

GetLoginID provides a mock function with given fields:

func (*AppUserModel) GetOrganizationID

func (_m *AppUserModel) GetOrganizationID() domain.OrganizationID

GetOrganizationID provides a mock function with given fields:

func (*AppUserModel) GetProperties

func (_m *AppUserModel) GetProperties() map[string]string

GetProperties provides a mock function with given fields:

func (*AppUserModel) GetRoles

func (_m *AppUserModel) GetRoles() []string

GetRoles provides a mock function with given fields:

func (*AppUserModel) GetUpdatedAt

func (_m *AppUserModel) GetUpdatedAt() time.Time

GetUpdatedAt provides a mock function with given fields:

func (*AppUserModel) GetUpdatedBy

func (_m *AppUserModel) GetUpdatedBy() uint

GetUpdatedBy provides a mock function with given fields:

func (*AppUserModel) GetUsername

func (_m *AppUserModel) GetUsername() string

GetUsername provides a mock function with given fields:

func (*AppUserModel) GetVersion

func (_m *AppUserModel) GetVersion() int

GetVersion provides a mock function with given fields:

type Model

type Model struct {
	mock.Mock
}

Model is an autogenerated mock type for the Model type

func NewModel

func NewModel(t testing.TB) *Model

NewModel creates a new instance of Model. It also registers a cleanup function to assert the mocks expectations.

func (*Model) GetCreatedAt

func (_m *Model) GetCreatedAt() time.Time

GetCreatedAt provides a mock function with given fields:

func (*Model) GetCreatedBy

func (_m *Model) GetCreatedBy() uint

GetCreatedBy provides a mock function with given fields:

func (*Model) GetID

func (_m *Model) GetID() uint

GetID provides a mock function with given fields:

func (*Model) GetUpdatedAt

func (_m *Model) GetUpdatedAt() time.Time

GetUpdatedAt provides a mock function with given fields:

func (*Model) GetUpdatedBy

func (_m *Model) GetUpdatedBy() uint

GetUpdatedBy provides a mock function with given fields:

func (*Model) GetVersion

func (_m *Model) GetVersion() int

GetVersion provides a mock function with given fields:

type SpaceModel

type SpaceModel struct {
	mock.Mock
}

SpaceModel is an autogenerated mock type for the SpaceModel type

func NewSpaceModel

func NewSpaceModel(t testing.TB) *SpaceModel

NewSpaceModel creates a new instance of SpaceModel. It also registers a cleanup function to assert the mocks expectations.

func (*SpaceModel) GetCreatedAt

func (_m *SpaceModel) GetCreatedAt() time.Time

GetCreatedAt provides a mock function with given fields:

func (*SpaceModel) GetCreatedBy

func (_m *SpaceModel) GetCreatedBy() uint

GetCreatedBy provides a mock function with given fields:

func (*SpaceModel) GetDescription

func (_m *SpaceModel) GetDescription() string

GetDescription provides a mock function with given fields:

func (*SpaceModel) GetID

func (_m *SpaceModel) GetID() uint

GetID provides a mock function with given fields:

func (*SpaceModel) GetKey

func (_m *SpaceModel) GetKey() string

GetKey provides a mock function with given fields:

func (*SpaceModel) GetName

func (_m *SpaceModel) GetName() string

GetName provides a mock function with given fields:

func (*SpaceModel) GetOrganizationID

func (_m *SpaceModel) GetOrganizationID() domain.OrganizationID

GetOrganizationID provides a mock function with given fields:

func (*SpaceModel) GetUpdatedAt

func (_m *SpaceModel) GetUpdatedAt() time.Time

GetUpdatedAt provides a mock function with given fields:

func (*SpaceModel) GetUpdatedBy

func (_m *SpaceModel) GetUpdatedBy() uint

GetUpdatedBy provides a mock function with given fields:

func (*SpaceModel) GetVersion

func (_m *SpaceModel) GetVersion() int

GetVersion provides a mock function with given fields:

Jump to

Keyboard shortcuts

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