Versions in this module Expand all Collapse all v0 v0.2.253 Apr 7, 2025 Changes in this version + func GetTerminationExitCode(k8sObjectsCache K8sObjectCache, ...) int32 + func ListContainersIDs(pod *corev1.Pod) []string + func ListTerminatedContainers(pod *corev1.Pod) []string + func MetaUniqueName(obj metav1.Object) string + func UniqueName(namespace, name string) string + type ApplicationProfileCache interface + AddHandler func(ctx context.Context, obj runtime.Object) + DeleteHandler func(ctx context.Context, obj runtime.Object) + GetApplicationProfile func(containerID string) *v1beta1.ApplicationProfile + GetCallStackSearchTree func(containerID string) *callstackcache.CallStackSearchTree + ModifyHandler func(ctx context.Context, obj runtime.Object) + WatchResources func() []watcher.WatchResource + type ApplicationProfileCacheMock struct + func (ap *ApplicationProfileCacheMock) AddHandler(_ context.Context, _ runtime.Object) + func (ap *ApplicationProfileCacheMock) DeleteHandler(_ context.Context, _ runtime.Object) + func (ap *ApplicationProfileCacheMock) GetApplicationProfile(_ string) *v1beta1.ApplicationProfile + func (ap *ApplicationProfileCacheMock) GetCallStackSearchTree(_ string) *callstackcache.CallStackSearchTree + func (ap *ApplicationProfileCacheMock) ModifyHandler(_ context.Context, _ runtime.Object) + func (ap *ApplicationProfileCacheMock) WatchResources() []watcher.WatchResource + type DnsCache interface + ResolveIpToDomain func(ip string) string + type DnsCacheMock struct + func (dc *DnsCacheMock) ResolveIpToDomain(_ string) string + type K8sObjectCache interface + DeleteSharedContainerData func(containerID string) + GetApiServerIpAddress func() string + GetPod func(namespace, podName string) *corev1.Pod + GetPodSpec func(namespace, podName string) *corev1.PodSpec + GetPodStatus func(namespace, podName string) *corev1.PodStatus + GetPods func() []*corev1.Pod + GetSharedContainerData func(containerID string) *utils.WatchedContainerData + SetSharedContainerData func(containerID string, data *utils.WatchedContainerData) + type K8sObjectCacheMock struct + ApiServerIpAddress string + PodSpec corev1.PodSpec + PodStatus corev1.PodStatus + func (k *K8sObjectCacheMock) DeleteSharedContainerData(containerID string) + func (k *K8sObjectCacheMock) GetApiServerIpAddress() string + func (k *K8sObjectCacheMock) GetPod(_, _ string) *corev1.Pod + func (k *K8sObjectCacheMock) GetPodSpec(_, _ string) *corev1.PodSpec + func (k *K8sObjectCacheMock) GetPodStatus(_, _ string) *corev1.PodStatus + func (k *K8sObjectCacheMock) GetPods() []*corev1.Pod + func (k *K8sObjectCacheMock) GetSharedContainerData(containerID string) *utils.WatchedContainerData + func (k *K8sObjectCacheMock) SetSharedContainerData(containerID string, data *utils.WatchedContainerData) + type NetworkNeighborhoodCache interface + AddHandler func(ctx context.Context, obj runtime.Object) + DeleteHandler func(ctx context.Context, obj runtime.Object) + GetNetworkNeighborhood func(containerID string) *v1beta1.NetworkNeighborhood + ModifyHandler func(ctx context.Context, obj runtime.Object) + WatchResources func() []watcher.WatchResource + type NetworkNeighborhoodCacheMock struct + func (ap *NetworkNeighborhoodCacheMock) AddHandler(_ context.Context, _ runtime.Object) + func (ap *NetworkNeighborhoodCacheMock) DeleteHandler(_ context.Context, _ runtime.Object) + func (ap *NetworkNeighborhoodCacheMock) GetNetworkNeighborhood(_ string) *v1beta1.NetworkNeighborhood + func (ap *NetworkNeighborhoodCacheMock) ModifyHandler(_ context.Context, _ runtime.Object) + func (ap *NetworkNeighborhoodCacheMock) WatchResources() []watcher.WatchResource + type ObjectCache interface + ApplicationProfileCache func() ApplicationProfileCache + DnsCache func() DnsCache + K8sObjectCache func() K8sObjectCache + NetworkNeighborhoodCache func() NetworkNeighborhoodCache + type ObjectCacheMock struct + func NewObjectCacheMock() *ObjectCacheMock + func (om *ObjectCacheMock) ApplicationProfileCache() ApplicationProfileCache + func (om *ObjectCacheMock) DnsCache() DnsCache + func (om *ObjectCacheMock) K8sObjectCache() K8sObjectCache + func (om *ObjectCacheMock) NetworkNeighborhoodCache() NetworkNeighborhoodCache