github.com/replicatedhq/ship@v0.55.0/pkg/test-mocks/docker/renderer_mock.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/replicatedhq/ship/pkg/lifecycle/render/docker (interfaces: Renderer) 3 4 // Package docker is a generated GoMock package. 5 package docker 6 7 import ( 8 context "context" 9 reflect "reflect" 10 11 log "github.com/go-kit/kit/log" 12 gomock "github.com/golang/mock/gomock" 13 libyaml "github.com/replicatedhq/libyaml" 14 api "github.com/replicatedhq/ship/pkg/api" 15 root "github.com/replicatedhq/ship/pkg/lifecycle/render/root" 16 ) 17 18 // MockRenderer is a mock of Renderer interface 19 type MockRenderer struct { 20 ctrl *gomock.Controller 21 recorder *MockRendererMockRecorder 22 } 23 24 // MockRendererMockRecorder is the mock recorder for MockRenderer 25 type MockRendererMockRecorder struct { 26 mock *MockRenderer 27 } 28 29 // NewMockRenderer creates a new mock instance 30 func NewMockRenderer(ctrl *gomock.Controller) *MockRenderer { 31 mock := &MockRenderer{ctrl: ctrl} 32 mock.recorder = &MockRendererMockRecorder{mock} 33 return mock 34 } 35 36 // EXPECT returns an object that allows the caller to indicate expected use 37 func (m *MockRenderer) EXPECT() *MockRendererMockRecorder { 38 return m.recorder 39 } 40 41 // Execute mocks base method 42 func (m *MockRenderer) Execute(arg0 root.Fs, arg1 api.DockerAsset, arg2 api.ReleaseMetadata, arg3 func(chan interface{}, log.Logger) error, arg4 string, arg5 map[string]interface{}, arg6 []libyaml.ConfigGroup) func(context.Context) error { 43 m.ctrl.T.Helper() 44 ret := m.ctrl.Call(m, "Execute", arg0, arg1, arg2, arg3, arg4, arg5, arg6) 45 ret0, _ := ret[0].(func(context.Context) error) 46 return ret0 47 } 48 49 // Execute indicates an expected call of Execute 50 func (mr *MockRendererMockRecorder) Execute(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call { 51 mr.mock.ctrl.T.Helper() 52 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Execute", reflect.TypeOf((*MockRenderer)(nil).Execute), arg0, arg1, arg2, arg3, arg4, arg5, arg6) 53 }