Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultGitCommitMessage = `` /* 149-byte string literal not displayed */
DefaultGitCommitMessage is the default commit message build with the changes detected in the app
Variables ¶
This section is empty.
Functions ¶
func UserAndPasswordNotProvided ¶ added in v0.1.0
UserAndPasswordNotProvided return an error used when username or password are not provided for generate and credentials
Types ¶
type Credentials ¶
type Credentials struct {
Username string
Password string
Email string
SSHPrivKey string
SSHPrivKeyFileInline bool
}
Credentials is a git credential config
func (Credentials) NewGitCreds ¶ added in v0.1.0
func (c Credentials) NewGitCreds(repoURL string, password string) (transport.AuthMethod, error)
NewGitCreds returns credentials for use with go-git library
Click to show internal directories.
Click to hide internal directories.