Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomString ¶
GetRandomString returns a random string which is n characters long. If lower is set to true a lower case string is returned.
func SanitizeErrorMessage ¶
SanitizeErrorMessage takes in a given error message and returns a new, sanitized error with things like tokens removed
func ValidateRemote ¶
ValidateRemote minimally validates the remote gitops URL to ensure it contains the "https" scheme and supported "github.com" and "gitlab.com" hosts
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.