Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type Buffer
- type MockBuffer
- type MockContainer
- func (m *MockContainer) Background() error
- func (m *MockContainer) Close() error
- func (m *MockContainer) CloseAfterStream(arg0 *engine.Stream) error
- func (m *MockContainer) Commit(arg0 string) (string, error)
- func (m *MockContainer) CopyFrom(arg0 string) (engine.Stream, error)
- func (m *MockContainer) CopyTo(arg0 engine.Stream, arg1 string) error
- func (m *MockContainer) EXPECT() *MockContainerMockRecorder
- func (m *MockContainer) ExtractTo(arg0 io.Reader, arg1 string) error
- func (m *MockContainer) HealthCheck() <-chan string
- func (m *MockContainer) ID() string
- func (m *MockContainer) Start(arg0 string, arg1 io.Writer, arg2 <-chan time.Time) (int64, error)
- type MockContainerMockRecorder
- func (mr *MockContainerMockRecorder) Background() *gomock.Call
- func (mr *MockContainerMockRecorder) Close() *gomock.Call
- func (mr *MockContainerMockRecorder) CloseAfterStream(arg0 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) Commit(arg0 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) CopyFrom(arg0 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) CopyTo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) ExtractTo(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerMockRecorder) HealthCheck() *gomock.Call
- func (mr *MockContainerMockRecorder) ID() *gomock.Call
- func (mr *MockContainerMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockEngine
- type MockEngineMockRecorder
- type MockImage
- type MockImageMockRecorder
- type MockLoader
- type MockVersioner
- type MockVersionerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer interface { io.ReadWriter Len() int }
type MockBuffer ¶
type MockBuffer struct { Buffer CloseErr error ResetErr error // contains filtered or unexported fields }
func NewMockBuffer ¶
func NewMockBuffer(contents string) *MockBuffer
func (*MockBuffer) Close ¶
func (m *MockBuffer) Close() error
func (*MockBuffer) Reset ¶
func (m *MockBuffer) Reset() error
func (*MockBuffer) Result ¶
func (m *MockBuffer) Result() string
type MockContainer ¶
type MockContainer struct {
// contains filtered or unexported fields
}
MockContainer is a mock of Container interface
func NewMockContainer ¶
func NewMockContainer(ctrl *gomock.Controller) *MockContainer
NewMockContainer creates a new mock instance
func (*MockContainer) Background ¶
func (m *MockContainer) Background() error
Background mocks base method
func (*MockContainer) CloseAfterStream ¶
func (m *MockContainer) CloseAfterStream(arg0 *engine.Stream) error
CloseAfterStream mocks base method
func (*MockContainer) Commit ¶
func (m *MockContainer) Commit(arg0 string) (string, error)
Commit mocks base method
func (*MockContainer) CopyFrom ¶
func (m *MockContainer) CopyFrom(arg0 string) (engine.Stream, error)
CopyFrom mocks base method
func (*MockContainer) CopyTo ¶
func (m *MockContainer) CopyTo(arg0 engine.Stream, arg1 string) error
CopyTo mocks base method
func (*MockContainer) EXPECT ¶
func (m *MockContainer) EXPECT() *MockContainerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockContainer) ExtractTo ¶
func (m *MockContainer) ExtractTo(arg0 io.Reader, arg1 string) error
ExtractTo mocks base method
func (*MockContainer) HealthCheck ¶
func (m *MockContainer) HealthCheck() <-chan string
HealthCheck mocks base method
type MockContainerMockRecorder ¶
type MockContainerMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerMockRecorder is the mock recorder for MockContainer
func (*MockContainerMockRecorder) Background ¶
func (mr *MockContainerMockRecorder) Background() *gomock.Call
Background indicates an expected call of Background
func (*MockContainerMockRecorder) Close ¶
func (mr *MockContainerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockContainerMockRecorder) CloseAfterStream ¶
func (mr *MockContainerMockRecorder) CloseAfterStream(arg0 interface{}) *gomock.Call
CloseAfterStream indicates an expected call of CloseAfterStream
func (*MockContainerMockRecorder) Commit ¶
func (mr *MockContainerMockRecorder) Commit(arg0 interface{}) *gomock.Call
Commit indicates an expected call of Commit
func (*MockContainerMockRecorder) CopyFrom ¶
func (mr *MockContainerMockRecorder) CopyFrom(arg0 interface{}) *gomock.Call
CopyFrom indicates an expected call of CopyFrom
func (*MockContainerMockRecorder) CopyTo ¶
func (mr *MockContainerMockRecorder) CopyTo(arg0, arg1 interface{}) *gomock.Call
CopyTo indicates an expected call of CopyTo
func (*MockContainerMockRecorder) ExtractTo ¶
func (mr *MockContainerMockRecorder) ExtractTo(arg0, arg1 interface{}) *gomock.Call
ExtractTo indicates an expected call of ExtractTo
func (*MockContainerMockRecorder) HealthCheck ¶
func (mr *MockContainerMockRecorder) HealthCheck() *gomock.Call
HealthCheck indicates an expected call of HealthCheck
func (*MockContainerMockRecorder) ID ¶
func (mr *MockContainerMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID
func (*MockContainerMockRecorder) Start ¶
func (mr *MockContainerMockRecorder) Start(arg0, arg1, arg2 interface{}) *gomock.Call
Start indicates an expected call of Start
type MockEngine ¶
type MockEngine struct {
// contains filtered or unexported fields
}
MockEngine is a mock of forgeEngine interface
func NewMockEngine ¶
func NewMockEngine(ctrl *gomock.Controller) *MockEngine
NewMockEngine creates a new mock instance
func (*MockEngine) EXPECT ¶
func (m *MockEngine) EXPECT() *MockEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEngine) NewContainer ¶
func (m *MockEngine) NewContainer(arg0 string, arg1 *container.Config, arg2 *container.HostConfig) (forge.Container, error)
NewContainer mocks base method
type MockEngineMockRecorder ¶
type MockEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockEngineMockRecorder is the mock recorder for MockEngine
func (*MockEngineMockRecorder) NewContainer ¶
func (mr *MockEngineMockRecorder) NewContainer(arg0, arg1, arg2 interface{}) *gomock.Call
NewContainer indicates an expected call of NewContainer
type MockImage ¶
type MockImage struct {
// contains filtered or unexported fields
}
MockImage is a mock of forgeImage interface
func NewMockImage ¶
func NewMockImage(ctrl *gomock.Controller) *MockImage
NewMockImage creates a new mock instance
func (*MockImage) EXPECT ¶
func (m *MockImage) EXPECT() *MockImageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockImageMockRecorder ¶
type MockImageMockRecorder struct {
// contains filtered or unexported fields
}
MockImageMockRecorder is the mock recorder for MockImage
func (*MockImageMockRecorder) Build ¶
func (mr *MockImageMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
Build indicates an expected call of Build
func (*MockImageMockRecorder) Pull ¶
func (mr *MockImageMockRecorder) Pull(arg0 interface{}) *gomock.Call
Pull indicates an expected call of Pull
type MockLoader ¶
func NewMockLoader ¶
func NewMockLoader() *MockLoader
type MockVersioner ¶
type MockVersioner struct {
// contains filtered or unexported fields
}
MockVersioner is a mock of versioner interface
func NewMockVersioner ¶
func NewMockVersioner(ctrl *gomock.Controller) *MockVersioner
NewMockVersioner creates a new mock instance
func (*MockVersioner) Build ¶
func (m *MockVersioner) Build(arg0, arg1 string) (string, error)
Build mocks base method
func (*MockVersioner) EXPECT ¶
func (m *MockVersioner) EXPECT() *MockVersionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockVersionerMockRecorder ¶
type MockVersionerMockRecorder struct {
// contains filtered or unexported fields
}
MockVersionerMockRecorder is the mock recorder for MockVersioner
func (*MockVersionerMockRecorder) Build ¶
func (mr *MockVersionerMockRecorder) Build(arg0, arg1 interface{}) *gomock.Call
Build indicates an expected call of Build