mocks

package
v6.4.3-0...-c351b0c Latest Latest
Warning

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

Go to latest
Published: May 27, 2022 License: Apache-2.0 Imports: 8 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockBuilder

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

MockBuilder is a mock of Builder interface

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

NewMockBuilder creates a new mock instance

func (*MockBuilder) Build

func (m *MockBuilder) Build(arg0 string, arg1 int, arg2 manifest.Manifest, arg3 ui.Stage, arg4 agentclient.AgentState) (state.State, error)

Build mocks base method

func (*MockBuilder) BuildInitialState

func (m *MockBuilder) BuildInitialState(arg0 string, arg1 int, arg2 manifest.Manifest) (state.State, error)

BuildInitialState mocks base method

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

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

type MockBuilderFactory

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

MockBuilderFactory is a mock of BuilderFactory interface

func NewMockBuilderFactory

func NewMockBuilderFactory(ctrl *gomock.Controller) *MockBuilderFactory

NewMockBuilderFactory creates a new mock instance

func (*MockBuilderFactory) EXPECT

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

func (*MockBuilderFactory) NewBuilder

NewBuilder mocks base method

type MockBuilderFactoryMockRecorder

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

MockBuilderFactoryMockRecorder is the mock recorder for MockBuilderFactory

func (*MockBuilderFactoryMockRecorder) NewBuilder

func (mr *MockBuilderFactoryMockRecorder) NewBuilder(arg0, arg1 interface{}) *gomock.Call

NewBuilder indicates an expected call of NewBuilder

type MockBuilderMockRecorder

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

MockBuilderMockRecorder is the mock recorder for MockBuilder

func (*MockBuilderMockRecorder) Build

func (mr *MockBuilderMockRecorder) Build(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Build indicates an expected call of Build

func (*MockBuilderMockRecorder) BuildInitialState

func (mr *MockBuilderMockRecorder) BuildInitialState(arg0, arg1, arg2 interface{}) *gomock.Call

BuildInitialState indicates an expected call of BuildInitialState

type MockState

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

MockState is a mock of State interface

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

NewMockState creates a new mock instance

func (*MockState) CompiledPackages

func (m *MockState) CompiledPackages() []state.PackageRef

CompiledPackages mocks base method

func (*MockState) EXPECT

func (m *MockState) EXPECT() *MockStateMockRecorder

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

func (*MockState) NetworkInterfaces

func (m *MockState) NetworkInterfaces() []state.NetworkRef

NetworkInterfaces mocks base method

func (*MockState) RenderedJobListArchive

func (m *MockState) RenderedJobListArchive() state.BlobRef

RenderedJobListArchive mocks base method

func (*MockState) RenderedJobs

func (m *MockState) RenderedJobs() []state.JobRef

RenderedJobs mocks base method

func (*MockState) ToApplySpec

func (m *MockState) ToApplySpec() applyspec.ApplySpec

ToApplySpec mocks base method

type MockStateMockRecorder

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

MockStateMockRecorder is the mock recorder for MockState

func (*MockStateMockRecorder) CompiledPackages

func (mr *MockStateMockRecorder) CompiledPackages() *gomock.Call

CompiledPackages indicates an expected call of CompiledPackages

func (*MockStateMockRecorder) NetworkInterfaces

func (mr *MockStateMockRecorder) NetworkInterfaces() *gomock.Call

NetworkInterfaces indicates an expected call of NetworkInterfaces

func (*MockStateMockRecorder) RenderedJobListArchive

func (mr *MockStateMockRecorder) RenderedJobListArchive() *gomock.Call

RenderedJobListArchive indicates an expected call of RenderedJobListArchive

func (*MockStateMockRecorder) RenderedJobs

func (mr *MockStateMockRecorder) RenderedJobs() *gomock.Call

RenderedJobs indicates an expected call of RenderedJobs

func (*MockStateMockRecorder) ToApplySpec

func (mr *MockStateMockRecorder) ToApplySpec() *gomock.Call

ToApplySpec indicates an expected call of ToApplySpec

Jump to

Keyboard shortcuts

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