mock_oswrapper

package
Version: v0.0.0-...-55b2ae7 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_oswrapper is a generated GoMock package.

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
}

MockOS is a mock of OS interface

func NewMockOS

func NewMockOS(ctrl *gomock.Controller) *MockOS

NewMockOS creates a new mock instance

func (*MockOS) EXPECT

func (m *MockOS) EXPECT() *MockOSMockRecorder

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

func (*MockOS) FindProcess

func (m *MockOS) FindProcess(arg0 int) (oswrapper.OSProcess, error)

FindProcess mocks base method

func (*MockOS) Getenv

func (m *MockOS) Getenv(arg0 string) string

Getenv mocks base method

type MockOSMockRecorder

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

MockOSMockRecorder is the mock recorder for MockOS

func (*MockOSMockRecorder) FindProcess

func (mr *MockOSMockRecorder) FindProcess(arg0 interface{}) *gomock.Call

FindProcess indicates an expected call of FindProcess

func (*MockOSMockRecorder) Getenv

func (mr *MockOSMockRecorder) Getenv(arg0 interface{}) *gomock.Call

Getenv indicates an expected call of Getenv

type MockOSProcess

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

MockOSProcess is a mock of OSProcess interface

func NewMockOSProcess

func NewMockOSProcess(ctrl *gomock.Controller) *MockOSProcess

NewMockOSProcess creates a new mock instance

func (*MockOSProcess) EXPECT

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

func (*MockOSProcess) Signal

func (m *MockOSProcess) Signal(arg0 os.Signal) error

Signal mocks base method

type MockOSProcessMockRecorder

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

MockOSProcessMockRecorder is the mock recorder for MockOSProcess

func (*MockOSProcessMockRecorder) Signal

func (mr *MockOSProcessMockRecorder) Signal(arg0 interface{}) *gomock.Call

Signal indicates an expected call of Signal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL