Merge pull request #2169 from yujunz/loader/go-getter

Replace git cloner with go getter to support various target
This commit is contained in:
Kubernetes Prow Robot
2020-03-06 15:45:34 -08:00
committed by GitHub
7 changed files with 168 additions and 31 deletions

View File

@@ -62,6 +62,11 @@ func (x *RepoSpec) Raw() string {
return x.raw
}
func (x *RepoSpec) WithRaw(s string) *RepoSpec {
x.raw = s
return x
}
func (x *RepoSpec) AbsPath() string {
return x.Dir.Join(x.Path)
}