Documentation ¶
Overview ¶
Package fake is a generated GoMock package.
Index ¶
- type MockPackageManager
- func (m *MockPackageManager) EXPECT() *MockPackageManagerMockRecorder
- func (m *MockPackageManager) Install(pkg string) error
- func (m *MockPackageManager) IsInstalled(pkg string) (bool, error)
- func (m *MockPackageManager) String() string
- func (m *MockPackageManager) Uninstall(pkg string) error
- func (m *MockPackageManager) Update(pkg string) error
- type MockPackageManagerMockRecorder
- func (mr *MockPackageManagerMockRecorder) Install(pkg interface{}) *gomock.Call
- func (mr *MockPackageManagerMockRecorder) IsInstalled(pkg interface{}) *gomock.Call
- func (mr *MockPackageManagerMockRecorder) String() *gomock.Call
- func (mr *MockPackageManagerMockRecorder) Uninstall(pkg interface{}) *gomock.Call
- func (mr *MockPackageManagerMockRecorder) Update(pkg interface{}) *gomock.Call
- type MockosSpecific
- func (m *MockosSpecific) EXPECT() *MockosSpecificMockRecorder
- func (m *MockosSpecific) Install(pkg string) error
- func (m *MockosSpecific) IsAvailable() bool
- func (m *MockosSpecific) IsInstalled(pkg string) (bool, error)
- func (m *MockosSpecific) String() string
- func (m *MockosSpecific) Uninstall(pkg string) error
- func (m *MockosSpecific) Update(pkg string) error
- type MockosSpecificMockRecorder
- func (mr *MockosSpecificMockRecorder) Install(pkg interface{}) *gomock.Call
- func (mr *MockosSpecificMockRecorder) IsAvailable() *gomock.Call
- func (mr *MockosSpecificMockRecorder) IsInstalled(pkg interface{}) *gomock.Call
- func (mr *MockosSpecificMockRecorder) String() *gomock.Call
- func (mr *MockosSpecificMockRecorder) Uninstall(pkg interface{}) *gomock.Call
- func (mr *MockosSpecificMockRecorder) Update(pkg interface{}) *gomock.Call
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 ¶
func (m *MockPackageManager) EXPECT() *MockPackageManagerMockRecorder
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 ¶
func (mr *MockPackageManagerMockRecorder) String() *gomock.Call
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 ¶
func (m *MockosSpecific) EXPECT() *MockosSpecificMockRecorder
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) 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.