mock_oswrapper

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockOS

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

Mock of OS interface

func NewMockOS

func NewMockOS(ctrl *gomock.Controller) *MockOS

func (*MockOS) EXPECT

func (_m *MockOS) EXPECT() *_MockOSRecorder

func (*MockOS) FindProcess

func (_m *MockOS) FindProcess(_param0 int) (oswrapper.OSProcess, error)

func (*MockOS) Getenv

func (_m *MockOS) Getenv(_param0 string) string

type MockOSProcess

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

Mock of OSProcess interface

func NewMockOSProcess

func NewMockOSProcess(ctrl *gomock.Controller) *MockOSProcess

func (*MockOSProcess) EXPECT

func (_m *MockOSProcess) EXPECT() *_MockOSProcessRecorder

func (*MockOSProcess) Signal

func (_m *MockOSProcess) Signal(_param0 os.Signal) error

Jump to

Keyboard shortcuts

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