Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockMachineReader
- type MockMachineReaderMockRecorder
- type MockMachineValidator
- type MockMachineValidatorMockRecorder
- type MockMachineWriter
- type MockMachineWriterMockRecorder
- type MockTinkerbellHardwareJsonFactory
- type MockTinkerbellHardwareJsonFactoryMockRecorder
- type MockTinkerbellHardwarePusher
- type MockTinkerbellHardwarePusherMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMachineReader ¶
type MockMachineReader struct {
// contains filtered or unexported fields
}
MockMachineReader is a mock of MachineReader interface.
func NewMockMachineReader ¶
func NewMockMachineReader(ctrl *gomock.Controller) *MockMachineReader
NewMockMachineReader creates a new mock instance.
func (*MockMachineReader) EXPECT ¶
func (m *MockMachineReader) EXPECT() *MockMachineReaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMachineReaderMockRecorder ¶
type MockMachineReaderMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineReaderMockRecorder is the mock recorder for MockMachineReader.
func (*MockMachineReaderMockRecorder) Read ¶
func (mr *MockMachineReaderMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read.
type MockMachineValidator ¶
type MockMachineValidator struct {
// contains filtered or unexported fields
}
MockMachineValidator is a mock of MachineValidator interface.
func NewMockMachineValidator ¶
func NewMockMachineValidator(ctrl *gomock.Controller) *MockMachineValidator
NewMockMachineValidator creates a new mock instance.
func (*MockMachineValidator) EXPECT ¶
func (m *MockMachineValidator) EXPECT() *MockMachineValidatorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMachineValidatorMockRecorder ¶
type MockMachineValidatorMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineValidatorMockRecorder is the mock recorder for MockMachineValidator.
func (*MockMachineValidatorMockRecorder) Validate ¶
func (mr *MockMachineValidatorMockRecorder) Validate(arg0 interface{}) *gomock.Call
Validate indicates an expected call of Validate.
type MockMachineWriter ¶
type MockMachineWriter struct {
// contains filtered or unexported fields
}
MockMachineWriter is a mock of MachineWriter interface.
func NewMockMachineWriter ¶
func NewMockMachineWriter(ctrl *gomock.Controller) *MockMachineWriter
NewMockMachineWriter creates a new mock instance.
func (*MockMachineWriter) EXPECT ¶
func (m *MockMachineWriter) EXPECT() *MockMachineWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMachineWriterMockRecorder ¶
type MockMachineWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockMachineWriterMockRecorder is the mock recorder for MockMachineWriter.
func (*MockMachineWriterMockRecorder) Write ¶
func (mr *MockMachineWriterMockRecorder) Write(arg0 interface{}) *gomock.Call
Write indicates an expected call of Write.
type MockTinkerbellHardwareJsonFactory ¶
type MockTinkerbellHardwareJsonFactory struct {
// contains filtered or unexported fields
}
MockTinkerbellHardwareJsonFactory is a mock of TinkerbellHardwareJsonFactory interface.
func NewMockTinkerbellHardwareJsonFactory ¶
func NewMockTinkerbellHardwareJsonFactory(ctrl *gomock.Controller) *MockTinkerbellHardwareJsonFactory
NewMockTinkerbellHardwareJsonFactory creates a new mock instance.
func (*MockTinkerbellHardwareJsonFactory) Create ¶
func (m *MockTinkerbellHardwareJsonFactory) Create(name string) (*hardware.TinkerbellHardwareJson, error)
Create mocks base method.
func (*MockTinkerbellHardwareJsonFactory) EXPECT ¶
func (m *MockTinkerbellHardwareJsonFactory) EXPECT() *MockTinkerbellHardwareJsonFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTinkerbellHardwareJsonFactoryMockRecorder ¶
type MockTinkerbellHardwareJsonFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockTinkerbellHardwareJsonFactoryMockRecorder is the mock recorder for MockTinkerbellHardwareJsonFactory.
func (*MockTinkerbellHardwareJsonFactoryMockRecorder) Create ¶
func (mr *MockTinkerbellHardwareJsonFactoryMockRecorder) Create(name interface{}) *gomock.Call
Create indicates an expected call of Create.
type MockTinkerbellHardwarePusher ¶
type MockTinkerbellHardwarePusher struct {
// contains filtered or unexported fields
}
MockTinkerbellHardwarePusher is a mock of TinkerbellHardwarePusher interface.
func NewMockTinkerbellHardwarePusher ¶
func NewMockTinkerbellHardwarePusher(ctrl *gomock.Controller) *MockTinkerbellHardwarePusher
NewMockTinkerbellHardwarePusher creates a new mock instance.
func (*MockTinkerbellHardwarePusher) EXPECT ¶
func (m *MockTinkerbellHardwarePusher) EXPECT() *MockTinkerbellHardwarePusherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTinkerbellHardwarePusher) PushHardware ¶
func (m *MockTinkerbellHardwarePusher) PushHardware(ctx context.Context, hardware []byte) error
PushHardware mocks base method.
type MockTinkerbellHardwarePusherMockRecorder ¶
type MockTinkerbellHardwarePusherMockRecorder struct {
// contains filtered or unexported fields
}
MockTinkerbellHardwarePusherMockRecorder is the mock recorder for MockTinkerbellHardwarePusher.
func (*MockTinkerbellHardwarePusherMockRecorder) PushHardware ¶
func (mr *MockTinkerbellHardwarePusherMockRecorder) PushHardware(ctx, hardware interface{}) *gomock.Call
PushHardware indicates an expected call of PushHardware.