cage

package
v0.0.0-...-6ad1837 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cage is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCage

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

MockCage is a mock of Cage interface

func NewMockCage

func NewMockCage(ctrl *gomock.Controller) *MockCage

NewMockCage creates a new mock instance

func (*MockCage) EXPECT

func (m *MockCage) EXPECT() *MockCageMockRecorder

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

func (*MockCage) Encage

func (m *MockCage) Encage(monster *exec.Cmd) (*exec.Cmd, error)

Encage mocks base method

func (*MockCage) Execute

func (m *MockCage) Execute() error

Execute mocks base method

type MockCageMockRecorder

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

MockCageMockRecorder is the mock recorder for MockCage

func (*MockCageMockRecorder) Encage

func (mr *MockCageMockRecorder) Encage(monster interface{}) *gomock.Call

Encage indicates an expected call of Encage

func (*MockCageMockRecorder) Execute

func (mr *MockCageMockRecorder) Execute() *gomock.Call

Execute indicates an expected call of Execute

type MockdefaultCageRuntime

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

MockdefaultCageRuntime is a mock of defaultCageRuntime interface

func NewMockdefaultCageRuntime

func NewMockdefaultCageRuntime(ctrl *gomock.Controller) *MockdefaultCageRuntime

NewMockdefaultCageRuntime creates a new mock instance

func (*MockdefaultCageRuntime) EXPECT

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

func (*MockdefaultCageRuntime) Exec

func (m *MockdefaultCageRuntime) Exec(argv0 string, argv, envv []string) error

Exec mocks base method

func (*MockdefaultCageRuntime) LookPath

func (m *MockdefaultCageRuntime) LookPath(file string) (string, error)

LookPath mocks base method

func (*MockdefaultCageRuntime) Setrlimit

func (m *MockdefaultCageRuntime) Setrlimit(which int, lim *unix.Rlimit) error

Setrlimit mocks base method

type MockdefaultCageRuntimeMockRecorder

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

MockdefaultCageRuntimeMockRecorder is the mock recorder for MockdefaultCageRuntime

func (*MockdefaultCageRuntimeMockRecorder) Exec

func (mr *MockdefaultCageRuntimeMockRecorder) Exec(argv0, argv, envv interface{}) *gomock.Call

Exec indicates an expected call of Exec

func (*MockdefaultCageRuntimeMockRecorder) LookPath

func (mr *MockdefaultCageRuntimeMockRecorder) LookPath(file interface{}) *gomock.Call

LookPath indicates an expected call of LookPath

func (*MockdefaultCageRuntimeMockRecorder) Setrlimit

func (mr *MockdefaultCageRuntimeMockRecorder) Setrlimit(which, lim interface{}) *gomock.Call

Setrlimit indicates an expected call of Setrlimit

Jump to

Keyboard shortcuts

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