Documentation ¶
Index ¶
- type BpfmanClientFake
- func (b *BpfmanClientFake) Get(ctx context.Context, in *gobpfman.GetRequest, opts ...grpc.CallOption) (*gobpfman.GetResponse, error)
- func (b *BpfmanClientFake) List(ctx context.Context, in *gobpfman.ListRequest, opts ...grpc.CallOption) (*gobpfman.ListResponse, error)
- func (b *BpfmanClientFake) Load(ctx context.Context, in *gobpfman.LoadRequest, opts ...grpc.CallOption) (*gobpfman.LoadResponse, error)
- func (b *BpfmanClientFake) PullBytecode(ctx context.Context, in *gobpfman.PullBytecodeRequest, opts ...grpc.CallOption) (*gobpfman.PullBytecodeResponse, error)
- func (b *BpfmanClientFake) Unload(ctx context.Context, in *gobpfman.UnloadRequest, opts ...grpc.CallOption) (*gobpfman.UnloadResponse, error)
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 (b *BpfmanClientFake) Get(ctx context.Context, in *gobpfman.GetRequest, opts ...grpc.CallOption) (*gobpfman.GetResponse, error)
func (*BpfmanClientFake) List ¶
func (b *BpfmanClientFake) List(ctx context.Context, in *gobpfman.ListRequest, opts ...grpc.CallOption) (*gobpfman.ListResponse, error)
func (*BpfmanClientFake) Load ¶
func (b *BpfmanClientFake) Load(ctx context.Context, in *gobpfman.LoadRequest, opts ...grpc.CallOption) (*gobpfman.LoadResponse, error)
func (*BpfmanClientFake) PullBytecode ¶
func (b *BpfmanClientFake) PullBytecode(ctx context.Context, in *gobpfman.PullBytecodeRequest, opts ...grpc.CallOption) (*gobpfman.PullBytecodeResponse, error)
func (*BpfmanClientFake) Unload ¶
func (b *BpfmanClientFake) Unload(ctx context.Context, in *gobpfman.UnloadRequest, opts ...grpc.CallOption) (*gobpfman.UnloadResponse, error)
Click to show internal directories.
Click to hide internal directories.