Documentation ¶
Index ¶
- Constants
- func GetDeploymentNameForContainer() definition.FetchFunc
- func GetDeploymentNameForPod() definition.FetchFunc
- func GetDeploymentNameForReplicaSet() definition.FetchFunc
- func GetStatusForContainer() definition.FetchFunc
- func UnscheduledItemsPatcher(destination definition.RawGroups, source definition.RawGroups)
Constants ¶
const PrometheusMetricsPath = "/metrics"
PrometheusMetricsPath is the KSM prometheus metrics endpoint.
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentNameForContainer ¶
func GetDeploymentNameForContainer() definition.FetchFunc
GetDeploymentNameForContainer returns the name of the deployment has created a container. It's providing this information inheriting some metrics from its pod. Returns an empty string if its pod hasn't been created by a deployment.
func GetDeploymentNameForPod ¶
func GetDeploymentNameForPod() definition.FetchFunc
GetDeploymentNameForPod returns the name of the deployment has created a Pod. It returns an empty string if Pod hasn't been created by a deployment.
func GetDeploymentNameForReplicaSet ¶
func GetDeploymentNameForReplicaSet() definition.FetchFunc
GetDeploymentNameForReplicaSet returns the name of the deployment has created a ReplicaSet.
func GetStatusForContainer ¶
func GetStatusForContainer() definition.FetchFunc
GetStatusForContainer returns the status of a container
func UnscheduledItemsPatcher ¶
func UnscheduledItemsPatcher(destination definition.RawGroups, source definition.RawGroups)
UnscheduledItemsPatcher adds to the destination RawGroups the pods that haven't been scheduled
Types ¶
This section is empty.