mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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 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

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

func (*MockMachineReader) Read

func (m *MockMachineReader) Read() (hardware.Machine, error)

Read mocks base method.

type MockMachineReaderMockRecorder

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

MockMachineReaderMockRecorder is the mock recorder for MockMachineReader.

func (*MockMachineReaderMockRecorder) Read

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

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

func (*MockMachineValidator) Validate

func (m *MockMachineValidator) Validate(arg0 hardware.Machine) error

Validate mocks base method.

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

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

func (*MockMachineWriter) Write

func (m *MockMachineWriter) Write(arg0 hardware.Machine) error

Write mocks base method.

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

Create mocks base method.

func (*MockTinkerbellHardwareJsonFactory) EXPECT

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

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.

Jump to

Keyboard shortcuts

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