# Functions
ClusterInfoArrayToMap convert an array of ClusterInfo elements into a map using ClusterName as key.
GetClusterNames extract the ClusterName from an array of ClusterInfo.
RuleIDWithErrorKeyFromCompositeRuleID get a pair RuleID + ErrorKey from a composite rule identifier.
# Constants
UserVoteDislike shows user's dislike.
UserVoteLike shows user's like.
UserVoteNone shows no vote from user.
# Structs
Alert data structure representing a single alert.
ClusterInfo is a data structure containing some relevant cluster information.
ClusterListView represents a single item in the response for Clusters List view.
ClusterOverview type for handling the overview result for each cluster.
ClustersDetailData is the inner data structure for /clusters_detail.
ClustersDetailResponse is a data structure used as the response for /clusters_detail.
DataEngResponse is the response received from the data-eng service.
InfoResponse is a data structure returned by /info REST API endpoint.
OperatorCondition data structure representing a single operator condition.
OrgOverviewResponse serves as a the API response for /org_overview endpoint.
RecommendationContent is a rule content struct used for Insights Advisor,.
RecommendationContentUserData is a rule content struct with additional Insights Advisor related user data, such as rule acknowledging or rating, which requires access to DB/aggregator.
RecommendationListView represents the API response for Advisor /rule/ related endpoints RuleStatus is based on acknowledgment table (enabled/disabled).
ReportResponseMetaV1 contains metadata for /report endpoint in v1.
ReportResponseMetaV2 contains metadata for /report endpoint in v2.
RequestStatus contains description about one request ID returned by the sercice to IO.
RuleWithContent structure with rule and rule content.
RuleWithContentResponse represents a single rule in the response of /report endpoint.
SimplifiedRuleHit structure represents one simplified rule hit for On Demand Data Gathering.
SmartProxyReport represents the response of /report (V2) endpoint for smart proxy.
SmartProxyReportV1 represents the response of /report (V1) endpoint for smart proxy This structure exists to make sure we comply with the previous API used by some clients.
SmartProxyReportV2 represents the response of /report (V2) endpoint for smart proxy This structure exists to make sure we comply with the previous API used by some clients.
UpgradeRecommendation is the inner data structure for the UpgradeRiskPredictionResponse.
UpgradeRisksMeta is a data structure to store metainformation regarding the prediction.
UpgradeRisksPredictors data structure to store the predictors returned by the data engineering service.
# Type aliases
ClusterName is a rename for types.ClusterName.
ErrorKeyMetadataV1 is in RuleErrorKeyContentV1.
ErrorKeyMetadataV2 is in RuleErrorKeyContentV2.
ImpactingFlag controls the behaviour of 'impacting' param on GET /rule/.
OrgID is a rename for types.OrgID.
ReportResponseMeta contains metadata about the report.
RequestID is used to store the request ID supplied in input Kafka records as a unique identifier of payloads.
RuleContent is a rename for types.RuleContent.
RuleContentV1 version 1 of RuleConted provided by smart proxy.
RuleContentV2 version 2 of RuleContent provided by smart proxy.
RuleErrorKeyContentV1 is in RuleContentV1.
RuleErrorKeyContentV2 is in RuleContentV2.
RuleID is a rename for types.RuleID.
RuleRating structure with the rule identifier and the rating.
SimplifiedReport structure is used to handle single Request data hashes in Redis.
Timestamp represents any timestamp in a form gathered from database.
UserID represents type for user id.
UserVote is a type for user's vote.