Documentation ¶
Overview ¶
Package mock_repo is a generated GoMock package.
Index ¶
- type MockTemplateRepo
- func (m *MockTemplateRepo) DeleteChart(name, version string) error
- func (m *MockTemplateRepo) EXPECT() *MockTemplateRepoMockRecorder
- func (m *MockTemplateRepo) ExistChart(name, version string) (bool, error)
- func (m *MockTemplateRepo) GetChart(name, version string, lastSyncAt time.Time) (*chart.Chart, error)
- func (m *MockTemplateRepo) GetLoc() string
- func (m *MockTemplateRepo) UploadChart(chart *chart.Chart) error
- type MockTemplateRepoMockRecorder
- func (mr *MockTemplateRepoMockRecorder) DeleteChart(name, version interface{}) *gomock.Call
- func (mr *MockTemplateRepoMockRecorder) ExistChart(name, version interface{}) *gomock.Call
- func (mr *MockTemplateRepoMockRecorder) GetChart(name, version, lastSyncAt interface{}) *gomock.Call
- func (mr *MockTemplateRepoMockRecorder) GetLoc() *gomock.Call
- func (mr *MockTemplateRepoMockRecorder) UploadChart(chart interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockTemplateRepo ¶
type MockTemplateRepo struct {
// contains filtered or unexported fields
}
MockTemplateRepo is a mock of TemplateRepo interface.
func NewMockTemplateRepo ¶
func NewMockTemplateRepo(ctrl *gomock.Controller) *MockTemplateRepo
NewMockTemplateRepo creates a new mock instance.
func (*MockTemplateRepo) DeleteChart ¶
func (m *MockTemplateRepo) DeleteChart(name, version string) error
DeleteChart mocks base method.
func (*MockTemplateRepo) EXPECT ¶
func (m *MockTemplateRepo) EXPECT() *MockTemplateRepoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTemplateRepo) ExistChart ¶
func (m *MockTemplateRepo) ExistChart(name, version string) (bool, error)
ExistChart mocks base method.
func (*MockTemplateRepo) GetChart ¶
func (m *MockTemplateRepo) GetChart(name, version string, lastSyncAt time.Time) (*chart.Chart, error)
GetChart mocks base method.
func (*MockTemplateRepo) GetLoc ¶
func (m *MockTemplateRepo) GetLoc() string
GetLoc mocks base method.
func (*MockTemplateRepo) UploadChart ¶
func (m *MockTemplateRepo) UploadChart(chart *chart.Chart) error
UploadChart mocks base method.
type MockTemplateRepoMockRecorder ¶
type MockTemplateRepoMockRecorder struct {
// contains filtered or unexported fields
}
MockTemplateRepoMockRecorder is the mock recorder for MockTemplateRepo.
func (*MockTemplateRepoMockRecorder) DeleteChart ¶
func (mr *MockTemplateRepoMockRecorder) DeleteChart(name, version interface{}) *gomock.Call
DeleteChart indicates an expected call of DeleteChart.
func (*MockTemplateRepoMockRecorder) ExistChart ¶
func (mr *MockTemplateRepoMockRecorder) ExistChart(name, version interface{}) *gomock.Call
ExistChart indicates an expected call of ExistChart.
func (*MockTemplateRepoMockRecorder) GetChart ¶
func (mr *MockTemplateRepoMockRecorder) GetChart(name, version, lastSyncAt interface{}) *gomock.Call
GetChart indicates an expected call of GetChart.
func (*MockTemplateRepoMockRecorder) GetLoc ¶
func (mr *MockTemplateRepoMockRecorder) GetLoc() *gomock.Call
GetLoc indicates an expected call of GetLoc.
func (*MockTemplateRepoMockRecorder) UploadChart ¶
func (mr *MockTemplateRepoMockRecorder) UploadChart(chart interface{}) *gomock.Call
UploadChart indicates an expected call of UploadChart.