Files
lpm/workflow/mock_installer.go
zeekay 7d7127a687 deps: update to latest luxfi packages
- Update node v1.16.15 → v1.19.8
- Update crypto v1.17.0 → v1.17.4
- Update database v1.2.0 → v1.2.1
- Update geth v1.16.34 → v1.16.35
- Update ids v1.1.0 → v1.1.1
- Update Go 1.25 → 1.25.1
- Update copyright year to 2025
2025-09-30 00:05:18 +00:00

85 lines
2.6 KiB
Go

// Copyright (C) 2019-2025, Lux Partners Limited. All rights reserved.
// See the file LICENSE for licensing terms.
// Code generated by MockGen. DO NOT EDIT.
// Source: workflow/installer.go
// Package workflow is a generated GoMock package.
package workflow
import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
)
// MockInstaller is a mock of Installer interface.
type MockInstaller struct {
ctrl *gomock.Controller
recorder *MockInstallerMockRecorder
}
// MockInstallerMockRecorder is the mock recorder for MockInstaller.
type MockInstallerMockRecorder struct {
mock *MockInstaller
}
// NewMockInstaller creates a new mock instance.
func NewMockInstaller(ctrl *gomock.Controller) *MockInstaller {
mock := &MockInstaller{ctrl: ctrl}
mock.recorder = &MockInstallerMockRecorder{mock}
return mock
}
// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockInstaller) EXPECT() *MockInstallerMockRecorder {
return m.recorder
}
// Decompress mocks base method.
func (m *MockInstaller) Decompress(source, dest string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Decompress", source, dest)
ret0, _ := ret[0].(error)
return ret0
}
// Decompress indicates an expected call of Decompress.
func (mr *MockInstallerMockRecorder) Decompress(source, dest interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Decompress", reflect.TypeOf((*MockInstaller)(nil).Decompress), source, dest)
}
// Download mocks base method.
func (m *MockInstaller) Download(url, path string) error {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "Download", url, path)
ret0, _ := ret[0].(error)
return ret0
}
// Download indicates an expected call of Download.
func (mr *MockInstallerMockRecorder) Download(url, path interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Download", reflect.TypeOf((*MockInstaller)(nil).Download), url, path)
}
// Install mocks base method.
func (m *MockInstaller) Install(workingDir string, args ...string) error {
m.ctrl.T.Helper()
varargs := []interface{}{workingDir}
for _, a := range args {
varargs = append(varargs, a)
}
ret := m.ctrl.Call(m, "Install", varargs...)
ret0, _ := ret[0].(error)
return ret0
}
// Install indicates an expected call of Install.
func (mr *MockInstallerMockRecorder) Install(workingDir interface{}, args ...interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
varargs := append([]interface{}{workingDir}, args...)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Install", reflect.TypeOf((*MockInstaller)(nil).Install), varargs...)
}