bpfrecorderfakes

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeImpl

type FakeImpl struct {
	AttachGenericStub func(*libbpfgo.BPFProg) (*libbpfgo.BPFLink, error)

	BPFLoadObjectStub func(*libbpfgo.Module) error

	BpfIncClientStub func(api_metrics.MetricsClient) (api_metrics.Metrics_BpfIncClient, error)

	ChownStub func(string, int, int) error

	CloseGRPCStub func(*grpc.ClientConn) error

	CloseModuleStub func(*libbpfgo.Module)

	ContainerIDForPIDStub func(*ttlcache.Cache[string, string], int) (string, error)

	DeleteKeyStub func(*libbpfgo.BPFMap, uint32) error

	DeleteKey64Stub func(*libbpfgo.BPFMap, uint64) error

	DialMetricsStub func() (*grpc.ClientConn, context.CancelFunc, error)

	GetMapStub func(*libbpfgo.Module, string) (*libbpfgo.BPFMap, error)

	GetNameStub func(seccomp.ScmpSyscall) (string, error)

	GetProgramStub func(*libbpfgo.Module, string) (*libbpfgo.BPFProg, error)

	GetValueStub func(*libbpfgo.BPFMap, uint32) ([]byte, error)

	GetValue64Stub func(*libbpfgo.BPFMap, uint64) ([]byte, error)

	GetenvStub func(string) string

	GoArchStub func() string

	InClusterConfigStub func() (*rest.Config, error)

	InitGlobalVariableStub func(*libbpfgo.Module, string, interface{}) error

	InitRingBufStub func(*libbpfgo.Module, string, chan []byte) (*libbpfgo.RingBuffer, error)

	ListPodsStub func(context.Context, *kubernetes.Clientset, string) (*v1.PodList, error)

	ListenStub func(string, string) (net.Listener, error)

	NewForConfigStub func(*rest.Config) (*kubernetes.Clientset, error)

	NewModuleFromBufferArgsStub func(*libbpfgo.NewModuleArgs) (*libbpfgo.Module, error)

	ParseUintStub func(string) (uint32, error)

	PollRingBufferStub func(*libbpfgo.RingBuffer, int)

	ReadOSReleaseStub func() (map[string]string, error)

	ReadlinkStub func(string) (string, error)

	RemoveAllStub func(string) error

	SendMetricStub func(api_metrics.Metrics_BpfIncClient, *api_metrics.BpfRequest) error

	ServeStub func(*grpc.Server, net.Listener) error

	StatStub func(string) (fs.FileInfo, error)

	TempFileStub func(string, string) (*os.File, error)

	UnameStub func(*syscall.Utsname) error

	UnmarshalStub func([]byte, interface{}) error

	UpdateValueStub func(*libbpfgo.BPFMap, uint32, []byte) error

	UpdateValue64Stub func(*libbpfgo.BPFMap, uint64, []byte) error

	WriteStub func(*os.File, []byte) (int, error)
	// contains filtered or unexported fields
}

func (*FakeImpl) AttachGeneric added in v0.8.4

func (fake *FakeImpl) AttachGeneric(arg1 *libbpfgo.BPFProg) (*libbpfgo.BPFLink, error)

func (*FakeImpl) AttachGenericArgsForCall added in v0.8.4

func (fake *FakeImpl) AttachGenericArgsForCall(i int) *libbpfgo.BPFProg

func (*FakeImpl) AttachGenericCallCount added in v0.8.4

func (fake *FakeImpl) AttachGenericCallCount() int

func (*FakeImpl) AttachGenericCalls added in v0.8.4

func (fake *FakeImpl) AttachGenericCalls(stub func(*libbpfgo.BPFProg) (*libbpfgo.BPFLink, error))

func (*FakeImpl) AttachGenericReturns added in v0.8.4

func (fake *FakeImpl) AttachGenericReturns(result1 *libbpfgo.BPFLink, result2 error)

func (*FakeImpl) AttachGenericReturnsOnCall added in v0.8.4

func (fake *FakeImpl) AttachGenericReturnsOnCall(i int, result1 *libbpfgo.BPFLink, result2 error)

func (*FakeImpl) BPFLoadObject

func (fake *FakeImpl) BPFLoadObject(arg1 *libbpfgo.Module) error

func (*FakeImpl) BPFLoadObjectArgsForCall

func (fake *FakeImpl) BPFLoadObjectArgsForCall(i int) *libbpfgo.Module

func (*FakeImpl) BPFLoadObjectCallCount

func (fake *FakeImpl) BPFLoadObjectCallCount() int

