gitcommand

package
v0.0.0-...-0f89e43 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitCommandDriver

type GitCommandDriver struct {
	// contains filtered or unexported fields
}

func NewGitCommandDriver

func NewGitCommandDriver(l *logrus.Logger, user, email, token string) *GitCommandDriver

func (*GitCommandDriver) Clone

func (g *GitCommandDriver) Clone(ctx context.Context, org, repo string) (string, error)

func (*GitCommandDriver) CommitAll

func (g *GitCommandDriver) CommitAll(ctx context.Context, dirPath, commitMsg string) error

func (*GitCommandDriver) HealthCheck

func (g *GitCommandDriver) HealthCheck() (err error)

func (*GitCommandDriver) Push

func (g *GitCommandDriver) Push(ctx context.Context, dirPath string) error

func (*GitCommandDriver) Remove

func (g *GitCommandDriver) Remove(ctx context.Context, dir string) error

func (*GitCommandDriver) SwitchNewBranch

func (g *GitCommandDriver) SwitchNewBranch(ctx context.Context, dirPath, branch string) error

Jump to

Keyboard shortcuts

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