mock_nodes

package
v0.62.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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