func (*FakeImpl) BPFLoadObjectCalls

func (fake *FakeImpl) BPFLoadObjectCalls(stub func(*libbpfgo.Module) error)

func (*FakeImpl) BPFLoadObjectReturns

func (fake *FakeImpl) BPFLoadObjectReturns(result1 error)

func (*FakeImpl) BPFLoadObjectReturnsOnCall

func (fake *FakeImpl) BPFLoadObjectReturnsOnCall(i int, result1 error)

func (*FakeImpl) BpfIncClient

func (*FakeImpl) BpfIncClientArgsForCall

func (fake *FakeImpl) BpfIncClientArgsForCall(i int) api_metrics.MetricsClient

func (*FakeImpl) BpfIncClientCallCount

func (fake *FakeImpl) BpfIncClientCallCount() int

func (*FakeImpl) BpfIncClientCalls

func (fake *FakeImpl) BpfIncClientCalls(stub func(api_metrics.MetricsClient) (api_metrics.Metrics_BpfIncClient, error))

func (*FakeImpl) BpfIncClientReturns

func (fake *FakeImpl) BpfIncClientReturns(result1 api_metrics.Metrics_BpfIncClient, result2 error)

func (*FakeImpl) BpfIncClientReturnsOnCall

func (fake *FakeImpl) BpfIncClientReturnsOnCall(i int, result1 api_metrics.Metrics_BpfIncClient, result2 error)

func (*FakeImpl) Chown

func (fake *FakeImpl) Chown(arg1 string, arg2 int, arg3 int) error

func (*FakeImpl) ChownArgsForCall

func (fake *FakeImpl) ChownArgsForCall(i int) (string, int, int)

func (*FakeImpl) ChownCallCount

func (fake *FakeImpl) ChownCallCount() int

func (*FakeImpl) ChownCalls

func (fake *FakeImpl) ChownCalls(stub func(string, int, int) error)

func (*FakeImpl) ChownReturns

func (fake *FakeImpl) ChownReturns(result1 error)

func (*FakeImpl) ChownReturnsOnCall

func (fake *FakeImpl) ChownReturnsOnCall(i int, result1 error)

func (*FakeImpl) CloseGRPC

func (fake *FakeImpl) CloseGRPC(arg1 *grpc.ClientConn) error

func (*FakeImpl) CloseGRPCArgsForCall

func (fake *FakeImpl) CloseGRPCArgsForCall(i int) *grpc.ClientConn

func (*FakeImpl) CloseGRPCCallCount

func (fake *FakeImpl) CloseGRPCCallCount() int

func (*FakeImpl) CloseGRPCCalls

func (fake *FakeImpl) CloseGRPCCalls(stub func(*grpc.ClientConn) error)

func (*FakeImpl) CloseGRPCReturns

func (fake *FakeImpl) CloseGRPCReturns(result1 error)

func (*FakeImpl) CloseGRPCReturnsOnCall

func (fake *FakeImpl) CloseGRPCReturnsOnCall(i int, result1 error)

func (*FakeImpl) CloseModule

func (fake *FakeImpl) CloseModule(arg1 *libbpfgo.Module)

func (*FakeImpl) CloseModuleArgsForCall

func (fake *FakeImpl) CloseModuleArgsForCall(i int) *libbpfgo.Module

func (*FakeImpl) CloseModuleCallCount

func (fake *FakeImpl) CloseModuleCallCount() int

func (*FakeImpl) CloseModuleCalls

func (fake *FakeImpl) CloseModuleCalls(stub func(*libbpfgo.Module))

func (*FakeImpl) ContainerIDForPID

func (fake *FakeImpl) ContainerIDForPID(arg1 *ttlcache.Cache[string, string], arg2 int) (string, error)

func (*FakeImpl) ContainerIDForPIDArgsForCall

func (fake *FakeImpl) ContainerIDForPIDArgsForCall(i int) (*ttlcache.Cache[string, string], int)

func (*FakeImpl) ContainerIDForPIDCallCount

func (fake *FakeImpl) ContainerIDForPIDCallCount() int

func (*FakeImpl) ContainerIDForPIDCalls

func (fake *FakeImpl) ContainerIDForPIDCalls(stub func(*ttlcache.Cache[string, string], int) (string, error))

func (*FakeImpl) ContainerIDForPIDReturns

func (fake *FakeImpl) ContainerIDForPIDReturns(result1 string, result2 error)

func (*FakeImpl) ContainerIDForPIDReturnsOnCall

func (fake *FakeImpl) ContainerIDForPIDReturnsOnCall(i int, result1 string, result2 error)

