Documentation ¶
Index ¶
- type Installer
- type Installer_Expecter
- type Installer_InstallAgent_Call
- func (_c *Installer_InstallAgent_Call) Return(_a0 bool, _a1 error) *Installer_InstallAgent_Call
- func (_c *Installer_InstallAgent_Call) Run(run func(ctx context.Context, targetDir string)) *Installer_InstallAgent_Call
- func (_c *Installer_InstallAgent_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *Installer_InstallAgent_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
type Installer_Expecter ¶
type Installer_Expecter struct {
// contains filtered or unexported fields
}
func (*Installer_Expecter) InstallAgent ¶
func (_e *Installer_Expecter) InstallAgent(ctx interface{}, targetDir interface{}) *Installer_InstallAgent_Call
InstallAgent is a helper method to define mock.On call
- ctx context.Context
- targetDir string
type Installer_InstallAgent_Call ¶
Installer_InstallAgent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InstallAgent'
func (*Installer_InstallAgent_Call) Return ¶
func (_c *Installer_InstallAgent_Call) Return(_a0 bool, _a1 error) *Installer_InstallAgent_Call
func (*Installer_InstallAgent_Call) Run ¶
func (_c *Installer_InstallAgent_Call) Run(run func(ctx context.Context, targetDir string)) *Installer_InstallAgent_Call
func (*Installer_InstallAgent_Call) RunAndReturn ¶
func (_c *Installer_InstallAgent_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *Installer_InstallAgent_Call
Click to show internal directories.
Click to hide internal directories.