automock

package
v0.0.0-...-a423d60 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignmentOperationRepository

type AssignmentOperationRepository struct {
	mock.Mock
}

AssignmentOperationRepository is an autogenerated mock type for the AssignmentOperationRepository type

func NewAssignmentOperationRepository

func NewAssignmentOperationRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *AssignmentOperationRepository

NewAssignmentOperationRepository creates a new instance of AssignmentOperationRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AssignmentOperationRepository) Create

Create provides a mock function with given fields: ctx, item

func (*AssignmentOperationRepository) DeleteByIDs

func (_m *AssignmentOperationRepository) DeleteByIDs(ctx context.Context, ids []string) error

DeleteByIDs provides a mock function with given fields: ctx, ids

func (*AssignmentOperationRepository) GetLatestOperation

func (_m *AssignmentOperationRepository) GetLatestOperation(ctx context.Context, formationAssignmentID string, formationID string) (*model.AssignmentOperation, error)

GetLatestOperation provides a mock function with given fields: ctx, formationAssignmentID, formationID

func (*AssignmentOperationRepository) ListForFormationAssignmentIDs

func (_m *AssignmentOperationRepository) ListForFormationAssignmentIDs(ctx context.Context, assignmentIDs []string, pageSize int, cursor string) ([]*model.AssignmentOperationPage, error)

ListForFormationAssignmentIDs provides a mock function with given fields: ctx, assignmentIDs, pageSize, cursor

func (*AssignmentOperationRepository) Update

Update provides a mock function with given fields: ctx, m

type EntityConverter

type EntityConverter struct {
	mock.Mock
}

EntityConverter is an autogenerated mock type for the EntityConverter type

func NewEntityConverter

func NewEntityConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *EntityConverter

NewEntityConverter creates a new instance of EntityConverter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EntityConverter) FromEntity

FromEntity provides a mock function with given fields: entity

func (*EntityConverter) ToEntity

ToEntity provides a mock function with given fields: in

type UIDService

type UIDService struct {
	mock.Mock
}

UIDService is an autogenerated mock type for the UIDService type

func NewUIDService

func NewUIDService(t interface {
	mock.TestingT
	Cleanup(func())
}) *UIDService

NewUIDService creates a new instance of UIDService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*UIDService) Generate

func (_m *UIDService) Generate() string

Generate 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