Documentation ¶
Overview ¶
Package inventory is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) BuildVmCache(arg0 map[string]*v1alpha1.VirtualMachine, arg1, arg2 *types.NamespacedName)
- func (m *MockInterface) BuildVpcCache(arg0 map[string]*v1alpha1.Vpc, arg1 *types.NamespacedName) error
- func (m *MockInterface) DeleteAllVmsFromCache(arg0 *types.NamespacedName) error
- func (m *MockInterface) DeleteVmsFromCache(arg0, arg1 *types.NamespacedName) error
- func (m *MockInterface) DeleteVpcsFromCache(arg0 *types.NamespacedName) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) GetAllVms() []interface{}
- func (m *MockInterface) GetAllVpcs() []interface{}
- func (m *MockInterface) GetVmByKey(arg0 string) (*v1alpha1.VirtualMachine, bool)
- func (m *MockInterface) GetVmFromIndexer(arg0, arg1 string) ([]interface{}, error)
- func (m *MockInterface) GetVpcsFromIndexer(arg0, arg1 string) ([]interface{}, error)
- func (m *MockInterface) UpdateVm(arg0 *v1alpha1.VirtualMachine) error
- func (m *MockInterface) WatchVms(arg0 context.Context, arg1 string, arg2 labels.Selector, arg3 fields.Selector) (watch.Interface, error)
- func (m *MockInterface) WatchVpcs(arg0 context.Context, arg1 string, arg2 labels.Selector, arg3 fields.Selector) (watch.Interface, error)
- type MockInterfaceMockRecorder
- func (mr *MockInterfaceMockRecorder) BuildVmCache(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) BuildVpcCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteAllVmsFromCache(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteVmsFromCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) DeleteVpcsFromCache(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetAllVms() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetAllVpcs() *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetVmByKey(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetVmFromIndexer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) GetVpcsFromIndexer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) UpdateVm(arg0 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WatchVms(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockInterfaceMockRecorder) WatchVpcs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) BuildVmCache ¶
func (m *MockInterface) BuildVmCache(arg0 map[string]*v1alpha1.VirtualMachine, arg1, arg2 *types.NamespacedName)
BuildVmCache mocks base method.
func (*MockInterface) BuildVpcCache ¶
func (m *MockInterface) BuildVpcCache(arg0 map[string]*v1alpha1.Vpc, arg1 *types.NamespacedName) error
BuildVpcCache mocks base method.
func (*MockInterface) DeleteAllVmsFromCache ¶ added in v0.6.0
func (m *MockInterface) DeleteAllVmsFromCache(arg0 *types.NamespacedName) error
DeleteAllVmsFromCache mocks base method.
func (*MockInterface) DeleteVmsFromCache ¶
func (m *MockInterface) DeleteVmsFromCache(arg0, arg1 *types.NamespacedName) error
DeleteVmsFromCache mocks base method.
func (*MockInterface) DeleteVpcsFromCache ¶
func (m *MockInterface) DeleteVpcsFromCache(arg0 *types.NamespacedName) error
DeleteVpcsFromCache mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) GetAllVms ¶
func (m *MockInterface) GetAllVms() []interface{}
GetAllVms mocks base method.
func (*MockInterface) GetAllVpcs ¶
func (m *MockInterface) GetAllVpcs() []interface{}
GetAllVpcs mocks base method.
func (*MockInterface) GetVmByKey ¶
func (m *MockInterface) GetVmByKey(arg0 string) (*v1alpha1.VirtualMachine, bool)
GetVmByKey mocks base method.
func (*MockInterface) GetVmFromIndexer ¶
func (m *MockInterface) GetVmFromIndexer(arg0, arg1 string) ([]interface{}, error)
GetVmFromIndexer mocks base method.
func (*MockInterface) GetVpcsFromIndexer ¶
func (m *MockInterface) GetVpcsFromIndexer(arg0, arg1 string) ([]interface{}, error)
GetVpcsFromIndexer mocks base method.
func (*MockInterface) UpdateVm ¶ added in v0.6.0
func (m *MockInterface) UpdateVm(arg0 *v1alpha1.VirtualMachine) error
UpdateVm mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) BuildVmCache ¶
func (mr *MockInterfaceMockRecorder) BuildVmCache(arg0, arg1, arg2 interface{}) *gomock.Call
BuildVmCache indicates an expected call of BuildVmCache.
func (*MockInterfaceMockRecorder) BuildVpcCache ¶
func (mr *MockInterfaceMockRecorder) BuildVpcCache(arg0, arg1 interface{}) *gomock.Call
BuildVpcCache indicates an expected call of BuildVpcCache.
func (*MockInterfaceMockRecorder) DeleteAllVmsFromCache ¶ added in v0.6.0
func (mr *MockInterfaceMockRecorder) DeleteAllVmsFromCache(arg0 interface{}) *gomock.Call
DeleteAllVmsFromCache indicates an expected call of DeleteAllVmsFromCache.
func (*MockInterfaceMockRecorder) DeleteVmsFromCache ¶
func (mr *MockInterfaceMockRecorder) DeleteVmsFromCache(arg0, arg1 interface{}) *gomock.Call
DeleteVmsFromCache indicates an expected call of DeleteVmsFromCache.
func (*MockInterfaceMockRecorder) DeleteVpcsFromCache ¶
func (mr *MockInterfaceMockRecorder) DeleteVpcsFromCache(arg0 interface{}) *gomock.Call
DeleteVpcsFromCache indicates an expected call of DeleteVpcsFromCache.
func (*MockInterfaceMockRecorder) GetAllVms ¶
func (mr *MockInterfaceMockRecorder) GetAllVms() *gomock.Call
GetAllVms indicates an expected call of GetAllVms.
func (*MockInterfaceMockRecorder) GetAllVpcs ¶
func (mr *MockInterfaceMockRecorder) GetAllVpcs() *gomock.Call
GetAllVpcs indicates an expected call of GetAllVpcs.
func (*MockInterfaceMockRecorder) GetVmByKey ¶
func (mr *MockInterfaceMockRecorder) GetVmByKey(arg0 interface{}) *gomock.Call
GetVmByKey indicates an expected call of GetVmByKey.
func (*MockInterfaceMockRecorder) GetVmFromIndexer ¶
func (mr *MockInterfaceMockRecorder) GetVmFromIndexer(arg0, arg1 interface{}) *gomock.Call
GetVmFromIndexer indicates an expected call of GetVmFromIndexer.
func (*MockInterfaceMockRecorder) GetVpcsFromIndexer ¶
func (mr *MockInterfaceMockRecorder) GetVpcsFromIndexer(arg0, arg1 interface{}) *gomock.Call
GetVpcsFromIndexer indicates an expected call of GetVpcsFromIndexer.
func (*MockInterfaceMockRecorder) UpdateVm ¶ added in v0.6.0
func (mr *MockInterfaceMockRecorder) UpdateVm(arg0 interface{}) *gomock.Call
UpdateVm indicates an expected call of UpdateVm.
func (*MockInterfaceMockRecorder) WatchVms ¶
func (mr *MockInterfaceMockRecorder) WatchVms(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WatchVms indicates an expected call of WatchVms.
func (*MockInterfaceMockRecorder) WatchVpcs ¶
func (mr *MockInterfaceMockRecorder) WatchVpcs(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WatchVpcs indicates an expected call of WatchVpcs.