mocks

package
v0.2.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: Apache-2.0 Imports: 3 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 MockBMCClient

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

MockBMCClient is a mock of BMCClient interface.

func NewMockBMCClient

func NewMockBMCClient(ctrl *gomock.Controller) *MockBMCClient

NewMockBMCClient creates a new mock instance.

func (*MockBMCClient) Close

func (m *MockBMCClient) Close(arg0 context.Context) error

Close mocks base method.

func (*MockBMCClient) EXPECT

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

func (*MockBMCClient) GetPowerState

func (m *MockBMCClient) GetPowerState(arg0 context.Context) (string, error)

GetPowerState mocks base method.

func (*MockBMCClient) SetBootDevice

func (m *MockBMCClient) SetBootDevice(arg0 context.Context, arg1 string, arg2, arg3 bool) (bool, error)

SetBootDevice mocks base method.

func (*MockBMCClient) SetPowerState

func (m *MockBMCClient) SetPowerState(arg0 context.Context, arg1 string) (bool, error)

SetPowerState mocks base method.

type MockBMCClientMockRecorder

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

MockBMCClientMockRecorder is the mock recorder for MockBMCClient.

func (*MockBMCClientMockRecorder) Close

func (mr *MockBMCClientMockRecorder) Close(arg0 interface{}) *gomock.Call

Close indicates an expected call of Close.

func (*MockBMCClientMockRecorder) GetPowerState

func (mr *MockBMCClientMockRecorder) GetPowerState(arg0 interface{}) *gomock.Call

GetPowerState indicates an expected call of GetPowerState.

func (*MockBMCClientMockRecorder) SetBootDevice

func (mr *MockBMCClientMockRecorder) SetBootDevice(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetBootDevice indicates an expected call of SetBootDevice.

func (*MockBMCClientMockRecorder) SetPowerState

func (mr *MockBMCClientMockRecorder) SetPowerState(arg0, arg1 interface{}) *gomock.Call

SetPowerState indicates an expected call of SetPowerState.

Jump to

Keyboard shortcuts

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