Documentation ¶
Index ¶
Constants ¶
View Source
const ( ApplicationTime influxdb.Tag = "time" ApplicationName influxdb.Tag = "name" ApplicationNamespace influxdb.Tag = "namespace" ApplicationClusterName influxdb.Tag = "cluster_name" ApplicationUID influxdb.Tag = "uid" ApplicationValue influxdb.Field = "value" )
View Source
const ( ClusterTime influxdb.Tag = "time" ClusterName influxdb.Tag = "name" ClusterUID influxdb.Tag = "uid" ClusterValue influxdb.Field = "value" )
View Source
const ( ContainerTime influxdb.Tag = "time" ContainerPodNamespace influxdb.Tag = "pod_namespace" ContainerPodName influxdb.Tag = "pod_name" ContainerName influxdb.Tag = "name" ContainerRateRange influxdb.Tag = "rate_range" ContainerClusterName influxdb.Tag = "cluster_name" ContainerNodeName influxdb.Tag = "node_name" ContainerValue influxdb.Field = "value" )
View Source
const ( ControllerTime influxdb.Tag = "time" ControllerName influxdb.Tag = "name" ControllerNamespace influxdb.Tag = "namespace" ControllerClusterName influxdb.Tag = "cluster_name" ControllerKind influxdb.Tag = "kind" ControllerUID influxdb.Tag = "uid" ControllerValue influxdb.Field = "value" )
Variables ¶
View Source
var ( ApplicationTags = []influxdb.Tag{ApplicationName, ApplicationNamespace, ApplicationClusterName, ApplicationUID} ApplicationFields = []influxdb.Field{ApplicationValue} ApplicationColumns = []string{string(ApplicationName), string(ApplicationNamespace), string(ApplicationClusterName), string(ApplicationUID), string(ApplicationValue)} )
View Source
var ( ClusterTags = []influxdb.Tag{ClusterName, ClusterUID} ClusterFields = []influxdb.Field{ClusterValue} ClusterColumns = []string{string(ClusterName), string(ClusterUID), string(ClusterValue)} )
View Source
var ( ContainerTags = []influxdb.Tag{ContainerPodNamespace, ContainerPodName, ContainerName, ContainerClusterName, ContainerNodeName} ContainerFields = []influxdb.Field{ContainerValue} ContainerColumns = []string{string(ContainerPodNamespace), string(ContainerPodName), string(ContainerName), string(ContainerValue), string(ContainerClusterName), string(ContainerNodeName)} )
View Source
var ( ControllerTags = []influxdb.Tag{ControllerName, ControllerNamespace, ControllerClusterName, ControllerKind, ControllerUID} ControllerFields = []influxdb.Field{ControllerValue} ControllerColumns = []string{string(ControllerName), string(ControllerNamespace), string(ControllerClusterName), string(ControllerKind), string(ControllerUID), string(ControllerValue)} )
View Source
var ( NamespaceTags = []influxdb.Tag{NamespaceName, NamespaceClusterName, NamespaceUID} NamespaceFields = []influxdb.Field{NamespaceValue} NamespaceColumns = []string{string(NamespaceName), string(NamespaceClusterName), string(NamespaceUID), string(NamespaceValue)} )
Functions ¶
This section is empty.
Types ¶
type ApplicationEntity ¶
type ApplicationEntity struct { Time time.Time Name *string Namespace *string ClusterName *string UID *string Value *float64 }
func NewApplicationEntityFromMap ¶
func NewApplicationEntityFromMap(data map[string]string) ApplicationEntity
type ClusterEntity ¶
func NewClusterEntityFromMap ¶
func NewClusterEntityFromMap(data map[string]string) ClusterEntity
type ContainerEntity ¶
type ContainerEntity struct { Time time.Time Namespace *string PodName *string Name *string RateRange *string ClusterName *string NodeName *string Value *float64 }
func NewContainerEntityFromMap ¶
func NewContainerEntityFromMap(data map[string]string) ContainerEntity
type ControllerEntity ¶
type ControllerEntity struct { Time time.Time Name *string Namespace *string ClusterName *string Kind *string UID *string Value *float64 }
func NewControllerEntityFromMap ¶
func NewControllerEntityFromMap(data map[string]string) ControllerEntity
type NamespaceEntity ¶
type NamespaceEntity struct { Time time.Time Name *string ClusterName *string UID *string Value *float64 }
func NewNamespaceEntityFromMap ¶
func NewNamespaceEntityFromMap(data map[string]string) NamespaceEntity
type NodeEntity ¶
type NodeEntity struct { Time time.Time Name *string ClusterName *string UID *string Value *float64 }
func NewNodeEntityFromMap ¶
func NewNodeEntityFromMap(data map[string]string) NodeEntity
Click to show internal directories.
Click to hide internal directories.