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
Click to show internal directories.
Click to hide internal directories.