endpoints.go | |
---|---|
|
|
MainEndpoint defines suffix of the root endpoint |
|
GroupsEndpoint defines suffix of the groups request endpoint |
|
DeleteOrganizationsEndpoint deletes all {organizations}(comma separated array). DEBUG only |
|
DeleteClustersEndpoint deletes all {clusters}(comma separated array). DEBUG only |
|
OrganizationsEndpoint returns all organizations |
|
ClustersEndpoint returns reports for selected clusters |
|
ClustersInOrgEndpoint returns reports for all clusters in selected organization |
|
ReportEndpoint returns report for provided {organization} and {cluster} |
|
ReportForClusterEndpoint returns report for provided {cluster} (w/o organization) |
|
LikeRuleEndpoint likes rule with {rule_id} for {cluster} using current user(from auth header) |
|
DislikeRuleEndpoint dislikes rule with {rule_id} for {cluster} using current user(from auth header) |
|
ResetVoteOnRuleEndpoint resets vote on rule with {rule_id} for {cluster} using current user(from auth header) |
|
GetVoteOnRuleEndpoint is an endpoint to get vote on rule. DEBUG only |
|
RuleEndpoint is an endpoint to create&delete a rule. DEBUG only |
|
RuleErrorKeyEndpoint is for endpoints to create&delete a ruleerrorkey (DEBUG only) and for endpoint to get a rule |
|
RuleGroupsEndpoint is a simple redirect endpoint to the insights-content-service API specified in configuration |
|
ClustersForOrganizationEndpoint returns all clusters for {organization} |
|
DisableRuleForClusterEndpoint disables a rule for specified cluster |
|
EnableRuleForClusterEndpoint re-enables a rule for specified cluster |
|
RuleClusterDetailEndpoint should return a list of all the clusters IDs affected by this rule |
|
MetricsEndpoint returns prometheus metrics |
|
MakeURLToEndpoint creates URL to endpoint, use constants from file endpoints.go |
|