mocks

package
v0.0.0-...-7c27f16 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

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

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.

func (*MockNodeDrainStrategy) HasFailed

func (m *MockNodeDrainStrategy) HasFailed(arg0 *v1.Node, arg1 logr.Logger) (bool, error)

HasFailed 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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNodeDrainStrategyBuilder) NewNodeDrainStrategy

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.

func (*MockNodeDrainStrategyMockRecorder) Execute

func (mr *MockNodeDrainStrategyMockRecorder) Execute(arg0, arg1 any) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockNodeDrainStrategyMockRecorder) HasFailed

func (mr *MockNodeDrainStrategyMockRecorder) HasFailed(arg0, arg1 any) *gomock.Call

HasFailed indicates an expected call of HasFailed.

Jump to

Keyboard shortcuts

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