fake

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package fake is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPackageManager

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

MockPackageManager is a mock of PackageManager interface.

func NewMockPackageManager

func NewMockPackageManager(ctrl *gomock.Controller) *MockPackageManager

NewMockPackageManager creates a new mock instance.

func (*MockPackageManager) EXPECT

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

func (*MockPackageManager) Install

func (m *MockPackageManager) Install(pkg string) error

Install mocks base method.

func (*MockPackageManager) IsInstalled

func (m *MockPackageManager) IsInstalled(pkg string) (bool, error)

IsInstalled mocks base method.

func (*MockPackageManager) String

func (m *MockPackageManager) String() string

String mocks base method.

func (*MockPackageManager) Uninstall

func (m *MockPackageManager) Uninstall(pkg string) error

Uninstall mocks base method.

func (*MockPackageManager) Update

func (m *MockPackageManager) Update(pkg string) error

Update mocks base method.

type MockPackageManagerMockRecorder

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

MockPackageManagerMockRecorder is the mock recorder for MockPackageManager.

func (*MockPackageManagerMockRecorder) Install

func (mr *MockPackageManagerMockRecorder) Install(pkg interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockPackageManagerMockRecorder) IsInstalled

func (mr *MockPackageManagerMockRecorder) IsInstalled(pkg interface{}) *gomock.Call

IsInstalled indicates an expected call of IsInstalled.

func (*MockPackageManagerMockRecorder) String

String indicates an expected call of String.

func (*MockPackageManagerMockRecorder) Uninstall

func (mr *MockPackageManagerMockRecorder) Uninstall(pkg interface{}) *gomock.Call

Uninstall indicates an expected call of Uninstall.

func (*MockPackageManagerMockRecorder) Update

func (mr *MockPackageManagerMockRecorder) Update(pkg interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockosSpecific

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

MockosSpecific is a mock of osSpecific interface.

func NewMockosSpecific

func NewMockosSpecific(ctrl *gomock.Controller) *MockosSpecific

NewMockosSpecific creates a new mock instance.

func (*MockosSpecific) EXPECT

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

func (*MockosSpecific) Install

func (m *MockosSpecific) Install(pkg string) error

Install mocks base method.

func (*MockosSpecific) IsAvailable

func (m *MockosSpecific) IsAvailable() bool

IsAvailable mocks base method.

func (*MockosSpecific) IsInstalled

func (m *MockosSpecific) IsInstalled(pkg string) (bool, error)

IsInstalled mocks base method.

func (*MockosSpecific) String

func (m *MockosSpecific) String() string

String mocks base method.

func (*MockosSpecific) Uninstall

func (m *MockosSpecific) Uninstall(pkg string) error

Uninstall mocks base method.

func (*MockosSpecific) Update

func (m *MockosSpecific) Update(pkg string) error

Update mocks base method.

type MockosSpecificMockRecorder

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

MockosSpecificMockRecorder is the mock recorder for MockosSpecific.

func (*MockosSpecificMockRecorder) Install

func (mr *MockosSpecificMockRecorder) Install(pkg interface{}) *gomock.Call

Install indicates an expected call of Install.

func (*MockosSpecificMockRecorder) IsAvailable

func (mr *MockosSpecificMockRecorder) IsAvailable() *gomock.Call

IsAvailable indicates an expected call of IsAvailable.

func (*MockosSpecificMockRecorder) IsInstalled

func (mr *MockosSpecificMockRecorder) IsInstalled(pkg interface{}) *gomock.Call

IsInstalled indicates an expected call of IsInstalled.

func (*MockosSpecificMockRecorder) String

func (mr *MockosSpecificMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockosSpecificMockRecorder) Uninstall

func (mr *MockosSpecificMockRecorder) Uninstall(pkg interface{}) *gomock.Call

Uninstall indicates an expected call of Uninstall.

func (*MockosSpecificMockRecorder) Update

func (mr *MockosSpecificMockRecorder) Update(pkg interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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