mock_opsys

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_opsys 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) Chmod added in v1.1.0

func (m *MockOS) Chmod(arg0 string, arg1 os.FileMode) error

Chmod mocks base method

func (*MockOS) Chtimes added in v1.1.0

func (m *MockOS) Chtimes(arg0 string, arg1, arg2 time.Time) error

Chtimes mocks base method

func (*MockOS) Create added in v1.1.0

func (m *MockOS) Create(arg0 string) (afero.File, error)

Create mocks base method

func (*MockOS) EXPECT

func (m *MockOS) EXPECT() *MockOSMockRecorder

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

func (*MockOS) FileExist

func (m *MockOS) FileExist(arg0 string) (bool, error)

FileExist mocks base method

func (*MockOS) GetContactMap

func (m *MockOS) GetContactMap(arg0 string) (map[string]*vcard.Card, error)

GetContactMap mocks base method

func (*MockOS) GetMacOSVersion

func (m *MockOS) GetMacOSVersion() (*semver.Version, error)

GetMacOSVersion mocks base method

func (*MockOS) Mkdir added in v1.1.0

func (m *MockOS) Mkdir(arg0 string, arg1 os.FileMode) error

Mkdir mocks base method

func (*MockOS) MkdirAll added in v1.1.0

func (m *MockOS) MkdirAll(arg0 string, arg1 os.FileMode) error

MkdirAll mocks base method

func (*MockOS) Name added in v1.1.0

func (m *MockOS) Name() string

Name mocks base method

func (*MockOS) Open added in v1.1.0

func (m *MockOS) Open(arg0 string) (afero.File, error)

Open mocks base method

func (*MockOS) OpenFile added in v1.1.0

func (m *MockOS) OpenFile(arg0 string, arg1 int, arg2 os.FileMode) (afero.File, error)

OpenFile mocks base method

func (*MockOS) Remove added in v1.1.0

func (m *MockOS) Remove(arg0 string) error

Remove mocks base method

func (*MockOS) RemoveAll added in v1.1.0

func (m *MockOS) RemoveAll(arg0 string) error

RemoveAll mocks base method

func (*MockOS) Rename added in v1.1.0

func (m *MockOS) Rename(arg0, arg1 string) error

Rename mocks base method

func (*MockOS) Stat added in v1.1.0

func (m *MockOS) Stat(arg0 string) (os.FileInfo, error)

Stat mocks base method

type MockOSMockRecorder

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

MockOSMockRecorder is the mock recorder for MockOS

func (*MockOSMockRecorder) Chmod added in v1.1.0

func (mr *MockOSMockRecorder) Chmod(arg0, arg1 interface{}) *gomock.Call

Chmod indicates an expected call of Chmod

func (*MockOSMockRecorder) Chtimes added in v1.1.0

func (mr *MockOSMockRecorder) Chtimes(arg0, arg1, arg2 interface{}) *gomock.Call

Chtimes indicates an expected call of Chtimes

func (*MockOSMockRecorder) Create added in v1.1.0

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

Create indicates an expected call of Create

func (*MockOSMockRecorder) FileExist

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

FileExist indicates an expected call of FileExist

func (*MockOSMockRecorder) GetContactMap

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

GetContactMap indicates an expected call of GetContactMap

func (*MockOSMockRecorder) GetMacOSVersion

func (mr *MockOSMockRecorder) GetMacOSVersion() *gomock.Call

GetMacOSVersion indicates an expected call of GetMacOSVersion

func (*MockOSMockRecorder) Mkdir added in v1.1.0

func (mr *MockOSMockRecorder) Mkdir(arg0, arg1 interface{}) *gomock.Call

Mkdir indicates an expected call of Mkdir

func (*MockOSMockRecorder) MkdirAll added in v1.1.0

func (mr *MockOSMockRecorder) MkdirAll(arg0, arg1 interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll

func (*MockOSMockRecorder) Name added in v1.1.0

func (mr *MockOSMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name

func (*MockOSMockRecorder) Open added in v1.1.0

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

Open indicates an expected call of Open

func (*MockOSMockRecorder) OpenFile added in v1.1.0

func (mr *MockOSMockRecorder) OpenFile(arg0, arg1, arg2 interface{}) *gomock.Call

OpenFile indicates an expected call of OpenFile

func (*MockOSMockRecorder) Remove added in v1.1.0

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

Remove indicates an expected call of Remove

func (*MockOSMockRecorder) RemoveAll added in v1.1.0

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

RemoveAll indicates an expected call of RemoveAll

func (*MockOSMockRecorder) Rename added in v1.1.0

func (mr *MockOSMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call

Rename indicates an expected call of Rename

func (*MockOSMockRecorder) Stat added in v1.1.0

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

Stat indicates an expected call of Stat

Jump to

Keyboard shortcuts

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