func (*FakeImpl) DeleteKey

func (fake *FakeImpl) DeleteKey(arg1 *libbpfgo.BPFMap, arg2 uint32) error

func (*FakeImpl) DeleteKey64 added in v0.7.0

func (fake *FakeImpl) DeleteKey64(arg1 *libbpfgo.BPFMap, arg2 uint64) error

func (*FakeImpl) DeleteKey64ArgsForCall added in v0.7.0

func (fake *FakeImpl) DeleteKey64ArgsForCall(i int) (*libbpfgo.BPFMap, uint64)

func (*FakeImpl) DeleteKey64CallCount added in v0.7.0

func (fake *FakeImpl) DeleteKey64CallCount() int

func (*FakeImpl) DeleteKey64Calls added in v0.7.0

func (fake *FakeImpl) DeleteKey64Calls(stub func(*libbpfgo.BPFMap, uint64) error)

func (*FakeImpl) DeleteKey64Returns added in v0.7.0

func (fake *FakeImpl) DeleteKey64Returns(result1 error)

func (*FakeImpl) DeleteKey64ReturnsOnCall added in v0.7.0

func (fake *FakeImpl) DeleteKey64ReturnsOnCall(i int, result1 error)

func (*FakeImpl) DeleteKeyArgsForCall

func (fake *FakeImpl) DeleteKeyArgsForCall(i int) (*libbpfgo.BPFMap, uint32)

func (*FakeImpl) DeleteKeyCallCount

func (fake *FakeImpl) DeleteKeyCallCount() int

func (*FakeImpl) DeleteKeyCalls

func (fake *FakeImpl) DeleteKeyCalls(stub func(*libbpfgo.BPFMap, uint32) error)

func (*FakeImpl) DeleteKeyReturns

func (fake *FakeImpl) DeleteKeyReturns(result1 error)

func (*FakeImpl) DeleteKeyReturnsOnCall

func (fake *FakeImpl) DeleteKeyReturnsOnCall(i int, result1 error)

func (*FakeImpl) DialMetrics

func (fake *FakeImpl) DialMetrics() (*grpc.ClientConn, context.CancelFunc, error)

func (*FakeImpl) DialMetricsCallCount

func (fake *FakeImpl) DialMetricsCallCount() int

func (*FakeImpl) DialMetricsCalls

func (fake *FakeImpl) DialMetricsCalls(stub func() (*grpc.ClientConn, context.CancelFunc, error))

func (*FakeImpl) DialMetricsReturns

func (fake *FakeImpl) DialMetricsReturns(result1 *grpc.ClientConn, result2 context.CancelFunc, result3 error)

func (*FakeImpl) DialMetricsReturnsOnCall

func (fake *FakeImpl) DialMetricsReturnsOnCall(i int, result1 *grpc.ClientConn, result2 context.CancelFunc, result3 error)

func (*FakeImpl) GetMap

func (fake *FakeImpl) GetMap(arg1 *libbpfgo.Module, arg2 string) (*libbpfgo.BPFMap, error)

func (*FakeImpl) GetMapArgsForCall

func (fake *FakeImpl) GetMapArgsForCall(i int) (*libbpfgo.Module, string)

func (*FakeImpl) GetMapCallCount

func (fake *FakeImpl) GetMapCallCount() int

func (*FakeImpl) GetMapCalls

func (fake *FakeImpl) GetMapCalls(stub func(*libbpfgo.Module, string) (*libbpfgo.BPFMap, error))

func (*FakeImpl) GetMapReturns

func (fake *FakeImpl) GetMapReturns(result1 *libbpfgo.BPFMap, result2 error)

func (*FakeImpl) GetMapReturnsOnCall

func (fake *FakeImpl) GetMapReturnsOnCall(i int, result1 *libbpfgo.BPFMap, result2 error)

func (*FakeImpl) GetName

func (fake *FakeImpl) GetName(arg1 seccomp.ScmpSyscall) (string, error)

func (*FakeImpl) GetNameArgsForCall

func (fake *FakeImpl) GetNameArgsForCall(i int) seccomp.ScmpSyscall

func (*FakeImpl) GetNameCallCount

func (fake *FakeImpl) GetNameCallCount() int

func (*FakeImpl) GetNameCalls

func (fake *FakeImpl) GetNameCalls(stub func(seccomp.ScmpSyscall) (string, error))

func (*FakeImpl) GetNameReturns

func (fake *FakeImpl) GetNameReturns(result1 string, result2 error)

func (*FakeImpl) GetNameReturnsOnCall

func (fake *FakeImpl) GetNameReturnsOnCall(i int, result1 string, result2 error)

func (*FakeImpl) GetProgram

func (fake *FakeImpl) GetProgram(arg1 *libbpfgo.Module, arg2 string) (*libbpfgo.BPFProg, error)

func (*FakeImpl) GetProgramArgsForCall

func (fake *FakeImpl) GetProgramArgsForCall(i int) (*libbpfgo.Module, string)

func (*FakeImpl) GetProgramCallCount

func (fake *FakeImpl) GetProgramCallCount() int

func (*FakeImpl) GetProgramCalls

func (fake *FakeImpl) GetProgramCalls(stub func(*libbpfgo.Module, string) (*libbpfgo.BPFProg, error))

func (*FakeImpl) GetProgramReturns

func (fake *FakeImpl) GetProgramReturns(result1 *libbpfgo.BPFProg, result2 error)

func (*FakeImpl) GetProgramReturnsOnCall

func (fake *FakeImpl) GetProgramReturnsOnCall(i int, result1 *libbpfgo.BPFProg, result2 error)

func (*FakeImpl) GetValue

func (fake *FakeImpl) GetValue(arg1 *libbpfgo.BPFMap, arg2 uint32) ([]byte, error)

func (*FakeImpl) GetValue64 added in v0.7.0

func (fake *FakeImpl) GetValue64(arg1 *libbpfgo.BPFMap, arg2 uint64) ([]byte, error)

func (*FakeImpl) GetValue64ArgsForCall added in v0.7.0

func (fake *FakeImpl) GetValue64ArgsForCall(i int) (*libbpfgo.BPFMap, uint64)

func (*FakeImpl) GetValue64CallCount added in v0.7.0

func (fake *FakeImpl) GetValue64CallCount() int

func (*FakeImpl) GetValue64Calls added in v0.7.0

func (fake *FakeImpl) GetValue64Calls(stub func(*libbpfgo.BPFMap, uint64) ([]byte, error))

func (*FakeImpl) GetValue64Returns added in v0.7.0

func (fake *FakeImpl) GetValue64Returns(result1 []byte, result2 error)

func (*FakeImpl) GetValue64ReturnsOnCall added in v0.7.0

func (fake *FakeImpl) GetValue64ReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeImpl) GetValueArgsForCall

func (fake *FakeImpl) GetValueArgsForCall(i int) (*libbpfgo.BPFMap, uint32)

func (*FakeImpl) GetValueCallCount

func (fake *FakeImpl) GetValueCallCount() int

func (*FakeImpl) GetValueCalls

func (fake *FakeImpl) GetValueCalls(stub func(*libbpfgo.BPFMap, uint32) ([]byte, error))

func (*FakeImpl) GetValueReturns

func (fake *FakeImpl) GetValueReturns(result1 []byte, result2 error)

func (*FakeImpl) GetValueReturnsOnCall

func (fake *FakeImpl) GetValueReturnsOnCall(i int, result1 []byte, result2 error)

func (*FakeImpl) Getenv

func (fake *FakeImpl) Getenv(arg1 string) string

func (*FakeImpl) GetenvArgsForCall

func (fake *FakeImpl) GetenvArgsForCall(i int) string

func (*FakeImpl) GetenvCallCount

func (fake *FakeImpl) GetenvCallCount() int

func (*FakeImpl) GetenvCalls

func (fake *FakeImpl) GetenvCalls(stub func(string) string)

func (*FakeImpl) GetenvReturns

func (fake *FakeImpl) GetenvReturns(result1 string)

func (*FakeImpl) GetenvReturnsOnCall

func (fake *FakeImpl) GetenvReturnsOnCall(i int, result1 string)

func (*FakeImpl) GoArch

func (fake *FakeImpl) GoArch() string

func (*FakeImpl) GoArchCallCount

func (fake *FakeImpl) GoArchCallCount() int

func (*FakeImpl) GoArchCalls

func (fake *FakeImpl) GoArchCalls(stub func() string)

func (*FakeImpl) GoArchReturns

func (fake *FakeImpl) GoArchReturns(result1 string)

func (*FakeImpl) GoArchReturnsOnCall

func (fake *FakeImpl) GoArchReturnsOnCall(i int, result1 string)

func (*FakeImpl) InClusterConfig

func (fake *FakeImpl) InClusterConfig() (*rest.Config, error)

func (*FakeImpl) InClusterConfigCallCount

func (fake *FakeImpl) InClusterConfigCallCount() int

func (*FakeImpl) InClusterConfigCalls

func (fake *FakeImpl) InClusterConfigCalls(stub func() (*rest.Config, error))

