Documentation ¶
Index ¶
- Variables
- func KillAllPlugins()
- func Serve(opts *ServeOpts)
- func StartCIConditionPlugin(opts *PluginOpts) (condition.CICondition, error)
- func StartChangelogGeneratorPlugin(opts *PluginOpts) (generator.ChangelogGenerator, error)
- func StartCommitAnalyzerPlugin(opts *PluginOpts) (analyzer.CommitAnalyzer, error)
- func StartFilesUpdaterPlugin(opts *PluginOpts) (updater.FilesUpdater, error)
- func StartHooksPlugin(opts *PluginOpts) (hooks.Hooks, error)
- func StartProviderPlugin(opts *PluginOpts) (provider.Provider, error)
- type CIConditionFunc
- type ChangelogGeneratorFunc
- type CommitAnalyzerFunc
- type FilesUpdaterFunc
- type GRPCWrapper
- type HooksFunc
- type PluginOpts
- type ProviderFunc
- type ServeOpts
Constants ¶
This section is empty.
Variables ¶
View Source
var Handshake = plugin.HandshakeConfig{
MagicCookieKey: "GO_SEMANTIC_RELEASE_MAGIC_COOKIE",
MagicCookieValue: "beepboop",
}
Functions ¶
func KillAllPlugins ¶
func KillAllPlugins()
func StartCIConditionPlugin ¶
func StartCIConditionPlugin(opts *PluginOpts) (condition.CICondition, error)
func StartChangelogGeneratorPlugin ¶
func StartChangelogGeneratorPlugin(opts *PluginOpts) (generator.ChangelogGenerator, error)
func StartCommitAnalyzerPlugin ¶
func StartCommitAnalyzerPlugin(opts *PluginOpts) (analyzer.CommitAnalyzer, error)
func StartFilesUpdaterPlugin ¶
func StartFilesUpdaterPlugin(opts *PluginOpts) (updater.FilesUpdater, error)
func StartHooksPlugin ¶ added in v2.6.0
func StartHooksPlugin(opts *PluginOpts) (hooks.Hooks, error)
func StartProviderPlugin ¶
func StartProviderPlugin(opts *PluginOpts) (provider.Provider, error)
Types ¶
type CIConditionFunc ¶
type CIConditionFunc func() condition.CICondition
type ChangelogGeneratorFunc ¶
type ChangelogGeneratorFunc func() generator.ChangelogGenerator
type CommitAnalyzerFunc ¶
type CommitAnalyzerFunc func() analyzer.CommitAnalyzer
type FilesUpdaterFunc ¶
type FilesUpdaterFunc func() updater.FilesUpdater
type GRPCWrapper ¶
type GRPCWrapper struct { Type string Impl interface{} plugin.NetRPCUnsupportedPlugin }
func (*GRPCWrapper) GRPCClient ¶
func (p *GRPCWrapper) GRPCClient(ctx context.Context, broker *plugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error)
func (*GRPCWrapper) GRPCServer ¶
func (p *GRPCWrapper) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error
type ProviderFunc ¶
type ServeOpts ¶
type ServeOpts struct { CommitAnalyzer CommitAnalyzerFunc CICondition CIConditionFunc ChangelogGenerator ChangelogGeneratorFunc Provider ProviderFunc FilesUpdater FilesUpdaterFunc Hooks HooksFunc }
Click to show internal directories.
Click to hide internal directories.