flags

package
v0.1.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubFlags

type GitHubFlags struct {
	FlagIsGitHubActions bool
	FlagGitHubToken     string
	FlagGitHubOwner     string
	FlagGitHubRepo      string
}

GitHubFlags represent the shared GitHub flags among all commands. Embed this struct into any commands that interact with GitHub.

func (*GitHubFlags) AddFlags

func (g *GitHubFlags) AddFlags(set *cli.FlagSet)

type RetryFlags

type RetryFlags struct {
	FlagRetryMaxAttempts  uint64
	FlagRetryInitialDelay time.Duration
	FlagRetryMaxDelay     time.Duration
}

RetryFlags represent the shared retry flags among all commands. Embed this struct into any commands that need retries.

func (*RetryFlags) AddFlags

func (r *RetryFlags) AddFlags(set *cli.FlagSet)

Jump to

Keyboard shortcuts

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