# Functions
CollectKubeMetrics Collects metrics from Kubernetes on a predetermined interval.
NewClientsetNodeSource returns a ClientsetNodeSource with the given clientSet.
SendData takes Cloudability metric sample and sends data to Cloudability via go client.
# Constants
No description provided by the author
0001 = 1.
NodeCadvisorEndpoint the /metrics/cadvisor endpoint.
NodeContainerEndpoint the /stats/container endpoint.
NodeStatsSummaryEndpoint the /stats/summary endpoint.
0010 = 2.
Unreachable defined at end to avoid affecting iota, as it should always be set to 0.
# Structs
ClientsetNodeSource implements NodeSource interface.
ClusterVersion contains a concatenated version number as well as the k8s version discovery info.
No description provided by the author
KubeAgentConfig K8s agent configuration.
# Interfaces
NodeSource is an interface to get a list of Nodes.
# Type aliases
Connection is a bitmask that describes the manner(s) in which the agent can connect to an endpoint.
Endpoint represents the various metrics endpoints we hit.
EndpointMask a map representing the currently active endpoints.