Documentation ¶
Overview ¶
Package cli implements the commands for the github-metrics-aggregator CLI.
Index ¶
- func Run(ctx context.Context, args []string) error
- type ArtifactJobCommand
- type RetryServerCommand
- func (c *RetryServerCommand) Desc() string
- func (c *RetryServerCommand) Flags() *cli.FlagSet
- func (c *RetryServerCommand) Help() string
- func (c *RetryServerCommand) Run(ctx context.Context, args []string) error
- func (c *RetryServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, error)
- type ReviewJobCommand
- type WebhookServerCommand
- func (c *WebhookServerCommand) Desc() string
- func (c *WebhookServerCommand) Flags() *cli.FlagSet
- func (c *WebhookServerCommand) Help() string
- func (c *WebhookServerCommand) Run(ctx context.Context, args []string) error
- func (c *WebhookServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ArtifactJobCommand ¶ added in v0.0.26
type ArtifactJobCommand struct { cli.BaseCommand // contains filtered or unexported fields }
The ArtifactJobCommand is a Cloud Run job that will read workflow event records from BigQuery and ingest any available logs into cloud storage.
The job acts as a GitHub App for authentication purposes.
func (*ArtifactJobCommand) Desc ¶ added in v0.0.26
func (c *ArtifactJobCommand) Desc() string
func (*ArtifactJobCommand) Flags ¶ added in v0.0.26
func (c *ArtifactJobCommand) Flags() *cli.FlagSet
func (*ArtifactJobCommand) Help ¶ added in v0.0.26
func (c *ArtifactJobCommand) Help() string
type RetryServerCommand ¶
type RetryServerCommand struct { cli.BaseCommand // contains filtered or unexported fields }
func (*RetryServerCommand) Desc ¶
func (c *RetryServerCommand) Desc() string
func (*RetryServerCommand) Flags ¶
func (c *RetryServerCommand) Flags() *cli.FlagSet
func (*RetryServerCommand) Help ¶
func (c *RetryServerCommand) Help() string
type ReviewJobCommand ¶ added in v0.0.26
type ReviewJobCommand struct { cli.BaseCommand // contains filtered or unexported fields }
The ReviewJobCommand is a Cloud Run job that will read commits from BigQuery and verify that they received proper review.
The job acts as a GitHub App for authentication purposes.
func (*ReviewJobCommand) Desc ¶ added in v0.0.26
func (c *ReviewJobCommand) Desc() string
func (*ReviewJobCommand) Flags ¶ added in v0.0.26
func (c *ReviewJobCommand) Flags() *cli.FlagSet
func (*ReviewJobCommand) Help ¶ added in v0.0.26
func (c *ReviewJobCommand) Help() string
type WebhookServerCommand ¶
type WebhookServerCommand struct { cli.BaseCommand // contains filtered or unexported fields }
func (*WebhookServerCommand) Desc ¶
func (c *WebhookServerCommand) Desc() string
func (*WebhookServerCommand) Flags ¶
func (c *WebhookServerCommand) Flags() *cli.FlagSet
func (*WebhookServerCommand) Help ¶
func (c *WebhookServerCommand) Help() string
Click to show internal directories.
Click to hide internal directories.