mock_version

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_version is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitRepo

type MockGitRepo struct {
	// contains filtered or unexported fields
}

MockGitRepo is a mock of GitRepo interface

func NewMockGitRepo

func NewMockGitRepo(ctrl *gomock.Controller) *MockGitRepo

NewMockGitRepo creates a new mock instance

func (*MockGitRepo) CountCommits

func (m *MockGitRepo) CountCommits(arg0, arg1 string) (int, error)

CountCommits mocks base method

func (*MockGitRepo) EXPECT

func (m *MockGitRepo) EXPECT() *MockGitRepoMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockGitRepo) FetchTags

func (m *MockGitRepo) FetchTags() error

FetchTags mocks base method

func (*MockGitRepo) GetCommits

func (m *MockGitRepo) GetCommits(arg0, arg1 string) ([]git.Commit, error)

GetCommits mocks base method

func (*MockGitRepo) GetCurrentBranch

func (m *MockGitRepo) GetCurrentBranch() (string, error)

GetCurrentBranch mocks base method

func (*MockGitRepo) GetLastRelativeTag

func (m *MockGitRepo) GetLastRelativeTag(arg0 string) (git.Tag, error)

GetLastRelativeTag mocks base method

type MockGitRepoMockRecorder

type MockGitRepoMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitRepoMockRecorder is the mock recorder for MockGitRepo

func (*MockGitRepoMockRecorder) CountCommits

func (mr *MockGitRepoMockRecorder) CountCommits(arg0, arg1 interface{}) *gomock.Call

CountCommits indicates an expected call of CountCommits

func (*MockGitRepoMockRecorder) FetchTags

func (mr *MockGitRepoMockRecorder) FetchTags() *gomock.Call

FetchTags indicates an expected call of FetchTags

func (*MockGitRepoMockRecorder) GetCommits

func (mr *MockGitRepoMockRecorder) GetCommits(arg0, arg1 interface{}) *gomock.Call

GetCommits indicates an expected call of GetCommits

func (*MockGitRepoMockRecorder) GetCurrentBranch

func (mr *MockGitRepoMockRecorder) GetCurrentBranch() *gomock.Call

GetCurrentBranch indicates an expected call of GetCurrentBranch

func (*MockGitRepoMockRecorder) GetLastRelativeTag

func (mr *MockGitRepoMockRecorder) GetLastRelativeTag(arg0 interface{}) *gomock.Call

GetLastRelativeTag indicates an expected call of GetLastRelativeTag

Jump to

Keyboard shortcuts

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