Documentation ¶
Index ¶
- type Mock
- func (m *Mock) Analyze(commits []*semrel.RawCommit) []*semrel.Commit
- func (m *Mock) Apply(file, newVersion string) error
- func (m *Mock) CreateRelease(rc *provider.CreateReleaseConfig) error
- func (m *Mock) ForFiles() string
- func (m *Mock) Generate(gc *generator.ChangelogGeneratorConfig) string
- func (m *Mock) GetCommits(fromSha, toSha string) ([]*semrel.RawCommit, error)
- func (m *Mock) GetCurrentBranch() string
- func (m *Mock) GetCurrentSHA() string
- func (m *Mock) GetInfo() (*provider.RepositoryInfo, error)
- func (m *Mock) GetReleases(rawRe string) ([]*semrel.Release, error)
- func (m *Mock) Init(_ map[string]string) error
- func (m *Mock) Name() string
- func (m *Mock) NoRelease(_ *hooks.NoReleaseConfig) error
- func (m *Mock) RunCondition(_ map[string]string) error
- func (m *Mock) Success(_ *hooks.SuccessHookConfig) error
- func (m *Mock) Version() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mock ¶
func (*Mock) CreateRelease ¶
func (m *Mock) CreateRelease(rc *provider.CreateReleaseConfig) error
func (*Mock) GetCommits ¶
func (*Mock) GetCurrentBranch ¶
func (*Mock) GetCurrentSHA ¶
Click to show internal directories.
Click to hide internal directories.