cli

package
v0.0.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package cli implements the commands for the github-metrics-aggregator CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string) error

Run executes the CLI.

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

func (*ArtifactJobCommand) Run added in v0.0.26

func (c *ArtifactJobCommand) Run(ctx context.Context, args []string) error

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

func (*RetryServerCommand) Run

func (c *RetryServerCommand) Run(ctx context.Context, args []string) error

func (*RetryServerCommand) RunUnstarted

func (c *RetryServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, error)

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

func (*ReviewJobCommand) Run added in v0.0.26

func (c *ReviewJobCommand) Run(ctx context.Context, args []string) error

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

func (*WebhookServerCommand) Run

func (c *WebhookServerCommand) Run(ctx context.Context, args []string) error

func (*WebhookServerCommand) RunUnstarted

func (c *WebhookServerCommand) RunUnstarted(ctx context.Context, args []string) (*serving.Server, http.Handler, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL