mock_control

package
v1.52.2 Latest Latest
Warning

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

Go to latest
Published: May 20, 2021 License: Apache-2.0 Imports: 4 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_control is a generated GoMock package.

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
}

MockControl is a mock of Control interface

func NewMockControl

func NewMockControl(ctrl *gomock.Controller) *MockControl

NewMockControl creates a new mock instance

func (*MockControl) Create

func (m *MockControl) Create(arg0 *control.Spec) (cgroups.Cgroup, error)

Create mocks base method

func (*MockControl) EXPECT

func (m *MockControl) EXPECT() *MockControlMockRecorder

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

func (*MockControl) Exists

func (m *MockControl) Exists(arg0 string) bool

Exists mocks base method

func (*MockControl) Init

func (m *MockControl) Init() error

Init mocks base method

func (*MockControl) Remove

func (m *MockControl) Remove(arg0 string) error

Remove mocks base method

type MockControlMockRecorder

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

MockControlMockRecorder is the mock recorder for MockControl

func (*MockControlMockRecorder) Create

func (mr *MockControlMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockControlMockRecorder) Exists

func (mr *MockControlMockRecorder) Exists(arg0 interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockControlMockRecorder) Init

func (mr *MockControlMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init

func (*MockControlMockRecorder) Remove

func (mr *MockControlMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove

Jump to

Keyboard shortcuts

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