Documentation ¶ Index ¶ func Clone(gitDir string, sshKeyFile string, repoUrl string, branch string, remote string) error func Pull(gitDir string, sshKeyFile string, branch string, remote string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Clone ¶ func Clone(gitDir string, sshKeyFile string, repoUrl string, branch string, remote string) error CLone the git repository to the specified git directory with the provided remote repo name. This function assumes that the arguments provided have been checked or validated earlier, for example gitDir is an empty directory or does not exist. func Pull ¶ func Pull(gitDir string, sshKeyFile string, branch string, remote string) error Pull the git directory specified by gitDir using the provided sshKeyFile secret and branch. Types ¶ This section is empty. Source Files ¶ View all Source files git.go Click to show internal directories. Click to hide internal directories.