Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LockFile ¶
LockFile is an autogenerated mock type for the LockFile type
func NewLockFile ¶
NewLockFile creates a new instance of LockFile. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*LockFile) EXPECT ¶
func (_m *LockFile) EXPECT() *LockFile_Expecter
type LockFile_Expecter ¶
type LockFile_Expecter struct {
// contains filtered or unexported fields
}
func (*LockFile_Expecter) Read ¶
func (_e *LockFile_Expecter) Read(moduleName interface{}) *LockFile_Read_Call
Read is a helper method to define mock.On call
- moduleName string
type LockFile_Read_Call ¶
LockFile_Read_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Read'
func (*LockFile_Read_Call) Return ¶
func (_c *LockFile_Read_Call) Return(_a0 models.LockFileInfo, _a1 error) *LockFile_Read_Call
func (*LockFile_Read_Call) Run ¶
func (_c *LockFile_Read_Call) Run(run func(moduleName string)) *LockFile_Read_Call
func (*LockFile_Read_Call) RunAndReturn ¶
func (_c *LockFile_Read_Call) RunAndReturn(run func(string) (models.LockFileInfo, error)) *LockFile_Read_Call
Click to show internal directories.
Click to hide internal directories.