SYMBOL INDEX (823 symbols across 134 files) FILE: cmd/controller/api/api.go function StartServer (line 30) | func StartServer(conf controller.Config) { FILE: cmd/controller/api/apiHandlers/authenticationHandlers.go type Credentials (line 32) | type Credentials struct type User (line 39) | type User struct function init (line 49) | func init() { function LoginUser (line 66) | func LoginUser(w http.ResponseWriter, r *http.Request) { function LogoutUser (line 103) | func LogoutUser(w http.ResponseWriter, r *http.Request) { function isUserAuthenticated (line 124) | func isUserAuthenticated(w http.ResponseWriter, r *http.Request) bool { function ChangePassword (line 129) | func ChangePassword(w http.ResponseWriter, r *http.Request) { FILE: cmd/controller/api/apiHandlers/customGroupHandlers.go function GetGroupsData (line 32) | func GetGroupsData(w http.ResponseWriter, r *http.Request) { function DeleteGroup (line 46) | func DeleteGroup(w http.ResponseWriter, r *http.Request) { function CreateGroup (line 66) | func CreateGroup(w http.ResponseWriter, r *http.Request) { FILE: cmd/controller/api/apiHandlers/helpers.go function addHeaders (line 35) | func addHeaders(w *http.ResponseWriter, r *http.Request) { function addAccessControlHeaders (line 41) | func addAccessControlHeaders(w *http.ResponseWriter, r *http.Request) { function writeBytes (line 46) | func writeBytes(w io.Writer, data []byte) { function encodeAndWrite (line 53) | func encodeAndWrite(w io.Writer, obj interface{}) { function convertRequestBodyToJSON (line 60) | func convertRequestBodyToJSON(r *http.Request) ([]byte, error) { function SetKubeClientAndGroupClient (line 70) | func SetKubeClientAndGroupClient(conf controller.Config) { function getGroupClient (line 75) | func getGroupClient() *v1.GroupClient { function getKubeClient (line 79) | func getKubeClient() *kubernetes.Clientset { FILE: cmd/controller/api/apiHandlers/hierarchyAndMetricAPIHandlers.go function GetHomePage (line 33) | func GetHomePage(w http.ResponseWriter, r *http.Request) { function GetPodInteractions (line 43) | func GetPodInteractions(w http.ResponseWriter, r *http.Request) { function GetClusterHierarchy (line 64) | func GetClusterHierarchy(w http.ResponseWriter, r *http.Request) { function GetNamespaceHierarchy (line 81) | func GetNamespaceHierarchy(w http.ResponseWriter, r *http.Request) { function GetDeploymentHierarchy (line 104) | func GetDeploymentHierarchy(w http.ResponseWriter, r *http.Request) { function GetReplicasetHierarchy (line 127) | func GetReplicasetHierarchy(w http.ResponseWriter, r *http.Request) { function GetStatefulsetHierarchy (line 150) | func GetStatefulsetHierarchy(w http.ResponseWriter, r *http.Request) { function GetPodHierarchy (line 173) | func GetPodHierarchy(w http.ResponseWriter, r *http.Request) { function GetContainerHierarchy (line 196) | func GetContainerHierarchy(w http.ResponseWriter, r *http.Request) { function GetEmptyHierarchy (line 219) | func GetEmptyHierarchy(w http.ResponseWriter, r *http.Request) { function GetNodeHierarchy (line 231) | func GetNodeHierarchy(w http.ResponseWriter, r *http.Request) { function GetPVHierarchy (line 254) | func GetPVHierarchy(w http.ResponseWriter, r *http.Request) { function GetDaemonsetHierarchy (line 277) | func GetDaemonsetHierarchy(w http.ResponseWriter, r *http.Request) { function GetJobHierarchy (line 300) | func GetJobHierarchy(w http.ResponseWriter, r *http.Request) { function GetClusterMetrics (line 323) | func GetClusterMetrics(w http.ResponseWriter, r *http.Request) { function GetNamespaceMetrics (line 341) | func GetNamespaceMetrics(w http.ResponseWriter, r *http.Request) { function GetDeploymentMetrics (line 364) | func GetDeploymentMetrics(w http.ResponseWriter, r *http.Request) { function GetDaemonsetMetrics (line 387) | func GetDaemonsetMetrics(w http.ResponseWriter, r *http.Request) { function GetJobMetrics (line 410) | func GetJobMetrics(w http.ResponseWriter, r *http.Request) { function GetStatefulsetMetrics (line 433) | func GetStatefulsetMetrics(w http.ResponseWriter, r *http.Request) { function GetReplicasetMetrics (line 456) | func GetReplicasetMetrics(w http.ResponseWriter, r *http.Request) { function GetNodeMetrics (line 479) | func GetNodeMetrics(w http.ResponseWriter, r *http.Request) { function GetPodMetrics (line 502) | func GetPodMetrics(w http.ResponseWriter, r *http.Request) { function GetContainerMetrics (line 525) | func GetContainerMetrics(w http.ResponseWriter, r *http.Request) { function GetPVMetrics (line 548) | func GetPVMetrics(w http.ResponseWriter, r *http.Request) { function GetPVCMetrics (line 571) | func GetPVCMetrics(w http.ResponseWriter, r *http.Request) { function GetPodDiscoveryNodes (line 594) | func GetPodDiscoveryNodes(w http.ResponseWriter, r *http.Request) { function GetPodDiscoveryEdges (line 618) | func GetPodDiscoveryEdges(w http.ResponseWriter, r *http.Request) { function SyncCluster (line 636) | func SyncCluster(w http.ResponseWriter, r *http.Request) { function syncResourcesInCluster (line 643) | func syncResourcesInCluster() { FILE: cmd/controller/api/logger.go function Logger (line 28) | func Logger(inner http.Handler, name string) http.Handler { FILE: cmd/controller/api/router.go function NewRouter (line 25) | func NewRouter() *mux.Router { FILE: cmd/controller/api/routes.go type Route (line 26) | type Route struct type Routes (line 34) | type Routes FILE: cmd/controller/config/config.go function Setup (line 34) | func Setup(conf *controller.Config, kubeconfig string) { FILE: cmd/controller/purserctrl.go constant InClusterConfigPath (line 43) | InClusterConfigPath = "" function init (line 47) | func init() { function main (line 63) | func main() { function startInteractionsDiscovery (line 77) | func startInteractionsDiscovery() { function runDiscovery (line 93) | func runDiscovery() { function startCronJobForUpdatingCustomGroups (line 98) | func startCronJobForUpdatingCustomGroups() { function runGroupUpdate (line 114) | func runGroupUpdate() { function startCronJobForPopulatingRateCard (line 118) | func startCronJobForPopulatingRateCard() { FILE: cmd/plugin/purser.go constant pluginVersion (line 35) | pluginVersion = "version v1.0.0" function init (line 58) | func init() { function main (line 115) | func main() { function computeMetricInsight (line 126) | func computeMetricInsight(inputs []string) { function computeCost (line 135) | func computeCost(inputs []string) { function fetchResource (line 148) | func fetchResource(inputs []string) { function createGroupNameFromLabel (line 179) | func createGroupNameFromLabel(input string) string { function computeStats (line 189) | func computeStats(inputs []string) { function getStats (line 200) | func getStats(inputs []string) { function inputUserCosts (line 217) | func inputUserCosts(inputs []string) { function printHelp (line 240) | func printHelp() { function logError (line 254) | func logError(err error) { FILE: cmd/plugin/types.go constant Get (line 22) | Get = "get" constant Set (line 23) | Set = "set" constant Label (line 28) | Label = "label" constant Pod (line 29) | Pod = "pod" constant Node (line 30) | Node = "node" constant Namespace (line 31) | Namespace = "namespace" constant Group (line 32) | Group = "group" constant Cost (line 37) | Cost = "cost" constant Resources (line 38) | Resources = "resources" FILE: pkg/apis/groups/v1/deepcopy.go method DeepCopyInto (line 24) | func (in *Group) DeepCopyInto(out *Group) { method DeepCopyObject (line 32) | func (in *Group) DeepCopyObject() runtime.Object { method DeepCopyObject (line 39) | func (in *GroupList) DeepCopyObject() runtime.Object { FILE: pkg/apis/groups/v1/register.go function Kind (line 36) | func Kind(kind string) schema.GroupKind { function Resource (line 41) | func Resource(resource string) schema.GroupResource { function AddKnownTypes (line 46) | func AddKnownTypes(scheme *runtime.Scheme) error { FILE: pkg/apis/groups/v1/types.go constant CRDPlural (line 29) | CRDPlural string = "groups" constant CRDGroup (line 30) | CRDGroup string = "vmware.purser.com" constant CRDVersion (line 31) | CRDVersion string = "v1" constant FullCRDName (line 32) | FullCRDName string = CRDPlural + "." + CRDGroup type Group (line 36) | type Group struct type GroupSpec (line 44) | type GroupSpec struct type GroupMetrics (line 59) | type GroupMetrics struct type Cost (line 69) | type Cost struct type GroupList (line 77) | type GroupList struct type GroupStatus (line 84) | type GroupStatus struct type PodDetails (line 90) | type PodDetails struct type PersistentVolumeClaim (line 106) | type PersistentVolumeClaim struct type Container (line 116) | type Container struct FILE: pkg/apis/subscriber/v1/deepcopy.go method DeepCopyInto (line 24) | func (in *Subscriber) DeepCopyInto(out *Subscriber) { method DeepCopyObject (line 32) | func (in *Subscriber) DeepCopyObject() runtime.Object { method DeepCopyObject (line 39) | func (in *SubscriberList) DeepCopyObject() runtime.Object { FILE: pkg/apis/subscriber/v1/register.go function Kind (line 36) | func Kind(kind string) schema.GroupKind { function Resource (line 41) | func Resource(resource string) schema.GroupResource { function AddKnownTypes (line 46) | func AddKnownTypes(scheme *runtime.Scheme) error { FILE: pkg/apis/subscriber/v1/types.go constant SubscriberPlural (line 24) | SubscriberPlural string = "subscribers" constant SubscriberGroup (line 25) | SubscriberGroup string = "vmware.purser.com" constant SubscriberVersion (line 26) | SubscriberVersion string = "v1" constant SubscriberFullName (line 27) | SubscriberFullName string = SubscriberPlural + "." + SubscriberGroup type Subscriber (line 31) | type Subscriber struct type SubscriberSpec (line 39) | type SubscriberSpec struct type SubscriberStatus (line 46) | type SubscriberStatus struct type SubscriberList (line 52) | type SubscriberList struct FILE: pkg/client/clientset.go function GetAPIExtensionClient (line 30) | func GetAPIExtensionClient(kubeconfigPath string) (*apiextcs.Clientset, ... FILE: pkg/client/clientset/typed/groups/v1/group.go type GroupInterface (line 30) | type GroupInterface interface type GroupClient (line 40) | type GroupClient struct method Create (line 48) | func (c *GroupClient) Create(obj *v1.Group) (*v1.Group, error) { method Update (line 60) | func (c *GroupClient) Update(obj *v1.Group) (*v1.Group, error) { method Delete (line 73) | func (c *GroupClient) Delete(name string, options *meta_v1.DeleteOptio... method Get (line 84) | func (c *GroupClient) Get(name string) (*v1.Group, error) { method List (line 96) | func (c *GroupClient) List(opts meta_v1.ListOptions) (*v1.GroupList, e... method Watch (line 108) | func (c *GroupClient) Watch(opts meta_v1.ListOptions) (watch.Interface... FILE: pkg/client/clientset/typed/groups/v1/group_client.go function NewGroupClient (line 38) | func NewGroupClient(clientset apiextcs.Interface, config *rest.Config) *... function Group (line 58) | func Group(client *rest.RESTClient, scheme *runtime.Scheme, namespace st... function createGroupCRD (line 67) | func createGroupCRD(clientset apiextcs.Interface) error { function newClient (line 89) | func newClient(cfg *rest.Config) (*rest.RESTClient, *runtime.Scheme, err... function setConfigDefaults (line 103) | func setConfigDefaults(config *rest.Config) (*runtime.Scheme, error) { FILE: pkg/client/clientset/typed/subscriber/v1/subsciber_client.go function NewSubscriberClient (line 38) | func NewSubscriberClient(clientset apiextcs.Interface, config *rest.Conf... function Subscriber (line 58) | func Subscriber(client *rest.RESTClient, scheme *runtime.Scheme, namespa... function createSubscriberCRD (line 67) | func createSubscriberCRD(clientset apiextcs.Interface) error { function newClient (line 89) | func newClient(cfg *rest.Config) (*rest.RESTClient, *runtime.Scheme, err... function setConfigDefaults (line 103) | func setConfigDefaults(config *rest.Config) (*runtime.Scheme, error) { FILE: pkg/client/clientset/typed/subscriber/v1/subscriber.go type SubscriberInterface (line 30) | type SubscriberInterface interface type SubscriberClient (line 40) | type SubscriberClient struct method Create (line 48) | func (c *SubscriberClient) Create(obj *v1.Subscriber) (*v1.Subscriber,... method Update (line 60) | func (c *SubscriberClient) Update(obj *v1.Subscriber) (*v1.Subscriber,... method Delete (line 73) | func (c *SubscriberClient) Delete(name string, options *meta_v1.Delete... method Get (line 84) | func (c *SubscriberClient) Get(name string) (*v1.Subscriber, error) { method List (line 96) | func (c *SubscriberClient) List(opts meta_v1.ListOptions) (*v1.Subscri... method Watch (line 108) | func (c *SubscriberClient) Watch(opts meta_v1.ListOptions) (watch.Inte... FILE: pkg/controller/buffering/ring_buffer.go constant BufferSize (line 27) | BufferSize uint32 = 5000 type RingBuffer (line 30) | type RingBuffer struct method Put (line 38) | func (r *RingBuffer) Put(inp interface{}) bool { method Get (line 53) | func (r *RingBuffer) Get() *interface{} { method ReadN (line 70) | func (r *RingBuffer) ReadN(n uint32) ([]*interface{}, uint32) { method RemoveN (line 88) | func (r *RingBuffer) RemoveN(n uint32) { method isEmpty (line 103) | func (r *RingBuffer) isEmpty() bool { method isFull (line 107) | func (r *RingBuffer) isFull() bool { method PrintDetails (line 116) | func (r *RingBuffer) PrintDetails() { function next (line 111) | func next(cur uint32, size uint32) uint32 { FILE: pkg/controller/controller.go type Controller (line 51) | type Controller struct method Run (line 423) | func (c *Controller) Run(stopCh <-chan struct{}) { method HasSynced (line 439) | func (c *Controller) HasSynced() bool { method LastSyncResourceVersion (line 444) | func (c *Controller) LastSyncResourceVersion() string { method runWorker (line 448) | func (c *Controller) runWorker() { method processNextItem (line 454) | func (c *Controller) processNextItem() bool { method processItem (line 473) | func (c *Controller) processItem(newEvent Event) error { type Event (line 59) | type Event struct function Start (line 69) | func Start(conf *Config) { function newResourceController (line 377) | func newResourceController(client kubernetes.Interface, informer cache.S... FILE: pkg/controller/controller_test.go function TestCrdFlow (line 35) | func TestCrdFlow(t *testing.T) { function ListSubscriberCrdInstances (line 47) | func ListSubscriberCrdInstances(crdclient *subscriber_v1.SubscriberClien... FILE: pkg/controller/dgraph/dgraph.go constant CREATE (line 35) | CREATE = "create" constant UPDATE (line 36) | UPDATE = "update" constant DELETE (line 37) | DELETE = "delete" type ID (line 47) | type ID struct function Start (line 53) | func Start(url string, port string) { function Open (line 66) | func Open(url string) error { function Close (line 80) | func Close() { function CreateSchema (line 88) | func CreateSchema() error { function GetUID (line 150) | func GetUID(id string, nodeType string) string { function ExecuteQueryRaw (line 171) | func ExecuteQueryRaw(query string) ([]byte, error) { function ExecuteQuery (line 184) | func ExecuteQuery(query string, root interface{}) error { function MutateNode (line 199) | func MutateNode(data interface{}, mutateType string) (*api.Assigned, err... function unmarshalDgraphResponse (line 220) | func unmarshalDgraphResponse(resp *api.Response, id string) string { FILE: pkg/controller/dgraph/login.go type Login (line 26) | type Login struct constant DefaultUsername (line 35) | DefaultUsername = "admin" constant DefaultPassword (line 36) | DefaultPassword = "purser!123" constant DefaultLoginXID (line 37) | DefaultLoginXID = "purser-login-xid" constant IsLogin (line 38) | IsLogin = "isLogin" function StoreLogin (line 42) | func StoreLogin() { FILE: pkg/controller/dgraph/models/constants.go constant DefaultCPUCostPerCPUPerHour (line 6) | DefaultCPUCostPerCPUPerHour = "0.024" constant DefaultMemCostPerGBPerHour (line 7) | DefaultMemCostPerGBPerHour = "0.01" constant DefaultStorageCostPerGBPerHour (line 8) | DefaultStorageCostPerGBPerHour = "0.00013888888" constant DefaultCPUCostInFloat64 (line 9) | DefaultCPUCostInFloat64 = 0.024 constant DefaultMemCostInFloat64 (line 10) | DefaultMemCostInFloat64 = 0.01 constant DefaultStorageCostInFloat64 (line 11) | DefaultStorageCostInFloat64 = 0.00013888888 constant AWS (line 14) | AWS = "aws" constant HoursInMonth (line 17) | HoursInMonth = 720 constant PriceError (line 20) | PriceError = -1.0 FILE: pkg/controller/dgraph/models/container.go constant IsContainer (line 34) | IsContainer = "isContainer" type Container (line 38) | type Container struct function newContainer (line 54) | func newContainer(container api_v1.Container, podUID, namespaceUID strin... function StoreAndRetrieveContainersAndMetrics (line 78) | func StoreAndRetrieveContainersAndMetrics(pod api_v1.Pod, podUID, namesp... function StoreContainerProcessEdge (line 106) | func StoreContainerProcessEdge(containerXID string, procsXIDs []string) ... function storeContainerIfNotExist (line 121) | func storeContainerIfNotExist(c api_v1.Container, pod api_v1.Pod, podUID... function deleteContainersInTerminatedPod (line 143) | func deleteContainersInTerminatedPod(containers []*Container, endTime ti... FILE: pkg/controller/dgraph/models/daemonset.go constant IsDaemonset (line 30) | IsDaemonset = "isDaemonset" type Daemonset (line 34) | type Daemonset struct function createDaemonsetObject (line 45) | func createDaemonsetObject(daemonset ext_v1beta1.DaemonSet) Daemonset { function StoreDaemonset (line 67) | func StoreDaemonset(daemonset ext_v1beta1.DaemonSet) (string, error) { function CreateOrGetDaemonsetByID (line 84) | func CreateOrGetDaemonsetByID(xid string) string { FILE: pkg/controller/dgraph/models/deployment.go constant IsDeployment (line 31) | IsDeployment = "isDeployment" type Deployment (line 35) | type Deployment struct function createDeploymentObject (line 46) | func createDeploymentObject(deployment apps_v1beta1.Deployment) Deployme... function StoreDeployment (line 68) | func StoreDeployment(deployment apps_v1beta1.Deployment) (string, error) { function CreateOrGetDeploymentByID (line 85) | func CreateOrGetDeploymentByID(xid string) string { FILE: pkg/controller/dgraph/models/group.go constant IsGroup (line 30) | IsGroup = "isGroup" constant groupXIDPrefix (line 31) | groupXIDPrefix = "purser-group-" type Group (line 35) | type Group struct function CreateOrUpdateGroup (line 65) | func CreateOrUpdateGroup(group *groups_v1.Group, podsCount int) (*api.As... function DeleteGroup (line 105) | func DeleteGroup(name string) { FILE: pkg/controller/dgraph/models/job.go constant IsJob (line 30) | IsJob = "isJob" type Job (line 34) | type Job struct function createJobObject (line 45) | func createJobObject(job batch_v1.Job) Job { function StoreJob (line 67) | func StoreJob(job batch_v1.Job) (string, error) { function CreateOrGetJobByID (line 84) | func CreateOrGetJobByID(xid string) string { FILE: pkg/controller/dgraph/models/label.go constant Islabel (line 27) | Islabel = "isLabel" type Label (line 31) | type Label struct function GetLabel (line 39) | func GetLabel(key, value string) *Label { function CreateOrGetLabelByID (line 48) | func CreateOrGetLabelByID(key, value string) string { function getXIDOfLabel (line 58) | func getXIDOfLabel(key, value string) string { function createLabelObject (line 62) | func createLabelObject(key, value string) string { FILE: pkg/controller/dgraph/models/namespace.go constant IsNamespace (line 32) | IsNamespace = "isNamespace" type Namespace (line 36) | type Namespace struct function newNamespace (line 45) | func newNamespace(namespace api_v1.Namespace) Namespace { function CreateOrGetNamespaceByID (line 64) | func CreateOrGetNamespaceByID(xid string) string { function StoreNamespace (line 90) | func StoreNamespace(namespace api_v1.Namespace) (string, error) { FILE: pkg/controller/dgraph/models/node.go constant IsNode (line 33) | IsNode = "isNode" constant DefaultNodeInstance (line 34) | DefaultNodeInstance = "purser-default" constant DefaultNodeOS (line 35) | DefaultNodeOS = "purser-default" constant InstanceTypeLabelKey (line 36) | InstanceTypeLabelKey = "beta.kubernetes.io/instance-type" constant OSLabelKey (line 37) | OSLabelKey = "beta.kubernetes.io/os" type Node (line 41) | type Node struct function createNodeObject (line 57) | func createNodeObject(node api_v1.Node) Node { function createOrGetNodeByID (line 83) | func createOrGetNodeByID(xid string) (string, error) { function StoreNode (line 105) | func StoreNode(node api_v1.Node) (string, error) { function getInstanceTypeAndOS (line 127) | func getInstanceTypeAndOS(node api_v1.Node) (string, string) { FILE: pkg/controller/dgraph/models/pod.go constant IsPod (line 34) | IsPod = "isPod" type Pod (line 38) | type Pod struct type Metrics (line 68) | type Metrics struct function newPod (line 76) | func newPod(k8sPod api_v1.Pod) (*api.Assigned, error) { function StorePod (line 99) | func StorePod(k8sPod api_v1.Pod) error { function StorePodsInteraction (line 150) | func StorePodsInteraction(sourcePodXID string, destinationPodsXIDs []str... function retrievePodsFromPodsXIDs (line 166) | func retrievePodsFromPodsXIDs(podsXIDs []string) []*Pod { function retrievePodsWithCountAsEdgeWeightFromPodsXIDs (line 182) | func retrievePodsWithCountAsEdgeWeightFromPodsXIDs(podsXIDs []string, co... function setPodOwners (line 200) | func setPodOwners(pod *Pod, k8sPod api_v1.Pod) { function updateDeploymentAsPodOwner (line 221) | func updateDeploymentAsPodOwner(pod *Pod, ownerXID string) { function updateReplicasetAsPodOwner (line 228) | func updateReplicasetAsPodOwner(pod *Pod, ownerXID string) { function updateStatefulsetAsPodOwner (line 235) | func updateStatefulsetAsPodOwner(pod *Pod, ownerXID string) { function updateJobAsPodOwner (line 242) | func updateJobAsPodOwner(pod *Pod, ownerXID string) { function updateDaemonsetAsPodOwner (line 249) | func updateDaemonsetAsPodOwner(pod *Pod, ownerXID string) { function getPodVolumes (line 256) | func getPodVolumes(k8sPod api_v1.Pod) ([]*PersistentVolumeClaim, float64) { function populatePodLabels (line 278) | func populatePodLabels(pod *Pod, podLabels map[string]string) { function RetrievePodWithContainers (line 288) | func RetrievePodWithContainers(xid string) Pod { FILE: pkg/controller/dgraph/models/pod_test.go function TestStorePodsInteraction (line 28) | func TestStorePodsInteraction(t *testing.T) { FILE: pkg/controller/dgraph/models/process.go constant IsProc (line 33) | IsProc = "isProc" type Proc (line 37) | type Proc struct function newProc (line 49) | func newProc(procXID, procName, containerUID, containerXID string, creat... function StoreProcess (line 62) | func StoreProcess(procXID, containerXID string, podsXIDs []string, creat... function deleteProcessesInTerminatedContainers (line 90) | func deleteProcessesInTerminatedContainers(containers []*Container) { function retrieveProcessesFromProcessesXIDs (line 107) | func retrieveProcessesFromProcessesXIDs(procsXIDs []string) []*Proc { FILE: pkg/controller/dgraph/models/pv.go constant IsPersistentVolume (line 35) | IsPersistentVolume = "isPersistentVolume" type PersistentVolume (line 39) | type PersistentVolume struct function createPersistentVolumeObject (line 50) | func createPersistentVolumeObject(pv api_v1.PersistentVolume, client *ku... function StorePersistentVolume (line 73) | func StorePersistentVolume(pv api_v1.PersistentVolume, client *kubernete... function CreateOrGetPersistentVolumeByID (line 90) | func CreateOrGetPersistentVolumeByID(xid string) string { FILE: pkg/controller/dgraph/models/pvc.go constant IsPersistentVolumeClaim (line 32) | IsPersistentVolumeClaim = "isPersistentVolumeClaim" type PersistentVolumeClaim (line 36) | type PersistentVolumeClaim struct function createPvcObject (line 48) | func createPvcObject(pvc api_v1.PersistentVolumeClaim) PersistentVolumeC... function StorePersistentVolumeClaim (line 79) | func StorePersistentVolumeClaim(pvc api_v1.PersistentVolumeClaim) (strin... function CreateOrGetPersistentVolumeClaimByID (line 96) | func CreateOrGetPersistentVolumeClaimByID(xid string) string { function getPVCFromUID (line 119) | func getPVCFromUID(uid string) (PersistentVolumeClaim, error) { FILE: pkg/controller/dgraph/models/query/cluster.go function getClusterHierarchyQuery (line 30) | func getClusterHierarchyQuery(view string) string { function RetrieveClusterHierarchy (line 42) | func RetrieveClusterHierarchy(view string) JSONDataWrapper { function getClusterMetricsQuery (line 62) | func getClusterMetricsQuery(view string) string { function RetrieveClusterMetrics (line 75) | func RetrieveClusterMetrics(view string) JSONDataWrapper { function calculateAggregateMetrics (line 101) | func calculateAggregateMetrics(objRoot *ParentWrapper) { function PopulateClusterAllocationAndCapacity (line 113) | func PopulateClusterAllocationAndCapacity(jsonData *JSONDataWrapper) { function ComputeClusterAllocationAndCapacity (line 121) | func ComputeClusterAllocationAndCapacity() { method PopulateNodeOrPVAllocationAndCapacity (line 135) | func (r *Resource) PopulateNodeOrPVAllocationAndCapacity(jsonData *JSOND... function populateCapacityData (line 141) | func populateCapacityData(allocatedAndCapacityData ParentWrapper, jsonDa... FILE: pkg/controller/dgraph/models/query/cluster_test.go function mockSecondsSinceMonthStart (line 30) | func mockSecondsSinceMonthStart() { function removeMocks (line 36) | func removeMocks() { function TestMain (line 43) | func TestMain(m *testing.M) { function mockDgraphForClusterQueries (line 50) | func mockDgraphForClusterQueries(queryType string) { function TestRetrieveClusterHierarchyNoView (line 109) | func TestRetrieveClusterHierarchyNoView(t *testing.T) { function TestRetrieveClusterHierarchyLogicalView (line 117) | func TestRetrieveClusterHierarchyLogicalView(t *testing.T) { function TestRetrieveClusterHierarchyPhysicalView (line 140) | func TestRetrieveClusterHierarchyPhysicalView(t *testing.T) { function TestRetrieveClusterMetricsNoView (line 163) | func TestRetrieveClusterMetricsNoView(t *testing.T) { function TestRetrieveClusterMetricsLogicalView (line 171) | func TestRetrieveClusterMetricsLogicalView(t *testing.T) { function TestRetrieveClusterMetricsPhysicalView (line 212) | func TestRetrieveClusterMetricsPhysicalView(t *testing.T) { function TestPopulateClusterAllocationAndCapacityNil (line 252) | func TestPopulateClusterAllocationAndCapacityNil(t *testing.T) { function TestPopulateClusterAllocationAndCapacity (line 273) | func TestPopulateClusterAllocationAndCapacity(t *testing.T) { function resetAllocatedAndCapacity (line 291) | func resetAllocatedAndCapacity(old *ParentWrapper) { function TestPopulateNodeOrPVAllocationAndCapacity (line 295) | func TestPopulateNodeOrPVAllocationAndCapacity(t *testing.T) { function getTestAllocatedCapacityData (line 308) | func getTestAllocatedCapacityData() JSONDataWrapper { FILE: pkg/controller/dgraph/models/query/constants_test.go constant testSecondsSinceMonthStart (line 21) | testSecondsSinceMonthStart = "1.45" constant testPodUIDList (line 22) | testPodUIDList = "0x3e283, 0x3e288" constant testPodName (line 23) | testPodName = "pod-purser-dgraph-0" constant testDaemonsetName (line 24) | testDaemonsetName = "daemonset-purser" constant testResourceName (line 25) | testResourceName = "resource-purser" constant testPodUID (line 26) | testPodUID = "0x3e283" constant testPodXID (line 27) | testPodXID = "purser:pod-purser-dgraph-0" constant testHierarchy (line 29) | testHierarchy = "hierarchy" constant testMetrics (line 30) | testMetrics = "metrics" constant testRetrieveAllGroups (line 31) | testRetrieveAllGroups = "retrieveAllGroups" constant testRetrieveGroupMetrics (line 32) | testRetrieveGroupMetrics = "retrieveGroupMetrics" constant testRetrieveSubscribers (line 33) | testRetrieveSubscribers = "retrieveSubscribers" constant testLabelFilterPods (line 34) | testLabelFilterPods = "labelFilterPods" constant testAlivePods (line 35) | testAlivePods = "alivePods" constant testPodInteractions (line 36) | testPodInteractions = "podInteractions" constant testPodPrices (line 37) | testPodPrices = "podPrices" constant testCapacity (line 38) | testCapacity = "capacityAllocation" constant testWrongQuery (line 39) | testWrongQuery = "wrongQuery" constant testCPUPrice (line 40) | testCPUPrice = 0.24 constant testMemoryPrice (line 41) | testMemoryPrice = 0.1 FILE: pkg/controller/dgraph/models/query/group.go type GroupMetrics (line 27) | type GroupMetrics struct type groupsRoot (line 53) | type groupsRoot struct type groupJSONMetrics (line 57) | type groupJSONMetrics struct function RetrieveGroupsData (line 63) | func RetrieveGroupsData() ([]models.Group, error) { function RetrieveGroupMetricsFromPodUIDs (line 75) | func RetrieveGroupMetricsFromPodUIDs(podsUIDs string) (GroupMetrics, err... function convertToGroupMetrics (line 86) | func convertToGroupMetrics(jsonMetrics []map[string]float64) GroupMetrics { function populateMetric (line 99) | func populateMetric(groupMetrics *GroupMetrics, key string, value float6... FILE: pkg/controller/dgraph/models/query/group_test.go function mockMetricsMap (line 31) | func mockMetricsMap(key string, value float64) map[string]float64 { function mockDgraphForGroupQueries (line 37) | func mockDgraphForGroupQueries(queryType string) { function TestRetrieveGroupsDataWithDgraphError (line 89) | func TestRetrieveGroupsDataWithDgraphError(t *testing.T) { function TestRetrieveGroupsData (line 96) | func TestRetrieveGroupsData(t *testing.T) { function TestGroupMetricsFromPodUIDsWithDgraphError (line 118) | func TestGroupMetricsFromPodUIDsWithDgraphError(t *testing.T) { function TestGroupMetricsFromPodUIDs (line 125) | func TestGroupMetricsFromPodUIDs(t *testing.T) { FILE: pkg/controller/dgraph/models/query/helpers.go function getSecondsSinceMonthStart (line 29) | func getSecondsSinceMonthStart() string { function getSecondsSinceForOtherMonths (line 33) | func getSecondsSinceForOtherMonths() map[string]string { function getQueryForMetricsComputationWithAliasAndVariables (line 49) | func getQueryForMetricsComputationWithAliasAndVariables(suffix string) s... function getQueryForMetricsComputationWithAlias (line 59) | func getQueryForMetricsComputationWithAlias(suffix string) string { function getQueryForMetricsComputation (line 69) | func getQueryForMetricsComputation(suffix string) string { function getQueryForTimeComputation (line 77) | func getQueryForTimeComputation(suffix string) string { function getQueryForCostWithPriceWithAliasAndVariables (line 88) | func getQueryForCostWithPriceWithAliasAndVariables(suffix string) string { function getQueryForCostWithPriceWithAlias (line 96) | func getQueryForCostWithPriceWithAlias(suffix string) string { function getQueryForCostWithPrice (line 104) | func getQueryForCostWithPrice(suffix string) string { function getQueryForAggregatingChildMetricsWithAlias (line 112) | func getQueryForAggregatingChildMetricsWithAlias(childSuffix string) str... function getQueryForAggregatingChildMetrics (line 123) | func getQueryForAggregatingChildMetrics(parentSuffix, childSuffix string... function getQueryFromSubQueryWithAlias (line 132) | func getQueryFromSubQueryWithAlias(suffix string) string { method getQueryForPodParentMetrics (line 143) | func (r *Resource) getQueryForPodParentMetrics() string { method getQueryForHierarchy (line 154) | func (r *Resource) getQueryForHierarchy() string { FILE: pkg/controller/dgraph/models/query/helpers_test.go function TestGetSecondsSinceMonthStart (line 28) | func TestGetSecondsSinceMonthStart(t *testing.T) { FILE: pkg/controller/dgraph/models/query/label.go function CreateFilterFromListOfLabels (line 22) | func CreateFilterFromListOfLabels(labels map[string][]string) string { function createFilterFromLabel (line 40) | func createFilterFromLabel(key, value string) string { FILE: pkg/controller/dgraph/models/query/label_test.go function TestCreateFilterFromLabel (line 27) | func TestCreateFilterFromLabel(t *testing.T) { function TestCreateFilterFromListOfLabels (line 34) | func TestCreateFilterFromListOfLabels(t *testing.T) { FILE: pkg/controller/dgraph/models/query/login.go function Authenticate (line 28) | func Authenticate(username, inputPassword string) bool { function UpdatePassword (line 41) | func UpdatePassword(username, oldPassword, newPassword string) bool { function hashAndUpdatePassword (line 56) | func hashAndUpdatePassword(login *dgraph.Login, newPassword string) error { function getLoginCredentials (line 67) | func getLoginCredentials(username string) (dgraph.Login, error) { function validateUsername (line 85) | func validateUsername(username string) bool { function comparePasswords (line 89) | func comparePasswords(hashedPwd string, plainPwd []byte) bool { FILE: pkg/controller/dgraph/models/query/pod.go type podRoot (line 25) | type podRoot struct function RetrieveAllLivePods (line 31) | func RetrieveAllLivePods() []models.Pod { function RetrievePodsInteractions (line 43) | func RetrievePodsInteractions(name string, isOrphan bool) []byte { function getPricePerResourceForPod (line 93) | func getPricePerResourceForPod(name string) (float64, float64) { function RetrievePodsInteractionsForAllLivePodsWithCount (line 111) | func RetrievePodsInteractionsForAllLivePodsWithCount() ([]models.Pod, er... function RetrievePodsUIDsByLabelsFilter (line 137) | func RetrievePodsUIDsByLabelsFilter(labelFilter string) ([]string, error) { function removeDuplicates (line 147) | func removeDuplicates(pods []models.Pod) []string { FILE: pkg/controller/dgraph/models/query/pod_test.go function mockDgraphForPodQueries (line 31) | func mockDgraphForPodQueries(queryType string) { function TestRetrievePodsUIDsByLabelsFilterWithError (line 68) | func TestRetrievePodsUIDsByLabelsFilterWithError(t *testing.T) { function TestRetrievePodsUIDsByLabelsFilter (line 81) | func TestRetrievePodsUIDsByLabelsFilter(t *testing.T) { function TestRetrieveAllLivePodsWithDgraphError (line 96) | func TestRetrieveAllLivePodsWithDgraphError(t *testing.T) { function TestRetrieveAllLivePods (line 103) | func TestRetrieveAllLivePods(t *testing.T) { function TestPodInteractionsErrorCase (line 115) | func TestPodInteractionsErrorCase(t *testing.T) { function TestGetPricePerResourceForPodWithError (line 127) | func TestGetPricePerResourceForPodWithError(t *testing.T) { function TestGetPricePerResourceForPod (line 135) | func TestGetPricePerResourceForPod(t *testing.T) { FILE: pkg/controller/dgraph/models/query/queries.go function getQueryForDeploymentMetrics (line 25) | func getQueryForDeploymentMetrics(name string) string { function getQueryForPodMetrics (line 47) | func getQueryForPodMetrics(name, cpuPrice, memoryPrice string) string { function getQueryForContainerMetrics (line 65) | func getQueryForContainerMetrics(name string) string { function getQueryForPVMetrics (line 80) | func getQueryForPVMetrics(name string) string { function getQueryForPVCMetrics (line 102) | func getQueryForPVCMetrics(name string) string { function getQueryForNodeMetrics (line 115) | func getQueryForNodeMetrics(name string) string { function getQueryForNamespaceMetrics (line 137) | func getQueryForNamespaceMetrics(name string) string { function getMetricsQueryForLogicalResources (line 188) | func getMetricsQueryForLogicalResources() string { function getMetricsQueryForPhysicalResources (line 204) | func getMetricsQueryForPhysicalResources() string { function getHierarchyQueryForLogicalResource (line 219) | func getHierarchyQueryForLogicalResource() string { function getHierarchyQueryForPhysicalResource (line 229) | func getHierarchyQueryForPhysicalResource() string { function getQueryForAllGroupsData (line 242) | func getQueryForAllGroupsData() string { function getQueryForGroupMetrics (line 273) | func getQueryForGroupMetrics(podsUIDs string) string { function getQueryForSubscribersRetrieval (line 358) | func getQueryForSubscribersRetrieval() string { function getAllLivePodsQuery (line 370) | func getAllLivePodsQuery() string { function getQueryForPodsWithLabelFilter (line 380) | func getQueryForPodsWithLabelFilter(labelFilter string) string { FILE: pkg/controller/dgraph/models/query/resource.go constant ContainerCheck (line 28) | ContainerCheck = "isContainer" constant ContainerType (line 29) | ContainerType = "container" constant IsProcFilter (line 30) | IsProcFilter = "@filter(has(isProc))" constant DaemonsetCheck (line 32) | DaemonsetCheck = "isDaemonset" constant DaemonsetType (line 33) | DaemonsetType = "daemonset" constant IsPodFilter (line 34) | IsPodFilter = "@filter(has(isPod))" constant DeploymentCheck (line 36) | DeploymentCheck = "isDeployment" constant DeploymentType (line 37) | DeploymentType = "deployment" constant IsReplicasetFilter (line 38) | IsReplicasetFilter = "@filter(has(isReplicaset))" constant JobCheck (line 40) | JobCheck = "isJob" constant JobType (line 41) | JobType = "job" constant NamespaceCheck (line 43) | NamespaceCheck = "isNamespace" constant NamespaceType (line 44) | NamespaceType = "namespace" constant NamespaceChildFilter (line 45) | NamespaceChildFilter = "@filter(has(isDeployment) OR has(isStatefulset) ... constant NodeCheck (line 47) | NodeCheck = "isNode" constant NodeType (line 48) | NodeType = "node" constant PodCheck (line 50) | PodCheck = "isPod" constant PodType (line 51) | PodType = "pod" constant IsContainerFilter (line 52) | IsContainerFilter = "@filter(has(isContainer))" constant PVCheck (line 54) | PVCheck = "isPersistentVolume" constant PVType (line 55) | PVType = "pv" constant IsPVCFilter (line 56) | IsPVCFilter = "@filter(has(isPersistentVolumeClaim))" constant PVCCheck (line 58) | PVCCheck = "isPersistentVolumeClaim" constant PVCType (line 59) | PVCType = "pvc" constant ReplicasetCheck (line 61) | ReplicasetCheck = "isReplicaset" constant ReplicasetType (line 62) | ReplicasetType = "replicaset" constant StatefulsetCheck (line 64) | StatefulsetCheck = "isStatefulset" constant StatefulsetType (line 65) | StatefulsetType = "statefulset" type Resource (line 69) | type Resource struct method RetrieveResourceHierarchy (line 77) | func (r *Resource) RetrieveResourceHierarchy() JSONDataWrapper { method RetrieveResourceMetrics (line 87) | func (r *Resource) RetrieveResourceMetrics() JSONDataWrapper { method getQueryForResourceMetrics (line 96) | func (r *Resource) getQueryForResourceMetrics() string { function getJSONDataFromQuery (line 120) | func getJSONDataFromQuery(query string) JSONDataWrapper { FILE: pkg/controller/dgraph/models/query/resource_test.go function mockDgraphForResourceQueries (line 29) | func mockDgraphForResourceQueries(queryType, resourceName, resourceType ... function TestRetrieveResourceHierarchyWithNameEmpty (line 106) | func TestRetrieveResourceHierarchyWithNameEmpty(t *testing.T) { function TestRetrieveResourceHierarchy (line 119) | func TestRetrieveResourceHierarchy(t *testing.T) { function TestRetrieveResourceHierarchyWithDgraphError (line 149) | func TestRetrieveResourceHierarchyWithDgraphError(t *testing.T) { function TestRetrieveResourceMetricsWithNameEmpty (line 164) | func TestRetrieveResourceMetricsWithNameEmpty(t *testing.T) { function TestRetrieveDaemonsetMetrics (line 176) | func TestRetrieveDaemonsetMetrics(t *testing.T) { function TestRetrieveDeploymentMetrics (line 191) | func TestRetrieveDeploymentMetrics(t *testing.T) { function TestRetrieveNamespacetMetrics (line 206) | func TestRetrieveNamespacetMetrics(t *testing.T) { function TestRetrievePVMetrics (line 221) | func TestRetrievePVMetrics(t *testing.T) { function TestRetrievePVCMetrics (line 236) | func TestRetrievePVCMetrics(t *testing.T) { function TestRetrieveContainerMetrics (line 251) | func TestRetrieveContainerMetrics(t *testing.T) { function TestRetrieveNodeMetrics (line 266) | func TestRetrieveNodeMetrics(t *testing.T) { function TestRetrievePodMetrics (line 281) | func TestRetrievePodMetrics(t *testing.T) { function getExpectedTestMetrics (line 295) | func getExpectedTestMetrics(name, resourceType string) JSONDataWrapper { FILE: pkg/controller/dgraph/models/query/subscriber.go type subscriberRoot (line 24) | type subscriberRoot struct function RetrieveSubscribers (line 29) | func RetrieveSubscribers() ([]models.SubscriberCRD, error) { FILE: pkg/controller/dgraph/models/query/subscriber_test.go function mockDgraphForSubscriberQueries (line 29) | func mockDgraphForSubscriberQueries(queryType string) { function TestRetrieveSubscribersWithDgraphError (line 52) | func TestRetrieveSubscribersWithDgraphError(t *testing.T) { function TestRetrieveSubscribers (line 59) | func TestRetrieveSubscribers(t *testing.T) { FILE: pkg/controller/dgraph/models/query/types.go constant All (line 22) | All = "" constant Name (line 23) | Name = "name" constant Orphan (line 24) | Orphan = "orphan" constant View (line 25) | View = "view" constant Physical (line 26) | Physical = "physical" constant Logical (line 27) | Logical = "logical" constant False (line 28) | False = "false" type Children (line 32) | type Children struct type ParentWrapper (line 44) | type ParentWrapper struct type JSONDataWrapper (line 64) | type JSONDataWrapper struct FILE: pkg/controller/dgraph/models/rateCard.go constant IsRateCard (line 29) | IsRateCard = "isRateCard" constant IsNodePrice (line 30) | IsNodePrice = "isNodePrice" constant IsStoragePrice (line 31) | IsStoragePrice = "isStoragePrice" constant RateCardXID (line 32) | RateCardXID = "purser-rateCard" type RateCard (line 36) | type RateCard struct type NodePrice (line 47) | type NodePrice struct type StoragePrice (line 60) | type StoragePrice struct function StoreRateCard (line 69) | func StoreRateCard(rateCard *RateCard) { function StoreNodePrice (line 87) | func StoreNodePrice(nodePrice *NodePrice, productXID string) string { function StoreStoragePrice (line 107) | func StoreStoragePrice(storagePrice *StoragePrice, productXID string) st... function retrieveNode (line 127) | func retrieveNode(name string) (*Node, error) { function retrieveNodePrice (line 155) | func retrieveNodePrice(xid string) (*NodePrice, error) { function getPerUnitResourcePriceForNode (line 181) | func getPerUnitResourcePriceForNode(nodeName string) (float64, float64) { function getPricePerUnitResourceFromNodePrice (line 189) | func getPricePerUnitResourceFromNodePrice(node Node) (float64, float64) { FILE: pkg/controller/dgraph/models/replicaset.go constant IsReplicaset (line 30) | IsReplicaset = "isReplicaset" type Replicaset (line 34) | type Replicaset struct function createReplicasetObject (line 46) | func createReplicasetObject(replicaset ext_v1beta1.ReplicaSet) Replicaset { function StoreReplicaset (line 69) | func StoreReplicaset(replicaset ext_v1beta1.ReplicaSet) (string, error) { function setReplicasetOwners (line 84) | func setReplicasetOwners(r *Replicaset, replicaset ext_v1beta1.ReplicaSe... function CreateOrGetReplicasetByID (line 104) | func CreateOrGetReplicasetByID(xid string) string { FILE: pkg/controller/dgraph/models/service.go constant IsService (line 32) | IsService = "isService" type Service (line 36) | type Service struct function newService (line 48) | func newService(svc api_v1.Service) (*api.Assigned, error) { function StoreService (line 64) | func StoreService(service api_v1.Service) error { function StoreServicesInteraction (line 92) | func StoreServicesInteraction(sourceServiceXID string, destinationServic... function StorePodServiceEdges (line 109) | func StorePodServiceEdges(svcXID string, podsXIDsInService []string) err... function RetrieveAllServices (line 124) | func RetrieveAllServices() ([]Service, error) { function RetrieveAllServicesWithDstPods (line 150) | func RetrieveAllServicesWithDstPods() ([]Service, error) { function RetrieveServiceList (line 177) | func RetrieveServiceList() ([]Service, error) { function retrieveServicesFromServicesXIDs (line 196) | func retrieveServicesFromServicesXIDs(svcsXIDs []string) []*Service { FILE: pkg/controller/dgraph/models/statefulset.go constant IsStatefulset (line 30) | IsStatefulset = "isStatefulset" type Statefulset (line 34) | type Statefulset struct function createStatefulsetObject (line 45) | func createStatefulsetObject(statefulset apps_v1beta1.StatefulSet) State... function StoreStatefulset (line 67) | func StoreStatefulset(statefulset apps_v1beta1.StatefulSet) (string, err... function CreateOrGetStatefulsetByID (line 84) | func CreateOrGetStatefulsetByID(xid string) string { FILE: pkg/controller/dgraph/models/subscriber.go constant IsSubscriber (line 30) | IsSubscriber = "isSubscriber" type SubscriberCRD (line 34) | type SubscriberCRD struct type SubscriberSpec (line 45) | type SubscriberSpec struct function createSubscriberCRDObject (line 51) | func createSubscriberCRDObject(subscriber subscribers_v1.Subscriber) Sub... function StoreSubscriberCRD (line 73) | func StoreSubscriberCRD(subscriber subscribers_v1.Subscriber) (string, e... FILE: pkg/controller/dgraph/purge.go type resource (line 27) | type resource struct function RemoveResourcesInactive (line 33) | func RemoveResourcesInactive() { function removeOldDeletedResources (line 45) | func removeOldDeletedResources() error { function removeOldDeletedPods (line 59) | func removeOldDeletedPods() error { function retrieveResourcesWithEndTimeBeforeCurrentMonthStart (line 73) | func retrieveResourcesWithEndTimeBeforeCurrentMonthStart() ([]resource, ... function retrievePodsWithEndTimeBeforeThreeMonths (line 91) | func retrievePodsWithEndTimeBeforeThreeMonths() ([]resource, error) { FILE: pkg/controller/discovery/executer/exec.go function ExecToPodThroughAPI (line 35) | func ExecToPodThroughAPI(conf controller.Config, pod corev1.Pod, command... FILE: pkg/controller/discovery/generator/graph.go type Node (line 33) | type Node struct type Edge (line 46) | type Edge struct function GetGraphNodes (line 59) | func GetGraphNodes() []Node { function GetGraphEdges (line 64) | func GetGraphEdges() []Edge { function GeneratePodNodesAndEdges (line 69) | func GeneratePodNodesAndEdges(pods []models.Pod) { function getPodUniqueIDsAndNumConnections (line 78) | func getPodUniqueIDsAndNumConnections(pods []models.Pod) (map[string]int... function setPodUniqueIDsAndNumConnections (line 88) | func setPodUniqueIDsAndNumConnections(pod models.Pod, uniqueIDs, numConn... function createPodNodes (line 101) | func createPodNodes(pods []models.Pod, uniqueIDs, numConnections, inboun... function createPodEdges (line 120) | func createPodEdges(pods []models.Pod, uniqueIDs map[string]int) []Edge { function createPodNode (line 132) | func createPodNode(podName string, podID int, podConnections int, cid []... function createPodEdge (line 143) | func createPodEdge(fromID int, toID int, count int) Edge { function setGraphNodes (line 151) | func setGraphNodes(podNodes []Node) { function setGraphEdges (line 155) | func setGraphEdges(podEdges []Edge) { FILE: pkg/controller/discovery/linker/podlinks.go type InteractionsWrapper (line 31) | type InteractionsWrapper struct constant KeySpliter (line 50) | KeySpliter = ":" function PopulatePodIPTable (line 54) | func PopulatePodIPTable(pods *corev1.PodList) { function GenerateAndStorePodInteractions (line 62) | func GenerateAndStorePodInteractions() { function PopulateMappingTables (line 80) | func PopulateMappingTables(tcpDump []string, pod corev1.Pod, process Pro... function updatePodInteractions (line 94) | func updatePodInteractions(srcName, dstName string, interactions *Intera... function UpdatePodToPodTable (line 110) | func UpdatePodToPodTable(podInteractions map[string](map[string]float64)) { FILE: pkg/controller/discovery/linker/processlinks.go type Process (line 28) | type Process struct function StoreProcessInteractions (line 33) | func StoreProcessInteractions(containerProcessInteraction map[string][]s... function populateContainerProcessTable (line 53) | func populateContainerProcessTable(containerXID, procXID string, interac... function updatePodProcessInteractions (line 60) | func updatePodProcessInteractions(procXID, dstName string, interactions ... FILE: pkg/controller/discovery/linker/servicelinks.go function PopulatePodToServiceTable (line 35) | func PopulatePodToServiceTable(svc corev1.Service, pods *corev1.PodList) { function GenerateAndStoreSvcInteractions (line 54) | func GenerateAndStoreSvcInteractions() { function getDestinationPods (line 70) | func getDestinationPods(podsInService []*models.Pod) []*models.Pod { function getServicesXIDsFromPods (line 78) | func getServicesXIDsFromPods(pods []*models.Pod) []string { FILE: pkg/controller/discovery/processor/container.go function processContainerDetails (line 34) | func processContainerDetails(conf controller.Config, pod corev1.Pod, con... function getPIDList (line 50) | func getPIDList(conf controller.Config, pod corev1.Pod, containerName st... function getProcessDump (line 74) | func getProcessDump(conf controller.Config, pod corev1.Pod, containerNam... function executeCommandInPod (line 95) | func executeCommandInPod(conf controller.Config, pod corev1.Pod, command... FILE: pkg/controller/discovery/processor/pod.go constant maxGoRoutines (line 33) | maxGoRoutines = 20 function ProcessPodInteractions (line 39) | func ProcessPodInteractions(conf controller.Config) { function processPodDetails (line 53) | func processPodDetails(conf controller.Config, pods *corev1.PodList) { FILE: pkg/controller/discovery/processor/svc.go function ProcessServiceInteractions (line 39) | func ProcessServiceInteractions(conf controller.Config) { function processServiceDetails (line 52) | func processServiceDetails(client *kubernetes.Clientset, services *corev... FILE: pkg/controller/eventprocessor/notifier.go constant ReadSize (line 33) | ReadSize uint32 = 50 type notifier (line 35) | type notifier struct method createNewRequest (line 58) | func (n notifier) createNewRequest(payload []*interface{}) (*http.Requ... method setReqHeaders (line 90) | func (n *notifier) setReqHeaders(r *http.Request) { function notifySubscribers (line 40) | func notifySubscribers(payload []*interface{}, subscribers []models.Subs... function sendData (line 74) | func sendData(req *http.Request) error { function getNotifiers (line 97) | func getNotifiers(subscribers []models.SubscriberCRD) []*notifier { function retry (line 113) | func retry(attempts int, sleep time.Duration, fn func() error) error { FILE: pkg/controller/eventprocessor/processor.go function ProcessEvents (line 40) | func ProcessEvents(conf *controller.Config) { function ProcessPayloads (line 70) | func ProcessPayloads(payloads []*interface{}, conf *controller.Config) { function handlePayloadBasedOnResource (line 78) | func handlePayloadBasedOnResource(payload *controller.Payload, conf *con... function unmarshalPayload (line 137) | func unmarshalPayload(payload *controller.Payload, resource interface{}) { function checkDgraphError (line 144) | func checkDgraphError(resource string, err error) { function handlePayloadForGroup (line 150) | func handlePayloadForGroup(payload *controller.Payload, conf *controller... FILE: pkg/controller/eventprocessor/sync.go function SyncCluster (line 36) | func SyncCluster(kubeClient *kubernetes.Clientset) { function syncPods (line 42) | func syncPods(kubeClient *kubernetes.Clientset, endTime string) { function handleDeadPodsAndNewPods (line 60) | func handleDeadPodsAndNewPods(livePodsFromDgraph []models.Pod, podsInClu... FILE: pkg/controller/eventprocessor/updater.go function UpdateGroups (line 36) | func UpdateGroups(groupCRDClient *groupsClient_v1.GroupClient) { function UpdateGroup (line 50) | func UpdateGroup(group *groups_v1.Group, groupCRDClient *groupsClient_v1... function getGroupMetrics (line 108) | func getGroupMetrics(group *groups_v1.Group) query.GroupMetrics { function getPodUIDsFromAllExpressions (line 136) | func getPodUIDsFromAllExpressions(expressions map[string]map[string][]st... function mapPodUIDsToNumberOfOccurences (line 149) | func mapPodUIDsToNumberOfOccurences(podsFromExpressions [][]string) map[... function getUIDQueryForPods (line 165) | func getUIDQueryForPods(podsUIDsCounter map[string]int, expressionsCount... FILE: pkg/controller/metrics/metrics.go type Metrics (line 27) | type Metrics struct function CalculatePodStatsFromContainers (line 35) | func CalculatePodStatsFromContainers(pod *api_v1.Pod) *Metrics { function PrintPodStats (line 62) | func PrintPodStats(pod *api_v1.Pod, metrics *Metrics) { FILE: pkg/controller/payload.go type PayloadWrapper (line 23) | type PayloadWrapper struct type Payload (line 28) | type Payload struct FILE: pkg/controller/persistentVolume.go function UpdatePodVolumeClaims (line 39) | func UpdatePodVolumeClaims(pod api_v1.Pod, podDetails groups_v1.PodDetai... function getactivePodVolumeClaims (line 81) | func getactivePodVolumeClaims(pod api_v1.Pod) map[string]*groups_v1.Pers... function collectPersistentVolumeClaim (line 95) | func collectPersistentVolumeClaim(claimName, namespace string) *groups_v... function PvcHandlePodDeletion (line 116) | func PvcHandlePodDeletion(podDetails *groups_v1.PodDetails) { function checkBounded (line 128) | func checkBounded(pvc *groups_v1.PersistentVolumeClaim) bool { function isPVCError (line 133) | func isPVCError(err error, claimName string) bool { FILE: pkg/controller/types.go constant Create (line 30) | Create = "create" constant Delete (line 31) | Delete = "delete" constant Update (line 32) | Update = "update" type Resource (line 36) | type Resource struct type Config (line 53) | type Config struct FILE: pkg/controller/utils/jsonutils.go function JSONMarshal (line 28) | func JSONMarshal(obj interface{}) []byte { function GetJSONResponse (line 38) | func GetJSONResponse(client *http.Client, url string, target interface{}... function closeResponse (line 48) | func closeResponse(resp *http.Response) { FILE: pkg/controller/utils/k8sUtils.go constant StorageDefault (line 35) | StorageDefault = "purser-default" function RetrievePodList (line 39) | func RetrievePodList(client *kubernetes.Clientset, options metav1.ListOp... function RetrieveNodeList (line 49) | func RetrieveNodeList(client *kubernetes.Clientset, options metav1.ListO... function RetrieveServiceList (line 59) | func RetrieveServiceList(client *kubernetes.Clientset, options metav1.Li... function RetrieveGroupList (line 69) | func RetrieveGroupList(groupClient *groups.GroupClient, options metav1.L... function RetrieveStorageClass (line 79) | func RetrieveStorageClass(client *kubernetes.Clientset, options metav1.G... function GetFinalStorageTypeOfPV (line 98) | func GetFinalStorageTypeOfPV(pv api_v1.PersistentVolume, client *kuberne... function getFinalTypeOfStorageClass (line 106) | func getFinalTypeOfStorageClass(client *kubernetes.Clientset, storageCla... FILE: pkg/controller/utils/purge.go function PurgeTCPData (line 30) | func PurgeTCPData(data string) []string { function PurgeTCP6Data (line 50) | func PurgeTCP6Data(data string) []string { function getTCPDumpHexFromData (line 68) | func getTCPDumpHexFromData(data string) []string { function hexToDecIP (line 79) | func hexToDecIP(hexIP string) string { function isLocalHost (line 87) | func isLocalHost(localIP, remoteIP string) bool { FILE: pkg/controller/utils/purge_test.go function TestHexToDecIP (line 26) | func TestHexToDecIP(t *testing.T) { FILE: pkg/controller/utils/timeUtils.go function GetCurrentMonthStartTime (line 23) | func GetCurrentMonthStartTime() time.Time { function ConverTimeToRFC3339 (line 30) | func ConverTimeToRFC3339(queryTime time.Time) string { function GetSecondsSince (line 35) | func GetSecondsSince(queryTime time.Time) float64 { function GetHoursRemainingInCurrentMonth (line 40) | func GetHoursRemainingInCurrentMonth() float64 { FILE: pkg/controller/utils/unitConversions.go function BytesToGB (line 28) | func BytesToGB(val int64) float64 { function ConvertToFloat64GB (line 33) | func ConvertToFloat64GB(quantity *resource.Quantity) float64 { function ConvertToFloat64CPU (line 38) | func ConvertToFloat64CPU(quantity *resource.Quantity) float64 { function AddResourceAToResourceB (line 43) | func AddResourceAToResourceB(resA, resB *resource.Quantity) { function float64BytesToFloat64GB (line 50) | func float64BytesToFloat64GB(val float64) float64 { function resourceToFloat64 (line 55) | func resourceToFloat64(quantity *resource.Quantity) float64 { FILE: pkg/controller/utils/unitConversions_test.go function TestBytesToGB (line 27) | func TestBytesToGB(t *testing.T) { function TestConvertToFloat64GB (line 33) | func TestConvertToFloat64GB(t *testing.T) { function TestConvertToFloat64CPU (line 42) | func TestConvertToFloat64CPU(t *testing.T) { function getTestQuantities (line 51) | func getTestQuantities() [3]resource.Quantity { FILE: pkg/plugin/costing.go type Cost (line 31) | type Cost struct function ProvideClientSetInstance (line 42) | func ProvideClientSetInstance(clientset *kubernetes.Clientset) { function GetPodsCostForLabel (line 47) | func GetPodsCostForLabel(label string) { function GetClusterSummary (line 54) | func GetClusterSummary() { function GetSavings (line 106) | func GetSavings() { function GetPodCost (line 125) | func GetPodCost(podName string) { function GetAllNodesCost (line 132) | func GetAllNodesCost() { function calculateCost (line 151) | func calculateCost(pods []*Pod, pvcs map[string]*PersistentVolumeClaim) ... function calculateCostOfPod (line 160) | func calculateCostOfPod(pod Pod, pvcs map[string]*PersistentVolumeClaim,... function getPvCostAndCapacity (line 183) | func getPvCostAndCapacity(pvs []v1.PersistentVolume) (float64, int64) { function getPvcCostAndCapacity (line 194) | func getPvcCostAndCapacity(pvcs []v1.PersistentVolumeClaim) (float64, in... function getPodsCost (line 205) | func getPodsCost(pods []*Pod) []*Pod { FILE: pkg/plugin/grouping.go function GetGroupByName (line 31) | func GetGroupByName(groupClient *groups.GroupClient, groupName string) *... function PrintGroup (line 41) | func PrintGroup(group *groups_v1.Group) { FILE: pkg/plugin/metrics/metrics.go type Metrics (line 29) | type Metrics struct type GroupMetrics (line 38) | type GroupMetrics struct function CalculatePodStatsFromContainers (line 47) | func CalculatePodStatsFromContainers(pods []v1.Pod) *Metrics { function CalculateNodeStats (line 76) | func CalculateNodeStats(nodes []v1.Node) *Metrics { function PrintPodStats (line 94) | func PrintPodStats(pod *api_v1.Pod, metrics *Metrics) { FILE: pkg/plugin/node.go function GetClusterNodes (line 26) | func GetClusterNodes() []v1.Node { FILE: pkg/plugin/pod.go type Pod (line 32) | type Pod struct function GetClusterPods (line 42) | func GetClusterPods() []v1.Pod { function getPodDetailsFromClient (line 50) | func getPodDetailsFromClient(podName string) *Pod { function getPodsForLabelThroughClient (line 71) | func getPodsForLabelThroughClient(label string) []*Pod { function createPodObjects (line 86) | func createPodObjects(pods *v1.PodList) []*Pod { function createPodObject (line 96) | func createPodObject(pod *v1.Pod) Pod { function getPodVolumes (line 106) | func getPodVolumes(pod *v1.Pod) []*string { function printPodsVerbose (line 117) | func printPodsVerbose(pods []*Pod) { FILE: pkg/plugin/pricing.go constant namespace (line 29) | namespace = "default" constant userCostsConfigMap (line 30) | userCostsConfigMap = "purser-user-costs" constant defaultCPUCostPerCPUPerHour (line 31) | defaultCPUCostPerCPUPerHour = 0.024 constant defaultMemCostPerGBPerHour (line 32) | defaultMemCostPerGBPerHour = 0.01 constant defaultStorageCostPerGBPerHour (line 33) | defaultStorageCostPerGBPerHour = 0.00013888888 type Price (line 38) | type Price struct function SaveUserCosts (line 45) | func SaveUserCosts(cpuCostPerCPUPerHour, memCostPerGBPerHour, storageCos... function GetUserCosts (line 81) | func GetUserCosts() *Price { FILE: pkg/plugin/utils.go function getCurrentTime (line 27) | func getCurrentTime() metav1.Time { function getCurrentMonthStartTime (line 32) | func getCurrentMonthStartTime() metav1.Time { function currentMonthActiveTimeInHours (line 44) | func currentMonthActiveTimeInHours(startTime, endTime metav1.Time) float... function currentMonthActiveTimeInHoursMulti (line 55) | func currentMonthActiveTimeInHoursMulti(startTime, endTime, currentTime,... function totalHoursTillNow (line 70) | func totalHoursTillNow() float64 { function projectToMonth (line 76) | func projectToMonth(val float64) float64 { function bytesToGB (line 81) | func bytesToGB(val int64) float64 { FILE: pkg/plugin/volume.go type PersistentVolumeClaim (line 29) | type PersistentVolumeClaim struct function GetClusterVolumes (line 38) | func GetClusterVolumes() []v1.PersistentVolume { function GetClusterPersistentVolumeClaims (line 47) | func GetClusterPersistentVolumeClaims() []v1.PersistentVolumeClaim { function collectPersistentVolumeClaims (line 55) | func collectPersistentVolumeClaims(pvcs map[string]*PersistentVolumeClai... function collectPersistentVolumeClaim (line 63) | func collectPersistentVolumeClaim(claimName string) *PersistentVolumeCla... FILE: pkg/pricing/aws/aws.go constant httpTimeout (line 29) | httpTimeout = 100 * time.Second type Pricing (line 33) | type Pricing struct type PlanList (line 39) | type PlanList struct type TermAttributes (line 44) | type TermAttributes struct type PricingData (line 49) | type PricingData struct type Product (line 55) | type Product struct type ProductAttributes (line 62) | type ProductAttributes struct function GetAWSPricing (line 76) | func GetAWSPricing(region string) (*Pricing, error) { function getURLForRegion (line 87) | func getURLForRegion(region string) string { FILE: pkg/pricing/aws/convert.go constant na (line 31) | na = "NA" constant gbMonth (line 32) | gbMonth = "GB-Mo" constant deliminator (line 33) | deliminator = "-" constant storageInstance (line 34) | storageInstance = "Storage" constant computeInstance (line 35) | computeInstance = "Compute Instance" constant priceSplitRatio (line 38) | priceSplitRatio = 0.5 function GetRateCardForAWS (line 42) | func GetRateCardForAWS(region string) *models.RateCard { function convertAWSPricingToPurserRateCard (line 50) | func convertAWSPricingToPurserRateCard(region string, awsPricing *Pricin... function getResourcePricesFromAWSPricing (line 62) | func getResourcePricesFromAWSPricing(awsPricing *Pricing) ([]*models.Nod... function getResourcePrice (line 81) | func getResourcePrice(product Product, planList PlanList) (float64, stri... function updateComputeInstancePrices (line 97) | func updateComputeInstancePrices(product Product, priceInFloat64 float64... function updateStorageInstancePrices (line 123) | func updateStorageInstancePrices(product Product, priceInFloat64 float64... function getPriceForUnitResource (line 147) | func getPriceForUnitResource(product Product, priceInFloat64 float64) (f... FILE: pkg/pricing/cloud.go type Cloud (line 28) | type Cloud struct method PopulateRateCard (line 44) | func (c *Cloud) PopulateRateCard() { function GetClusterProviderAndRegion (line 35) | func GetClusterProviderAndRegion() (string, string) { FILE: pkg/utils/fileutils.go function OpenFile (line 28) | func OpenFile(filename string) *os.File { function GetUsrHomeDir (line 37) | func GetUsrHomeDir() string { FILE: pkg/utils/k8sutil.go function GetKubeclient (line 29) | func GetKubeclient(config *rest.Config) *kubernetes.Clientset { function GetKubeconfig (line 39) | func GetKubeconfig(kubeconfigPath string) (*rest.Config, error) { FILE: pkg/utils/logutil.go constant logFile (line 27) | logFile = "purser.log" function InitializeLogger (line 30) | func InitializeLogger(logLevel string) { FILE: test/controller/buffering/ring_buffer_test.go function TestPut (line 28) | func TestPut(t *testing.T) { function TestGet (line 41) | func TestGet(t *testing.T) { FILE: test/pricing/pricing_aws_test.go function TestAWSPricingFlow (line 33) | func TestAWSPricingFlow(t *testing.T) { FILE: test/utils/checkUtil.go function Assert (line 29) | func Assert(tb testing.TB, condition bool, msg string, v ...interface{}) { function Ok (line 38) | func Ok(tb testing.TB, err error) { function Equals (line 47) | func Equals(tb testing.TB, exp, act interface{}) { FILE: ui/e2e/protractor.conf.js method onPrepare (line 22) | onPrepare() { FILE: ui/e2e/src/app.po.ts class AppPage (line 3) | class AppPage { method navigateTo (line 4) | navigateTo() { method getParagraphText (line 8) | getParagraphText() { FILE: ui/src/app/app.component.ts class AppComponent (line 10) | class AppComponent implements OnInit { method constructor (line 16) | constructor(public router: Router) { method loadApp (line 22) | private loadApp() { method navigationEventHandler (line 28) | private navigationEventHandler(event: RouterEvent): void { method ngOnInit (line 45) | ngOnInit() { FILE: ui/src/app/app.constants.ts constant BACKEND_BASE_URL (line 1) | const BACKEND_BASE_URL = "http://10.112.141.194"; constant BACKEND_URL (line 2) | const BACKEND_URL = BACKEND_BASE_URL + '/api/' constant BACKEND_AUTH_URL (line 3) | const BACKEND_AUTH_URL = BACKEND_BASE_URL + '/auth/' FILE: ui/src/app/app.module.ts class AppModule (line 45) | class AppModule { } FILE: ui/src/app/app.routing.ts constant ROUTES (line 11) | const ROUTES: Routes = [ constant ROUTING (line 21) | const ROUTING: ModuleWithProviders = RouterModule.forRoot(ROUTES); FILE: ui/src/app/modules/capacity-graph/capacity-graph.module.ts class CapacityGraphModule (line 19) | class CapacityGraphModule { } FILE: ui/src/app/modules/capacity-graph/components/capactiy-graph.component.ts constant STATUS_WAIT (line 6) | const STATUS_WAIT = 'WAIT', constant STATUS_READY (line 6) | const STATUS_WAIT = 'WAIT', constant STATUS_NODATA (line 6) | const STATUS_WAIT = 'WAIT', class CapactiyGraphComponent (line 17) | class CapactiyGraphComponent implements OnInit { method constructor (line 64) | constructor(private router: Router, private capacityGraphService: Capa... method getCapacityData (line 66) | private getCapacityData() { method computeAllocationRatios (line 82) | private computeAllocationRatios(data) { method constructRoot (line 139) | private constructRoot(capaData) { method pushToGraphData (line 156) | private pushToGraphData(item, parent) { method collectFilterItems (line 170) | private collectFilterItems(item) { method constructData (line 174) | private constructData(capaData) { method onSelect (line 196) | public onSelect(element) { method getAdditionalData (line 208) | private getAdditionalData(item) { method filterItemChange (line 229) | public filterItemChange(evt) { method metricChange (line 239) | public metricChange(evt) { method reset (line 243) | public reset() { method viewChange (line 250) | public viewChange() { method ngOnInit (line 254) | ngOnInit() { FILE: ui/src/app/modules/capacity-graph/services/capacity-graph.service.ts class CapacityGraphService (line 6) | class CapacityGraphService { method constructor (line 7) | constructor(private http: HttpClient) { method getCapacityData (line 11) | public getCapacityData(view?, type?, name?) { FILE: ui/src/app/modules/changepassword/changepassword.module.ts class ChangepasswordModule (line 18) | class ChangepasswordModule { } FILE: ui/src/app/modules/changepassword/components/changepassword.component.ts class ChangepasswordComponent (line 12) | class ChangepasswordComponent implements OnInit { method ngOnInit (line 16) | ngOnInit() { method constructor (line 21) | constructor(private router: Router, private changepasswordService: Cha... method submitChangePassword (line 23) | public submitChangePassword() { FILE: ui/src/app/modules/changepassword/services/changepassword.service.ts class ChangepasswordService (line 6) | class ChangepasswordService { method constructor (line 8) | constructor(private http: HttpClient) { method sendLoginCredentials (line 12) | public sendLoginCredentials(credentials) { FILE: ui/src/app/modules/logical-group/components/logical-group.component.ts constant STATUS_WAIT (line 6) | const STATUS_WAIT = 'WAIT', constant STATUS_READY (line 6) | const STATUS_WAIT = 'WAIT', constant STATUS_NODATA (line 6) | const STATUS_WAIT = 'WAIT', class LogicalGroupComponent (line 15) | class LogicalGroupComponent implements OnInit { method constructor (line 40) | constructor(private router: Router, private logicalGroupService: Logic... method getCurrentMonthStatus (line 43) | public getCurrentMonthStatus() { method getLastMonthStatus (line 51) | public getLastMonthStatus() { method getLast3MonthStatus (line 59) | public getLast3MonthStatus() { method getProjectedMonthStatus (line 67) | public getProjectedMonthStatus() { method changeCurrentMonthView (line 75) | public changeCurrentMonthView() { method changeLastMonthView (line 79) | public changeLastMonthView() { method changeLast3MonthView (line 83) | public changeLast3MonthView() { method changeProjectedMonthView (line 87) | public changeProjectedMonthView() { method getLogicalGroupData (line 92) | private getLogicalGroupData() { method fillGroupData (line 106) | public fillGroupData() { method deleteGroupData (line 111) | public deleteGroupData() { method createGroup (line 116) | public createGroup() { method deleteGroup (line 131) | public deleteGroup() { method setToBeDeletedGroup (line 146) | public setToBeDeletedGroup(grpName) { method showGroupDetails (line 151) | public showGroupDetails(group) { method reset (line 158) | public reset() { method showMTD (line 169) | public showMTD() { method showProjected (line 195) | public showProjected() { method ngOnInit (line 221) | ngOnInit() { FILE: ui/src/app/modules/logical-group/logical-group.module.ts class LogicalGroupModule (line 19) | class LogicalGroupModule { } FILE: ui/src/app/modules/logical-group/services/logical-group.service.ts class LogicalGroupService (line 6) | class LogicalGroupService { method constructor (line 7) | constructor(private http: HttpClient) { method getLogicalGroupData (line 11) | public getLogicalGroupData(name?) { method deleteCustomGroup (line 29) | public deleteCustomGroup(name) { method createCustomGroup (line 34) | public createCustomGroup(groupDef) { FILE: ui/src/app/modules/login/components/login.component.ts class LoginComponent (line 12) | class LoginComponent implements OnInit { method ngOnInit (line 15) | ngOnInit() { method constructor (line 20) | constructor(private router: Router, private loginService: LoginService... method submitLogin (line 22) | public submitLogin() { FILE: ui/src/app/modules/login/login.module.ts class LoginModule (line 18) | class LoginModule { } FILE: ui/src/app/modules/login/services/login.service.ts class LoginService (line 6) | class LoginService { method constructor (line 9) | constructor(private http: HttpClient) { method sendLoginCredential (line 13) | public sendLoginCredential(credentials) { FILE: ui/src/app/modules/logout/components/logout.component.ts class LogoutComponent (line 12) | class LogoutComponent implements OnInit { method ngOnInit (line 15) | ngOnInit() { method constructor (line 20) | constructor(private router: Router, private http: HttpClient, private ... method handleLogout (line 22) | public handleLogout() { FILE: ui/src/app/modules/logout/logout.module.ts class LogoutModule (line 17) | class LogoutModule { } FILE: ui/src/app/modules/options/components/options.component.ts class OptionsComponent (line 10) | class OptionsComponent implements OnInit { method ngOnInit (line 12) | ngOnInit() { method constructor (line 16) | constructor(private http: HttpClient) { } method initiateSync (line 18) | public initiateSync() { FILE: ui/src/app/modules/options/options.module.ts class OptionsModule (line 17) | class OptionsModule { } FILE: ui/src/app/modules/topo-graph/components/topo-graph.component.ts constant STATUS_WAIT (line 6) | const STATUS_WAIT = 'WAIT', constant STATUS_READY (line 6) | const STATUS_WAIT = 'WAIT', constant STATUS_NODATA (line 6) | const STATUS_WAIT = 'WAIT', class TopoGraphComponent (line 15) | class TopoGraphComponent implements OnInit { method constructor (line 84) | constructor(private router: Router, private topoService: TopoGraphServ... method getTopoData (line 86) | private getTopoData() { method getIcon (line 104) | private getIcon(type) { method pushToGraphData (line 121) | private pushToGraphData(item, parent) { method collectFilterItems (line 144) | private collectFilterItems(item) { method constructData (line 148) | private constructData(topoData) { method onSelect (line 177) | public onSelect(element) { method getAdditionalData (line 189) | private getAdditionalData(item) { method filterItemChange (line 211) | public filterItemChange(evt) { method reset (line 223) | public reset() { method viewChange (line 230) | public viewChange() { method ngOnInit (line 234) | ngOnInit() { FILE: ui/src/app/modules/topo-graph/modules.ts class TopoGraphModule (line 17) | class TopoGraphModule { FILE: ui/src/app/modules/topo-graph/services/topo-graph.service.ts class TopoGraphService (line 7) | class TopoGraphService { method constructor (line 8) | constructor(private http: HttpClient, private cookieService: CookieSer... method getTopoData (line 12) | public getTopoData(view?, type?, name?) { FILE: ui/src/app/modules/topologyGraph/components/topologyGraph.component.ts constant STATUS_WAIT (line 7) | const STATUS_WAIT = 'WAIT', constant STATUS_READY (line 7) | const STATUS_WAIT = 'WAIT', constant STATUS_NODATA (line 7) | const STATUS_WAIT = 'WAIT', class TopologyGraphComponent (line 17) | class TopologyGraphComponent implements OnInit { method constructor (line 63) | constructor(private router: Router, private topologyService: TopologyG... method getServiceList (line 67) | private getServiceList() { method getNodes (line 79) | private getNodes() { method getEdges (line 105) | private getEdges() { method initNetwork (line 121) | private initNetwork() { method reset (line 178) | public reset() { method reload (line 184) | public reload() { method loadApp (line 223) | private loadApp() { method ngOnInit (line 228) | ngOnInit() { method clusterByCid (line 233) | public clusterByCid() { FILE: ui/src/app/modules/topologyGraph/modules.ts class TopologyGraphModule (line 16) | class TopologyGraphModule { FILE: ui/src/app/modules/topologyGraph/services/topologyGraph.service.ts class TopologyGraphService (line 6) | class TopologyGraphService { method constructor (line 7) | constructor(private http: HttpClient) { method getNodes (line 11) | public getNodes(serviceName) { method getEdges (line 25) | public getEdges(serviceName) { method getServiceList (line 39) | public getServiceList() {