Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIEbpfMap
- func (m *MockIEbpfMap) BatchDelete(keys any, opts *ebpf.BatchOptions) (int, error)
- func (m *MockIEbpfMap) BatchUpdate(keys, values any, opts *ebpf.BatchOptions) (int, error)
- func (m *MockIEbpfMap) Close() error
- func (m *MockIEbpfMap) Delete(key any) error
- func (m *MockIEbpfMap) EXPECT() *MockIEbpfMapMockRecorder
- func (m *MockIEbpfMap) Put(key, value any) error
- type MockIEbpfMapMockRecorder
- func (mr *MockIEbpfMapMockRecorder) BatchDelete(keys, opts any) *gomock.Call
- func (mr *MockIEbpfMapMockRecorder) BatchUpdate(keys, values, opts any) *gomock.Call
- func (mr *MockIEbpfMapMockRecorder) Close() *gomock.Call
- func (mr *MockIEbpfMapMockRecorder) Delete(key any) *gomock.Call
- func (mr *MockIEbpfMapMockRecorder) Put(key, value any) *gomock.Call
- type MockIFilterMap
- type MockIFilterMapMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIEbpfMap ¶
type MockIEbpfMap struct {
// contains filtered or unexported fields
}
MockIEbpfMap is a mock of IEbpfMap interface.
func NewMockIEbpfMap ¶
func NewMockIEbpfMap(ctrl *gomock.Controller) *MockIEbpfMap
NewMockIEbpfMap creates a new mock instance.
func (*MockIEbpfMap) BatchDelete ¶
func (m *MockIEbpfMap) BatchDelete(keys any, opts *ebpf.BatchOptions) (int, error)
BatchDelete mocks base method.
func (*MockIEbpfMap) BatchUpdate ¶
func (m *MockIEbpfMap) BatchUpdate(keys, values any, opts *ebpf.BatchOptions) (int, error)
BatchUpdate mocks base method.
func (*MockIEbpfMap) Delete ¶
func (m *MockIEbpfMap) Delete(key any) error
Delete mocks base method.
func (*MockIEbpfMap) EXPECT ¶
func (m *MockIEbpfMap) EXPECT() *MockIEbpfMapMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIEbpfMapMockRecorder ¶
type MockIEbpfMapMockRecorder struct {
// contains filtered or unexported fields
}
MockIEbpfMapMockRecorder is the mock recorder for MockIEbpfMap.
func (*MockIEbpfMapMockRecorder) BatchDelete ¶
func (mr *MockIEbpfMapMockRecorder) BatchDelete(keys, opts any) *gomock.Call
BatchDelete indicates an expected call of BatchDelete.
func (*MockIEbpfMapMockRecorder) BatchUpdate ¶
func (mr *MockIEbpfMapMockRecorder) BatchUpdate(keys, values, opts any) *gomock.Call
BatchUpdate indicates an expected call of BatchUpdate.
func (*MockIEbpfMapMockRecorder) Close ¶
func (mr *MockIEbpfMapMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
type MockIFilterMap ¶
type MockIFilterMap struct {
// contains filtered or unexported fields
}
MockIFilterMap is a mock of IFilterMap interface.
func NewMockIFilterMap ¶
func NewMockIFilterMap(ctrl *gomock.Controller) *MockIFilterMap
NewMockIFilterMap creates a new mock instance.
func (*MockIFilterMap) Add ¶
func (m *MockIFilterMap) Add(arg0 []net.IP) error
Add mocks base method.
func (*MockIFilterMap) Delete ¶
func (m *MockIFilterMap) Delete(arg0 []net.IP) error
Delete mocks base method.
func (*MockIFilterMap) EXPECT ¶
func (m *MockIFilterMap) EXPECT() *MockIFilterMapMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIFilterMapMockRecorder ¶
type MockIFilterMapMockRecorder struct {
// contains filtered or unexported fields
}
MockIFilterMapMockRecorder is the mock recorder for MockIFilterMap.
func (*MockIFilterMapMockRecorder) Add ¶
func (mr *MockIFilterMapMockRecorder) Add(arg0 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockIFilterMapMockRecorder) Close ¶
func (mr *MockIFilterMapMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.