mock_cgroup

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2018 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockControl

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

Mock of Control interface

func NewMockControl

func NewMockControl(ctrl *gomock.Controller) *MockControl

func (*MockControl) Create

func (_m *MockControl) Create(_param0 *cgroup.Spec) (cgroups.Cgroup, error)

func (*MockControl) EXPECT

func (_m *MockControl) EXPECT() *_MockControlRecorder

func (*MockControl) Exists

func (_m *MockControl) Exists(_param0 string) bool

func (*MockControl) Init

func (_m *MockControl) Init() error

func (*MockControl) Remove

func (_m *MockControl) Remove(_param0 string) error

Jump to

Keyboard shortcuts

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