func (*FakeImpl) InClusterConfigReturns

func (fake *FakeImpl) InClusterConfigReturns(result1 *rest.Config, result2 error)

func (*FakeImpl) InClusterConfigReturnsOnCall

func (fake *FakeImpl) InClusterConfigReturnsOnCall(i int, result1 *rest.Config, result2 error)

func (*FakeImpl) InitGlobalVariable added in v0.7.0

func (fake *FakeImpl) InitGlobalVariable(arg1 *libbpfgo.Module, arg2 string, arg3 interface{}) error

func (*FakeImpl) InitGlobalVariableArgsForCall added in v0.7.0

func (fake *FakeImpl) InitGlobalVariableArgsForCall(i int) (*libbpfgo.Module, string, interface{})

func (*FakeImpl) InitGlobalVariableCallCount added in v0.7.0

func (fake *FakeImpl) InitGlobalVariableCallCount() int

func (*FakeImpl) InitGlobalVariableCalls added in v0.7.0

func (fake *FakeImpl) InitGlobalVariableCalls(stub func(*libbpfgo.Module, string, interface{}) error)

func (*FakeImpl) InitGlobalVariableReturns added in v0.7.0

func (fake *FakeImpl) InitGlobalVariableReturns(result1 error)

func (*FakeImpl) InitGlobalVariableReturnsOnCall added in v0.7.0

func (fake *FakeImpl) InitGlobalVariableReturnsOnCall(i int, result1 error)

func (*FakeImpl) InitRingBuf

func (fake *FakeImpl) InitRingBuf(arg1 *libbpfgo.Module, arg2 string, arg3 chan []byte) (*libbpfgo.RingBuffer, error)

func (*FakeImpl) InitRingBufArgsForCall

func (fake *FakeImpl) InitRingBufArgsForCall(i int) (*libbpfgo.Module, string, chan []byte)

func (*FakeImpl) InitRingBufCallCount

func (fake *FakeImpl) InitRingBufCallCount() int

func (*FakeImpl) InitRingBufCalls

func (fake *FakeImpl) InitRingBufCalls(stub func(*libbpfgo.Module, string, chan []byte) (*libbpfgo.RingBuffer, error))

func (*FakeImpl) InitRingBufReturns

func (fake *FakeImpl) InitRingBufReturns(result1 *libbpfgo.RingBuffer, result2 error)

func (*FakeImpl) InitRingBufReturnsOnCall

func (fake *FakeImpl) InitRingBufReturnsOnCall(i int, result1 *libbpfgo.RingBuffer, result2 error)

func (*FakeImpl) Invocations

func (fake *FakeImpl) Invocations() map[string][][]interface{}

func (*FakeImpl) ListPods

func (fake *FakeImpl) ListPods(arg1 context.Context, arg2 *kubernetes.Clientset, arg3 string) (*v1.PodList, error)

func (*FakeImpl) ListPodsArgsForCall

func (fake *FakeImpl) ListPodsArgsForCall(i int) (context.Context, *kubernetes.Clientset, string)

func (*FakeImpl) ListPodsCallCount

func (fake *FakeImpl) ListPodsCallCount() int

func (*FakeImpl) ListPodsCalls

func (fake *FakeImpl) ListPodsCalls(stub func(context.Context, *kubernetes.Clientset, string) (*v1.PodList, error))

func (*FakeImpl) ListPodsReturns

func (fake *FakeImpl) ListPodsReturns(result1 *v1.PodList, result2 error)

func (*FakeImpl) ListPodsReturnsOnCall

func (fake *FakeImpl) ListPodsReturnsOnCall(i int, result1 *v1.PodList, result2 error)

func (*FakeImpl) Listen

func (fake *FakeImpl) Listen(arg1 string, arg2 string) (net.Listener, error)

func (*FakeImpl) ListenArgsForCall

func (fake *FakeImpl) ListenArgsForCall(i int) (string, string)

func (*FakeImpl) ListenCallCount

func (fake *FakeImpl) ListenCallCount() int

func (*FakeImpl) ListenCalls

func (fake *FakeImpl) ListenCalls(stub func(string, string) (net.Listener, error))

func (*FakeImpl) ListenReturns

func (fake *FakeImpl) ListenReturns(result1 net.Listener, result2 error)

func (*FakeImpl) ListenReturnsOnCall

func (fake *FakeImpl) ListenReturnsOnCall(i int, result1 net.Listener, result2 error)

func (*FakeImpl) NewForConfig

func (fake *FakeImpl) NewForConfig(arg1 *rest.Config) (*kubernetes.Clientset, error)

