mocks

package
v0.0.142 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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 (*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

func (_m *MockInstallation) WithRunningRegistry(_param0 logger.Logger, _param1 ui.Stage, _param2 func() error) error

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

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

func (*MockJobResolver) From

func (_m *MockJobResolver) From(_param0 manifest.Manifest) ([]job.Job, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL