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