Documentation

Overview

nolint

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCgroupnetcls

type MockCgroupnetcls struct {
	// contains filtered or unexported fields
}

Mock of Cgroupnetcls interface

func NewMockCgroupnetcls

func NewMockCgroupnetcls(ctrl *gomock.Controller) *MockCgroupnetcls

func (*MockCgroupnetcls) AddProcess

func (_m *MockCgroupnetcls) AddProcess(cgroupname string, pid int) error

func (*MockCgroupnetcls) AssignMark

func (_m *MockCgroupnetcls) AssignMark(cgroupname string, mark uint64) error

func (*MockCgroupnetcls) Creategroup

func (_m *MockCgroupnetcls) Creategroup(cgroupname string) error

func (*MockCgroupnetcls) DeleteCgroup

func (_m *MockCgroupnetcls) DeleteCgroup(cgroupname string) error

func (*MockCgroupnetcls) Deletebasepath

func (_m *MockCgroupnetcls) Deletebasepath(contextID string) bool

func (*MockCgroupnetcls) EXPECT

func (_m *MockCgroupnetcls) EXPECT() *_MockCgroupnetclsRecorder

func (*MockCgroupnetcls) RemoveProcess

func (_m *MockCgroupnetcls) RemoveProcess(cgroupname string, pid int) error