mocks

package
v0.0.94 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2016 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 added in v0.0.22

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 added in v0.0.48

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 added in v0.0.46

type MockJobRenderer struct {
	// contains filtered or unexported fields
}

Mock of JobRenderer interface

func NewMockJobRenderer added in v0.0.46

func NewMockJobRenderer(ctrl *gomock.Controller) *MockJobRenderer

func (*MockJobRenderer) EXPECT added in v0.0.46

func (_m *MockJobRenderer) EXPECT() *_MockJobRendererRecorder

func (*MockJobRenderer) RenderAndUploadFrom added in v0.0.46

func (_m *MockJobRenderer) RenderAndUploadFrom(_param0 manifest.Manifest, _param1 []job.Job, _param2 ui.Stage) ([]installation.RenderedJobRef, error)

type MockJobResolver added in v0.0.46

type MockJobResolver struct {
	// contains filtered or unexported fields
}

Mock of JobResolver interface

func NewMockJobResolver added in v0.0.46

func NewMockJobResolver(ctrl *gomock.Controller) *MockJobResolver

func (*MockJobResolver) EXPECT added in v0.0.46

func (_m *MockJobResolver) EXPECT() *_MockJobResolverRecorder

func (*MockJobResolver) From added in v0.0.46

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

type MockPackageCompiler added in v0.0.46

type MockPackageCompiler struct {
	// contains filtered or unexported fields
}

Mock of PackageCompiler interface

func NewMockPackageCompiler added in v0.0.46

func NewMockPackageCompiler(ctrl *gomock.Controller) *MockPackageCompiler

func (*MockPackageCompiler) EXPECT added in v0.0.46

func (_m *MockPackageCompiler) EXPECT() *_MockPackageCompilerRecorder

func (*MockPackageCompiler) For added in v0.0.46

func (_m *MockPackageCompiler) For(_param0 []job.Job, _param1 ui.Stage) ([]installation.CompiledPackageRef, error)

type MockUninstaller added in v0.0.42

type MockUninstaller struct {
	// contains filtered or unexported fields
}

Mock of Uninstaller interface

func NewMockUninstaller added in v0.0.42

func NewMockUninstaller(ctrl *gomock.Controller) *MockUninstaller

func (*MockUninstaller) EXPECT added in v0.0.42

func (_m *MockUninstaller) EXPECT() *_MockUninstallerRecorder

func (*MockUninstaller) Uninstall added in v0.0.42

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