mock

package
v0.0.0-...-432d548 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_healthcheck is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHelper

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

MockHealthCheckHelper is a mock of HealthCheckHelper interface

func NewMockHelper

func NewMockHelper(ctrl *gomock.Controller) *MockHelper

NewMockHealthCheckHelper creates a new mock instance

func (*MockHelper) EXPECT

func (m *MockHelper) EXPECT() *MockHelperMockRecorder

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

func (*MockHelper) GetHTTPClient

func (m *MockHelper) GetHTTPClient() *common.HTTPClient

GetHttpClient mocks base method

func (*MockHelper) GetWorkerNode

func (m *MockHelper) GetWorkerNode(workernode *v1.WorkerNode) (*v1.WorkerNode, error)

func (*MockHelper) Sync

func (m *MockHelper) Sync(workernode *v1.WorkerNode, healthCondition *v1.HealthCondition) bool

Sync mocks base method

type MockHelperMockRecorder

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

MockHealthCheckHelperMockRecorder is the mock recorder for MockHealthCheckHelper

func (*MockHelperMockRecorder) GetHTTPClient

func (mr *MockHelperMockRecorder) GetHTTPClient() *gomock.Call

GetHttpClient indicates an expected call of GetHttpClient

func (*MockHelperMockRecorder) GetWorkerNode

func (mr *MockHelperMockRecorder) GetWorkerNode(workernode interface{}) *gomock.Call

func (*MockHelperMockRecorder) Sync

func (mr *MockHelperMockRecorder) Sync(workernode, healthCondition interface{}) *gomock.Call

Sync indicates an expected call of Sync

Jump to

Keyboard shortcuts

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