Documentation ¶
Index ¶
- type Database
- func (id *Database) AddProcess(pid uint32)
- func (id *Database) CleanProcessCaches(ns uint32)
- func (id *Database) HostNameForIP(ip string) string
- func (id *Database) NodeInfoForIP(ip string) *kube.NodeInfo
- func (id *Database) OnDeletion(containerID []string)
- func (id *Database) OwnerPodInfo(pidNamespace uint32) (*kube.PodInfo, bool)
- func (id *Database) PodInfoForIP(ip string) *kube.PodInfo
- func (id *Database) ServiceInfoForIP(ip string) *kube.ServiceInfo
- func (id *Database) ServiceNameNamespaceForIP(ip string) (string, string)
- func (id *Database) UpdateDeletedNodesByIPIndex(svc *kube.NodeInfo)
- func (id *Database) UpdateDeletedPodsByIPIndex(pod *kube.PodInfo)
- func (id *Database) UpdateDeletedServicesByIPIndex(svc *kube.ServiceInfo)
- func (id *Database) UpdateNewNodesByIPIndex(svc *kube.NodeInfo)
- func (id *Database) UpdateNewPodsByIPIndex(pod *kube.PodInfo)
- func (id *Database) UpdateNewServicesByIPIndex(svc *kube.ServiceInfo)
- func (id *Database) UpdatePodsByIPIndex(oldPod, newPod *kube.PodInfo)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶ added in v1.1.0
type Database struct {
// contains filtered or unexported fields
}
Database aggregates Kubernetes information from multiple sources: - the informer that keep an indexed copy of the existing pods and replicasets. - the inspected container.Info objects, indexed either by container ID and PID namespace - a cache of decorated PodInfo that would avoid reconstructing them on each trace decoration
func CreateDatabase ¶ added in v1.5.0
func StartDatabase ¶ added in v1.1.0
func (*Database) AddProcess ¶ added in v1.1.0
AddProcess also searches for the container.Info of the passed PID
func (*Database) CleanProcessCaches ¶ added in v1.7.0
func (*Database) HostNameForIP ¶ added in v1.7.0
func (*Database) NodeInfoForIP ¶ added in v1.8.0
func (*Database) OnDeletion ¶ added in v1.1.0
OnDeletion implements ContainerEventHandler
func (*Database) OwnerPodInfo ¶ added in v1.1.0
OwnerPodInfo returns the information of the pod owning the passed namespace
func (*Database) PodInfoForIP ¶ added in v1.5.0
func (*Database) ServiceInfoForIP ¶ added in v1.7.0
func (id *Database) ServiceInfoForIP(ip string) *kube.ServiceInfo
func (*Database) ServiceNameNamespaceForIP ¶ added in v1.8.0
func (*Database) UpdateDeletedNodesByIPIndex ¶ added in v1.8.0
func (*Database) UpdateDeletedPodsByIPIndex ¶ added in v1.5.0
func (*Database) UpdateDeletedServicesByIPIndex ¶ added in v1.7.0
func (id *Database) UpdateDeletedServicesByIPIndex(svc *kube.ServiceInfo)
func (*Database) UpdateNewNodesByIPIndex ¶ added in v1.8.0
func (*Database) UpdateNewPodsByIPIndex ¶ added in v1.5.0
func (*Database) UpdateNewServicesByIPIndex ¶ added in v1.7.0
func (id *Database) UpdateNewServicesByIPIndex(svc *kube.ServiceInfo)
func (*Database) UpdatePodsByIPIndex ¶ added in v1.8.0
Click to show internal directories.
Click to hide internal directories.