Documentation ¶
Overview ¶
Package mockcgnetcls is a generated GoMock package.
Index ¶
- type MockCgroupnetcls
- func (m *MockCgroupnetcls) AddProcess(cgroupname string, pid int) error
- func (m *MockCgroupnetcls) AssignMark(cgroupname string, mark uint64) error
- func (m *MockCgroupnetcls) Creategroup(cgroupname string) error
- func (m *MockCgroupnetcls) DeleteCgroup(cgroupname string) error
- func (m *MockCgroupnetcls) Deletebasepath(contextID string) bool
- func (m *MockCgroupnetcls) EXPECT() *MockCgroupnetclsMockRecorder
- func (m *MockCgroupnetcls) RemoveProcess(cgroupname string, pid int) error
- type MockCgroupnetclsMockRecorder
- func (mr *MockCgroupnetclsMockRecorder) AddProcess(cgroupname, pid interface{}) *gomock.Call
- func (mr *MockCgroupnetclsMockRecorder) AssignMark(cgroupname, mark interface{}) *gomock.Call
- func (mr *MockCgroupnetclsMockRecorder) Creategroup(cgroupname interface{}) *gomock.Call
- func (mr *MockCgroupnetclsMockRecorder) DeleteCgroup(cgroupname interface{}) *gomock.Call
- func (mr *MockCgroupnetclsMockRecorder) Deletebasepath(contextID interface{}) *gomock.Call
- func (mr *MockCgroupnetclsMockRecorder) RemoveProcess(cgroupname, pid interface{}) *gomock.Call
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
}
MockCgroupnetcls is a mock of Cgroupnetcls interface nolint
func NewMockCgroupnetcls ¶
func NewMockCgroupnetcls(ctrl *gomock.Controller) *MockCgroupnetcls
NewMockCgroupnetcls creates a new mock instance nolint
func (*MockCgroupnetcls) AddProcess ¶
func (m *MockCgroupnetcls) AddProcess(cgroupname string, pid int) error
AddProcess mocks base method nolint
func (*MockCgroupnetcls) AssignMark ¶
func (m *MockCgroupnetcls) AssignMark(cgroupname string, mark uint64) error
AssignMark mocks base method nolint
func (*MockCgroupnetcls) Creategroup ¶
func (m *MockCgroupnetcls) Creategroup(cgroupname string) error
Creategroup mocks base method nolint
func (*MockCgroupnetcls) DeleteCgroup ¶
func (m *MockCgroupnetcls) DeleteCgroup(cgroupname string) error
DeleteCgroup mocks base method nolint
func (*MockCgroupnetcls) Deletebasepath ¶
func (m *MockCgroupnetcls) Deletebasepath(contextID string) bool
Deletebasepath mocks base method nolint
func (*MockCgroupnetcls) EXPECT ¶
func (m *MockCgroupnetcls) EXPECT() *MockCgroupnetclsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use nolint
func (*MockCgroupnetcls) RemoveProcess ¶
func (m *MockCgroupnetcls) RemoveProcess(cgroupname string, pid int) error
RemoveProcess mocks base method nolint
type MockCgroupnetclsMockRecorder ¶
type MockCgroupnetclsMockRecorder struct {
// contains filtered or unexported fields
}
MockCgroupnetclsMockRecorder is the mock recorder for MockCgroupnetcls nolint
func (*MockCgroupnetclsMockRecorder) AddProcess ¶
func (mr *MockCgroupnetclsMockRecorder) AddProcess(cgroupname, pid interface{}) *gomock.Call
AddProcess indicates an expected call of AddProcess nolint
func (*MockCgroupnetclsMockRecorder) AssignMark ¶
func (mr *MockCgroupnetclsMockRecorder) AssignMark(cgroupname, mark interface{}) *gomock.Call
AssignMark indicates an expected call of AssignMark nolint
func (*MockCgroupnetclsMockRecorder) Creategroup ¶
func (mr *MockCgroupnetclsMockRecorder) Creategroup(cgroupname interface{}) *gomock.Call
Creategroup indicates an expected call of Creategroup nolint
func (*MockCgroupnetclsMockRecorder) DeleteCgroup ¶
func (mr *MockCgroupnetclsMockRecorder) DeleteCgroup(cgroupname interface{}) *gomock.Call
DeleteCgroup indicates an expected call of DeleteCgroup nolint
func (*MockCgroupnetclsMockRecorder) Deletebasepath ¶
func (mr *MockCgroupnetclsMockRecorder) Deletebasepath(contextID interface{}) *gomock.Call
Deletebasepath indicates an expected call of Deletebasepath nolint
func (*MockCgroupnetclsMockRecorder) RemoveProcess ¶
func (mr *MockCgroupnetclsMockRecorder) RemoveProcess(cgroupname, pid interface{}) *gomock.Call
RemoveProcess indicates an expected call of RemoveProcess nolint