mockcgnetcls

package
v10.352.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mockcgnetcls is a generated GoMock package.

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
}

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) AssignRootMark

func (m *MockCgroupnetcls) AssignRootMark(mark uint64) error

AssignRootMark 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

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

func (*MockCgroupnetcls) ListAllCgroups

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

ListAllCgroups mocks base method nolint

func (*MockCgroupnetcls) ListCgroupProcesses

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

ListCgroupProcesses mocks base method 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) AssignRootMark

func (mr *MockCgroupnetclsMockRecorder) AssignRootMark(mark interface{}) *gomock.Call

AssignRootMark indicates an expected call of AssignRootMark 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) ListAllCgroups

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

ListAllCgroups indicates an expected call of ListAllCgroups nolint

func (*MockCgroupnetclsMockRecorder) ListCgroupProcesses

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

ListCgroupProcesses indicates an expected call of ListCgroupProcesses nolint

func (*MockCgroupnetclsMockRecorder) RemoveProcess

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

RemoveProcess indicates an expected call of RemoveProcess nolint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL