testing

package
v5.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHealthClient

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

MockHealthClient is a mock of HealthClient interface.

func NewMockHealthClient

func NewMockHealthClient(ctrl *gomock.Controller) *MockHealthClient

NewMockHealthClient creates a new mock instance.

func (*MockHealthClient) EXPECT

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

func (*MockHealthClient) IsHealthy

func (m *MockHealthClient) IsHealthy(arg0 context.Context) bool

IsHealthy mocks base method.

type MockHealthClientMockRecorder

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

MockHealthClientMockRecorder is the mock recorder for MockHealthClient.

func (*MockHealthClientMockRecorder) IsHealthy

func (mr *MockHealthClientMockRecorder) IsHealthy(arg0 any) *gomock.Call

IsHealthy indicates an expected call of IsHealthy.

Jump to

Keyboard shortcuts

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