Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitAccount ¶
type GitAccount struct { Token string GitHubAppID string GitHubAppInstallationID string GitHubAppPrivateKey string Name string Email string }
func New ¶
func New(name, email, token, userName, password, githubAppID, githubAppInstallationID, githubAppPrivateKey string) GitAccount
func (*GitAccount) CommitAll ¶
func (g *GitAccount) CommitAll(path, message string) error
func (*GitAccount) CommitAndPush ¶
func (g *GitAccount) CommitAndPush(path, message string) error
func (*GitAccount) PrepareRepository ¶
func (g *GitAccount) PrepareRepository(repo, path, branch string) error
func (*GitAccount) Remove ¶
func (g *GitAccount) Remove(workTree, path string) error
Click to show internal directories.
Click to hide internal directories.