Documentation ¶
Index ¶
- Constants
- Variables
- func IsDeletingReleases(err error) bool
- func IsEnsuringActiveDemoted(err error) bool
- func IsEnsuringActivePromoted(err error) bool
- func IsEnsuringActiveTested(err error) bool
- func IsEnsuringComponentDeployed(err error) bool
- func IsEnsuringNamespaceDestroyed(err error) bool
- func IsErrActiveDemotionTimeout(err error) bool
- func IsErrActivePromotionTimeout(err error) bool
- func IsErrGitCloning(err error) bool
- func IsErrGitPulling(err error) bool
- func IsErrRequestTimeout(err error) bool
- func IsErrRollbackActivePromotionTimeout(err error) bool
- func IsGitNoErrAlreadyUpToDate(err error) bool
- func IsImageNotFound(err error) bool
- func IsLoadingConfiguration(err error) bool
- func IsNamespaceStillCreating(err error) bool
- func IsNamespaceStillExists(err error) bool
- func IsRollingBackActivePromotion(err error) bool
- func IsTeamNotFound(err error) bool
- type Error
Constants ¶
const ( ErrInternalError = Error("internal error") ErrNotImplemented = Error("not implemented") ErrDeployTimeout = Error("deploy timeout") ErrTestTimeout = Error("test timeout") ErrTestRunnerNotFound = Error("test runner not found") ErrRequestTimeout = Error("request timeout") ErrExecutionTimeout = Error("execution timeout") ErrImageVersionNotFound = Error("image version not found") ErrNoDesiredComponentVersion = Error("no desired component version") // ErrComponentMissingArgs indicates that some component arguments are missing ErrComponentMissingArgs = Error("cannot new component: component name and current version should not be empty") ErrTeamNotFound = Error("team not found") ErrTeamNamespaceStillCreating = Error("still creating namespace") ErrTeamNamespaceStillExists = Error("destroyed namespace still exists") ErrActivePromotionTimeout = Error("active promotion timeout") ErrActiveDemotionTimeout = Error("demoted active environment timeout") ErrRollbackActivePromotionTimeout = Error("rollback active promotion timeout") ErrEnsureNamespaceDestroyed = Error("namespace has not been destroyed") ErrEnsureActiveDemoted = Error("active environment has been being demoted") ErrEnsureActivePromoted = Error("active environment has been being promoted") ErrEnsureComponentDeployed = Error("components has been being deployed") ErrEnsureComponentTested = Error("components has been being tested") ErrLoadConfiguration = Error("cannot load configuration") ErrLoadingConfiguration = Error("configuration has been being loaded") ErrDeletingReleases = Error("deleting releases") ErrForceDeletingComponents = Error("force deleting components") ErrRollingBackActivePromotion = Error("rolling back active promotion process") ErrGitCloneTimeout = Error("git clone timeout") ErrGitPullTimeout = Error("git pull timeout") ErrGitPushTimeout = Error("git push timeout") ErrGitDirectoryNotFound = Error("git directory not found") ErrGitCloning = Error("still cloning the repository") ErrGitPulling = Error("still pulling the repository") ErrAuthTokenNotFound = Error("auth token not found") ErrInvalidJSONData = Error("invalid json data") ErrCannotMarshalJSON = Error("cannot marshal to json") ErrCannotMarshalYAML = Error("cannot marshal to yaml") ErrCannotUnmarshalJSON = Error("cannot unmarshal from json") ErrTestConfigurationNotFound = Error("test configuration not found") )
Variables ¶
Functions ¶
func IsDeletingReleases ¶
IsDeletingReleases checks releases have been deleting
func IsEnsuringActiveDemoted ¶
ErrEnsureActiveDemoted checks ensuring active demoted
func IsEnsuringActivePromoted ¶
IsEnsuringActivePromoted checks ensuring active promoted
func IsEnsuringActiveTested ¶
IsEnsuringActivePromoted checks ensuring active tested
func IsEnsuringComponentDeployed ¶
IsEnsuringComponentDeployed checks ensuring active deployed
func IsEnsuringNamespaceDestroyed ¶
IsEnsuringNamespaceDestroyed checks ensuring namespace destroyed
func IsErrActiveDemotionTimeout ¶
IsErrActiveDemotionTimeout checks active demotion has been timeout
func IsErrActivePromotionTimeout ¶
IsErrActivePromotionTimeout checks active promotion has been timeout
func IsErrGitCloning ¶
IsErrGitCloning checks git still cloning
func IsErrGitPulling ¶
IsErrGitCloning checks git still pulling
func IsErrRequestTimeout ¶
IsErrRequestTimeout checks request timeout
func IsErrRollbackActivePromotionTimeout ¶
IsErrRollbackActivePromotionTimeout checks active promotion rollback has been timeout
func IsGitNoErrAlreadyUpToDate ¶
IsGitNoErrAlreadyUpToDate checks git is update date
func IsImageNotFound ¶
func IsLoadingConfiguration ¶
IsLoadingConfiguration checks configuration still loading
func IsNamespaceStillCreating ¶
IsNamespaceStillCreating checks namespace is still creating
func IsNamespaceStillExists ¶
IsNamespaceStillExists checks namespace still exists
func IsRollingBackActivePromotion ¶
IsRollingBackActivePromotion checks active promotion is rolling back