Versions in this module Expand all Collapse all v1 v1.0.0 Nov 27, 2018 Changes in this version + const IsContainer + const IsDaemonset + const IsDeployment + const IsJob + const IsNamespace + const IsNode + const IsPersistentVolume + const IsPersistentVolumeClaim + const IsPod + const IsProc + const IsPurserGroup + const IsReplicaset + const IsService + const IsStatefulset + const IsSubscriber + func CreateOrGetDaemonsetByID(xid string) string + func CreateOrGetDeploymentByID(xid string) string + func CreateOrGetJobByID(xid string) string + func CreateOrGetNamespaceByID(xid string) string + func CreateOrGetPersistentVolumeByID(xid string) string + func CreateOrGetPersistentVolumeClaimByID(xid string) string + func CreateOrGetReplicasetByID(xid string) string + func CreateOrGetStatefulsetByID(xid string) string + func StoreAndRetrieveContainersAndMetrics(pod api_v1.Pod, podUID, namespaceUID string) ([]*Container, Metrics) + func StoreContainerProcessEdge(containerXID string, procsXIDs []string) error + func StoreDaemonset(daemonset ext_v1beta1.DaemonSet) (string, error) + func StoreDeployment(deployment apps_v1beta1.Deployment) (string, error) + func StoreGroupCRD(group groups_v1.Group) (string, error) + func StoreJob(job batch_v1.Job) (string, error) + func StoreNamespace(namespace api_v1.Namespace) (string, error) + func StoreNode(node api_v1.Node) (string, error) + func StorePersistentVolume(pv api_v1.PersistentVolume) (string, error) + func StorePersistentVolumeClaim(pvc api_v1.PersistentVolumeClaim) (string, error) + func StorePod(k8sPod api_v1.Pod) error + func StorePodServiceEdges(svcXID string, podsXIDsInService []string) error + func StorePodsInteraction(sourcePodXID string, destinationPodsXIDs []string, counts []float64) error + func StoreProcess(procXID, containerXID string, podsXIDs []string, creationTimeStamp time.Time) error + func StoreReplicaset(replicaset ext_v1beta1.ReplicaSet) (string, error) + func StoreService(service api_v1.Service) error + func StoreServicesInteraction(sourceServiceXID string, destinationServicesXIDs []string) error + func StoreStatefulset(statefulset apps_v1beta1.StatefulSet) (string, error) + func StoreSubscriberCRD(subscriber subscribers_v1.Subscriber) (string, error) + type Container struct + CPULimit float64 + CPURequest float64 + EndTime string + IsContainer bool + MemoryLimit float64 + MemoryRequest float64 + Name string + Namespace *Namespace + Pod Pod + Procs []*Proc + StartTime string + Type string + type Daemonset struct + EndTime string + IsDaemonset bool + Name string + Namespace *Namespace + Pods []*Pod + StartTime string + Type string + type Deployment struct + EndTime string + IsDeployment bool + Name string + Namespace *Namespace + Pods []*Pod + StartTime string + Type string + type GroupCRD struct + EndTime string + IsPurserGroup bool + Name string + StartTime string + Type string + type Job struct + EndTime string + IsJob bool + Name string + Namespace *Namespace + Pods []*Pod + StartTime string + Type string + type Metrics struct + CPULimit float64 + CPURequest float64 + MemoryLimit float64 + MemoryRequest float64 + type Namespace struct + EndTime string + IsNamespace bool + Name string + StartTime string + Type string + type Node struct + CPUCapity float64 + EndTime string + IsNode bool + MemoryCapacity float64 + Name string + Pods []*Pod + StartTime string + Type string + type PersistentVolume struct + EndTime string + IsPersistentVolume bool + Name string + StartTime string + StorageCapacity float64 + Type string + type PersistentVolumeClaim struct + EndTime string + IsPersistentVolumeClaim bool + Name string + Namespace *Namespace + PersistentVolume *PersistentVolume + StartTime string + StorageCapacity float64 + Type string + type Pod struct + CPULimit float64 + CPURequest float64 + Cid []Service + Containers []*Container + Count float64 + Daemonset *Daemonset + Deployment *Deployment + EndTime string + IsPod bool + Job *Job + MemoryLimit float64 + MemoryRequest float64 + Name string + Namespace *Namespace + Node *Node + Pods []*Pod + Pvcs []*PersistentVolumeClaim + Replicaset *Replicaset + StartTime string + Statefulset *Statefulset + StorageRequest float64 + Type string + type Proc struct + Container Container + EndTime string + Interacts []*Pod + IsProc bool + Name string + Namespace *Namespace + StartTime string + Type string + type Replicaset struct + Deployment *Deployment + EndTime string + IsReplicaset bool + Name string + Namespace *Namespace + Pods []*Pod + StartTime string + Type string + type Service struct + EndTime string + Interacts []*Service + IsService bool + Name string + Namespace *Namespace + Pod []*Pod + StartTime string + Type string + func RetrieveAllServices() ([]Service, error) + func RetrieveAllServicesWithDstPods() ([]Service, error) + func RetrieveServiceList() ([]Service, error) + type Statefulset struct + EndTime string + IsStatefulset bool + Name string + Namespace *Namespace + Pods []*Pod + StartTime string + Type string + type SubscriberCRD struct + EndTime string + IsSubscriber bool + Name string + StartTime string + Type string