mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 20:07:06 +00:00
Add new Renderer type to include full node data without changing node set
The nodes returned from Map2Parent are mostly empty, and need joining with their full topologies before being useful. But we want to filter out any nodes that weren't already in the graph. We make a new Renderer type to implement this. We also add the missing types to the type option group
This commit is contained in:
@@ -204,6 +204,8 @@ func MakeRegistry() *Registry {
|
||||
Options: []APITopologyOption{
|
||||
{Value: report.Deployment, Label: "Deployments", filter: render.IsTopology(report.Deployment), filterPseudo: false},
|
||||
{Value: report.DaemonSet, Label: "Daemonsets", filter: render.IsTopology(report.DaemonSet), filterPseudo: false},
|
||||
{Value: report.ReplicaSet, Label: "Replica sets", filter: render.IsTopology(report.ReplicaSet), filterPseudo: false},
|
||||
{Value: report.Pod, Label: "Pods", filter: render.IsTopology(report.Pod), filterPseudo: false},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user