mock_utils

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_utils is a generated GoMock package.

Package mock_utils is a generated GoMock package.

Package mock_utils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCmdInterface

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

MockCmdInterface is a mock of CmdInterface interface.

func NewMockCmdInterface

func NewMockCmdInterface(ctrl *gomock.Controller) *MockCmdInterface

NewMockCmdInterface creates a new mock instance.

func (*MockCmdInterface) Chroot

func (m *MockCmdInterface) Chroot(arg0 string) (func() error, error)

Chroot mocks base method.

func (*MockCmdInterface) EXPECT

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

func (*MockCmdInterface) RunCommand

func (m *MockCmdInterface) RunCommand(arg0 string, arg1 ...string) (string, string, error)

RunCommand mocks base method.

type MockCmdInterfaceMockRecorder

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

MockCmdInterfaceMockRecorder is the mock recorder for MockCmdInterface.

func (*MockCmdInterfaceMockRecorder) Chroot

func (mr *MockCmdInterfaceMockRecorder) Chroot(arg0 interface{}) *gomock.Call

Chroot indicates an expected call of Chroot.

func (*MockCmdInterfaceMockRecorder) RunCommand

func (mr *MockCmdInterfaceMockRecorder) RunCommand(arg0 interface{}, arg1 ...interface{}) *gomock.Call

RunCommand indicates an expected call of RunCommand.

type MockCommandInterface

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

MockCommandInterface is a mock of CommandInterface interface.

func NewMockCommandInterface

func NewMockCommandInterface(ctrl *gomock.Controller) *MockCommandInterface

NewMockCommandInterface creates a new mock instance.

func (*MockCommandInterface) EXPECT

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

func (*MockCommandInterface) Run

func (m *MockCommandInterface) Run(arg0 string, arg1 ...string) (bytes.Buffer, bytes.Buffer, error)

Run mocks base method.

type MockCommandInterfaceMockRecorder

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

MockCommandInterfaceMockRecorder is the mock recorder for MockCommandInterface.

func (*MockCommandInterfaceMockRecorder) Run

func (mr *MockCommandInterfaceMockRecorder) Run(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Run indicates an expected call of Run.

type MockStoreManagerInterface

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

MockStoreManagerInterface is a mock of StoreManagerInterface interface.

func NewMockStoreManagerInterface

func NewMockStoreManagerInterface(ctrl *gomock.Controller) *MockStoreManagerInterface

NewMockStoreManagerInterface creates a new mock instance.

func (*MockStoreManagerInterface) ClearPCIAddressFolder

func (m *MockStoreManagerInterface) ClearPCIAddressFolder() error

ClearPCIAddressFolder mocks base method.

func (*MockStoreManagerInterface) EXPECT

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

func (*MockStoreManagerInterface) LoadPfsStatus

func (m *MockStoreManagerInterface) LoadPfsStatus(pciAddress string) (*v1.Interface, bool, error)

LoadPfsStatus mocks base method.

func (*MockStoreManagerInterface) SaveLastPfAppliedStatus

func (m *MockStoreManagerInterface) SaveLastPfAppliedStatus(PfInfo *v1.Interface) error

SaveLastPfAppliedStatus mocks base method.

type MockStoreManagerInterfaceMockRecorder

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

MockStoreManagerInterfaceMockRecorder is the mock recorder for MockStoreManagerInterface.

func (*MockStoreManagerInterfaceMockRecorder) ClearPCIAddressFolder

func (mr *MockStoreManagerInterfaceMockRecorder) ClearPCIAddressFolder() *gomock.Call

ClearPCIAddressFolder indicates an expected call of ClearPCIAddressFolder.

func (*MockStoreManagerInterfaceMockRecorder) LoadPfsStatus

func (mr *MockStoreManagerInterfaceMockRecorder) LoadPfsStatus(pciAddress interface{}) *gomock.Call

LoadPfsStatus indicates an expected call of LoadPfsStatus.

func (*MockStoreManagerInterfaceMockRecorder) SaveLastPfAppliedStatus

func (mr *MockStoreManagerInterfaceMockRecorder) SaveLastPfAppliedStatus(PfInfo interface{}) *gomock.Call

SaveLastPfAppliedStatus indicates an expected call of SaveLastPfAppliedStatus.

Jump to

Keyboard shortcuts

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