Documentation ¶
Index ¶
- type Installer
- type Installer_Expecter
- type Installer_ResolveVersions_Call
- func (_c *Installer_ResolveVersions_Call) Return(_a0 installer.ResolvedVersions, _a1 error) *Installer_ResolveVersions_Call
- func (_c *Installer_ResolveVersions_Call) Run(run func(versionOrTag string)) *Installer_ResolveVersions_Call
- func (_c *Installer_ResolveVersions_Call) RunAndReturn(run func(string) (installer.ResolvedVersions, error)) *Installer_ResolveVersions_Call
- type Installer_UpdateThelma_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Installer ¶
Installer is an autogenerated mock type for the Installer type
func NewInstaller ¶
NewInstaller creates a new instance of Installer. 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 (*Installer) EXPECT ¶
func (_m *Installer) EXPECT() *Installer_Expecter
func (*Installer) ResolveVersions ¶
func (_m *Installer) ResolveVersions(versionOrTag string) (installer.ResolvedVersions, error)
ResolveVersions provides a mock function with given fields: versionOrTag
func (*Installer) UpdateThelma ¶
UpdateThelma provides a mock function with given fields: versionOrTag
type Installer_Expecter ¶
type Installer_Expecter struct {
// contains filtered or unexported fields
}
func (*Installer_Expecter) ResolveVersions ¶
func (_e *Installer_Expecter) ResolveVersions(versionOrTag interface{}) *Installer_ResolveVersions_Call
ResolveVersions is a helper method to define mock.On call
- versionOrTag string
func (*Installer_Expecter) UpdateThelma ¶
func (_e *Installer_Expecter) UpdateThelma(versionOrTag interface{}) *Installer_UpdateThelma_Call
UpdateThelma is a helper method to define mock.On call
- versionOrTag string
type Installer_ResolveVersions_Call ¶
Installer_ResolveVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveVersions'
func (*Installer_ResolveVersions_Call) Return ¶
func (_c *Installer_ResolveVersions_Call) Return(_a0 installer.ResolvedVersions, _a1 error) *Installer_ResolveVersions_Call
func (*Installer_ResolveVersions_Call) Run ¶
func (_c *Installer_ResolveVersions_Call) Run(run func(versionOrTag string)) *Installer_ResolveVersions_Call
func (*Installer_ResolveVersions_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Installer_ResolveVersions_Call) RunAndReturn(run func(string) (installer.ResolvedVersions, error)) *Installer_ResolveVersions_Call
type Installer_UpdateThelma_Call ¶
Installer_UpdateThelma_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateThelma'
func (*Installer_UpdateThelma_Call) Return ¶
func (_c *Installer_UpdateThelma_Call) Return(_a0 error) *Installer_UpdateThelma_Call
func (*Installer_UpdateThelma_Call) Run ¶
func (_c *Installer_UpdateThelma_Call) Run(run func(versionOrTag string)) *Installer_UpdateThelma_Call
func (*Installer_UpdateThelma_Call) RunAndReturn ¶ added in v1.0.73
func (_c *Installer_UpdateThelma_Call) RunAndReturn(run func(string) error) *Installer_UpdateThelma_Call