credentials

package
v0.0.0-...-16e729a Latest Latest
Warning

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

Go to latest
Published: May 21, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawCredentials

type RawCredentials struct {
	SSHPrivKey string
	SSHPubKey  string
	Username   string
	Password   string
	// contains filtered or unexported fields
}

RawCredentials is a struct for any credentials

func NewCreds

func NewCreds(project *config.Project) (*RawCredentials, error)

NewCreds returns a pointer to a new instance of RawCredentials

func (*RawCredentials) ToGitCredentials

func (rc *RawCredentials) ToGitCredentials() git.Cred

ToGitCredentials converts RawCredentials to Git credentials

Jump to

Keyboard shortcuts

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