Documentation ¶
Index ¶
Constants ¶
View Source
const ( //Cluster Errors ClusterCreateDBFailed string = "1001" ClusterCreateACDFailed string = "1002" ClusterDBRollbackFailed string = "1003" ClusterUpdateDBFailed string = "1004" ClusterUpdateACDFailed string = "1005" ClusterCreateBadRequestACD string = "1006" ClusterUpdateBadRequestACD string = "1007" //Environment Errors EnvironmentCreateDBFailed string = "2001" EnvironmentUpdateDBFailed string = "2002" EnvironmentUpdateEnvOverrideFailed string = "2003" //Global Config Errors DockerRegCreateFailedInDb string = "3001" DockerRegCreateFailedInGocd string = "3002" DockerRegUpdateFailedInDb string = "3003" DockerRegUpdateFailedInGocd string = "3004" GitProviderCreateFailedAlreadyExists string = "3005" GitProviderCreateFailedInDb string = "3006" GitProviderUpdateProviderNotExists string = "3007" GitProviderUpdateFailedInDb string = "3008" DockerRegDeleteFailedInDb string = "3009" DockerRegDeleteFailedInGocd string = "3010" GitProviderUpdateFailedInSync string = "3011" ChartCreatedAlreadyExists string = "5001" UserCreateDBFailed string = "6001" UserCreatePolicyFailed string = "6002" UserUpdateDBFailed string = "6003" UserUpdatePolicyFailed string = "6004" UserNoTokenProvided string = "6005" UserNotFoundForToken string = "6006" UserCreateFetchRoleFailed string = "6007" UserUpdateFetchRoleFailed string = "6008" AppDetailResourceTreeNotFound string = "7000" CasbinPolicyNotCreated string = "8000" GitHostCreateFailedAlreadyExists string = "9001" GitHostCreateFailedInDb string = "9002" )
Variables ¶
View Source
var AppAlreadyExists = &ErrorCode{"4001", "application %s already exists"}
View Source
var AppDoesNotExist = &ErrorCode{"4004", "application %s does not exist"}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.