Documentation ¶
Overview ¶
Package mock_progs is a generated GoMock package.
Index ¶
- type MockBpfProgAPIs
- func (m *MockBpfProgAPIs) EXPECT() *MockBpfProgAPIsMockRecorder
- func (m *MockBpfProgAPIs) GetBPFProgAssociatedMapsIDs(arg0 int) ([]uint32, error)
- func (m *MockBpfProgAPIs) GetProgFromPinPath(arg0 string) (progs.BpfProgInfo, int, error)
- func (m *MockBpfProgAPIs) LoadProg(arg0 progs.CreateEBPFProgInput) (int, error)
- func (m *MockBpfProgAPIs) PinProg(arg0 uint32, arg1 string) error
- func (m *MockBpfProgAPIs) UnPinProg(arg0 string) error
- type MockBpfProgAPIsMockRecorder
- func (mr *MockBpfProgAPIsMockRecorder) GetBPFProgAssociatedMapsIDs(arg0 interface{}) *gomock.Call
- func (mr *MockBpfProgAPIsMockRecorder) GetProgFromPinPath(arg0 interface{}) *gomock.Call
- func (mr *MockBpfProgAPIsMockRecorder) LoadProg(arg0 interface{}) *gomock.Call
- func (mr *MockBpfProgAPIsMockRecorder) PinProg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBpfProgAPIsMockRecorder) UnPinProg(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockBpfProgAPIs) EXPECT() *MockBpfProgAPIsMockRecorder
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.