func (*FakeImpl) NewForConfigArgsForCall

func (fake *FakeImpl) NewForConfigArgsForCall(i int) *rest.Config

func (*FakeImpl) NewForConfigCallCount

func (fake *FakeImpl) NewForConfigCallCount() int

func (*FakeImpl) NewForConfigCalls

func (fake *FakeImpl) NewForConfigCalls(stub func(*rest.Config) (*kubernetes.Clientset, error))

func (*FakeImpl) NewForConfigReturns

func (fake *FakeImpl) NewForConfigReturns(result1 *kubernetes.Clientset, result2 error)

func (*FakeImpl) NewForConfigReturnsOnCall

func (fake *FakeImpl) NewForConfigReturnsOnCall(i int, result1 *kubernetes.Clientset, result2 error)

func (*FakeImpl) NewModuleFromBufferArgs

func (fake *FakeImpl) NewModuleFromBufferArgs(arg1 *libbpfgo.NewModuleArgs) (*libbpfgo.Module, error)

func (*FakeImpl) NewModuleFromBufferArgsArgsForCall

func (fake *FakeImpl) NewModuleFromBufferArgsArgsForCall(i int) *libbpfgo.NewModuleArgs

func (*FakeImpl) NewModuleFromBufferArgsCallCount

func (fake *FakeImpl) NewModuleFromBufferArgsCallCount() int

func (*FakeImpl) NewModuleFromBufferArgsCalls

func (fake *FakeImpl) NewModuleFromBufferArgsCalls(stub func(*libbpfgo.NewModuleArgs) (*libbpfgo.Module, error))

func (*FakeImpl) NewModuleFromBufferArgsReturns

func (fake *FakeImpl) NewModuleFromBufferArgsReturns(result1 *libbpfgo.Module, result2 error)

func (*FakeImpl) NewModuleFromBufferArgsReturnsOnCall

func (fake *FakeImpl) NewModuleFromBufferArgsReturnsOnCall(i int, result1 *libbpfgo.Module, result2 error)

func (*FakeImpl) ParseUint added in v0.7.0

func (fake *FakeImpl) ParseUint(arg1 string) (uint32, error)

func (*FakeImpl) ParseUintArgsForCall added in v0.7.0

func (fake *FakeImpl) ParseUintArgsForCall(i int) string

func (*FakeImpl) ParseUintCallCount added in v0.7.0

func (fake *FakeImpl) ParseUintCallCount() int

func (*FakeImpl) ParseUintCalls added in v0.7.0

func (fake *FakeImpl) ParseUintCalls(stub func(string) (uint32, error))

func (*FakeImpl) ParseUintReturns added in v0.7.0

func (fake *FakeImpl) ParseUintReturns(result1 uint32, result2 error)

func (*FakeImpl) ParseUintReturnsOnCall added in v0.7.0

func (fake *FakeImpl) ParseUintReturnsOnCall(i int, result1 uint32, result2 error)

func (*FakeImpl) PollRingBuffer added in v0.8.1

func (fake *FakeImpl) PollRingBuffer(arg1 *libbpfgo.RingBuffer, arg2 int)

func (*FakeImpl) PollRingBufferArgsForCall added in v0.8.1

func (fake *FakeImpl) PollRingBufferArgsForCall(i int) (*libbpfgo.RingBuffer, int)

func (*FakeImpl) PollRingBufferCallCount added in v0.8.1

func (fake *FakeImpl) PollRingBufferCallCount() int

func (*FakeImpl) PollRingBufferCalls added in v0.8.1

func (fake *FakeImpl) PollRingBufferCalls(stub func(*libbpfgo.RingBuffer, int))

func (*FakeImpl) ReadOSRelease

func (fake *FakeImpl) ReadOSRelease() (map[string]string, error)

func (*FakeImpl) ReadOSReleaseCallCount

func (fake *FakeImpl) ReadOSReleaseCallCount() int

func (*FakeImpl) ReadOSReleaseCalls

func (fake *FakeImpl) ReadOSReleaseCalls(stub func() (map[string]string, error))

func (*FakeImpl) ReadOSReleaseReturns

func (fake *FakeImpl) ReadOSReleaseReturns(result1 map[string]string, result2 error)

func (*FakeImpl) ReadOSReleaseReturnsOnCall

func (fake *FakeImpl) ReadOSReleaseReturnsOnCall(i int, result1 map[string]string, result2 error)
func (fake *FakeImpl) Readlink(arg1 string) (string, error)

func (*FakeImpl) ReadlinkArgsForCall

