Documentation ¶
Overview ¶
Package mock_semver is a generated GoMock package.
Index ¶
- type MockService
- func (m *MockService) EXPECT() *MockServiceMockRecorder
- func (m *MockService) GetCurrentVersion() (string, error)
- func (m *MockService) GetNextVersion(versionType string) (string, error)
- func (m *MockService) SetNextVersion(versionType string) error
- func (m *MockService) SetVersion(version string) error
- func (m *MockService) TagCurrentVersion() error
- type MockServiceInterface
- type MockServiceMockRecorder
- func (mr *MockServiceMockRecorder) GetCurrentVersion() *gomock.Call
- func (mr *MockServiceMockRecorder) GetNextVersion(versionType interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SetNextVersion(versionType interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) SetVersion(version interface{}) *gomock.Call
- func (mr *MockServiceMockRecorder) TagCurrentVersion() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockService) GetCurrentVersion ¶
func (m *MockService) GetCurrentVersion() (string, error)
GetCurrentVersion mocks base method
func (*MockService) GetNextVersion ¶
func (m *MockService) GetNextVersion(versionType string) (string, error)
GetNextVersion mocks base method
func (*MockService) SetNextVersion ¶
func (m *MockService) SetNextVersion(versionType string) error
SetNextVersion mocks base method
func (*MockService) SetVersion ¶
func (m *MockService) SetVersion(version string) error
SetVersion mocks base method
func (*MockService) TagCurrentVersion ¶
func (m *MockService) TagCurrentVersion() error
TagCurrentVersion mocks base method
type MockServiceInterface ¶
type MockServiceInterface interface {
EXPECT() *MockServiceMockRecorder
}
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService
func (*MockServiceMockRecorder) GetCurrentVersion ¶
func (mr *MockServiceMockRecorder) GetCurrentVersion() *gomock.Call
GetCurrentVersion indicates an expected call of GetCurrentVersion
func (*MockServiceMockRecorder) GetNextVersion ¶
func (mr *MockServiceMockRecorder) GetNextVersion(versionType interface{}) *gomock.Call
GetNextVersion indicates an expected call of GetNextVersion
func (*MockServiceMockRecorder) SetNextVersion ¶
func (mr *MockServiceMockRecorder) SetNextVersion(versionType interface{}) *gomock.Call
SetNextVersion indicates an expected call of SetNextVersion
func (*MockServiceMockRecorder) SetVersion ¶
func (mr *MockServiceMockRecorder) SetVersion(version interface{}) *gomock.Call
SetVersion indicates an expected call of SetVersion
func (*MockServiceMockRecorder) TagCurrentVersion ¶
func (mr *MockServiceMockRecorder) TagCurrentVersion() *gomock.Call
TagCurrentVersion indicates an expected call of TagCurrentVersion