mocks

package
v4.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

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) Metadata

func (m *MockVersion) Metadata() string

Metadata mocks base method

func (*MockVersion) Original

func (m *MockVersion) Original() string

Original mocks base method

func (*MockVersion) Prerelease

func (m *MockVersion) Prerelease() string

Prerelease mocks base method

func (*MockVersion) Segments

func (m *MockVersion) Segments() []int

Segments mocks base method

func (*MockVersion) String

func (m *MockVersion) String() string

String 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL