Documentation ¶
Overview ¶
Package cage is a generated GoMock package.
Index ¶
- type MockCage
- type MockCageMockRecorder
- type MockdefaultCageRuntime
- func (m *MockdefaultCageRuntime) EXPECT() *MockdefaultCageRuntimeMockRecorder
- func (m *MockdefaultCageRuntime) Exec(argv0 string, argv, envv []string) error
- func (m *MockdefaultCageRuntime) LookPath(file string) (string, error)
- func (m *MockdefaultCageRuntime) Setrlimit(which int, lim *unix.Rlimit) error
- type MockdefaultCageRuntimeMockRecorder
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
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 ¶
func (m *MockdefaultCageRuntime) EXPECT() *MockdefaultCageRuntimeMockRecorder
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
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