mocks

package
v0.0.0-...-eee9142 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 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 AddressSet

type AddressSet struct {
	mock.Mock
}

AddressSet is an autogenerated mock type for the AddressSet type

func NewAddressSet

func NewAddressSet(t interface {
	mock.TestingT
	Cleanup(func())
}) *AddressSet

NewAddressSet creates a new instance of AddressSet. 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 (*AddressSet) AddAddresses

func (_m *AddressSet) AddAddresses(addresses []string) error

AddAddresses provides a mock function with given fields: addresses

func (*AddressSet) AddAddressesReturnOps

func (_m *AddressSet) AddAddressesReturnOps(addresses []string) ([]ovsdb.Operation, error)

AddAddressesReturnOps provides a mock function with given fields: addresses

func (*AddressSet) DeleteAddresses

func (_m *AddressSet) DeleteAddresses(addresses []string) error

DeleteAddresses provides a mock function with given fields: addresses

func (*AddressSet) DeleteAddressesReturnOps

func (_m *AddressSet) DeleteAddressesReturnOps(addresses []string) ([]ovsdb.Operation, error)

DeleteAddressesReturnOps provides a mock function with given fields: addresses

func (*AddressSet) Destroy

func (_m *AddressSet) Destroy() error

Destroy provides a mock function with given fields:

func (*AddressSet) GetASHashNames

func (_m *AddressSet) GetASHashNames() (string, string)

GetASHashNames provides a mock function with given fields:

func (*AddressSet) GetAddresses

func (_m *AddressSet) GetAddresses() ([]string, []string)

GetAddresses provides a mock function with given fields:

func (*AddressSet) GetName

func (_m *AddressSet) GetName() string

GetName provides a mock function with given fields:

func (*AddressSet) SetAddresses

func (_m *AddressSet) SetAddresses(addresses []string) error

SetAddresses provides a mock function with given fields: addresses

type AddressSetDoFunc

type AddressSetDoFunc struct {
	mock.Mock
}

AddressSetDoFunc is an autogenerated mock type for the AddressSetDoFunc type

func NewAddressSetDoFunc

func NewAddressSetDoFunc(t mockConstructorTestingTNewAddressSetDoFunc) *AddressSetDoFunc

NewAddressSetDoFunc creates a new instance of AddressSetDoFunc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*AddressSetDoFunc) Execute

func (_m *AddressSetDoFunc) Execute(as addressset.AddressSet) error

Execute provides a mock function with given fields: as

type AddressSetFactory

type AddressSetFactory struct {
	mock.Mock
}

AddressSetFactory is an autogenerated mock type for the AddressSetFactory type

func NewAddressSetFactory

func NewAddressSetFactory(t interface {
	mock.TestingT
	Cleanup(func())
}) *AddressSetFactory

NewAddressSetFactory creates a new instance of AddressSetFactory. 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 (*AddressSetFactory) DestroyAddressSet

func (_m *AddressSetFactory) DestroyAddressSet(dbIDs *ops.DbObjectIDs) error

DestroyAddressSet provides a mock function with given fields: dbIDs

func (*AddressSetFactory) EnsureAddressSet

func (_m *AddressSetFactory) EnsureAddressSet(dbIDs *ops.DbObjectIDs) (addressset.AddressSet, error)

EnsureAddressSet provides a mock function with given fields: dbIDs

func (*AddressSetFactory) GetAddressSet

func (_m *AddressSetFactory) GetAddressSet(dbIDs *ops.DbObjectIDs) (addressset.AddressSet, error)

GetAddressSet provides a mock function with given fields: dbIDs

func (*AddressSetFactory) NewAddressSet

func (_m *AddressSetFactory) NewAddressSet(dbIDs *ops.DbObjectIDs, addresses []string) (addressset.AddressSet, error)

NewAddressSet provides a mock function with given fields: dbIDs, addresses

func (*AddressSetFactory) NewAddressSetOps

func (_m *AddressSetFactory) NewAddressSetOps(dbIDs *ops.DbObjectIDs, addresses []string) (addressset.AddressSet, []ovsdb.Operation, error)

NewAddressSetOps provides a mock function with given fields: dbIDs, addresses

func (*AddressSetFactory) ProcessEachAddressSet

func (_m *AddressSetFactory) ProcessEachAddressSet(ownerController string, dbIDsType *ops.ObjectIDsType, iteratorFn addressset.AddressSetIterFunc) error

ProcessEachAddressSet provides a mock function with given fields: ownerController, dbIDsType, iteratorFn

type AddressSetIterFunc

type AddressSetIterFunc struct {
	mock.Mock
}

AddressSetIterFunc is an autogenerated mock type for the AddressSetIterFunc type

func NewAddressSetIterFunc

func NewAddressSetIterFunc(t interface {
	mock.TestingT
	Cleanup(func())
}) *AddressSetIterFunc

NewAddressSetIterFunc creates a new instance of AddressSetIterFunc. 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 (*AddressSetIterFunc) Execute

func (_m *AddressSetIterFunc) Execute(dbIDs *ops.DbObjectIDs) error

Execute provides a mock function with given fields: dbIDs

Jump to

Keyboard shortcuts

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