mock

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mock

type Mock struct {
	PluginVersion string
	Log           *log.Logger
}

func (*Mock) Analyze

func (m *Mock) Analyze(commits []*semrel.RawCommit) []*semrel.Commit

func (*Mock) Apply

func (m *Mock) Apply(file, newVersion string) error

func (*Mock) CreateRelease

func (m *Mock) CreateRelease(rc *provider.CreateReleaseConfig) error

func (*Mock) ForFiles

func (m *Mock) ForFiles() string

func (*Mock) Generate

func (m *Mock) Generate(gc *generator.ChangelogGeneratorConfig) string

func (*Mock) GetCommits

func (m *Mock) GetCommits(fromSha, toSha string) ([]*semrel.RawCommit, error)

func (*Mock) GetCurrentBranch

func (m *Mock) GetCurrentBranch() string

func (*Mock) GetCurrentSHA

func (m *Mock) GetCurrentSHA() string

func (*Mock) GetInfo

func (m *Mock) GetInfo() (*provider.RepositoryInfo, error)

func (*Mock) GetReleases

func (m *Mock) GetReleases(rawRe string) ([]*semrel.Release, error)

func (*Mock) Init

func (m *Mock) Init(_ map[string]string) error

func (*Mock) Name

func (m *Mock) Name() string

func (*Mock) NoRelease

func (m *Mock) NoRelease(_ *hooks.NoReleaseConfig) error

func (*Mock) RunCondition

func (m *Mock) RunCondition(_ map[string]string) error

func (*Mock) Success

func (m *Mock) Success(_ *hooks.SuccessHookConfig) error

func (*Mock) Version

func (m *Mock) Version() string

Jump to

Keyboard shortcuts

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