Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBMCClient
- func (m *MockBMCClient) Close(arg0 context.Context) error
- func (m *MockBMCClient) EXPECT() *MockBMCClientMockRecorder
- func (m *MockBMCClient) GetPowerState(arg0 context.Context) (string, error)
- func (m *MockBMCClient) SetBootDevice(arg0 context.Context, arg1 string, arg2, arg3 bool) (bool, error)
- func (m *MockBMCClient) SetPowerState(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockBMCClient) SetVirtualMedia(arg0 context.Context, arg1, arg2 string) (bool, error)
- type MockBMCClientMockRecorder
- func (mr *MockBMCClientMockRecorder) Close(arg0 interface{}) *gomock.Call
- func (mr *MockBMCClientMockRecorder) GetPowerState(arg0 interface{}) *gomock.Call
- func (mr *MockBMCClientMockRecorder) SetBootDevice(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockBMCClientMockRecorder) SetPowerState(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBMCClientMockRecorder) SetVirtualMedia(arg0, arg1, arg2 interface{}) *gomock.Call
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 ¶
func (m *MockBMCClient) EXPECT() *MockBMCClientMockRecorder
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 ¶
SetPowerState mocks base method.
func (*MockBMCClient) SetVirtualMedia ¶ added in v0.3.0
SetVirtualMedia 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.
func (*MockBMCClientMockRecorder) SetVirtualMedia ¶ added in v0.3.0
func (mr *MockBMCClientMockRecorder) SetVirtualMedia(arg0, arg1, arg2 interface{}) *gomock.Call
SetVirtualMedia indicates an expected call of SetVirtualMedia.