func (fake *FakeImpl) ReadlinkArgsForCall(i int) string

func (*FakeImpl) ReadlinkCallCount

func (fake *FakeImpl) ReadlinkCallCount() int

func (*FakeImpl) ReadlinkCalls

func (fake *FakeImpl) ReadlinkCalls(stub func(string) (string, error))

func (*FakeImpl) ReadlinkReturns

func (fake *FakeImpl) ReadlinkReturns(result1 string, result2 error)

func (*FakeImpl) ReadlinkReturnsOnCall

func (fake *FakeImpl) ReadlinkReturnsOnCall(i int, result1 string, result2 error)

func (*FakeImpl) RemoveAll

func (fake *FakeImpl) RemoveAll(arg1 string) error

func (*FakeImpl) RemoveAllArgsForCall

func (fake *FakeImpl) RemoveAllArgsForCall(i int) string

func (*FakeImpl) RemoveAllCallCount

func (fake *FakeImpl) RemoveAllCallCount() int

func (*FakeImpl) RemoveAllCalls

func (fake *FakeImpl) RemoveAllCalls(stub func(string) error)

func (*FakeImpl) RemoveAllReturns

func (fake *FakeImpl) RemoveAllReturns(result1 error)

func (*FakeImpl) RemoveAllReturnsOnCall

func (fake *FakeImpl) RemoveAllReturnsOnCall(i int, result1 error)

func (*FakeImpl) SendMetric

func (fake *FakeImpl) SendMetric(arg1 api_metrics.Metrics_BpfIncClient, arg2 *api_metrics.BpfRequest) error

func (*FakeImpl) SendMetricArgsForCall

func (fake *FakeImpl) SendMetricArgsForCall(i int) (api_metrics.Metrics_BpfIncClient, *api_metrics.BpfRequest)

func (*FakeImpl) SendMetricCallCount

func (fake *FakeImpl) SendMetricCallCount() int

func (*FakeImpl) SendMetricCalls

func (fake *FakeImpl) SendMetricCalls(stub func(api_metrics.Metrics_BpfIncClient, *api_metrics.BpfRequest) error)

func (*FakeImpl) SendMetricReturns

func (fake *FakeImpl) SendMetricReturns(result1 error)

func (*FakeImpl) SendMetricReturnsOnCall

func (fake *FakeImpl) SendMetricReturnsOnCall(i int, result1 error)

func (*FakeImpl) Serve

func (fake *FakeImpl) Serve(arg1 *grpc.Server, arg2 net.Listener) error

func (*FakeImpl) ServeArgsForCall

func (fake *FakeImpl) ServeArgsForCall(i int) (*grpc.Server, net.Listener)

func (*FakeImpl) ServeCallCount

func (fake *FakeImpl) ServeCallCount() int

func (*FakeImpl) ServeCalls

func (fake *FakeImpl) ServeCalls(stub func(*grpc.Server, net.Listener) error)

func (*FakeImpl) ServeReturns

func (fake *FakeImpl) ServeReturns(result1 error)

func (*FakeImpl) ServeReturnsOnCall

func (fake *FakeImpl) ServeReturnsOnCall(i int, result1 error)

func (*FakeImpl) Stat

func (fake *FakeImpl) Stat(arg1 string) (fs.FileInfo, error)

func (*FakeImpl) StatArgsForCall

func (fake *FakeImpl) StatArgsForCall(i int) string

func (*FakeImpl) StatCallCount

func (fake *FakeImpl) StatCallCount() int

func (*FakeImpl) StatCalls

func (fake *FakeImpl) StatCalls(stub func(string) (fs.FileInfo, error))

func (*FakeImpl) StatReturns

func (fake *FakeImpl) StatReturns(result1 fs.FileInfo, result2 error)

func (*FakeImpl) StatReturnsOnCall

func (fake *FakeImpl) StatReturnsOnCall(i int, result1 fs.FileInfo, result2 error)

func (*FakeImpl) TempFile

func (fake *FakeImpl) TempFile(arg1 string, arg2 string) (*os.File, error)

func (*FakeImpl) TempFileArgsForCall

func (fake *FakeImpl) TempFileArgsForCall(i int) (string, string)

func (*FakeImpl) TempFileCallCount

func (fake *FakeImpl) TempFileCallCount() int

func (*FakeImpl) TempFileCalls

func (fake *FakeImpl) TempFileCalls(stub func(string, string) (*os.File, error))

func (*FakeImpl) TempFileReturns

func (fake *FakeImpl) TempFileReturns(result1 *os.File, result2 error)

func (*FakeImpl) TempFileReturnsOnCall

