Documentation ¶
Index ¶
- func DoesGitPathExist(gitURL, gitBranch, gitPath string) bool
- func GetArgoCdAppGitDetails() error
- func JoinGitPaths(inputs []string) string
- func SetGitDetailsInArgoCd(appName string, gitDetails tsparams.ArgoCdGitDetails, ...) error
- func UpdateArgoCdAppGitPath(appName, ztpTestPath string, syncMustBeValid bool) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesGitPathExist ¶
DoesGitPathExist checks if the specified git url exists by sending an HTTP request to it.
func GetArgoCdAppGitDetails ¶
func GetArgoCdAppGitDetails() error
GetArgoCdAppGitDetails initializes tsparams.ArgoCdAppDetails with the details for each of tsparams.ArgoCdApps.
func JoinGitPaths ¶
JoinGitPaths is used to join any combination of git strings but also avoiding double slashes.
func SetGitDetailsInArgoCd ¶
func SetGitDetailsInArgoCd( appName string, gitDetails tsparams.ArgoCdGitDetails, waitForSync, syncMustBeValid bool) error
SetGitDetailsInArgoCd updates the git details for the provided Argo CD app.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.