Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v7.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

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
}

MockInstallation is a mock of Installation interface.

func NewMockInstallation

func NewMockInstallation(ctrl *gomock.Controller) *MockInstallation

NewMockInstallation creates a new mock instance.

func (*MockInstallation) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInstallation) Job

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

Job indicates an expected call of Job.

func (*MockInstallationMockRecorder) Target

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInstaller) Install

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInstallerFactory) NewInstaller

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

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockJobResolver) From

func (m *MockJobResolver) From(arg0 manifest.Manifest) ([]job.Job, error)

From mocks base method.

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPackageCompiler) For

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

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.

Jump to

Keyboard shortcuts

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