m_southboundhandler

package
v1.3.8 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSouthboundHandler

type MockSouthboundHandler struct {
	mock.Mock
}

MockSouthboundHandler is an autogenerated mock type for the SouthboundHandler type

func NewMockSouthboundHandler

func NewMockSouthboundHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockSouthboundHandler

NewMockSouthboundHandler creates a new instance of MockSouthboundHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockSouthboundHandler) EXPECT

func (*MockSouthboundHandler) Register

Register provides a mock function with given fields: ctx, nodeGUID

func (*MockSouthboundHandler) UpdateStatus

UpdateStatus provides a mock function with given fields: ctx, nodeGUID, status

type MockSouthboundHandler_Expecter

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

func (*MockSouthboundHandler_Expecter) Register

func (_e *MockSouthboundHandler_Expecter) Register(ctx interface{}, nodeGUID interface{}) *MockSouthboundHandler_Register_Call

Register is a helper method to define mock.On call

  • ctx context.Context
  • nodeGUID string

func (*MockSouthboundHandler_Expecter) UpdateStatus

func (_e *MockSouthboundHandler_Expecter) UpdateStatus(ctx interface{}, nodeGUID interface{}, status interface{}) *MockSouthboundHandler_UpdateStatus_Call

UpdateStatus is a helper method to define mock.On call

  • ctx context.Context
  • nodeGUID string
  • status cluster_orchestrator_southbound.UpdateClusterStatusRequest_Code

type MockSouthboundHandler_Register_Call

type MockSouthboundHandler_Register_Call struct {
	*mock.Call
}

MockSouthboundHandler_Register_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Register'

func (*MockSouthboundHandler_Register_Call) Run

type MockSouthboundHandler_UpdateStatus_Call

type MockSouthboundHandler_UpdateStatus_Call struct {
	*mock.Call
}

MockSouthboundHandler_UpdateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateStatus'

Jump to

Keyboard shortcuts

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