mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Scopes: Change JS linkID to linkId (#87831)
This commit is contained in:
@@ -111,7 +111,7 @@ type ScopeNodeSpec struct {
|
|||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
|
|
||||||
LinkType LinkType `json:"linkType,omitempty"` // scope (later more things)
|
LinkType LinkType `json:"linkType,omitempty"` // scope (later more things)
|
||||||
LinkID string `json:"linkID,omitempty"` // the k8s name
|
LinkID string `json:"linkId,omitempty"` // the k8s name
|
||||||
// ?? should this be a slice of links
|
// ?? should this be a slice of links
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -139,5 +139,5 @@ type TreeItem struct {
|
|||||||
Description string `json:"description,omitempty"`
|
Description string `json:"description,omitempty"`
|
||||||
|
|
||||||
LinkType LinkType `json:"linkType,omitempty"` // scope (later more things)
|
LinkType LinkType `json:"linkType,omitempty"` // scope (later more things)
|
||||||
LinkID string `json:"linkID,omitempty"` // the k8s name
|
LinkID string `json:"linkId,omitempty"` // the k8s name
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -397,7 +397,7 @@ func schema_pkg_apis_scope_v0alpha1_ScopeNodeSpec(ref common.ReferenceCallback)
|
|||||||
Enum: []interface{}{"scope"},
|
Enum: []interface{}{"scope"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"linkID": {
|
"linkId": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "scope (later more things)",
|
Description: "scope (later more things)",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
@@ -514,7 +514,7 @@ func schema_pkg_apis_scope_v0alpha1_TreeItem(ref common.ReferenceCallback) commo
|
|||||||
Enum: []interface{}{"scope"},
|
Enum: []interface{}{"scope"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"linkID": {
|
"linkId": {
|
||||||
SchemaProps: spec.SchemaProps{
|
SchemaProps: spec.SchemaProps{
|
||||||
Description: "scope (later more things)",
|
Description: "scope (later more things)",
|
||||||
Type: []string{"string"},
|
Type: []string{"string"},
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
|
API rule violation: names_match,github.com/grafana/grafana/pkg/apis/scope/v0alpha1,ScopeNodeSpec,LinkID
|
||||||
|
API rule violation: names_match,github.com/grafana/grafana/pkg/apis/scope/v0alpha1,TreeItem,LinkID
|
||||||
API rule violation: names_match,github.com/grafana/grafana/pkg/apis/scope/v0alpha1,TreeItem,NodeID
|
API rule violation: names_match,github.com/grafana/grafana/pkg/apis/scope/v0alpha1,TreeItem,NodeID
|
||||||
|
|||||||
@@ -24,7 +24,7 @@
|
|||||||
"title": "Clusters",
|
"title": "Clusters",
|
||||||
"nodeType": "container",
|
"nodeType": "container",
|
||||||
"parentName": "applications",
|
"parentName": "applications",
|
||||||
"linkID": "indexHelperCluster",
|
"linkId": "indexHelperCluster",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
"description": "Cluster Scopes",
|
"description": "Cluster Scopes",
|
||||||
"title": "Clusters",
|
"title": "Clusters",
|
||||||
"nodeType": "container",
|
"nodeType": "container",
|
||||||
"linkID": "indexHelperCluster",
|
"linkId": "indexHelperCluster",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
"title": "slothPictureFactory",
|
"title": "slothPictureFactory",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "applications",
|
"parentName": "applications",
|
||||||
"linkID": "slothPictureFactory",
|
"linkId": "slothPictureFactory",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -81,7 +81,7 @@
|
|||||||
"title": "slothVoteTracker",
|
"title": "slothVoteTracker",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "applications",
|
"parentName": "applications",
|
||||||
"linkID": "slothVoteTracker",
|
"linkId": "slothVoteTracker",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
"title": "slothClusterNorth",
|
"title": "slothClusterNorth",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "applications.clusters",
|
"parentName": "applications.clusters",
|
||||||
"linkID": "slothClusterNorth",
|
"linkId": "slothClusterNorth",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -111,7 +111,7 @@
|
|||||||
"title": "slothClusterSouth",
|
"title": "slothClusterSouth",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "applications.clusters",
|
"parentName": "applications.clusters",
|
||||||
"linkID": "slothClusterSouth",
|
"linkId": "slothClusterSouth",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
"title": "slothClusterNorth",
|
"title": "slothClusterNorth",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "clusters",
|
"parentName": "clusters",
|
||||||
"linkID": "slothClusterNorth",
|
"linkId": "slothClusterNorth",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
"title": "slothClusterSouth",
|
"title": "slothClusterSouth",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "clusters",
|
"parentName": "clusters",
|
||||||
"linkID": "slothClusterSouth",
|
"linkId": "slothClusterSouth",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -156,7 +156,7 @@
|
|||||||
"title": "slothPictureFactory",
|
"title": "slothPictureFactory",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "clusters.applications",
|
"parentName": "clusters.applications",
|
||||||
"linkID": "slothPictureFactory",
|
"linkId": "slothPictureFactory",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -171,7 +171,7 @@
|
|||||||
"title": "slothVoteTracker",
|
"title": "slothVoteTracker",
|
||||||
"nodeType": "leaf",
|
"nodeType": "leaf",
|
||||||
"parentName": "clusters.applications",
|
"parentName": "clusters.applications",
|
||||||
"linkID": "slothVoteTracker",
|
"linkId": "slothVoteTracker",
|
||||||
"linkType": "scope"
|
"linkType": "scope"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user