Documentation ¶
Index ¶
- type MockInstallation
- func (_m *MockInstallation) EXPECT() *_MockInstallationRecorder
- 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(_param0 logger.Logger, _param1 ui.Stage, _param2 func() error) error
- type MockInstaller
- type MockInstallerFactory
- type MockJobRenderer
- type MockJobResolver
- type MockPackageCompiler
- type MockUninstaller
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
}
Mock of Installation interface
func NewMockInstallation ¶
func NewMockInstallation(ctrl *gomock.Controller) *MockInstallation
func (*MockInstallation) EXPECT ¶
func (_m *MockInstallation) EXPECT() *_MockInstallationRecorder
func (*MockInstallation) Job ¶
func (_m *MockInstallation) Job() installation.InstalledJob
func (*MockInstallation) StartRegistry ¶
func (_m *MockInstallation) StartRegistry() error
func (*MockInstallation) StopRegistry ¶
func (_m *MockInstallation) StopRegistry() error
func (*MockInstallation) Target ¶
func (_m *MockInstallation) Target() installation.Target
func (*MockInstallation) WithRunningRegistry ¶
type MockInstaller ¶
type MockInstaller struct {
// contains filtered or unexported fields
}
Mock of Installer interface
func NewMockInstaller ¶
func NewMockInstaller(ctrl *gomock.Controller) *MockInstaller
func (*MockInstaller) Cleanup ¶
func (_m *MockInstaller) Cleanup(_param0 installation.Installation) error
func (*MockInstaller) EXPECT ¶
func (_m *MockInstaller) EXPECT() *_MockInstallerRecorder
func (*MockInstaller) Install ¶
func (_m *MockInstaller) Install(_param0 manifest.Manifest, _param1 ui.Stage) (installation.Installation, error)
type MockInstallerFactory ¶
type MockInstallerFactory struct {
// contains filtered or unexported fields
}
Mock of InstallerFactory interface
func NewMockInstallerFactory ¶
func NewMockInstallerFactory(ctrl *gomock.Controller) *MockInstallerFactory
func (*MockInstallerFactory) EXPECT ¶
func (_m *MockInstallerFactory) EXPECT() *_MockInstallerFactoryRecorder
func (*MockInstallerFactory) NewInstaller ¶
func (_m *MockInstallerFactory) NewInstaller(_param0 installation.Target) installation.Installer
type MockJobRenderer ¶
type MockJobRenderer struct {
// contains filtered or unexported fields
}
Mock of JobRenderer interface
func NewMockJobRenderer ¶
func NewMockJobRenderer(ctrl *gomock.Controller) *MockJobRenderer
func (*MockJobRenderer) EXPECT ¶
func (_m *MockJobRenderer) EXPECT() *_MockJobRendererRecorder
func (*MockJobRenderer) RenderAndUploadFrom ¶
func (_m *MockJobRenderer) RenderAndUploadFrom(_param0 manifest.Manifest, _param1 []job.Job, _param2 ui.Stage) ([]installation.RenderedJobRef, error)
type MockJobResolver ¶
type MockJobResolver struct {
// contains filtered or unexported fields
}
Mock of JobResolver interface
func NewMockJobResolver ¶
func NewMockJobResolver(ctrl *gomock.Controller) *MockJobResolver
func (*MockJobResolver) EXPECT ¶
func (_m *MockJobResolver) EXPECT() *_MockJobResolverRecorder
type MockPackageCompiler ¶
type MockPackageCompiler struct {
// contains filtered or unexported fields
}
Mock of PackageCompiler interface
func NewMockPackageCompiler ¶
func NewMockPackageCompiler(ctrl *gomock.Controller) *MockPackageCompiler
func (*MockPackageCompiler) EXPECT ¶
func (_m *MockPackageCompiler) EXPECT() *_MockPackageCompilerRecorder
func (*MockPackageCompiler) For ¶
func (_m *MockPackageCompiler) For(_param0 []job.Job, _param1 ui.Stage) ([]installation.CompiledPackageRef, error)
type MockUninstaller ¶
type MockUninstaller struct {
// contains filtered or unexported fields
}
Mock of Uninstaller interface
func NewMockUninstaller ¶
func NewMockUninstaller(ctrl *gomock.Controller) *MockUninstaller
func (*MockUninstaller) EXPECT ¶
func (_m *MockUninstaller) EXPECT() *_MockUninstallerRecorder
func (*MockUninstaller) Uninstall ¶
func (_m *MockUninstaller) Uninstall(_param0 installation.Target) error
Click to show internal directories.
Click to hide internal directories.