testutils

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BpfmanClientFake

type BpfmanClientFake struct {
	LoadRequests         map[int]*gobpfman.LoadRequest
	UnloadRequests       map[int]*gobpfman.UnloadRequest
	ListRequests         []*gobpfman.ListRequest
	GetRequests          map[int]*gobpfman.GetRequest
	Programs             map[int]*gobpfman.GetResponse
	Links                map[int]bool
	PullBytecodeRequests map[int]*gobpfman.PullBytecodeRequest
}

func NewBpfmanClientFake

func NewBpfmanClientFake() *BpfmanClientFake

func NewBpfmanClientFakeWithPrograms

func NewBpfmanClientFakeWithPrograms(programs map[int]*gobpfman.GetResponse) *BpfmanClientFake

func (*BpfmanClientFake) Attach added in v0.6.0

func (*BpfmanClientFake) Detach added in v0.6.0

func (*BpfmanClientFake) Get

func (*BpfmanClientFake) List

func (*BpfmanClientFake) Load

func (*BpfmanClientFake) PullBytecode

func (*BpfmanClientFake) Unload

Jump to

Keyboard shortcuts

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