automock

package
v0.0.0-...-6d13c91 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AspectConverter

type AspectConverter struct {
	mock.Mock
}

AspectConverter is an autogenerated mock type for the AspectConverter type

func NewAspectConverter

func NewAspectConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *AspectConverter

NewAspectConverter creates a new instance of AspectConverter. 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 (*AspectConverter) FromEntity

func (_m *AspectConverter) FromEntity(entity *aspect.Entity) *model.Aspect

FromEntity provides a mock function with given fields: entity

func (*AspectConverter) ToEntity

func (_m *AspectConverter) ToEntity(aspectModel *model.Aspect) *aspect.Entity

ToEntity provides a mock function with given fields: aspectModel

type AspectEventResourceConverter

type AspectEventResourceConverter struct {
	mock.Mock
}

AspectEventResourceConverter is an autogenerated mock type for the AspectEventResourceConverter type

func NewAspectEventResourceConverter

func NewAspectEventResourceConverter(t interface {
	mock.TestingT
	Cleanup(func())
}) *AspectEventResourceConverter

NewAspectEventResourceConverter creates a new instance of AspectEventResourceConverter. 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 (*AspectEventResourceConverter) MultipleInputFromGraphQL

MultipleInputFromGraphQL provides a mock function with given fields: in

func (*AspectEventResourceConverter) MultipleToGraphQL

MultipleToGraphQL provides a mock function with given fields: in

type AspectRepository

type AspectRepository struct {
	mock.Mock
}

AspectRepository is an autogenerated mock type for the AspectRepository type

func NewAspectRepository

func NewAspectRepository(t interface {
	mock.TestingT
	Cleanup(func())
}) *AspectRepository

NewAspectRepository creates a new instance of AspectRepository. 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 (*AspectRepository) Create

func (_m *AspectRepository) Create(ctx context.Context, tenant string, item *model.Aspect) error

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

func (*AspectRepository) DeleteByIntegrationDependencyID

func (_m *AspectRepository) DeleteByIntegrationDependencyID(ctx context.Context, tenant string, integrationDependencyID string) error

DeleteByIntegrationDependencyID provides a mock function with given fields: ctx, tenant, integrationDependencyID

func (*AspectRepository) ListByApplicationIDs

func (_m *AspectRepository) ListByApplicationIDs(ctx context.Context, tenantID string, applicationIDs []string, pageSize int, cursor string) ([]*model.Aspect, map[string]int, error)

ListByApplicationIDs provides a mock function with given fields: ctx, tenantID, applicationIDs, pageSize, cursor

func (*AspectRepository) ListByIntegrationDependencyID

func (_m *AspectRepository) ListByIntegrationDependencyID(ctx context.Context, tenant string, integrationDependencyID string) ([]*model.Aspect, error)

ListByIntegrationDependencyID provides a mock function with given fields: ctx, tenant, integrationDependencyID

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