Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNodeDrainStrategy ¶
type MockNodeDrainStrategy struct {
// contains filtered or unexported fields
}
MockNodeDrainStrategy is a mock of NodeDrainStrategy interface.
func NewMockNodeDrainStrategy ¶
func NewMockNodeDrainStrategy(ctrl *gomock.Controller) *MockNodeDrainStrategy
NewMockNodeDrainStrategy creates a new mock instance.
func (*MockNodeDrainStrategy) EXPECT ¶
func (m *MockNodeDrainStrategy) EXPECT() *MockNodeDrainStrategyMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeDrainStrategy) Execute ¶
func (m *MockNodeDrainStrategy) Execute(arg0 *v1.Node, arg1 logr.Logger) ([]*drain.DrainStrategyResult, error)
Execute mocks base method.
type MockNodeDrainStrategyBuilder ¶
type MockNodeDrainStrategyBuilder struct {
// contains filtered or unexported fields
}
MockNodeDrainStrategyBuilder is a mock of NodeDrainStrategyBuilder interface.
func NewMockNodeDrainStrategyBuilder ¶
func NewMockNodeDrainStrategyBuilder(ctrl *gomock.Controller) *MockNodeDrainStrategyBuilder
NewMockNodeDrainStrategyBuilder creates a new mock instance.
func (*MockNodeDrainStrategyBuilder) EXPECT ¶
func (m *MockNodeDrainStrategyBuilder) EXPECT() *MockNodeDrainStrategyBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeDrainStrategyBuilder) NewNodeDrainStrategy ¶
func (m *MockNodeDrainStrategyBuilder) NewNodeDrainStrategy(arg0 client.Client, arg1 logr.Logger, arg2 *v1alpha1.UpgradeConfig, arg3 *drain.NodeDrain) (drain.NodeDrainStrategy, error)
NewNodeDrainStrategy mocks base method.
type MockNodeDrainStrategyBuilderMockRecorder ¶
type MockNodeDrainStrategyBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeDrainStrategyBuilderMockRecorder is the mock recorder for MockNodeDrainStrategyBuilder.
func (*MockNodeDrainStrategyBuilderMockRecorder) NewNodeDrainStrategy ¶
func (mr *MockNodeDrainStrategyBuilderMockRecorder) NewNodeDrainStrategy(arg0, arg1, arg2, arg3 any) *gomock.Call
NewNodeDrainStrategy indicates an expected call of NewNodeDrainStrategy.
type MockNodeDrainStrategyMockRecorder ¶
type MockNodeDrainStrategyMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeDrainStrategyMockRecorder is the mock recorder for MockNodeDrainStrategy.