testing

package
v1.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

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

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) DetectKernelVersion

func (m *MockInterface) DetectKernelVersion(arg0 context.Context) (string, error)

DetectKernelVersion mocks base method.

func (*MockInterface) EXPECT

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

func (*MockInterface) GetModules

func (m *MockInterface) GetModules(arg0 context.Context, arg1 []string) ([]string, error)

GetModules mocks base method.

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) DetectKernelVersion

func (mr *MockInterfaceMockRecorder) DetectKernelVersion(arg0 interface{}) *gomock.Call

DetectKernelVersion indicates an expected call of DetectKernelVersion.

func (*MockInterfaceMockRecorder) GetModules

func (mr *MockInterfaceMockRecorder) GetModules(arg0, arg1 interface{}) *gomock.Call

GetModules indicates an expected call of GetModules.

Jump to

Keyboard shortcuts

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