Documentation ¶
Index ¶
- Constants
- Variables
- func CreateAction(request *restful.Request, response *restful.Response)
- func CreateAlert(request *restful.Request, response *restful.Response)
- func CreateAlertCluster(request *restful.Request, response *restful.Response)
- func CreateAlertContainer(request *restful.Request, response *restful.Response)
- func CreateAlertNamespace(request *restful.Request, response *restful.Response)
- func CreateAlertNode(request *restful.Request, response *restful.Response)
- func CreateAlertPod(request *restful.Request, response *restful.Response)
- func CreateAlertWorkload(request *restful.Request, response *restful.Response)
- func CreateAlertWorkspace(request *restful.Request, response *restful.Response)
- func CreateComment(request *restful.Request, response *restful.Response)
- func CreateMetric(request *restful.Request, response *restful.Response)
- func CreatePolicy(request *restful.Request, response *restful.Response)
- func CreateResourceFilter(request *restful.Request, response *restful.Response)
- func CreateResourceType(request *restful.Request, response *restful.Response)
- func CreateRule(request *restful.Request, response *restful.Response)
- func DeleteActions(request *restful.Request, response *restful.Response)
- func DeleteAlerts(request *restful.Request, response *restful.Response)
- func DeleteAlertsByNameCluster(request *restful.Request, response *restful.Response)
- func DeleteAlertsByNameContainer(request *restful.Request, response *restful.Response)
- func DeleteAlertsByNameNamespace(request *restful.Request, response *restful.Response)
- func DeleteAlertsByNameNode(request *restful.Request, response *restful.Response)
- func DeleteAlertsByNamePod(request *restful.Request, response *restful.Response)
- func DeleteAlertsByNameWorkload(request *restful.Request, response *restful.Response)
- func DeleteAlertsByNameWorkspace(request *restful.Request, response *restful.Response)
- func DeleteMetrics(request *restful.Request, response *restful.Response)
- func DeletePolicies(request *restful.Request, response *restful.Response)
- func DeleteResourceFilters(request *restful.Request, response *restful.Response)
- func DeleteResourceTypes(request *restful.Request, response *restful.Response)
- func DeleteRules(request *restful.Request, response *restful.Response)
- func DescribeActions(request *restful.Request, response *restful.Response)
- func DescribeAlertDetailsCluster(request *restful.Request, response *restful.Response)
- func DescribeAlertDetailsContainer(request *restful.Request, response *restful.Response)
- func DescribeAlertDetailsNamespace(request *restful.Request, response *restful.Response)
- func DescribeAlertDetailsNode(request *restful.Request, response *restful.Response)
- func DescribeAlertDetailsPod(request *restful.Request, response *restful.Response)
- func DescribeAlertDetailsWorkload(request *restful.Request, response *restful.Response)
- func DescribeAlertDetailsWorkspace(request *restful.Request, response *restful.Response)
- func DescribeAlertStatusCluster(request *restful.Request, response *restful.Response)
- func DescribeAlertStatusContainer(request *restful.Request, response *restful.Response)
- func DescribeAlertStatusNamespace(request *restful.Request, response *restful.Response)
- func DescribeAlertStatusNode(request *restful.Request, response *restful.Response)
- func DescribeAlertStatusPod(request *restful.Request, response *restful.Response)
- func DescribeAlertStatusWorkload(request *restful.Request, response *restful.Response)
- func DescribeAlertStatusWorkspace(request *restful.Request, response *restful.Response)
- func DescribeAlerts(request *restful.Request, response *restful.Response)
- func DescribeComments(request *restful.Request, response *restful.Response)
- func DescribeHistories(request *restful.Request, response *restful.Response)
- func DescribeHistoryDetailCluster(request *restful.Request, response *restful.Response)
- func DescribeHistoryDetailContainer(request *restful.Request, response *restful.Response)
- func DescribeHistoryDetailNamespace(request *restful.Request, response *restful.Response)
- func DescribeHistoryDetailNode(request *restful.Request, response *restful.Response)
- func DescribeHistoryDetailPod(request *restful.Request, response *restful.Response)
- func DescribeHistoryDetailWorkload(request *restful.Request, response *restful.Response)
- func DescribeHistoryDetailWorkspace(request *restful.Request, response *restful.Response)
- func DescribeMetrics(request *restful.Request, response *restful.Response)
- func DescribePolicies(request *restful.Request, response *restful.Response)
- func DescribeResourceFilters(request *restful.Request, response *restful.Response)
- func DescribeResourceTypes(request *restful.Request, response *restful.Response)
- func DescribeResourcesCluster(request *restful.Request, response *restful.Response)
- func DescribeResourcesContainer(request *restful.Request, response *restful.Response)
- func DescribeResourcesNamespace(request *restful.Request, response *restful.Response)
- func DescribeResourcesNode(request *restful.Request, response *restful.Response)
- func DescribeResourcesPod(request *restful.Request, response *restful.Response)
- func DescribeResourcesWorkload(request *restful.Request, response *restful.Response)
- func DescribeResourcesWorkspace(request *restful.Request, response *restful.Response)
- func DescribeRules(request *restful.Request, response *restful.Response)
- func ModifyAction(request *restful.Request, response *restful.Response)
- func ModifyAlert(request *restful.Request, response *restful.Response)
- func ModifyAlertByNameCluster(request *restful.Request, response *restful.Response)
- func ModifyAlertByNameContainer(request *restful.Request, response *restful.Response)
- func ModifyAlertByNameNamespace(request *restful.Request, response *restful.Response)
- func ModifyAlertByNameNode(request *restful.Request, response *restful.Response)
- func ModifyAlertByNamePod(request *restful.Request, response *restful.Response)
- func ModifyAlertByNameWorkload(request *restful.Request, response *restful.Response)
- func ModifyAlertByNameWorkspace(request *restful.Request, response *restful.Response)
- func ModifyMetric(request *restful.Request, response *restful.Response)
- func ModifyPolicy(request *restful.Request, response *restful.Response)
- func ModifyPolicyByAlertCluster(request *restful.Request, response *restful.Response)
- func ModifyPolicyByAlertContainer(request *restful.Request, response *restful.Response)
- func ModifyPolicyByAlertNamespace(request *restful.Request, response *restful.Response)
- func ModifyPolicyByAlertNode(request *restful.Request, response *restful.Response)
- func ModifyPolicyByAlertPod(request *restful.Request, response *restful.Response)
- func ModifyPolicyByAlertWorkload(request *restful.Request, response *restful.Response)
- func ModifyPolicyByAlertWorkspace(request *restful.Request, response *restful.Response)
- func ModifyResourceFilter(request *restful.Request, response *restful.Response)
- func ModifyResourceType(request *restful.Request, response *restful.Response)
- func ModifyRule(request *restful.Request, response *restful.Response)
- func PrepareSwagger()
- func Run()
- func WebService() *restful.WebService
- type DeleteAlertsByNameResponse
- type ModifyAlertByNameResponse
- type ModifyPolicyByAlertResponse
- type PolicyByAlert
Constants ¶
View Source
const (
RespOK = "ok"
)
Variables ¶
View Source
var Container = restful.DefaultContainer
Functions ¶
func CreateAction ¶
func CreateAction(request *restful.Request, response *restful.Response)
func CreateAlert ¶
func CreateAlert(request *restful.Request, response *restful.Response)
func CreateAlertCluster ¶
func CreateAlertCluster(request *restful.Request, response *restful.Response)
func CreateAlertContainer ¶
func CreateAlertContainer(request *restful.Request, response *restful.Response)
func CreateAlertNamespace ¶
func CreateAlertNamespace(request *restful.Request, response *restful.Response)
func CreateAlertNode ¶
func CreateAlertNode(request *restful.Request, response *restful.Response)
func CreateAlertPod ¶
func CreateAlertPod(request *restful.Request, response *restful.Response)
func CreateAlertWorkload ¶
func CreateAlertWorkload(request *restful.Request, response *restful.Response)
func CreateAlertWorkspace ¶
func CreateAlertWorkspace(request *restful.Request, response *restful.Response)
func CreateComment ¶
func CreateComment(request *restful.Request, response *restful.Response)
func CreateMetric ¶
func CreateMetric(request *restful.Request, response *restful.Response)
func CreatePolicy ¶
func CreatePolicy(request *restful.Request, response *restful.Response)
func CreateResourceFilter ¶
func CreateResourceFilter(request *restful.Request, response *restful.Response)
func CreateResourceType ¶
func CreateResourceType(request *restful.Request, response *restful.Response)
func CreateRule ¶
func CreateRule(request *restful.Request, response *restful.Response)
func DeleteActions ¶
func DeleteActions(request *restful.Request, response *restful.Response)
func DeleteAlerts ¶
func DeleteAlerts(request *restful.Request, response *restful.Response)
func DeleteAlertsByNameCluster ¶
func DeleteAlertsByNameCluster(request *restful.Request, response *restful.Response)
func DeleteAlertsByNameContainer ¶
func DeleteAlertsByNameContainer(request *restful.Request, response *restful.Response)
func DeleteAlertsByNameNamespace ¶
func DeleteAlertsByNameNamespace(request *restful.Request, response *restful.Response)
func DeleteAlertsByNameNode ¶
func DeleteAlertsByNameNode(request *restful.Request, response *restful.Response)
func DeleteAlertsByNamePod ¶
func DeleteAlertsByNamePod(request *restful.Request, response *restful.Response)
func DeleteAlertsByNameWorkload ¶
func DeleteAlertsByNameWorkload(request *restful.Request, response *restful.Response)
func DeleteAlertsByNameWorkspace ¶
func DeleteAlertsByNameWorkspace(request *restful.Request, response *restful.Response)
func DeleteMetrics ¶
func DeleteMetrics(request *restful.Request, response *restful.Response)
func DeletePolicies ¶
func DeletePolicies(request *restful.Request, response *restful.Response)
func DeleteResourceFilters ¶
func DeleteResourceFilters(request *restful.Request, response *restful.Response)
func DeleteResourceTypes ¶
func DeleteResourceTypes(request *restful.Request, response *restful.Response)
func DeleteRules ¶
func DeleteRules(request *restful.Request, response *restful.Response)
func DescribeActions ¶
func DescribeActions(request *restful.Request, response *restful.Response)
func DescribeAlertDetailsCluster ¶
func DescribeAlertDetailsCluster(request *restful.Request, response *restful.Response)
func DescribeAlertDetailsContainer ¶
func DescribeAlertDetailsContainer(request *restful.Request, response *restful.Response)
func DescribeAlertDetailsNamespace ¶
func DescribeAlertDetailsNamespace(request *restful.Request, response *restful.Response)
func DescribeAlertDetailsNode ¶
func DescribeAlertDetailsNode(request *restful.Request, response *restful.Response)
func DescribeAlertDetailsPod ¶
func DescribeAlertDetailsPod(request *restful.Request, response *restful.Response)
func DescribeAlertDetailsWorkload ¶
func DescribeAlertDetailsWorkload(request *restful.Request, response *restful.Response)
func DescribeAlertDetailsWorkspace ¶
func DescribeAlertDetailsWorkspace(request *restful.Request, response *restful.Response)
func DescribeAlertStatusCluster ¶
func DescribeAlertStatusCluster(request *restful.Request, response *restful.Response)
func DescribeAlertStatusContainer ¶
func DescribeAlertStatusContainer(request *restful.Request, response *restful.Response)
func DescribeAlertStatusNamespace ¶
func DescribeAlertStatusNamespace(request *restful.Request, response *restful.Response)
func DescribeAlertStatusNode ¶
func DescribeAlertStatusNode(request *restful.Request, response *restful.Response)
func DescribeAlertStatusPod ¶
func DescribeAlertStatusPod(request *restful.Request, response *restful.Response)
func DescribeAlertStatusWorkload ¶
func DescribeAlertStatusWorkload(request *restful.Request, response *restful.Response)
func DescribeAlertStatusWorkspace ¶
func DescribeAlertStatusWorkspace(request *restful.Request, response *restful.Response)
func DescribeAlerts ¶
func DescribeAlerts(request *restful.Request, response *restful.Response)
func DescribeComments ¶
func DescribeComments(request *restful.Request, response *restful.Response)
func DescribeHistories ¶
func DescribeHistories(request *restful.Request, response *restful.Response)
func DescribeHistoryDetailCluster ¶
func DescribeHistoryDetailCluster(request *restful.Request, response *restful.Response)
func DescribeHistoryDetailContainer ¶
func DescribeHistoryDetailContainer(request *restful.Request, response *restful.Response)
func DescribeHistoryDetailNamespace ¶
func DescribeHistoryDetailNamespace(request *restful.Request, response *restful.Response)
func DescribeHistoryDetailNode ¶
func DescribeHistoryDetailNode(request *restful.Request, response *restful.Response)
func DescribeHistoryDetailPod ¶
func DescribeHistoryDetailPod(request *restful.Request, response *restful.Response)
func DescribeHistoryDetailWorkload ¶
func DescribeHistoryDetailWorkload(request *restful.Request, response *restful.Response)
func DescribeHistoryDetailWorkspace ¶
func DescribeHistoryDetailWorkspace(request *restful.Request, response *restful.Response)
func DescribeMetrics ¶
func DescribeMetrics(request *restful.Request, response *restful.Response)
func DescribePolicies ¶
func DescribePolicies(request *restful.Request, response *restful.Response)
func DescribeResourceFilters ¶
func DescribeResourceFilters(request *restful.Request, response *restful.Response)
func DescribeResourceTypes ¶
func DescribeResourceTypes(request *restful.Request, response *restful.Response)
func DescribeResourcesCluster ¶
func DescribeResourcesCluster(request *restful.Request, response *restful.Response)
func DescribeResourcesContainer ¶
func DescribeResourcesContainer(request *restful.Request, response *restful.Response)
func DescribeResourcesNamespace ¶
func DescribeResourcesNamespace(request *restful.Request, response *restful.Response)
func DescribeResourcesNode ¶
func DescribeResourcesNode(request *restful.Request, response *restful.Response)
func DescribeResourcesPod ¶
func DescribeResourcesPod(request *restful.Request, response *restful.Response)
func DescribeResourcesWorkload ¶
func DescribeResourcesWorkload(request *restful.Request, response *restful.Response)
func DescribeResourcesWorkspace ¶
func DescribeResourcesWorkspace(request *restful.Request, response *restful.Response)
func DescribeRules ¶
func DescribeRules(request *restful.Request, response *restful.Response)
func ModifyAction ¶
func ModifyAction(request *restful.Request, response *restful.Response)
func ModifyAlert ¶
func ModifyAlert(request *restful.Request, response *restful.Response)
func ModifyAlertByNameCluster ¶
func ModifyAlertByNameCluster(request *restful.Request, response *restful.Response)
func ModifyAlertByNameContainer ¶
func ModifyAlertByNameContainer(request *restful.Request, response *restful.Response)
func ModifyAlertByNameNamespace ¶
func ModifyAlertByNameNamespace(request *restful.Request, response *restful.Response)
func ModifyAlertByNameNode ¶
func ModifyAlertByNameNode(request *restful.Request, response *restful.Response)
func ModifyAlertByNamePod ¶
func ModifyAlertByNamePod(request *restful.Request, response *restful.Response)
func ModifyAlertByNameWorkload ¶
func ModifyAlertByNameWorkload(request *restful.Request, response *restful.Response)
func ModifyAlertByNameWorkspace ¶
func ModifyAlertByNameWorkspace(request *restful.Request, response *restful.Response)
func ModifyMetric ¶
func ModifyMetric(request *restful.Request, response *restful.Response)
func ModifyPolicy ¶
func ModifyPolicy(request *restful.Request, response *restful.Response)
func ModifyPolicyByAlertCluster ¶
func ModifyPolicyByAlertCluster(request *restful.Request, response *restful.Response)
func ModifyPolicyByAlertContainer ¶
func ModifyPolicyByAlertContainer(request *restful.Request, response *restful.Response)
func ModifyPolicyByAlertNamespace ¶
func ModifyPolicyByAlertNamespace(request *restful.Request, response *restful.Response)
func ModifyPolicyByAlertNode ¶
func ModifyPolicyByAlertNode(request *restful.Request, response *restful.Response)
func ModifyPolicyByAlertPod ¶
func ModifyPolicyByAlertPod(request *restful.Request, response *restful.Response)
func ModifyPolicyByAlertWorkload ¶
func ModifyPolicyByAlertWorkload(request *restful.Request, response *restful.Response)
func ModifyPolicyByAlertWorkspace ¶
func ModifyPolicyByAlertWorkspace(request *restful.Request, response *restful.Response)
func ModifyResourceFilter ¶
func ModifyResourceFilter(request *restful.Request, response *restful.Response)
func ModifyResourceType ¶
func ModifyResourceType(request *restful.Request, response *restful.Response)
func ModifyRule ¶
func ModifyRule(request *restful.Request, response *restful.Response)
func PrepareSwagger ¶
func PrepareSwagger()
func WebService ¶
func WebService() *restful.WebService
Types ¶
type DeleteAlertsByNameResponse ¶
type DeleteAlertsByNameResponse struct {
AlertName []string `json:"alert_name"`
}
type ModifyAlertByNameResponse ¶
type ModifyAlertByNameResponse struct {
AlertName string `json:"alert_name"`
}
type ModifyPolicyByAlertResponse ¶
type ModifyPolicyByAlertResponse struct {
AlertName string `json:"alert_name"`
}
type PolicyByAlert ¶
type PolicyByAlert struct { AlertName string `json:"alert_name"` PolicyName string `json:"policy_name"` PolicyDescription string `json:"policy_description"` PolicyConfig string `json:"policy_config"` Creator string `json:"creator"` AvailableStartTime string `json:"available_start_time"` AvailableEndTime string `json:"available_end_time"` CreateTime time.Time `json:"create_time"` UpdateTime time.Time `json:"update_time"` RsTypeId string `json:"rs_type_id"` Language string `json:"language"` }
Click to show internal directories.
Click to hide internal directories.