mirror of
https://github.com/rancher/types.git
synced 2025-09-18 07:52:41 +00:00
add istio metrics graph types
This commit is contained in:
@@ -60,7 +60,7 @@ type ProjectMonitorGraph struct {
|
||||
|
||||
type ClusterMonitorGraphSpec struct {
|
||||
ClusterName string `json:"clusterName" norman:"type=reference[cluster]"`
|
||||
ResourceType string `json:"resourceType,omitempty" norman:"type=enum,options=node|cluster|etcd|apiserver|scheduler|controllermanager|fluentd"`
|
||||
ResourceType string `json:"resourceType,omitempty" norman:"type=enum,options=node|cluster|etcd|apiserver|scheduler|controllermanager|fluentd|istiocluster|istioproject"`
|
||||
DisplayResourceType string `json:"displayResourceType,omitempty" norman:"type=enum,options=node|cluster|etcd|kube-component|rancher-component"`
|
||||
CommonMonitorGraphSpec
|
||||
}
|
||||
|
@@ -30,11 +30,12 @@ type AppSpec struct {
|
||||
}
|
||||
|
||||
var (
|
||||
AppConditionInstalled condition.Cond = "Installed"
|
||||
AppConditionMigrated condition.Cond = "Migrated"
|
||||
AppConditionDeployed condition.Cond = "Deployed"
|
||||
AppConditionForceUpgrade condition.Cond = "ForceUpgrade"
|
||||
AppConditionUserTriggeredAction condition.Cond = "UserTriggeredAction"
|
||||
AppConditionInstalled condition.Cond = "Installed"
|
||||
AppConditionMigrated condition.Cond = "Migrated"
|
||||
AppConditionDeployed condition.Cond = "Deployed"
|
||||
AppConditionForceUpgrade condition.Cond = "ForceUpgrade"
|
||||
AppConditionUserTriggeredAction condition.Cond = "UserTriggeredAction"
|
||||
IstioConditionMetricExpressionDeployed condition.Cond = "MetricExpressionDeployed"
|
||||
)
|
||||
|
||||
type AppStatus struct {
|
||||
|
Reference in New Issue
Block a user