flags

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 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) Register

func (g *GitHubFlags) Register(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) Register

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

Jump to

Keyboard shortcuts

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