trireme-lib: go.aporeto.io/trireme-lib/utils/cgnetcls/mockcgnetcls Index | Files

package mockcgnetcls

import "go.aporeto.io/trireme-lib/utils/cgnetcls/mockcgnetcls"

Package mockcgnetcls is a generated GoMock package.

Index

Package Files

mockcgnetcls.go

type MockCgroupnetcls Uses

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

MockCgroupnetcls is a mock of Cgroupnetcls interface nolint

func NewMockCgroupnetcls Uses

func NewMockCgroupnetcls(ctrl *gomock.Controller) *MockCgroupnetcls

NewMockCgroupnetcls creates a new mock instance nolint

func (*MockCgroupnetcls) AddProcess Uses

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

AddProcess mocks base method nolint

func (*MockCgroupnetcls) AssignMark Uses

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

AssignMark mocks base method nolint

func (*MockCgroupnetcls) Creategroup Uses

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

Creategroup mocks base method nolint

func (*MockCgroupnetcls) DeleteCgroup Uses

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

DeleteCgroup mocks base method nolint

func (*MockCgroupnetcls) Deletebasepath Uses

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

Deletebasepath mocks base method nolint

func (*MockCgroupnetcls) EXPECT Uses

func (m *MockCgroupnetcls) EXPECT() *MockCgroupnetclsMockRecorder

EXPECT returns an object that allows the caller to indicate expected use nolint

func (*MockCgroupnetcls) ListAllCgroups Uses

func (m *MockCgroupnetcls) ListAllCgroups(path string) []string

ListAllCgroups mocks base method nolint

func (*MockCgroupnetcls) ListCgroupProcesses Uses

func (m *MockCgroupnetcls) ListCgroupProcesses(cgroupname string) ([]string, error)

ListCgroupProcesses mocks base method nolint

func (*MockCgroupnetcls) RemoveProcess Uses

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

RemoveProcess mocks base method nolint

type MockCgroupnetclsMockRecorder Uses

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

MockCgroupnetclsMockRecorder is the mock recorder for MockCgroupnetcls nolint

func (*MockCgroupnetclsMockRecorder) AddProcess Uses

func (mr *MockCgroupnetclsMockRecorder) AddProcess(cgroupname, pid interface{}) *gomock.Call

AddProcess indicates an expected call of AddProcess nolint

func (*MockCgroupnetclsMockRecorder) AssignMark Uses

func (mr *MockCgroupnetclsMockRecorder) AssignMark(cgroupname, mark interface{}) *gomock.Call

AssignMark indicates an expected call of AssignMark nolint

func (*MockCgroupnetclsMockRecorder) Creategroup Uses

func (mr *MockCgroupnetclsMockRecorder) Creategroup(cgroupname interface{}) *gomock.Call

Creategroup indicates an expected call of Creategroup nolint

func (*MockCgroupnetclsMockRecorder) DeleteCgroup Uses

func (mr *MockCgroupnetclsMockRecorder) DeleteCgroup(cgroupname interface{}) *gomock.Call

DeleteCgroup indicates an expected call of DeleteCgroup nolint

func (*MockCgroupnetclsMockRecorder) Deletebasepath Uses

func (mr *MockCgroupnetclsMockRecorder) Deletebasepath(contextID interface{}) *gomock.Call

Deletebasepath indicates an expected call of Deletebasepath nolint

func (*MockCgroupnetclsMockRecorder) ListAllCgroups Uses

func (mr *MockCgroupnetclsMockRecorder) ListAllCgroups(path interface{}) *gomock.Call

ListAllCgroups indicates an expected call of ListAllCgroups nolint

func (*MockCgroupnetclsMockRecorder) ListCgroupProcesses Uses

func (mr *MockCgroupnetclsMockRecorder) ListCgroupProcesses(cgroupname interface{}) *gomock.Call

ListCgroupProcesses indicates an expected call of ListCgroupProcesses nolint

func (*MockCgroupnetclsMockRecorder) RemoveProcess Uses

func (mr *MockCgroupnetclsMockRecorder) RemoveProcess(cgroupname, pid interface{}) *gomock.Call

RemoveProcess indicates an expected call of RemoveProcess nolint

Package mockcgnetcls imports 2 packages (graph). Updated 2018-07-18. Refresh now. Tools for package owners.