Documentation
¶
Overview ¶
Package mock_nodes is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDrainer ¶
type MockDrainer struct {
// contains filtered or unexported fields
}
MockDrainer is a mock of Drainer interface.
func NewMockDrainer ¶
func NewMockDrainer(ctrl *gomock.Controller) *MockDrainer
NewMockDrainer creates a new mock instance.
func (*MockDrainer) Drain ¶
func (m *MockDrainer) Drain(arg0 context.Context, arg1 nodes.DrainRequest) ([]*v1.Pod, error)
Drain mocks base method.
func (*MockDrainer) EXPECT ¶
func (m *MockDrainer) EXPECT() *MockDrainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDrainer) Evict ¶
func (m *MockDrainer) Evict(arg0 context.Context, arg1 nodes.EvictRequest) ([]*v1.Pod, error)
Evict mocks base method.
type MockDrainerMockRecorder ¶
type MockDrainerMockRecorder struct {
// contains filtered or unexported fields
}
MockDrainerMockRecorder is the mock recorder for MockDrainer.
func (*MockDrainerMockRecorder) Drain ¶
func (mr *MockDrainerMockRecorder) Drain(arg0, arg1 interface{}) *gomock.Call
Drain indicates an expected call of Drain.
func (*MockDrainerMockRecorder) Evict ¶
func (mr *MockDrainerMockRecorder) Evict(arg0, arg1 interface{}) *gomock.Call
Evict indicates an expected call of Evict.
Click to show internal directories.
Click to hide internal directories.