mocks

package
v0.0.0-...-a56079f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 MockMachinery

type MockMachinery struct {
	// contains filtered or unexported fields
}

MockMachinery is a mock of Machinery interface.

func NewMockMachinery

func NewMockMachinery(ctrl *gomock.Controller) *MockMachinery

NewMockMachinery creates a new mock instance.

func (*MockMachinery) EXPECT

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

func (*MockMachinery) IsNodeCordoned

func (m *MockMachinery) IsNodeCordoned(arg0 *v1.Node) *machinery.IsCordonedResult

IsNodeCordoned mocks base method.

func (*MockMachinery) IsNodeUpgrading

func (m *MockMachinery) IsNodeUpgrading(arg0 *v1.Node) bool

IsNodeUpgrading mocks base method.

func (*MockMachinery) IsUpgrading

func (m *MockMachinery) IsUpgrading(arg0 client.Client, arg1 string) (*machinery.UpgradingResult, error)

IsUpgrading mocks base method.

type MockMachineryMockRecorder

type MockMachineryMockRecorder struct {
	// contains filtered or unexported fields
}

MockMachineryMockRecorder is the mock recorder for MockMachinery.

func (*MockMachineryMockRecorder) IsNodeCordoned

func (mr *MockMachineryMockRecorder) IsNodeCordoned(arg0 any) *gomock.Call

IsNodeCordoned indicates an expected call of IsNodeCordoned.

func (*MockMachineryMockRecorder) IsNodeUpgrading

func (mr *MockMachineryMockRecorder) IsNodeUpgrading(arg0 any) *gomock.Call

IsNodeUpgrading indicates an expected call of IsNodeUpgrading.

func (*MockMachineryMockRecorder) IsUpgrading

func (mr *MockMachineryMockRecorder) IsUpgrading(arg0, arg1 any) *gomock.Call

IsUpgrading indicates an expected call of IsUpgrading.

Jump to

Keyboard shortcuts

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