Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeAPIName ¶
func MakeLocalPath ¶
Types ¶
type GitRepository ¶
type GitRepository interface { Pull(ctx context.Context) error GetCurrentCommitId() string GetFS() (billy.Filesystem, error) GetLocalPath() string }
func NewGitRepository ¶
func NewGitRepository(ctx context.Context, localDir, cloneUrl, branchName, sshKeyDir string) (GitRepository, error)
type ReadonlyGitRepository ¶
type ReadonlyGitRepository interface { GetCurrentCommitId() string GetFS() (billy.Filesystem, error) }
func NewReadOnlyGitRepository ¶
func NewReadOnlyGitRepository(localPath, sshKeyDir string) (ReadonlyGitRepository, error)
Click to show internal directories.
Click to hide internal directories.