mock_progs

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_progs is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBpfProgAPIs

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

MockBpfProgAPIs is a mock of BpfProgAPIs interface.

func NewMockBpfProgAPIs

func NewMockBpfProgAPIs(ctrl *gomock.Controller) *MockBpfProgAPIs

NewMockBpfProgAPIs creates a new mock instance.

func (*MockBpfProgAPIs) EXPECT

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

func (*MockBpfProgAPIs) GetBPFProgAssociatedMapsIDs

func (m *MockBpfProgAPIs) GetBPFProgAssociatedMapsIDs(arg0 int) ([]uint32, error)

GetBPFProgAssociatedMapsIDs mocks base method.

func (*MockBpfProgAPIs) GetProgFromPinPath

func (m *MockBpfProgAPIs) GetProgFromPinPath(arg0 string) (progs.BpfProgInfo, int, error)

GetProgFromPinPath mocks base method.

func (*MockBpfProgAPIs) LoadProg

func (m *MockBpfProgAPIs) LoadProg(arg0 progs.CreateEBPFProgInput) (int, error)

LoadProg mocks base method.

func (*MockBpfProgAPIs) PinProg

func (m *MockBpfProgAPIs) PinProg(arg0 uint32, arg1 string) error

PinProg mocks base method.

func (*MockBpfProgAPIs) UnPinProg

func (m *MockBpfProgAPIs) UnPinProg(arg0 string) error

UnPinProg mocks base method.

type MockBpfProgAPIsMockRecorder

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

MockBpfProgAPIsMockRecorder is the mock recorder for MockBpfProgAPIs.

func (*MockBpfProgAPIsMockRecorder) GetBPFProgAssociatedMapsIDs

func (mr *MockBpfProgAPIsMockRecorder) GetBPFProgAssociatedMapsIDs(arg0 interface{}) *gomock.Call

GetBPFProgAssociatedMapsIDs indicates an expected call of GetBPFProgAssociatedMapsIDs.

func (*MockBpfProgAPIsMockRecorder) GetProgFromPinPath

func (mr *MockBpfProgAPIsMockRecorder) GetProgFromPinPath(arg0 interface{}) *gomock.Call

GetProgFromPinPath indicates an expected call of GetProgFromPinPath.

func (*MockBpfProgAPIsMockRecorder) LoadProg

func (mr *MockBpfProgAPIsMockRecorder) LoadProg(arg0 interface{}) *gomock.Call

LoadProg indicates an expected call of LoadProg.

func (*MockBpfProgAPIsMockRecorder) PinProg

func (mr *MockBpfProgAPIsMockRecorder) PinProg(arg0, arg1 interface{}) *gomock.Call

PinProg indicates an expected call of PinProg.

func (*MockBpfProgAPIsMockRecorder) UnPinProg

func (mr *MockBpfProgAPIsMockRecorder) UnPinProg(arg0 interface{}) *gomock.Call

UnPinProg indicates an expected call of UnPinProg.

Jump to

Keyboard shortcuts

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