func (fake *FakeImpl) TempFileReturnsOnCall(i int, result1 *os.File, result2 error)

func (*FakeImpl) Uname

func (fake *FakeImpl) Uname(arg1 *syscall.Utsname) error

func (*FakeImpl) UnameArgsForCall

func (fake *FakeImpl) UnameArgsForCall(i int) *syscall.Utsname

func (*FakeImpl) UnameCallCount

func (fake *FakeImpl) UnameCallCount() int

func (*FakeImpl) UnameCalls

func (fake *FakeImpl) UnameCalls(stub func(*syscall.Utsname) error)

func (*FakeImpl) UnameReturns

func (fake *FakeImpl) UnameReturns(result1 error)

func (*FakeImpl) UnameReturnsOnCall

func (fake *FakeImpl) UnameReturnsOnCall(i int, result1 error)

func (*FakeImpl) Unmarshal

func (fake *FakeImpl) Unmarshal(arg1 []byte, arg2 interface{}) error

func (*FakeImpl) UnmarshalArgsForCall

func (fake *FakeImpl) UnmarshalArgsForCall(i int) ([]byte, interface{})

func (*FakeImpl) UnmarshalCallCount

func (fake *FakeImpl) UnmarshalCallCount() int

func (*FakeImpl) UnmarshalCalls

func (fake *FakeImpl) UnmarshalCalls(stub func([]byte, interface{}) error)

func (*FakeImpl) UnmarshalReturns

func (fake *FakeImpl) UnmarshalReturns(result1 error)

func (*FakeImpl) UnmarshalReturnsOnCall

func (fake *FakeImpl) UnmarshalReturnsOnCall(i int, result1 error)

func (*FakeImpl) UpdateValue added in v0.5.0

func (fake *FakeImpl) UpdateValue(arg1 *libbpfgo.BPFMap, arg2 uint32, arg3 []byte) error

func (*FakeImpl) UpdateValue64 added in v0.7.0

func (fake *FakeImpl) UpdateValue64(arg1 *libbpfgo.BPFMap, arg2 uint64, arg3 []byte) error

func (*FakeImpl) UpdateValue64ArgsForCall added in v0.7.0

func (fake *FakeImpl) UpdateValue64ArgsForCall(i int) (*libbpfgo.BPFMap, uint64, []byte)

func (*FakeImpl) UpdateValue64CallCount added in v0.7.0

func (fake *FakeImpl) UpdateValue64CallCount() int

func (*FakeImpl) UpdateValue64Calls added in v0.7.0

func (fake *FakeImpl) UpdateValue64Calls(stub func(*libbpfgo.BPFMap, uint64, []byte) error)

func (*FakeImpl) UpdateValue64Returns added in v0.7.0

func (fake *FakeImpl) UpdateValue64Returns(result1 error)

func (*FakeImpl) UpdateValue64ReturnsOnCall added in v0.7.0

func (fake *FakeImpl) UpdateValue64ReturnsOnCall(i int, result1 error)

func (*FakeImpl) UpdateValueArgsForCall added in v0.5.0

func (fake *FakeImpl) UpdateValueArgsForCall(i int) (*libbpfgo.BPFMap, uint32, []byte)

func (*FakeImpl) UpdateValueCallCount added in v0.5.0

func (fake *FakeImpl) UpdateValueCallCount() int

func (*FakeImpl) UpdateValueCalls added in v0.5.0

func (fake *FakeImpl) UpdateValueCalls(stub func(*libbpfgo.BPFMap, uint32, []byte) error)

func (*FakeImpl) UpdateValueReturns added in v0.5.0

func (fake *FakeImpl) UpdateValueReturns(result1 error)

func (*FakeImpl) UpdateValueReturnsOnCall added in v0.5.0

func (fake *FakeImpl) UpdateValueReturnsOnCall(i int, result1 error)

func (*FakeImpl) Write

func (fake *FakeImpl) Write(arg1 *os.File, arg2 []byte) (int, error)

func (*FakeImpl) WriteArgsForCall

func (fake *FakeImpl) WriteArgsForCall(i int) (*os.File, []byte)

func (*FakeImpl) WriteCallCount

func (fake *FakeImpl) WriteCallCount() int

func (*FakeImpl) WriteCalls

func (fake *FakeImpl) WriteCalls(stub func(*os.File, []byte) (int, error))

func (*FakeImpl) WriteReturns

func (fake *FakeImpl) WriteReturns(result1 int, result2 error)

func (*FakeImpl) WriteReturnsOnCall

func (fake *FakeImpl) WriteReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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