Versions in this module Expand all Collapse all v1 v1.0.0 Jul 13, 2023 Changes in this version + const UserVoteDislike + const UserVoteLike + const UserVoteNone + func ClusterInfoArrayToMap(clustersInfo []ClusterInfo) (retval map[ctypes.ClusterName]ClusterInfo) + func RuleIDWithErrorKeyFromCompositeRuleID(compositeRuleID ctypes.RuleID) (ctypes.RuleID, ctypes.ErrorKey, error) + type Alert struct + Name string + Namespace string + Severity string + URL string + type ClusterInfo struct + DisplayName string + ID ClusterName + Managed bool + Status string + type ClusterListView struct + ClusterID types.ClusterName + ClusterName string + HitsByTotalRisk map[int]int + LastCheckedAt Timestamp + Managed bool + TotalHitCount uint32 + Version types.Version + type ClusterName = types.ClusterName + func GetClusterNames(clustersInfo []ClusterInfo) []ClusterName + type ClusterOverview struct + TagsHit []string + TotalRisksHit []int + type ClustersDetailData struct + DisabledClusters []types.DisabledClusterInfo + EnabledClusters []types.HittingClustersData + type ClustersDetailResponse struct + Data ClustersDetailData + Status string + type DataEngResponse struct + LastCheckedAt Timestamp + Recommended bool + RisksPredictors UpgradeRisksPredictors + type ErrorKeyMetadataV1 = types.ErrorKeyMetadataV1 + type ErrorKeyMetadataV2 = types.ErrorKeyMetadataV2 + type ImpactingFlag int + type InfoResponse struct + Aggregator map[string]string + ContentService map[string]string + SmartProxy map[string]string + type OperatorCondition struct + Condition string + Name string + Reason string + URL string + type OrgID = types.OrgID + type OrgOverviewResponse struct + ClustersHit int + ClustersHitByTag map[string]int + ClustersHitByTotalRisk map[int]int + type RecommendationContent struct + Description string + Generic string + Impact uint8 + Likelihood uint8 + MoreInfo string + PublishDate time.Time + Reason string + Resolution string + RuleSelector types.RuleSelector + Tags []string + TotalRisk uint8 + type RecommendationContentUserData struct + AckedCount uint32 + Description string + Disabled bool + Generic string + Impact uint8 + Likelihood uint8 + MoreInfo string + PublishDate time.Time + Rating types.UserVote + Reason string + Resolution string + ResolutionRisk uint8 + RuleSelector types.RuleSelector + Tags []string + TotalRisk uint8 + type RecommendationListView struct + Description string + Disabled bool + Generic string + Impact uint8 + ImpactedClustersCnt uint32 + Likelihood uint8 + PublishDate time.Time + ResolutionRisk uint8 + RuleID types.RuleID + Tags []string + TotalRisk uint8 + type ReportResponseMeta = types.ReportResponseMeta + type ReportResponseMetaV1 struct + Count int + LastCheckedAt Timestamp + type ReportResponseMetaV2 struct + Count int + DisplayName string + GatheredAt Timestamp + LastCheckedAt Timestamp + Managed bool + type RequestID types.RequestID + type RequestStatus struct + Processed string + Received string + RequestID string + Valid bool + type RuleContent = types.RuleContent + type RuleContentV1 = types.RuleContentV1 + type RuleContentV2 = types.RuleContentV2 + type RuleErrorKeyContentV1 = types.RuleErrorKeyContentV1 + type RuleErrorKeyContentV2 = types.RuleErrorKeyContentV2 + type RuleID = types.RuleID + type RuleRating = types.RuleRating + type RuleWithContent struct + Active bool + Description string + ErrorKey types.ErrorKey + Generic string + Impact int + Internal bool + Likelihood int + Module types.RuleID + MoreInfo string + Name string + OSDCustomer bool + PublishDate time.Time + Reason string + Resolution string + ResolutionRisk int + Summary string + Tags []string + TotalRisk int + type RuleWithContentResponse struct + CreatedAt string + Description string + DisableFeedback string + Disabled bool + DisabledAt types.Timestamp + ErrorKey types.ErrorKey + Generic string + Impacted Timestamp + Internal bool + MoreInfo string + Reason string + Resolution string + RuleID types.RuleID + Tags []string + TemplateData interface{} + TotalRisk int + UserVote types.UserVote + type SimplifiedReport types.SimplifiedReport + type SimplifiedRuleHit struct + Description string + ErrorKey string + RuleFQDN string + TotalRisk int + type SmartProxyReport struct + Data []RuleWithContentResponse + Meta types.ReportResponseMeta + type SmartProxyReportV1 struct + Data []RuleWithContentResponse + Meta ReportResponseMetaV1 + type SmartProxyReportV2 struct + Data []RuleWithContentResponse + Meta ReportResponseMetaV2 + type Timestamp = types.Timestamp + type UpgradeRecommendation struct + Recommended bool + RisksPredictors UpgradeRisksPredictors + type UpgradeRisksMeta struct + LastCheckedAt Timestamp + type UpgradeRisksPredictors struct + Alerts []Alert + OperatorConditions []OperatorCondition + type UserID = types.UserID + type UserVote = types.UserVote