Documentation
¶
Index ¶
- Variables
- type Auth
- type Git
- func (g *Git) Clone() error
- func (g *Git) CommitFiles(logger *zap.Logger, message string, files []string) error
- func (g *Git) Fetch() (*object.Commit, error)
- func (g *Git) LogClose(file *os.File) error
- func (g *Git) LogOpen() (*os.File, error)
- func (g *Git) Pull() (*object.Commit, error)
- func (g *Git) Push(logger *zap.Logger) error
- func (g *Git) PushToRemote(remoteName, refSpec string) error
- func (g *Git) RemoteHead() (plumbing.Hash, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrPollingInterval = errors.New("sleep interval didn't pass")
)
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
Auth transport.AuthMethod
}
Click to show internal directories.
Click to hide internal directories.