Documentation ¶
Index ¶
- Constants
- func RegisterCICondition(cc CICondition)
- func RegisterChangelogGenerator(cg ChangelogGenerator)
- func RegisterCommitAnalyzer(ca CommitAnalyzer)
- func RegisterFilesUpdater(fu FilesUpdater)
- func RegisterHooks(h Hooks)
- func RegisterProvider(p Provider)
- type CICondition
- type ChainedHooksExecutor
- func (c *ChainedHooksExecutor) GetNameVersionPairs() []string
- func (c *ChainedHooksExecutor) Init(conf map[string]string) error
- func (c *ChainedHooksExecutor) NoRelease(reason NoReleaseReason, message string) error
- func (c *ChainedHooksExecutor) Success(commits []*semrel.Commit, prevRelease *semrel.Release, ...) error
- type ChainedUpdater
- type ChangelogGenerator
- type CommitAnalyzer
- type CreateReleaseConfig
- type Discovery
- type FilesUpdater
- type Hooks
- type Manager
- func (m *Manager) EnsureAllPlugins() error
- func (m *Manager) GetCICondition() (CICondition, error)
- func (m *Manager) GetChainedHooksExecutor() (*ChainedHooksExecutor, error)
- func (m *Manager) GetChainedUpdater() (*ChainedUpdater, error)
- func (m *Manager) GetChangelogGenerator() (ChangelogGenerator, error)
- func (m *Manager) GetCommitAnalyzer() (CommitAnalyzer, error)
- func (m *Manager) GetProvider() (Provider, error)
- func (m *Manager) Stop()
- type NoReleaseReason
- type Provider
- type RepositoryInfo
Constants ¶
View Source
const ( PluginProvider pluginType = "provider" PluginFilesUpdater pluginType = "files_updater" PluginHooks pluginType = "hooks" PluginChangelogGenerator pluginType = "changelog_generator" PluginCondition pluginType = "ci_condition" PluginCommitAnalyzer pluginType = "commit_analyzer" )
Variables ¶
This section is empty.
Functions ¶
func RegisterCICondition ¶
func RegisterCICondition(cc CICondition)
func RegisterChangelogGenerator ¶
func RegisterChangelogGenerator(cg ChangelogGenerator)
func RegisterCommitAnalyzer ¶
func RegisterCommitAnalyzer(ca CommitAnalyzer)
func RegisterFilesUpdater ¶
func RegisterFilesUpdater(fu FilesUpdater)
func RegisterHooks ¶
func RegisterHooks(h Hooks)
func RegisterProvider ¶
func RegisterProvider(p Provider)
Types ¶
type CICondition ¶
type ChainedHooksExecutor ¶
type ChainedHooksExecutor struct {
HooksChain []Hooks
}
func (*ChainedHooksExecutor) GetNameVersionPairs ¶
func (c *ChainedHooksExecutor) GetNameVersionPairs() []string
func (*ChainedHooksExecutor) Init ¶
func (c *ChainedHooksExecutor) Init(conf map[string]string) error
func (*ChainedHooksExecutor) NoRelease ¶
func (c *ChainedHooksExecutor) NoRelease(reason NoReleaseReason, message string) error
type ChainedUpdater ¶
type ChainedUpdater struct {
Updaters []FilesUpdater
}
func (*ChainedUpdater) Apply ¶
func (u *ChainedUpdater) Apply(file, newVersion string) error
func (*ChainedUpdater) GetNameVersionPairs ¶
func (u *ChainedUpdater) GetNameVersionPairs() []string
type ChangelogGenerator ¶
type CommitAnalyzer ¶
type CreateReleaseConfig ¶
type Discovery ¶
type Discovery struct {
// contains filtered or unexported fields
}
func (*Discovery) FindPlugin ¶
type FilesUpdater ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func (*Manager) EnsureAllPlugins ¶
func (*Manager) GetCICondition ¶
func (m *Manager) GetCICondition() (CICondition, error)
func (*Manager) GetChainedHooksExecutor ¶
func (m *Manager) GetChainedHooksExecutor() (*ChainedHooksExecutor, error)
func (*Manager) GetChainedUpdater ¶
func (m *Manager) GetChainedUpdater() (*ChainedUpdater, error)
func (*Manager) GetChangelogGenerator ¶
func (m *Manager) GetChangelogGenerator() (ChangelogGenerator, error)
func (*Manager) GetCommitAnalyzer ¶
func (m *Manager) GetCommitAnalyzer() (CommitAnalyzer, error)
func (*Manager) GetProvider ¶
type NoReleaseReason ¶
type NoReleaseReason int32
const ( NoReleaseReasonCondition NoReleaseReason = 0 NoReleaseReasonNoChange NoReleaseReason = 1 )
Click to show internal directories.
Click to hide internal directories.