Documentation ¶
Index ¶
- type Builder
- type Changelog
- func (_m *Changelog) AddUnreleased(_a0 []string)
- func (_m *Changelog) GetEntries() []*entry.Entry
- func (_m *Changelog) GetRepoName() string
- func (_m *Changelog) GetRepoOwner() string
- func (_m *Changelog) GetUnreleased() []string
- func (_m *Changelog) Head() *entry.Entry
- func (_m *Changelog) Insert(_a0 entry.Entry)
- func (_m *Changelog) Tail() *entry.Entry
- type GitClient
- type GitHubClient
- type Logger
- type Parser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶ added in v0.10.0
Builder is an autogenerated mock type for the Builder type
func NewBuilder ¶ added in v0.10.0
NewBuilder creates a new instance of Builder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type Changelog ¶
Changelog is an autogenerated mock type for the Changelog type
func NewChangelog ¶
NewChangelog creates a new instance of Changelog. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Changelog) AddUnreleased ¶ added in v0.10.0
AddUnreleased provides a mock function with given fields: _a0
func (*Changelog) GetEntries ¶
GetEntries provides a mock function with given fields:
func (*Changelog) GetRepoName ¶
GetRepoName provides a mock function with given fields:
func (*Changelog) GetRepoOwner ¶
GetRepoOwner provides a mock function with given fields:
func (*Changelog) GetUnreleased ¶
GetUnreleased provides a mock function with given fields:
type GitClient ¶
GitClient is an autogenerated mock type for the GitClient type
func NewGitClient ¶
NewGitClient creates a new instance of GitClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GitClient) GetDateOfHash ¶
GetDateOfHash provides a mock function with given fields: hash
func (*GitClient) GetFirstCommit ¶
GetFirstCommit provides a mock function with given fields:
func (*GitClient) GetLastCommit ¶
GetLastCommit provides a mock function with given fields:
type GitHubClient ¶
GitHubClient is an autogenerated mock type for the GitHubClient type
func NewGitHubClient ¶
func NewGitHubClient(t interface { mock.TestingT Cleanup(func()) }) *GitHubClient
NewGitHubClient creates a new instance of GitHubClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GitHubClient) GetPullRequestsBetweenDates ¶
func (_m *GitHubClient) GetPullRequestsBetweenDates(from time.Time, to time.Time) ([]githubclient.PullRequest, error)
GetPullRequestsBetweenDates provides a mock function with given fields: from, to
func (*GitHubClient) GetRepoName ¶
func (_m *GitHubClient) GetRepoName() string
GetRepoName provides a mock function with given fields:
func (*GitHubClient) GetRepoOwner ¶
func (_m *GitHubClient) GetRepoOwner() string
GetRepoOwner provides a mock function with given fields:
func (*GitHubClient) GetTags ¶
func (_m *GitHubClient) GetTags() ([]githubclient.Tag, error)
GetTags provides a mock function with given fields:
type Logger ¶ added in v0.11.0
Logger is an autogenerated mock type for the Logger type
func NewLogger ¶ added in v0.11.0
NewLogger creates a new instance of Logger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Logger) Complete ¶ added in v0.11.0
func (_m *Logger) Complete()
Complete provides a mock function with given fields:
func (*Logger) Errorf ¶ added in v0.11.0
Errorf provides a mock function with given fields: format, args
func (*Logger) GetType ¶ added in v0.11.0
func (_m *Logger) GetType() logging.LoggerType
GetType provides a mock function with given fields:
type Parser ¶ added in v0.12.0
Parser is an autogenerated mock type for the Parser type