Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockVersion
- func (m *MockVersion) Compare(arg0 version.Version) int
- func (m *MockVersion) EXPECT() *MockVersionMockRecorder
- func (m *MockVersion) Equal(arg0 version.Version) bool
- func (m *MockVersion) Metadata() string
- func (m *MockVersion) Original() string
- func (m *MockVersion) Prerelease() string
- func (m *MockVersion) Segments() []int
- func (m *MockVersion) String() string
- type MockVersionMockRecorder
- func (mr *MockVersionMockRecorder) Compare(arg0 interface{}) *gomock.Call
- func (mr *MockVersionMockRecorder) Equal(arg0 interface{}) *gomock.Call
- func (mr *MockVersionMockRecorder) Metadata() *gomock.Call
- func (mr *MockVersionMockRecorder) Original() *gomock.Call
- func (mr *MockVersionMockRecorder) Prerelease() *gomock.Call
- func (mr *MockVersionMockRecorder) Segments() *gomock.Call
- func (mr *MockVersionMockRecorder) String() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockVersion ¶
type MockVersion struct {
// contains filtered or unexported fields
}
MockVersion is a mock of Version interface
func NewMockVersion ¶
func NewMockVersion(ctrl *gomock.Controller) *MockVersion
NewMockVersion creates a new mock instance
func (*MockVersion) Compare ¶
func (m *MockVersion) Compare(arg0 version.Version) int
Compare mocks base method
func (*MockVersion) EXPECT ¶
func (m *MockVersion) EXPECT() *MockVersionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVersion) Equal ¶
func (m *MockVersion) Equal(arg0 version.Version) bool
Equal mocks base method
func (*MockVersion) Prerelease ¶
func (m *MockVersion) Prerelease() string
Prerelease mocks base method
type MockVersionMockRecorder ¶
type MockVersionMockRecorder struct {
// contains filtered or unexported fields
}
MockVersionMockRecorder is the mock recorder for MockVersion
func (*MockVersionMockRecorder) Compare ¶
func (mr *MockVersionMockRecorder) Compare(arg0 interface{}) *gomock.Call
Compare indicates an expected call of Compare
func (*MockVersionMockRecorder) Equal ¶
func (mr *MockVersionMockRecorder) Equal(arg0 interface{}) *gomock.Call
Equal indicates an expected call of Equal
func (*MockVersionMockRecorder) Metadata ¶
func (mr *MockVersionMockRecorder) Metadata() *gomock.Call
Metadata indicates an expected call of Metadata
func (*MockVersionMockRecorder) Original ¶
func (mr *MockVersionMockRecorder) Original() *gomock.Call
Original indicates an expected call of Original
func (*MockVersionMockRecorder) Prerelease ¶
func (mr *MockVersionMockRecorder) Prerelease() *gomock.Call
Prerelease indicates an expected call of Prerelease
func (*MockVersionMockRecorder) Segments ¶
func (mr *MockVersionMockRecorder) Segments() *gomock.Call
Segments indicates an expected call of Segments
func (*MockVersionMockRecorder) String ¶
func (mr *MockVersionMockRecorder) String() *gomock.Call
String indicates an expected call of String