mocks

package
v0.0.61 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

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
}

Mock of Builder interface

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

func (*MockBuilder) Build

func (_m *MockBuilder) Build(_param0 string, _param1 int, _param2 manifest.Manifest, _param3 ui.Stage, _param4 agentclient.AgentState) (state.State, error)

func (*MockBuilder) BuildInitialState

func (_m *MockBuilder) BuildInitialState(_param0 string, _param1 int, _param2 manifest.Manifest) (state.State, error)

func (*MockBuilder) EXPECT

func (_m *MockBuilder) EXPECT() *_MockBuilderRecorder

type MockBuilderFactory

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

Mock of BuilderFactory interface

func NewMockBuilderFactory

func NewMockBuilderFactory(ctrl *gomock.Controller) *MockBuilderFactory

func (*MockBuilderFactory) EXPECT

func (_m *MockBuilderFactory) EXPECT() *_MockBuilderFactoryRecorder

func (*MockBuilderFactory) NewBuilder

func (_m *MockBuilderFactory) NewBuilder(_param0 blobstore.Blobstore, _param1 agentclient.AgentClient) state.Builder

type MockState

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

Mock of State interface

func NewMockState

func NewMockState(ctrl *gomock.Controller) *MockState

func (*MockState) CompiledPackages

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

func (*MockState) EXPECT

func (_m *MockState) EXPECT() *_MockStateRecorder

func (*MockState) NetworkInterfaces

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

func (*MockState) RenderedJobListArchive

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

func (*MockState) RenderedJobs

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

func (*MockState) ToApplySpec

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

Jump to

Keyboard shortcuts

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