Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheEntry ¶
type CacheEntry struct {
// contains filtered or unexported fields
}
func (*CacheEntry) GetClonedDir ¶
func (e *CacheEntry) GetClonedDir(ref string) (string, git.CheckoutInfo, error)
func (*CacheEntry) GetRepoInfo ¶
func (e *CacheEntry) GetRepoInfo() RepoInfo
func (*CacheEntry) Update ¶
func (e *CacheEntry) Update() error
type GitRepoCache ¶
type GitRepoCache struct {
// contains filtered or unexported fields
}
func NewGitRepoCache ¶
func NewGitRepoCache(ctx context.Context, sshPool *ssh_pool.SshPool, authProviders *auth.GitAuthProviders, repoOverrides []RepoOverride, updateInterval time.Duration) *GitRepoCache
func (*GitRepoCache) Clear ¶
func (rp *GitRepoCache) Clear()
func (*GitRepoCache) GetEntry ¶
func (rp *GitRepoCache) GetEntry(url types.GitUrl) (*CacheEntry, error)
type RepoOverride ¶
type RepoOverride struct { RepoKey types.GitRepoKey Ref string Override string IsGroup bool }
Click to show internal directories.
Click to hide internal directories.