dispatch

package
v0.0.0-...-79e40f4 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRepository

func NewCmdRepository() *cobra.Command

NewCmdRepository returns a new repository command.

func NewCmdRoot

func NewCmdRoot(version string) *cobra.Command

func NewCmdWorkflow

func NewCmdWorkflow() *cobra.Command

NewCmdWorkflow returns a new workflow command.

Types

type Conf

type Conf struct {
	*config.Config
}

Conf implements the cliapi tokenGetter interface. In the context of gh-dispatch, its only purpose is to provide a configuration to the GH HTTP client configuration that enables the retrieval of an auth token in the same standard way that gh itself retrieves the auth token.

func (*Conf) AuthToken

func (c *Conf) AuthToken(hostname string) (string, string)

AuthToken implements the cliapi tokenGetter interface by providing a method for retrieving the auth token.

Jump to

Keyboard shortcuts

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