package
2.4.2+incompatible
Repository: https://github.com/smithx10/prometheus.git
Documentation: pkg.go.dev
# Functions
GetControllerOf returns a pointer to a copy of the controllerRef if controllee has a controller https://github.com/kubernetes/apimachinery/blob/cd2cae2b39fa57e8063fa1f5f13cfe9862db3d41/pkg/apis/meta/v1/controller_ref.go.
New creates a new Kubernetes discovery for the given role.
NewEndpoints returns a new endpoints discovery.
NewIngress returns a new ingress discovery.
NewNode returns a new node discovery.
NewPod creates a new pod discovery.
NewService returns a new service discovery.
# Constants
No description provided by the author
The valid options for Role.
The valid options for Role.
The valid options for Role.
The valid options for Role.
The valid options for Role.
# Variables
DefaultSDConfig is the default Kubernetes SD configuration.
# Structs
Discovery implements the discoverer interface for discovering targets from Kubernetes.
Endpoints discovers new endpoint targets.
Ingress implements discovery of Kubernetes ingresss.
NamespaceDiscovery is the configuration for discovering Kubernetes namespaces.
Node discovers Kubernetes nodes.
Pod discovers new pod targets.
SDConfig is the configuration for Kubernetes service discovery.
Service implements discovery of Kubernetes services.
# Type aliases
Role is role of the service in Kubernetes.