Documentation ¶
Index ¶
- Constants
- Variables
- func IsDeletingReleases(err error) bool
- func IsEnsuringActiveDemoted(err error) bool
- func IsEnsuringActivePromoted(err error) bool
- func IsEnsuringComponentDeployed(err error) bool
- func IsEnsuringComponentTested(err error) bool
- func IsEnsuringConfigDestroyed(err error) bool
- func IsEnsuringNamespaceDestroyed(err error) bool
- func IsEnsuringPreActiveEnvironmentCreated(err error) bool
- func IsEnsuringStableComponentsDestroyed(err error) bool
- func IsErrActiveDemotionTimeout(err error) bool
- func IsErrActivePromotionTimeout(err error) bool
- func IsErrPullRequestBundleNotFound(err error) bool
- func IsErrPullRequestRPCTearDownDurationCriteriaUnknown(err error) bool
- func IsErrReleaseFailed(err error) bool
- func IsErrRequestTimeout(err error) bool
- func IsErrRollbackActivePromotionTimeout(err error) bool
- func IsImageNotFound(err error) bool
- func IsInternalCheckerError(err error) bool
- func IsNamespaceStillCreating(err error) bool
- func IsNamespaceStillExists(err error) bool
- func IsNewNamespaceComponentNotified(err error) bool
- func IsNewNamespaceEnvObjsCreated(err error) bool
- func IsNewNamespacePromotionCreated(err error) bool
- func IsRollingBackActivePromotion(err error) bool
- type Error
Constants ¶
const ( ErrInternalError = Error("internal error") ErrNotImplemented = Error("not implemented") ErrDeployTimeout = Error("deploy timeout") ErrReleaseFailed = Error("release failed") ErrTestTimeout = Error("test timeout") ErrTestRunnerNotFound = Error("test runner not found") ErrRequestTimeout = Error("request timeout") ErrExecutionTimeout = Error("execution timeout") ErrImageVersionNotFound = Error("image version not found") ErrInternalCheckerError = Error("internal checker error") ErrNoDesiredComponentVersion = Error("no desired component version") ErrTeamNamespaceStillCreating = Error("still creating namespace") ErrTeamNamespaceStillExists = Error("destroyed namespace still exists") ErrTeamNamespaceEnvObjsCreated = Error("environment objects is creating") ErrTeamNamespaceComponentNotified = Error("new components is notifying changed") ErrTeamNamespacePromotionCreated = Error("active promotion is creating") ErrActivePromotionTimeout = Error("active promotion timeout") ErrActiveDemotionTimeout = Error("demoted active environment timeout") ErrRollbackActivePromotionTimeout = Error("rollback active promotion timeout") ErrEnsurePreActiveEnvironmentCreated = Error("pre-active environment is being created") ErrEnsureNamespaceDestroyed = Error("namespace has not been destroyed") ErrEnsureActiveDemoted = Error("active environment is being demoted") ErrEnsureActivePromoted = Error("active environment is being promoted") ErrEnsureComponentDeployed = Error("components are being deployed") ErrEnsureComponentTested = Error("components are being tested") ErrDeletingReleases = Error("deleting releases") ErrForceDeletingComponents = Error("force deleting components") ErrRollingBackActivePromotion = Error("rolling back active promotion process") ErrEnsureStableComponentsDestroyed = Error("all stable components has not been destroyed") ErrPullRequestBundleNotFound = Error("pull request bundle name not found in configuration") ErrPullRequestRPCTearDownDurationCriteriaUnknown = Error("pull request tearDownDuration criteria unknown") ErrAuthTokenNotFound = Error("auth token not found") ErrInvalidJSONData = Error("invalid json data") ErrCannotMarshalJSON = Error("cannot marshal to json") ErrCannotMarshalYAML = Error("cannot marshal to yaml") ErrTestConfigurationNotFound = Error("test configuration not found") ErrTestPipelineIDNotFound = Error("test pipeline id not found") ErrConfigurationRequiredField = Error("required filed cannot be empty") ErrEnsureConfigDestroyed = Error("config been being destroyed") ErrParsingRuntimeObject = Error("cannot parse runtime object") )
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 IsEnsuringComponentDeployed ¶
IsEnsuringComponentDeployed checks ensuring active deployed
func IsEnsuringComponentTested ¶ added in v1.7.0
IsEnsuringComponentTested checks ensuring component tested
func IsEnsuringConfigDestroyed ¶ added in v1.1.0
IsEnsuringConfigDestroyed checks ensuring config destroyed
func IsEnsuringNamespaceDestroyed ¶
IsEnsuringNamespaceDestroyed checks ensuring namespace destroyed
func IsEnsuringPreActiveEnvironmentCreated ¶ added in v1.1.2
IsEnsuringPreActiveEnvironmentCreated checks ensuring pre-active created
func IsEnsuringStableComponentsDestroyed ¶ added in v1.8.7
IsEnsuringStableComponentsDestroyed checks ensuring all stable components destroyed
func IsErrActiveDemotionTimeout ¶
IsErrActiveDemotionTimeout checks active demotion has been timeout
func IsErrActivePromotionTimeout ¶
IsErrActivePromotionTimeout checks active promotion has been timeout
func IsErrPullRequestBundleNotFound ¶ added in v1.10.4
IsErrPullRequestBundleNotFound checks pull request bundle not found error
func IsErrPullRequestRPCTearDownDurationCriteriaUnknown ¶ added in v1.12.0
IsErrPullRequestRPCTearDownDurationCriteriaUnknown checks pull request rpc tearDownDuration unknown error
func IsErrReleaseFailed ¶ added in v1.5.8
IsErrReleaseFailed checks release failed
func IsErrRequestTimeout ¶
IsErrRequestTimeout checks request timeout
func IsErrRollbackActivePromotionTimeout ¶
IsErrRollbackActivePromotionTimeout checks active promotion rollback has been timeout
func IsImageNotFound ¶
IsImageNotFound checks image not found error
func IsInternalCheckerError ¶ added in v1.8.8
IsInternalCheckerError checks internal checker error
func IsNamespaceStillCreating ¶
IsNamespaceStillCreating checks namespace is still creating
func IsNamespaceStillExists ¶
IsNamespaceStillExists checks namespace still exists
func IsNewNamespaceComponentNotified ¶ added in v1.1.3
IsNewNamespaceComponentNotified checks ensuring components notified
func IsNewNamespaceEnvObjsCreated ¶ added in v1.1.3
IsNewNamespaceEnvObjsCreated checks ensuring environment objects created
func IsNewNamespacePromotionCreated ¶ added in v1.1.3
IsNewNamespacePromotionCreated checks ensuring active promotion created
func IsRollingBackActivePromotion ¶
IsRollingBackActivePromotion checks active promotion is rolling back