github.com/replicatedhq/ship@v0.55.0/pkg/test-mocks/github/github_mock.go (about)

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