Versions in this module Expand all Collapse all v1 v1.0.1 Oct 25, 2025 Changes in this version + const EventTypeCron + const EventTypeDeployment + const EventTypeManual + const EventTypePullRequest + const EventTypePush + const EventTypeTag + const ForgeTypeBitbucket + const ForgeTypeForgejo + const ForgeTypeGitHub + const ForgeTypeGitLab + const ForgeTypeGitea + func Flags() []cli.Flag + func HTTPClientFromContext(c *cli.Command) *http.Client + func SetupConsoleLogger(c *cli.Command) error + type Author struct + Avatar string + Email string + Name string + type Commit struct + Author Author + Branch string + Message string + PullRequest string + Ref string + Refspec string + Sha string + SourceBranch string + Tag string + TargetBranch string + type ExecuteFunc func(ctx context.Context) error + type Forge struct + Link string + Type string + URL string + type Metadata struct + Commit Commit + Curr Commit + Forge Forge + Pipeline Pipeline + Prev Commit + PreviousCommit Commit + Repository Repository + Step Step + System System + func MetadataFromContext(c *cli.Command) Metadata + type Options struct + Context context.Context + Description string + Execute ExecuteFunc + Flags []cli.Flag + Name string + Version string + type Pipeline struct + ChangedFiles []string + Created time.Time + DeployTarget string + Event string + Finished time.Time + Link string + Number int64 + Parent int64 + Started time.Time + Status string + URL string + type Plugin struct + App *cli.Command + Metadata Metadata + func New(opt Options) *Plugin + func (p *Plugin) HTTPClient() *http.Client + func (p *Plugin) Run() + type Repository struct + Branch string + CloneURL string + DefaultBranch string + Link string + Name string + Owner string + Private bool + RemoteID string + URL string + type Step struct + Finished time.Time + Number int + Started time.Time + type System struct + Host string + Link string + Name string + Platform string + URL string + Version string