Documentation ¶
Index ¶
Constants ¶
View Source
const ( PodID = "kubernetes_pod_id" PodName = "kubernetes_pod_name" PodCreated = "kubernetes_pod_created" PodContainerIDs = "kubernetes_pod_container_ids" ServiceIDs = "kubernetes_service_ids" )
These constants are keys used in node metadata
View Source
const ( ServiceID = "kubernetes_service_id" ServiceName = "kubernetes_service_name" ServiceCreated = "kubernetes_service_created" )
These constants are keys used in node metadata
View Source
const (
Namespace = "kubernetes_namespace"
)
These constants are keys used in node metadata
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Stop() WalkPods(f func(Pod) error) error WalkServices(f func(Service) error) error }
Client keeps track of running kubernetes pods and services
type Pod ¶
type Pod interface { ID() string Name() string Namespace() string ContainerIDs() []string Created() string AddServiceID(id string) Labels() labels.Labels GetNode() report.Node }
Pod represents a Kubernetes pod
Click to show internal directories.
Click to hide internal directories.