internal

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPRFlags added in v0.7.0

func AddPRFlags(cmd *cobra.Command, headBranch, baseBranch, description, message, title *string)

func AddTemplateFlags added in v0.8.1

func AddTemplateFlags(cmd *cobra.Command, template *string, parameterValues *[]string)

func GetToken

func GetToken(repoUrl gitproviders.RepoURL, lookupEnvFunc func(key string) (string, bool)) (string, error)

GetToken returns the token stored in the <git provider>_TOKEN env var

func NewGitProviderClient

func NewGitProviderClient(stdout *os.File, lookupEnvFunc func(key string) (string, bool), log logger.Logger) gitproviders.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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