Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInstallation
- type MockInstallationMockRecorder
- 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) Target ¶
func (m *MockInstallation) Target() installation.Target
Target mocks base method.
type MockInstallationMockRecorder ¶
type MockInstallationMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallationMockRecorder is the mock recorder for MockInstallation.
func (*MockInstallationMockRecorder) Job ¶
func (mr *MockInstallationMockRecorder) Job() *gomock.Call
Job indicates an expected call of Job.
func (*MockInstallationMockRecorder) Target ¶
func (mr *MockInstallationMockRecorder) Target() *gomock.Call
Target indicates an expected call of Target.
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 ¶
type MockInstallerFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallerFactoryMockRecorder is the mock recorder for MockInstallerFactory.
func (*MockInstallerFactoryMockRecorder) NewInstaller ¶
func (mr *MockInstallerFactoryMockRecorder) NewInstaller(arg0 interface{}) *gomock.Call
NewInstaller indicates an expected call of NewInstaller.
type MockInstallerMockRecorder ¶
type MockInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockInstallerMockRecorder is the mock recorder for MockInstaller.
func (*MockInstallerMockRecorder) Cleanup ¶
func (mr *MockInstallerMockRecorder) Cleanup(arg0 interface{}) *gomock.Call
Cleanup indicates an expected call of Cleanup.
func (*MockInstallerMockRecorder) Install ¶
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 ¶
type MockJobRendererMockRecorder struct {
// contains filtered or unexported fields
}
MockJobRendererMockRecorder is the mock recorder for MockJobRenderer.
func (*MockJobRendererMockRecorder) RenderAndUploadFrom ¶
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 ¶
type MockJobResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockJobResolverMockRecorder is the mock recorder for MockJobResolver.
func (*MockJobResolverMockRecorder) From ¶
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 ¶
type MockPackageCompilerMockRecorder struct {
// contains filtered or unexported fields
}
MockPackageCompilerMockRecorder is the mock recorder for MockPackageCompiler.
func (*MockPackageCompilerMockRecorder) For ¶
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 ¶
type MockUninstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockUninstallerMockRecorder is the mock recorder for MockUninstaller.
func (*MockUninstallerMockRecorder) Uninstall ¶
func (mr *MockUninstallerMockRecorder) Uninstall(arg0 interface{}) *gomock.Call
Uninstall indicates an expected call of Uninstall.