Documentation ¶
Overview ¶
Package mock_virtualnode is a generated GoMock package.
Package mock_virtualnode is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMembershipDesignator ¶
type MockMembershipDesignator struct {
// contains filtered or unexported fields
}
MockMembershipDesignator is a mock of MembershipDesignator interface
func NewMockMembershipDesignator ¶
func NewMockMembershipDesignator(ctrl *gomock.Controller) *MockMembershipDesignator
NewMockMembershipDesignator creates a new mock instance
func (*MockMembershipDesignator) Designate ¶
func (m *MockMembershipDesignator) Designate(arg0 context.Context, arg1 *v1.Pod) (*v1beta2.VirtualNode, error)
Designate mocks base method
func (*MockMembershipDesignator) EXPECT ¶
func (m *MockMembershipDesignator) EXPECT() *MockMembershipDesignatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMembershipDesignatorMockRecorder ¶
type MockMembershipDesignatorMockRecorder struct {
// contains filtered or unexported fields
}
MockMembershipDesignatorMockRecorder is the mock recorder for MockMembershipDesignator
func (*MockMembershipDesignatorMockRecorder) Designate ¶
func (mr *MockMembershipDesignatorMockRecorder) Designate(arg0, arg1 interface{}) *gomock.Call
Designate indicates an expected call of Designate
type MockResourceManager ¶ added in v1.5.0
type MockResourceManager struct {
// contains filtered or unexported fields
}
MockResourceManager is a mock of ResourceManager interface.
func NewMockResourceManager ¶ added in v1.5.0
func NewMockResourceManager(ctrl *gomock.Controller) *MockResourceManager
NewMockResourceManager creates a new mock instance.
func (*MockResourceManager) Cleanup ¶ added in v1.5.0
func (m *MockResourceManager) Cleanup(ctx context.Context, vn *v1beta2.VirtualNode) error
Cleanup mocks base method.
func (*MockResourceManager) EXPECT ¶ added in v1.5.0
func (m *MockResourceManager) EXPECT() *MockResourceManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockResourceManager) Reconcile ¶ added in v1.5.0
func (m *MockResourceManager) Reconcile(ctx context.Context, vn *v1beta2.VirtualNode) error
Reconcile mocks base method.
type MockResourceManagerMockRecorder ¶ added in v1.5.0
type MockResourceManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockResourceManagerMockRecorder is the mock recorder for MockResourceManager.
func (*MockResourceManagerMockRecorder) Cleanup ¶ added in v1.5.0
func (mr *MockResourceManagerMockRecorder) Cleanup(ctx, vn interface{}) *gomock.Call
Cleanup indicates an expected call of Cleanup.
func (*MockResourceManagerMockRecorder) Reconcile ¶ added in v1.5.0
func (mr *MockResourceManagerMockRecorder) Reconcile(ctx, vn interface{}) *gomock.Call
Reconcile indicates an expected call of Reconcile.