automock

package
v0.0.0-...-0640eb1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 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 EntityConverter

type EntityConverter struct {
	mock.Mock
}

EntityConverter is an autogenerated mock type for the EntityConverter type

func (*EntityConverter) FromEntity

func (_m *EntityConverter) FromEntity(entity *ordvendor.Entity) (*model.Vendor, error)

FromEntity provides a mock function with given fields: entity

func (*EntityConverter) ToEntity

func (_m *EntityConverter) ToEntity(in *model.Vendor) *ordvendor.Entity

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 (*UIDService) Generate

func (_m *UIDService) Generate() string

Generate provides a mock function with given fields:

type VendorRepository

type VendorRepository struct {
	mock.Mock
}

VendorRepository is an autogenerated mock type for the VendorRepository type

func (*VendorRepository) Create

func (_m *VendorRepository) Create(ctx context.Context, item *model.Vendor) error

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

func (*VendorRepository) Delete

func (_m *VendorRepository) Delete(ctx context.Context, tenant string, id string) error

Delete provides a mock function with given fields: ctx, tenant, id

func (*VendorRepository) Exists

func (_m *VendorRepository) Exists(ctx context.Context, tenant string, id string) (bool, error)

Exists provides a mock function with given fields: ctx, tenant, id

func (*VendorRepository) GetByID

func (_m *VendorRepository) GetByID(ctx context.Context, tenant string, id string) (*model.Vendor, error)

GetByID provides a mock function with given fields: ctx, tenant, id

func (*VendorRepository) ListByApplicationID

func (_m *VendorRepository) ListByApplicationID(ctx context.Context, tenantID string, appID string) ([]*model.Vendor, error)

ListByApplicationID provides a mock function with given fields: ctx, tenantID, appID

func (*VendorRepository) Update

func (_m *VendorRepository) Update(ctx context.Context, item *model.Vendor) error

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

Jump to

Keyboard shortcuts

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