Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "endpoint-metadata", "Provides Kubernetes metadata for endpoints", cell.Provide(NewEndpointMetadataFetcher), )
Cell provides the EndpointMetadataFetcher that provides k8s metadata for endpoints.
View Source
var ErrPodStoreOutdated = errors.New("pod store outdated")
Functions ¶
This section is empty.
Types ¶
type EndpointMetadataFetcher ¶
type EndpointMetadataFetcher interface {
FetchK8sMetadataForEndpoint(nsName, podName, uid string) (*slim_corev1.Pod, *endpoint.K8sMetadata, error)
FetchK8sMetadataForEndpointFromPod(p *slim_corev1.Pod) (*endpoint.K8sMetadata, error)
}
Click to show internal directories.
Click to hide internal directories.