mocks

package
v1.11.0-network-topolo... Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 3 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 MockEbpfMap

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

MockEbpfMap is a mock of EbpfMap interface.

func NewMockEbpfMap

func NewMockEbpfMap(ctrl *gomock.Controller) *MockEbpfMap

NewMockEbpfMap creates a new mock instance.

func (*MockEbpfMap) CreateAndPinArrayMap

func (m *MockEbpfMap) CreateAndPinArrayMap(dir, name string, defaultKV []ebpf.MapKV) error

CreateAndPinArrayMap mocks base method.

func (*MockEbpfMap) EXPECT

func (m *MockEbpfMap) EXPECT() *MockEbpfMapMockRecorder

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

func (*MockEbpfMap) LookUpMapValue

func (m *MockEbpfMap) LookUpMapValue(pinPath string, key, value interface{}) error

LookUpMapValue mocks base method.

func (*MockEbpfMap) UnpinArrayMap

func (m *MockEbpfMap) UnpinArrayMap(pinPath string) error

UnpinArrayMap mocks base method.

func (*MockEbpfMap) UpdateMapValue

func (m *MockEbpfMap) UpdateMapValue(pinPath string, key, value interface{}) error

UpdateMapValue mocks base method.

type MockEbpfMapMockRecorder

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

MockEbpfMapMockRecorder is the mock recorder for MockEbpfMap.

func (*MockEbpfMapMockRecorder) CreateAndPinArrayMap

func (mr *MockEbpfMapMockRecorder) CreateAndPinArrayMap(dir, name, defaultKV interface{}) *gomock.Call

CreateAndPinArrayMap indicates an expected call of CreateAndPinArrayMap.

func (*MockEbpfMapMockRecorder) LookUpMapValue

func (mr *MockEbpfMapMockRecorder) LookUpMapValue(pinPath, key, value interface{}) *gomock.Call

LookUpMapValue indicates an expected call of LookUpMapValue.

func (*MockEbpfMapMockRecorder) UnpinArrayMap

func (mr *MockEbpfMapMockRecorder) UnpinArrayMap(pinPath interface{}) *gomock.Call

UnpinArrayMap indicates an expected call of UnpinArrayMap.

func (*MockEbpfMapMockRecorder) UpdateMapValue

func (mr *MockEbpfMapMockRecorder) UpdateMapValue(pinPath, key, value interface{}) *gomock.Call

UpdateMapValue indicates an expected call of UpdateMapValue.

Jump to

Keyboard shortcuts

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