import "github.com/jenkins-x/jx/pkg/cmd/step/git/credentials"
var ( StepGitCredentialsLong = templates.LongDesc(` This pipeline step generates a Git credentials file for the current Git provider secrets `) StepGitCredentialsExample = templates.Examples("" /* 273 byte string literal not displayed */, ) )
func NewCmdStepGitCredentials(commonOpts *opts.CommonOptions) *cobra.Command
type StepGitCredentialsOptions struct { step.StepOptions OutputFile string // Deprecated GitHubAppOwner string RepoOwner string GitKind string CredentialsSecret string CredentialHelper bool }
StepGitCredentialsOptions contains the command line flags
func (o *StepGitCredentialsOptions) CreateGitCredentialsFromAuthService(authConfigSvc auth.ConfigService, githubAppEnabled bool) ([]credentialhelper.GitCredential, error)
CreateGitCredentialsFromAuthService creates the git credentials using the auth config service
func (o *StepGitCredentialsOptions) GitCredentialsFileData(credentials []credentialhelper.GitCredential) ([]byte, error)
GitCredentialsFileData takes the given git credentials and writes them into a byte array.
func (o *StepGitCredentialsOptions) Run() error
Package credentials imports 17 packages (graph). Updated 2020-12-03. Refresh now. Tools for package owners.