mock_control

package
v1.32.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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