Documentation
¶
Overview ¶
THIS CODE IS PROVIDED AS-IS and the resulting config JSON is targeted for standalone Vizceral use.
The following link explains how to run the Vizceral example. Replace the example version of sample_data.json with the configuration generated by this handler and you should be able to render the Vizceral service graph.
https://github.com/Netflix/vizceral-example
The following link gives some information about the config format, although good documentation on volume handling is hard to find.
https://github.com/Netflix/Vizceral/wiki/How-to-Use#graph-data-format
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config Node
func NewConfig ¶
func NewConfig(namespace string, trafficMap graph.TrafficMap, o options.VendorOptions) (result Config)
type Connection ¶
type Node ¶
type Node struct { Renderer string `json:"renderer,omitempty"` Name string `json:"name"` DisplayName string `json:"displayName,omitempty"` Class string `json:"class,omitempty"` Updated int64 `json:"updated,omitempty"` MaxVolume float64 `json:"maxVolume,omitempty"` Metadata Metadata `json:"metadata,omitempty"` Nodes []Node `json:"nodes,omitempty"` Connections []Connection `json:"connections,omitempty"` Notices []Notice `json:"notices,omitempty"` }
Click to show internal directories.
Click to hide internal directories.