Documentation ¶
Index ¶
- Variables
- func GetSysProcAttr() *syscall.SysProcAttr
- func KillAllPlugins()
- func Serve(opts *ServeOpts)
- func StartPlugin(pluginInfo *Info) (interface{}, error)
- type CIConditionFunc
- type ChangelogGeneratorFunc
- type CommitAnalyzerFunc
- type FilesUpdaterFunc
- type GRPCWrapper
- type HooksFunc
- type Info
- 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 GetSysProcAttr ¶ added in v2.24.0
func GetSysProcAttr() *syscall.SysProcAttr
func KillAllPlugins ¶
func KillAllPlugins()
func StartPlugin ¶ added in v2.12.0
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 Info ¶ added in v2.25.0
type Info struct { Type string Name string NormalizedName string ShortNormalizedName string Constraint *semver.Constraints Resolver string RepoSlug string PluginPath string BinPath string }
func GetPluginInfo ¶ added in v2.24.0
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.