cli

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 10 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 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 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