mock_factory

package
v1.17.1 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 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 MockCgroupFactory

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

Mock of CgroupFactory interface

func NewMockCgroupFactory

func NewMockCgroupFactory(ctrl *gomock.Controller) *MockCgroupFactory

func (*MockCgroupFactory) EXPECT

func (_m *MockCgroupFactory) EXPECT() *_MockCgroupFactoryRecorder

func (*MockCgroupFactory) Load

func (_m *MockCgroupFactory) Load(_param0 cgroups.Hierarchy, _param1 cgroups.Path) (cgroups.Cgroup, error)

func (*MockCgroupFactory) New

func (_m *MockCgroupFactory) New(_param0 cgroups.Hierarchy, _param1 cgroups.Path, _param2 *specs_go.LinuxResources) (cgroups.Cgroup, error)

Jump to

Keyboard shortcuts

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