mock_cgnetcls

package
Version: v1.0.72 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: GPL-2.0 Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto