Versions in this module Expand all Collapse all v0 v0.1.0 Dec 31, 2023 Changes in this version + func CloneRepository(repoURL, destination string, auth *gitHttp.BasicAuth) error + func ExecuteCmdWithOutput(command string, args ...string) (string, error) + func FileHasChanges(repoPath, file, lastCommit, currentCommit string) (bool, error) + func GetLatestCommit(gitRepoPath string) (string, error) + func PullRepository(repoPath string, auth *gitHttp.BasicAuth) (bool, error) + func SyncFiles(repoPath string, mappings []FileSyncMapping) error + type FileSyncMapping struct + Destination string + Source string + type Manager struct + Auth *gitHttp.BasicAuth + func NewGitOpsManager(username, password string) *Manager + func (m *Manager) CloneRepository(repoURL, destination string) error + func (m *Manager) PullRepository(repoPath string) (bool, error) + func (m *Manager) SyncFiles(repoPath string, mappings []FileSyncMapping) error