testutils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2024 License: Apache-2.0 Imports: 5 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.ListResponse_ListResult
	PullBytecodeRequests map[int]*gobpfman.PullBytecodeRequest
}

func NewBpfmanClientFake

func NewBpfmanClientFake() *BpfmanClientFake

func NewBpfmanClientFakeWithPrograms

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

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