Versions in this module Expand all Collapse all v1 v1.0.0 Dec 17, 2025 Changes in this version + const MagicCookieKey + const MagicCookieValue + const PluginName + const ProtocolVersion + const Version + var Handshake = goplugin.HandshakeConfig + var PluginMap = map[string]goplugin.Plugin + func IsPlugin() bool + func Serve(impl Plugin) + func ServeTest(impl Plugin) (*goplugin.ReattachConfig, func()) + type Artifact struct + Checksum string + Name string + Path string + Size int64 + Type string + type CategorizedChanges struct + Breaking []ConventionalCommit + Docs []ConventionalCommit + Features []ConventionalCommit + Fixes []ConventionalCommit + Other []ConventionalCommit + Performance []ConventionalCommit + Refactor []ConventionalCommit + type ConventionalCommit struct + Author string + Body string + Breaking bool + BreakingDescription string + Date string + Description string + Hash string + Issues []string + Scope string + Type string + type ExecuteRequest struct + Config map[string]any + Context ReleaseContext + DryRun bool + Hook Hook + type ExecuteResponse struct + Artifacts []Artifact + Error string + Message string + Outputs map[string]any + Success bool + type GRPCClient struct + func (c *GRPCClient) Execute(ctx context.Context, req ExecuteRequest) (*ExecuteResponse, error) + func (c *GRPCClient) GetInfo() Info + func (c *GRPCClient) Validate(ctx context.Context, config map[string]any) (*ValidateResponse, error) + type GRPCPlugin struct + Impl Plugin + func (p *GRPCPlugin) GRPCClient(ctx context.Context, broker *goplugin.GRPCBroker, c *grpc.ClientConn) (interface{}, error) + func (p *GRPCPlugin) GRPCServer(broker *goplugin.GRPCBroker, s *grpc.Server) error + type GRPCServer struct + Impl Plugin + func (s *GRPCServer) Execute(ctx context.Context, req *proto.ExecuteRequest) (*proto.ExecuteResponse, error) + func (s *GRPCServer) GetInfo(ctx context.Context, req *proto.Empty) (*proto.PluginInfo, error) + func (s *GRPCServer) Validate(ctx context.Context, req *proto.ValidateRequest) (*proto.ValidateResponse, error) + type Hook string + const HookOnError + const HookOnSuccess + const HookPostApprove + const HookPostInit + const HookPostNotes + const HookPostPlan + const HookPostPublish + const HookPostVersion + const HookPreApprove + const HookPreInit + const HookPreNotes + const HookPrePlan + const HookPrePublish + const HookPreVersion + func AllHooks() []Hook + type Info struct + Author string + ConfigSchema string + Description string + Hooks []Hook + Name string + Version string + type Plugin interface + Execute func(ctx context.Context, req ExecuteRequest) (*ExecuteResponse, error) + GetInfo func() Info + Validate func(ctx context.Context, config map[string]any) (*ValidateResponse, error) + type ReleaseContext struct + Branch string + Changelog string + Changes *CategorizedChanges + CommitSHA string + Environment map[string]string + PreviousVersion string + ReleaseNotes string + ReleaseType string + RepositoryName string + RepositoryOwner string + RepositoryURL string + TagName string + Version string + type ValidateResponse struct + Errors []ValidationError + Valid bool + type ValidationError struct + Code string + Field string + Message string