Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressPersister ¶
AddressPersister is an autogenerated mock type for the AddressPersister type
func NewAddressPersister ¶
func NewAddressPersister(t interface { mock.TestingT Cleanup(func()) }) *AddressPersister
NewAddressPersister creates a new instance of AddressPersister. 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.
type InventoryExtractor ¶
InventoryExtractor is an autogenerated mock type for the InventoryExtractor type
func NewInventoryExtractor ¶
func NewInventoryExtractor(t interface { mock.TestingT Cleanup(func()) }) *InventoryExtractor
NewInventoryExtractor creates a new instance of InventoryExtractor. 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 (*InventoryExtractor) ByID ¶
func (_m *InventoryExtractor) ByID(id domain.InventoryID) (domain.Inventory, error)
ByID provides a mock function with given fields: id
type LoopbackSubnetExtractor ¶
LoopbackSubnetExtractor is an autogenerated mock type for the LoopbackSubnetExtractor type
func NewLoopbackSubnetExtractor ¶
func NewLoopbackSubnetExtractor(t interface { mock.TestingT Cleanup(func()) }) *LoopbackSubnetExtractor
NewLoopbackSubnetExtractor creates a new instance of LoopbackSubnetExtractor. 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 (*LoopbackSubnetExtractor) ByType ¶
func (_m *LoopbackSubnetExtractor) ByType(ipType string) (dto.SubnetInfo, error)
ByType provides a mock function with given fields: ipType
func (*LoopbackSubnetExtractor) IPv6ByName ¶
func (_m *LoopbackSubnetExtractor) IPv6ByName(name string) (dto.SubnetInfo, error)
IPv6ByName provides a mock function with given fields: name
type SubnetPersister ¶
SubnetPersister is an autogenerated mock type for the SubnetPersister type
func NewSubnetPersister ¶
func NewSubnetPersister(t interface { mock.TestingT Cleanup(func()) }) *SubnetPersister
NewSubnetPersister creates a new instance of SubnetPersister. 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 (*SubnetPersister) Save ¶
func (_m *SubnetPersister) Save(info dto.SubnetInfo) error
Save provides a mock function with given fields: info