mocks

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) Close

func (m *MockIEbpfMap) Close() error

Close mocks base method.

func (*MockIEbpfMap) Delete

func (m *MockIEbpfMap) Delete(key any) error

Delete mocks base method.

func (*MockIEbpfMap) EXPECT

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

func (*MockIEbpfMap) Put

func (m *MockIEbpfMap) Put(key, value any) error

Put mocks base method.

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.

func (*MockIEbpfMapMockRecorder) Delete

func (mr *MockIEbpfMapMockRecorder) Delete(key any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockIEbpfMapMockRecorder) Put

func (mr *MockIEbpfMapMockRecorder) Put(key, value any) *gomock.Call

Put indicates an expected call of Put.

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) Close

func (m *MockIFilterMap) Close()

Close mocks base method.

func (*MockIFilterMap) Delete

func (m *MockIFilterMap) Delete(arg0 []net.IP) error

Delete mocks base method.

func (*MockIFilterMap) EXPECT

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.

func (*MockIFilterMapMockRecorder) Delete

func (mr *MockIFilterMapMockRecorder) Delete(arg0 any) *gomock.Call

Delete indicates an expected call of Delete.

Jump to

Keyboard shortcuts

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