Documentation ¶
Index ¶
- func CloneMap(source map[string]interface{}) (map[string]interface{}, error)
- func FormatDuration(sinceNanosec int64) string
- func GetConfigMapKey(cm *v1.ConfigMap) string
- func GetContainerKey(podObj *m.PodSchema, c *m.ContainerSchema) string
- func GetDeployKey(deployObj *appsv1.Deployment) string
- func GetEndpointKey(ep *v1.Endpoints) string
- func GetIndex(s string, list []string) int
- func GetK8sServiceKey(svc *v1.Service) string
- func GetKey(namespace, podName string) string
- func GetPodKey(podObj *v1.Pod) string
- func GetPodSchemaKey(podObj *m.PodSchema) string
- func GetSecretKey(secret *v1.Secret) string
- func GetServiceKey(svc *m.ServiceSchema) string
- func IsPodRunnnig(podObj *v1.Pod) bool
- func IsSystemNamespace(namespace string) bool
- func MapContainsNocase(m map[string]interface{}, key string) (interface{}, bool)
- func NSQualifiesForMonitoring(ns string, bag *m.AppDBag) bool
- func NodeQualifiesForMonitoring(name string, bag *m.AppDBag) bool
- func RemoveFromSlice(s string, list []string) []string
- func SplitPodKey(podKey string) (string, string)
- func SplitUrl(url string) (string, string, int, error)
- func StringInSlice(s string, list []string) bool
- func TruncateString(str string, maxLength int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDuration ¶
func GetConfigMapKey ¶
func GetContainerKey ¶
func GetContainerKey(podObj *m.PodSchema, c *m.ContainerSchema) string
func GetDeployKey ¶
func GetDeployKey(deployObj *appsv1.Deployment) string
func GetEndpointKey ¶
func GetK8sServiceKey ¶
func GetPodSchemaKey ¶
func GetSecretKey ¶
func GetServiceKey ¶
func GetServiceKey(svc *m.ServiceSchema) string
func IsPodRunnnig ¶
func IsSystemNamespace ¶
func MapContainsNocase ¶
func RemoveFromSlice ¶
func SplitPodKey ¶
func StringInSlice ¶
func TruncateString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.