Versions in this module Expand all Collapse all v1 v1.5.0 Sep 23, 2019 Changes in this version + func IdentifyEntity(target string, parent uuid.UUID) (uuid.UUID, error) + func PacketApplications(applications []*Application) proto.PacketApplicationsStoreRequest + func PacketNodes(nodes []kuber.Node) proto.PacketNodesStoreRequest + type Application struct + LimitRanges []kv1.LimitRange + Services []*Service + type Container struct + Image string + LivenessProbe *kv1.Probe + ReadinessProbe *kv1.Probe + Resources *proto.ContainerResourceRequirements + type Entity struct + Annotations map[string]string + ID uuid.UUID + Kind string + Name string + func (entity *Entity) Identify(parent uuid.UUID) error + type History struct + func NewHistory() History + func (history *History) FindContainer(namespace string, podName string, containerName string) (applicationID, serviceID uuid.UUID, container *Container, found bool) + func (history *History) FindService(namespace string, podName string) (applicationID, serviceID uuid.UUID, found bool) + func (history *History) PopulateContainer(namespace string, podName string, containerName string, ...) + func (history *History) PopulateService(namespace string, podName string, applicationID uuid.UUID, serviceID uuid.UUID) + type HistoryNamespace struct + type HistoryPod struct + type Scanner struct + func InitScanner(client *client.Client, kube *kuber.Kube, skipNamespaces []string, ...) *Scanner + func (scanner *Scanner) AppsLastScanTime() time.Time + func (scanner *Scanner) FindContainer(namespace string, podName string, containerName string) (uuid.UUID, uuid.UUID, *Container, bool) + func (scanner *Scanner) FindContainerByID(apps []*Application, containerID uuid.UUID) (c *Container, s *Service, a *Application, found bool) + func (scanner *Scanner) FindContainerByPodUIDContainerName(podUID string, containerName string) (applicationID uuid.UUID, serviceID uuid.UUID, containerID uuid.UUID, ...) + func (scanner *Scanner) FindContainerNameByID(apps []*Application, containerID uuid.UUID) (name string, found bool) + func (scanner *Scanner) FindContainerWithParents(namespace string, podName string, containerName string) (c *Container, s *Service, a *Application, found bool) + func (scanner *Scanner) FindService(namespace string, podName string) (uuid.UUID, uuid.UUID, bool) + func (scanner *Scanner) FindServiceByID(apps []*Application, serviceID uuid.UUID) (namespace, name, kind string, found bool) + func (scanner *Scanner) GetApplications() []*Application + func (scanner *Scanner) GetNodes() []kuber.Node + func (scanner *Scanner) GetPods() []kv1.Pod + func (scanner *Scanner) NodesLastScanTime() time.Time + func (scanner *Scanner) SendAnalysisData(data map[string]interface{}) + func (scanner *Scanner) SendApplications(applications []*Application) + func (scanner *Scanner) SendNodes(nodes []kuber.Node) + type Service struct + Containers []*Container + PodRegexp *regexp.Regexp + ReplicasStatus proto.ReplicasStatus Other modules containing this package github.com/MagalixCorp/magalix-agent/v2