mock_utils

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

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 any) *gomock.Call

Chroot indicates an expected call of Chroot.

func (*MockCmdInterfaceMockRecorder) RunCommand

func (mr *MockCmdInterfaceMockRecorder) RunCommand(arg0 any, arg1 ...any) *gomock.Call

RunCommand indicates an expected call of RunCommand.

Jump to

Keyboard shortcuts

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