kubernetes/pkg/proxy/util/nfacct/nfacct_linux_test.go

type fakeHandler

// newRequest creates a request object with the given cmd, flags, predefined response and error.
// It additionally records the created request object.
func (fh *fakeHandler) newRequest(cmd int, flags uint16) request {}

type fakeRequest

// Serialize is part of request interface.
func (fr *fakeRequest) Serialize() []byte {}

// AddData is part of request interface.
func (fr *fakeRequest) AddData(data nl.NetlinkRequestData) {}

// AddRawData is part of request interface.
func (fr *fakeRequest) AddRawData(_ []byte) {}

// Execute is part of request interface.
func (fr *fakeRequest) Execute(_ int, _ uint16) ([][]byte, error) {}

func TestRunner_Add(t *testing.T) {}

func TestRunner_Get(t *testing.T) {}

func TestRunner_Ensure(t *testing.T) {}

func TestRunner_List(t *testing.T) {}

func TestDecode(t *testing.T) {}