MCPcopy Create free account
hub / github.com/carvel-dev/kapp-controller / Configure

Method Configure

cli/pkg/kctrl/local/sources/git.go:29–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29func (g *GitSource) Configure() error {
30 err := g.initializeContentWithGit()
31 if err != nil {
32 return err
33 }
34
35 err = g.configureGitURL()
36 if err != nil {
37 return err
38 }
39 err = g.configureGitRef()
40 if err != nil {
41 return err
42 }
43 return g.getIncludedPaths()
44}
45
46func (g *GitSource) initializeContentWithGit() error {
47 contents := g.vendirConfig.Contents()

Callers

nothing calls this directly

Calls 4

configureGitURLMethod · 0.95
configureGitRefMethod · 0.95
getIncludedPathsMethod · 0.95

Tested by

no test coverage detected