Documentation ¶
Index ¶
- func CanPortForwardToRelease(release *types.Release) bool
- func CheckIfPortOpened(port int, terminateOnError bool) bool
- func CheckLocalGitOrDie()
- func CompareGitUrl(remoteGitUrl string) bool
- func GetBlockPort(blockName string) int
- func GetLatestSuccessfulRelease(releases map[string]*types.Release) *types.Release
- func InfoMessage(message string)
- func NoteMessage(message string)
- func StartSpinner(message ...string)
- func StopSpinner()
- func SuccessMessage(message string)
- func TerminateWithCustomError(message string)
- func TerminateWithError(err error)
- func WarningMessage(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanPortForwardToRelease ¶
check if service is port-forwardable/teleportable or not.
func CheckIfPortOpened ¶
Check if supplied port is open. takes a bool param to either kill the cli on error or return false. this is so as to reuse the fn for checking teleport connection status.
func CompareGitUrl ¶
compare passed URL with local git repo url
func GetBlockPort ¶
set ports for catalog services. TODO : remove these once, catalog ports are available in run config
func GetLatestSuccessfulRelease ¶
Gets the latest successful release from any service
func InfoMessage ¶
func InfoMessage(message string)
func NoteMessage ¶
func NoteMessage(message string)
func StartSpinner ¶
func StartSpinner(message ...string)
func StopSpinner ¶
func StopSpinner()
func SuccessMessage ¶
func SuccessMessage(message string)
func TerminateWithCustomError ¶
func TerminateWithCustomError(message string)
func TerminateWithError ¶
func TerminateWithError(err error)
func WarningMessage ¶
func WarningMessage(message string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.