Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockBuilder
- type MockBuilderFactory
- type MockBuilderFactoryMockRecorder
- type MockBuilderMockRecorder
- type MockState
- func (m *MockState) CompiledPackages() []state.PackageRef
- func (m *MockState) EXPECT() *MockStateMockRecorder
- func (m *MockState) NetworkInterfaces() []state.NetworkRef
- func (m *MockState) RenderedJobListArchive() state.BlobRef
- func (m *MockState) RenderedJobs() []state.JobRef
- func (m *MockState) ToApplySpec() applyspec.ApplySpec
- type MockStateMockRecorder
- func (mr *MockStateMockRecorder) CompiledPackages() *gomock.Call
- func (mr *MockStateMockRecorder) NetworkInterfaces() *gomock.Call
- func (mr *MockStateMockRecorder) RenderedJobListArchive() *gomock.Call
- func (mr *MockStateMockRecorder) RenderedJobs() *gomock.Call
- func (mr *MockStateMockRecorder) ToApplySpec() *gomock.Call
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 ¶
func (m *MockBuilderFactory) EXPECT() *MockBuilderFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBuilderFactory) NewBuilder ¶
func (m *MockBuilderFactory) NewBuilder(arg0 blobstore.Blobstore, arg1 agentclient.AgentClient) state.Builder
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 ¶
RenderedJobListArchive mocks base method
func (*MockState) RenderedJobs ¶
RenderedJobs mocks base method
func (*MockState) ToApplySpec ¶
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