Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInstallation
- func (m *MockInstallation) EXPECT() *MockInstallationMockRecorder
- func (m *MockInstallation) Job() installation.InstalledJob
- func (m *MockInstallation) StartRegistry() error
- func (m *MockInstallation) StopRegistry() error
- func (m *MockInstallation) Target() installation.Target
- func (m *MockInstallation) WithRunningRegistry(arg0 logger.Logger, arg1 ui.Stage, arg2 func() error) error
- type MockInstallationMockRecorder
- func (mr *MockInstallationMockRecorder) Job() *gomock.Call
- func (mr *MockInstallationMockRecorder) StartRegistry() *gomock.Call
- func (mr *MockInstallationMockRecorder) StopRegistry() *gomock.Call
- func (mr *MockInstallationMockRecorder) Target() *gomock.Call
- func (mr *MockInstallationMockRecorder) WithRunningRegistry(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockInstaller
- type MockInstallerFactory
- type MockInstallerFactoryMockRecorder
- type MockInstallerMockRecorder
- type MockJobRenderer
- type MockJobRendererMockRecorder
- type MockJobResolver
- type MockJobResolverMockRecorder
- type MockPackageCompiler
- type MockPackageCompilerMockRecorder
- type MockUninstaller
- type MockUninstallerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInstallation ¶
type MockInstallation struct {
// contains filtered or unexported fields
}
MockInstallation is a mock of Installation interface
func NewMockInstallation ¶
func NewMockInstallation(ctrl *gomock.Controller) *MockInstallation
NewMockInstallation creates a new mock instance
func (*MockInstallation) EXPECT ¶
func (m *MockInstallation) EXPECT() *MockInstallationMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstallation) Job ¶
func (m *MockInstallation) Job() installation.InstalledJob
Job mocks base method
func (*MockInstallation) StartRegistry ¶
func (m *MockInstallation) StartRegistry() error
StartRegistry mocks base method
func (*MockInstallation) StopRegistry ¶
func (m *MockInstallation) StopRegistry() error
StopRegistry mocks base method
func (*MockInstallation) Target ¶
func (m *MockInstallation) Target() installation.Target
Target mocks base method
func (*MockInstallation) WithRunningRegistry ¶
func (m *MockInstallation) WithRunningRegistry(arg0 logger.Logger, arg1 ui.Stage, arg2 func() error) error
WithRunningRegistry mocks base method
type MockInstallationMockRecorder ¶ added in v5.3.1
type MockInstallationMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallationMockRecorder is the mock recorder for MockInstallation
func (*MockInstallationMockRecorder) Job ¶ added in v5.3.1
func (mr *MockInstallationMockRecorder) Job() *gomock.Call
Job indicates an expected call of Job
func (*MockInstallationMockRecorder) StartRegistry ¶ added in v5.3.1
func (mr *MockInstallationMockRecorder) StartRegistry() *gomock.Call
StartRegistry indicates an expected call of StartRegistry
func (*MockInstallationMockRecorder) StopRegistry ¶ added in v5.3.1
func (mr *MockInstallationMockRecorder) StopRegistry() *gomock.Call
StopRegistry indicates an expected call of StopRegistry
func (*MockInstallationMockRecorder) Target ¶ added in v5.3.1
func (mr *MockInstallationMockRecorder) Target() *gomock.Call
Target indicates an expected call of Target
func (*MockInstallationMockRecorder) WithRunningRegistry ¶ added in v5.3.1
func (mr *MockInstallationMockRecorder) WithRunningRegistry(arg0, arg1, arg2 interface{}) *gomock.Call
WithRunningRegistry indicates an expected call of WithRunningRegistry
type MockInstaller ¶
type MockInstaller struct {
// contains filtered or unexported fields
}
MockInstaller is a mock of Installer interface
func NewMockInstaller ¶
func NewMockInstaller(ctrl *gomock.Controller) *MockInstaller
NewMockInstaller creates a new mock instance
func (*MockInstaller) Cleanup ¶
func (m *MockInstaller) Cleanup(arg0 installation.Installation) error
Cleanup mocks base method
func (*MockInstaller) EXPECT ¶
func (m *MockInstaller) EXPECT() *MockInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstaller) Install ¶
func (m *MockInstaller) Install(arg0 manifest.Manifest, arg1 ui.Stage) (installation.Installation, error)
Install mocks base method
type MockInstallerFactory ¶
type MockInstallerFactory struct {
// contains filtered or unexported fields
}
MockInstallerFactory is a mock of InstallerFactory interface
func NewMockInstallerFactory ¶
func NewMockInstallerFactory(ctrl *gomock.Controller) *MockInstallerFactory
NewMockInstallerFactory creates a new mock instance
func (*MockInstallerFactory) EXPECT ¶
func (m *MockInstallerFactory) EXPECT() *MockInstallerFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInstallerFactory) NewInstaller ¶
func (m *MockInstallerFactory) NewInstaller(arg0 installation.Target) installation.Installer
NewInstaller mocks base method
type MockInstallerFactoryMockRecorder ¶ added in v5.3.1
type MockInstallerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallerFactoryMockRecorder is the mock recorder for MockInstallerFactory
func (*MockInstallerFactoryMockRecorder) NewInstaller ¶ added in v5.3.1
func (mr *MockInstallerFactoryMockRecorder) NewInstaller(arg0 interface{}) *gomock.Call
NewInstaller indicates an expected call of NewInstaller
type MockInstallerMockRecorder ¶ added in v5.3.1
type MockInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallerMockRecorder is the mock recorder for MockInstaller
func (*MockInstallerMockRecorder) Cleanup ¶ added in v5.3.1
func (mr *MockInstallerMockRecorder) Cleanup(arg0 interface{}) *gomock.Call
Cleanup indicates an expected call of Cleanup
func (*MockInstallerMockRecorder) Install ¶ added in v5.3.1
func (mr *MockInstallerMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call
Install indicates an expected call of Install
type MockJobRenderer ¶
type MockJobRenderer struct {
// contains filtered or unexported fields
}
MockJobRenderer is a mock of JobRenderer interface
func NewMockJobRenderer ¶
func NewMockJobRenderer(ctrl *gomock.Controller) *MockJobRenderer
NewMockJobRenderer creates a new mock instance
func (*MockJobRenderer) EXPECT ¶
func (m *MockJobRenderer) EXPECT() *MockJobRendererMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockJobRenderer) RenderAndUploadFrom ¶
func (m *MockJobRenderer) RenderAndUploadFrom(arg0 manifest.Manifest, arg1 []job.Job, arg2 ui.Stage) ([]installation.RenderedJobRef, error)
RenderAndUploadFrom mocks base method
type MockJobRendererMockRecorder ¶ added in v5.3.1
type MockJobRendererMockRecorder struct {
// contains filtered or unexported fields
}
MockJobRendererMockRecorder is the mock recorder for MockJobRenderer
func (*MockJobRendererMockRecorder) RenderAndUploadFrom ¶ added in v5.3.1
func (mr *MockJobRendererMockRecorder) RenderAndUploadFrom(arg0, arg1, arg2 interface{}) *gomock.Call
RenderAndUploadFrom indicates an expected call of RenderAndUploadFrom
type MockJobResolver ¶
type MockJobResolver struct {
// contains filtered or unexported fields
}
MockJobResolver is a mock of JobResolver interface
func NewMockJobResolver ¶
func NewMockJobResolver(ctrl *gomock.Controller) *MockJobResolver
NewMockJobResolver creates a new mock instance
func (*MockJobResolver) EXPECT ¶
func (m *MockJobResolver) EXPECT() *MockJobResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockJobResolverMockRecorder ¶ added in v5.3.1
type MockJobResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockJobResolverMockRecorder is the mock recorder for MockJobResolver
func (*MockJobResolverMockRecorder) From ¶ added in v5.3.1
func (mr *MockJobResolverMockRecorder) From(arg0 interface{}) *gomock.Call
From indicates an expected call of From
type MockPackageCompiler ¶
type MockPackageCompiler struct {
// contains filtered or unexported fields
}
MockPackageCompiler is a mock of PackageCompiler interface
func NewMockPackageCompiler ¶
func NewMockPackageCompiler(ctrl *gomock.Controller) *MockPackageCompiler
NewMockPackageCompiler creates a new mock instance
func (*MockPackageCompiler) EXPECT ¶
func (m *MockPackageCompiler) EXPECT() *MockPackageCompilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPackageCompiler) For ¶
func (m *MockPackageCompiler) For(arg0 []job.Job, arg1 ui.Stage) ([]installation.CompiledPackageRef, error)
For mocks base method
type MockPackageCompilerMockRecorder ¶ added in v5.3.1
type MockPackageCompilerMockRecorder struct {
// contains filtered or unexported fields
}
MockPackageCompilerMockRecorder is the mock recorder for MockPackageCompiler
func (*MockPackageCompilerMockRecorder) For ¶ added in v5.3.1
func (mr *MockPackageCompilerMockRecorder) For(arg0, arg1 interface{}) *gomock.Call
For indicates an expected call of For
type MockUninstaller ¶
type MockUninstaller struct {
// contains filtered or unexported fields
}
MockUninstaller is a mock of Uninstaller interface
func NewMockUninstaller ¶
func NewMockUninstaller(ctrl *gomock.Controller) *MockUninstaller
NewMockUninstaller creates a new mock instance
func (*MockUninstaller) EXPECT ¶
func (m *MockUninstaller) EXPECT() *MockUninstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUninstaller) Uninstall ¶
func (m *MockUninstaller) Uninstall(arg0 installation.Target) error
Uninstall mocks base method
type MockUninstallerMockRecorder ¶ added in v5.3.1
type MockUninstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockUninstallerMockRecorder is the mock recorder for MockUninstaller
func (*MockUninstallerMockRecorder) Uninstall ¶ added in v5.3.1
func (mr *MockUninstallerMockRecorder) Uninstall(arg0 interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall