Documentation ¶
Index ¶
- type AppCPUUsageMillicoresEntity
- type AppMemoryUsageBytesEntity
- type ClusterCPUUsageMillicoresEntity
- type ClusterMemoryUsageBytesEntity
- type ContainerCPUUsageMillicoresEntity
- type ContainerMemoryUsageBytesEntity
- type ControllerCPUUsageMillicoresEntity
- type ControllerMemoryUsageBytesEntity
- type NamespaceCPUUsageMillicoresEntity
- type NamespaceMemoryUsageBytesEntity
- type NodeCPUUsageMillicoresEntity
- type NodeMemoryBytesUsageEntity
- type PodCPUUsageMillicoresEntity
- type PodMemoryUsageBytesEntity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCPUUsageMillicoresEntity ¶
type AppCPUUsageMillicoresEntity struct { NamespaceName string AppName string Samples []FormatTypes.Sample }
AppCPUUsageMillicoresEntity Encapsulate App cpu usage millicores entity
func (*AppCPUUsageMillicoresEntity) AppMetric ¶
func (e *AppCPUUsageMillicoresEntity) AppMetric() DaoMetricTypes.AppMetric
AppMetric Build AppMetric base on entity properties
type AppMemoryUsageBytesEntity ¶
type AppMemoryUsageBytesEntity struct { NamespaceName string AppName string Samples []FormatTypes.Sample }
AppMemoryUsageBytesEntity Encapsulate App memory usage millicores entity
func (*AppMemoryUsageBytesEntity) AppMetric ¶
func (e *AppMemoryUsageBytesEntity) AppMetric() DaoMetricTypes.AppMetric
AppMetric Build AppMetric base on entity properties
type ClusterCPUUsageMillicoresEntity ¶
type ClusterCPUUsageMillicoresEntity struct { ClusterName string Samples []FormatTypes.Sample }
func (*ClusterCPUUsageMillicoresEntity) ClusterMetric ¶
func (e *ClusterCPUUsageMillicoresEntity) ClusterMetric() DaoMetricTypes.ClusterMetric
ClusterMetric Build ClusterMetric base on entity properties
type ClusterMemoryUsageBytesEntity ¶
type ClusterMemoryUsageBytesEntity struct { ClusterName string Samples []FormatTypes.Sample }
func (*ClusterMemoryUsageBytesEntity) ClusterMetric ¶
func (e *ClusterMemoryUsageBytesEntity) ClusterMetric() DaoMetricTypes.ClusterMetric
ClusterMetric Build ClusterMetric base on entity properties
type ContainerCPUUsageMillicoresEntity ¶
type ContainerCPUUsageMillicoresEntity struct { PrometheusEntity prometheus.Entity Namespace string PodName string ContainerName string Samples []FormatTypes.Sample }
func (*ContainerCPUUsageMillicoresEntity) ContainerMetric ¶
func (e *ContainerCPUUsageMillicoresEntity) ContainerMetric() DaoMetricTypes.ContainerMetric
ContainerMetric Build ContainerMetric base on entity properties
type ContainerMemoryUsageBytesEntity ¶
type ContainerMemoryUsageBytesEntity struct { PrometheusEntity prometheus.Entity Namespace string PodName string ContainerName string Samples []FormatTypes.Sample }
func (*ContainerMemoryUsageBytesEntity) ContainerMetric ¶
func (e *ContainerMemoryUsageBytesEntity) ContainerMetric() DaoMetricTypes.ContainerMetric
ContainerMetric Build ContainerMetric base on entity properties
type ControllerCPUUsageMillicoresEntity ¶
type ControllerCPUUsageMillicoresEntity struct { NamespaceName string ControllerName string ControllerKind string Samples []FormatTypes.Sample }
ControllerCPUUsageMillicoresEntity Encapsulate controller cpu usage millicores entity
func (*ControllerCPUUsageMillicoresEntity) ControllerMetric ¶
func (e *ControllerCPUUsageMillicoresEntity) ControllerMetric() DaoMetricTypes.ControllerMetric
ControllerMetric Build ControllerMetric base on entity properties
type ControllerMemoryUsageBytesEntity ¶
type ControllerMemoryUsageBytesEntity struct { NamespaceName string ControllerName string ControllerKind string Samples []FormatTypes.Sample }
ControllerMemoryUsageBytesEntity Encapsulate controller memory usage millicores entity
func (*ControllerMemoryUsageBytesEntity) ControllerMetric ¶
func (e *ControllerMemoryUsageBytesEntity) ControllerMetric() DaoMetricTypes.ControllerMetric
ControllerMetric Build ControllerMetric base on entity properties
type NamespaceCPUUsageMillicoresEntity ¶
type NamespaceCPUUsageMillicoresEntity struct { PrometheusEntity prometheus.Entity NamespaceName string Samples []FormatTypes.Sample }
func (*NamespaceCPUUsageMillicoresEntity) NamespaceMetric ¶
func (e *NamespaceCPUUsageMillicoresEntity) NamespaceMetric() DaoMetricTypes.NamespaceMetric
NamespaceMetric Build NamespaceMetric base on entity properties
type NamespaceMemoryUsageBytesEntity ¶
type NamespaceMemoryUsageBytesEntity struct { PrometheusEntity prometheus.Entity NamespaceName string Samples []FormatTypes.Sample }
func (*NamespaceMemoryUsageBytesEntity) NamespaceMetric ¶
func (e *NamespaceMemoryUsageBytesEntity) NamespaceMetric() DaoMetricTypes.NamespaceMetric
NamespaceMetric Build NamespaceMetric base on entity properties
type NodeCPUUsageMillicoresEntity ¶
type NodeCPUUsageMillicoresEntity struct { NodeName string Samples []FormatTypes.Sample }
func (*NodeCPUUsageMillicoresEntity) NodeMetric ¶
func (e *NodeCPUUsageMillicoresEntity) NodeMetric() DaoMetricTypes.NodeMetric
NodeMetric Build NodeMetric base on entity properties
type NodeMemoryBytesUsageEntity ¶
type NodeMemoryBytesUsageEntity struct { NodeName string Samples []FormatTypes.Sample }
func (*NodeMemoryBytesUsageEntity) NodeMetric ¶
func (e *NodeMemoryBytesUsageEntity) NodeMetric() DaoMetricTypes.NodeMetric
NodeMetric Build NodeMetric base on entity properties
type PodCPUUsageMillicoresEntity ¶
type PodCPUUsageMillicoresEntity struct { NamespaceName string PodName string Samples []FormatTypes.Sample }
type PodMemoryUsageBytesEntity ¶
type PodMemoryUsageBytesEntity struct { NamespaceName string PodName string Samples []FormatTypes.Sample }