Documentation
¶
Index ¶
Constants ¶
View Source
const ( OK = 1 Created = 2 Modified = 3 Deleted = 4 InternalError = 10 Forbidden = 12 RequestTimeout = 13 FetchMetricDataFailed = 14 NotImplemented = 15 InvalidPGFilterValue = 100 InvalidPGOrderByCollumn = 101 InvalidPGOrderByFn = 102 HTTPInvalidRouteParams = 1000 HTTPInvalidBody = 1001 MetricNotFound = 1100 MetricRefKeyNotFound = 1101 MetricDisabled = 1102 MetricInvalidData = 1103 MetricFailToEvaluate = 1104 MetricInvalidEvExpression = 1105 MetricInvalidType = 1106 MetricRefKeyExists = 1107 MetricAlarmStateNotAck = 1108 MetricAlarmStateAlarmed = 1109 MetricAlarmStateRecognitionNotAlarmed = 1110 ActionNotFound = 1200 ActionInvalidValue = 1201 ActionInvalidURL = 1202 ActionFailToSend = 1203 ActionUserAlreadyBlocked = 1204 ActionUserNotBlocked = 1205 ActionTeamAlreadyBlocked = 1206 ActionTeamNotBlocked = 1207 ContainerNotFound = 1300 SNMPFailToConnectToAgent = 1400 SNMPFailToSet = 1401 SNMPFailToGet = 1402 ReverseProxyHTTPNotFound = 1500 ReverseProxyHTTPPathNotFound = 1501 ReverseProxyHTTPHostPortExists = 1502 ReverseProxyHTTPPathInvalidHeaders = 1503 ReverseProxyHTTPPathAlreadyExists = 1504 DashboardNotFound = 1600 DashboardFavoriteNotFound = 1601 DashboardAlreadyFavorite = 1602 DashboardTeamNotFound = 1603 DashboardTeamExists = 1604 AlarmProfileNotFound = 1700 AlarmProfileEmailNotFound = 1701 AlarmProfileWppPhoneNotFound = 1702 AlarmProfileEmailExists = 1703 AlarmProfileWppPhoneExists = 1704 AlarmProfileCategoryNotFound = 1705 AlarmProfileCategoryExists = 1706 AlarmProfileEndpointNotFound = 1707 AlarmProfileEndpointExists = 1708 AlarmCategoryNotFound = 1800 AlarmCategoryLevelExists = 1801 AlarmCategoryTrapRelationNotFound = 1802 AlarmCategoryTrapRelationExists = 1803 PingContainerTargetExists = 1901 PingMetricInvalidAlarmCheckMode = 2001 PingMetricInvalidStats = 2002 DataPolicyNotFound = 2100 DataPolicyTableEmpty = 2101 DataPolicyInvalidAggrFn = 2102 DataPolicyMaxCreated = 2103 ReverseProxyRTSPNotFound = 2200 ReverseProxyRTSPPathAlreadyExists = 2201 UserNotFound = 2300 UserWhitelistNotFound = 2301 UserInvalidRole = 2302 UserWrongCredentials = 2303 UserSessionNotFound = 2304 UserEmailExists = 2305 UserUsernameExists = 2306 TeamNotFound = 2400 TeamIsRoot = 2401 TeamUserExists = 2402 TeamUserNotFound = 2403 AlarmEndpointNotFound = 2500 AlarmEndpointExists = 2501 AlarmExpressionNotFound = 2600 AlarmExpressionMetricRelationNotFound = 2601 AlarmStreakNotFound = 2700 AlarmStreakExists = 2701 FlexLegacyContainerTargetExists = 2800 FlexLegacyContainerSerialNumberExists = 2801 SNMPv2cContainerTargetPortExists = 2900 DashboardGroupNotFound = 30000 DashboardGroupRelationNotFound = 30001 CustomQueryNotFound = 31000 APIKeyNotFound = 3200 TrapListenerNotFound = 3300 TrapListenerHostPortExists = 3301 ReverseProxyHTTPInvalidURL = 3400 )
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
func GetHTTPCodeFromCode ¶
func GetMessageFromCode ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.