Versions in this module Expand all Collapse all v5 v5.0.0 Apr 16, 2025 Changes in this version + const FlagsCommitCategory + const FlagsPipelineCategory + const FlagsPluginCategory + const FlagsRepositoryCategory + const FlagsStepCategory + const FlagsSystemCategory + const HTTPTransportIdleTimeout + const HTTPTransportMaxIdleConns + const HTTPTransportTLSHandshakeTimeout + const NetDailerTimeout + var ErrTypeAssertionFailed = errors.New("type assertion failed") + func Flags() []cli.Flag + func SetupConsoleLogger(ctx context.Context, cmd *cli.Command) (context.Context, error) + type Author struct + Avatar string + Email string + Name string + type Commit struct + Author Author + Branch string + Description string + Message string + PullRequest int64 + Ref string + Refspec string + SHA string + SourceBranch string + Tag string + TargetBranch string + Title string + URL string + type Environment map[string]string + func EnvironmentFromContext(cmd *cli.Command) (Environment, error) + func (e Environment) Lookup(key string) (string, bool) + func (e Environment) Value() []string + type ExecuteFunc func(ctx context.Context) error + type Metadata struct + Curr Commit + Pipeline Pipeline + Prev Commit + Repository Repository + Step Step + System System + func MetadataFromContext(cmd *cli.Command) Metadata + type Network struct + Client *http.Client + Context context.Context + InsecureSkipVerify bool + func NetworkFromContext(cmd *cli.Command) Network + type Options struct + Description string + Execute ExecuteFunc + Flags []cli.Flag + HideWoodpeckerFlags bool + Name string + Version string + VersionMetadata string + type Pipeline struct + Created time.Time + DeployTarget string + Event string + Finished time.Time + Number int64 + Parent int64 + Started time.Time + Status string + URL string + type Plugin struct + App *cli.Command + Environment Environment + Metadata Metadata + Network Network + func New(opt Options) *Plugin + func (p *Plugin) Run() + type Repository struct + Branch string + CloneURL string + Name string + Owner string + Private bool + RemoteID int64 + Slug string + URL string + type Step struct + Finished time.Time + Number int64 + Started time.Time + type System struct + Host string + Name string + Platform string + URL string + Version string Other modules containing this package github.com/thegeeklab/wp-plugin-go github.com/thegeeklab/wp-plugin-go/v2 github.com/thegeeklab/wp-plugin-go/v3 github.com/thegeeklab/wp-plugin-go/v4 github.com/thegeeklab/wp-plugin-go/v6