Documentation ¶
Index ¶
- func NewAppMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.AppMetricsDAO
- func NewClusterMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.ClusterMetricsDAO
- func NewControllerMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.ControllerMetricsDAO
- func NewNamespaceMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.NamespaceMetricsDAO
- func NewNodeMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.NodeMetricsDAO
- func NewPodMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.PodMetricsDAO
- type AppMetrics
- type ClusterMetrics
- type ControllerMetrics
- type NamespaceMetrics
- type NodeMetrics
- type PodMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAppMetricsWithConfig ¶
func NewAppMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.AppMetricsDAO
func NewClusterMetricsWithConfig ¶
func NewClusterMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.ClusterMetricsDAO
func NewControllerMetricsWithConfig ¶
func NewControllerMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.ControllerMetricsDAO
func NewNamespaceMetricsWithConfig ¶
func NewNamespaceMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.NamespaceMetricsDAO
func NewNodeMetricsWithConfig ¶
func NewNodeMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.NodeMetricsDAO
func NewPodMetricsWithConfig ¶
func NewPodMetricsWithConfig(config InternalInflux.Config) DaoMetricTypes.PodMetricsDAO
Types ¶
type AppMetrics ¶
type AppMetrics struct {
InfluxDBConfig InternalInflux.Config
}
func (AppMetrics) CreateMetrics ¶
func (n AppMetrics) CreateMetrics(ctx context.Context, m DaoMetricTypes.AppMetricMap) error
func (AppMetrics) ListMetrics ¶
func (n AppMetrics) ListMetrics(ctx context.Context, req DaoMetricTypes.ListAppMetricsRequest) (DaoMetricTypes.AppMetricMap, error)
type ClusterMetrics ¶
type ClusterMetrics struct {
InfluxDBConfig InternalInflux.Config
}
func (ClusterMetrics) CreateMetrics ¶
func (n ClusterMetrics) CreateMetrics(ctx context.Context, m DaoMetricTypes.ClusterMetricMap) error
func (ClusterMetrics) ListMetrics ¶
func (n ClusterMetrics) ListMetrics(ctx context.Context, req DaoMetricTypes.ListClusterMetricsRequest) (DaoMetricTypes.ClusterMetricMap, error)
type ControllerMetrics ¶
type ControllerMetrics struct {
InfluxDBConfig InternalInflux.Config
}
func (ControllerMetrics) CreateMetrics ¶
func (n ControllerMetrics) CreateMetrics(ctx context.Context, m DaoMetricTypes.ControllerMetricMap) error
func (ControllerMetrics) ListMetrics ¶
func (n ControllerMetrics) ListMetrics(ctx context.Context, req DaoMetricTypes.ListControllerMetricsRequest) (DaoMetricTypes.ControllerMetricMap, error)
type NamespaceMetrics ¶
type NamespaceMetrics struct {
InfluxDBConfig InternalInflux.Config
}
func (NamespaceMetrics) CreateMetrics ¶
func (n NamespaceMetrics) CreateMetrics(ctx context.Context, m DaoMetricTypes.NamespaceMetricMap) error
func (NamespaceMetrics) ListMetrics ¶
func (n NamespaceMetrics) ListMetrics(ctx context.Context, req DaoMetricTypes.ListNamespaceMetricsRequest) (DaoMetricTypes.NamespaceMetricMap, error)
type NodeMetrics ¶
type NodeMetrics struct {
InfluxDBConfig InternalInflux.Config
}
func (*NodeMetrics) CreateMetrics ¶
func (p *NodeMetrics) CreateMetrics(ctx context.Context, metrics DaoMetricTypes.NodeMetricMap) error
func (*NodeMetrics) ListMetrics ¶
func (p *NodeMetrics) ListMetrics(ctx context.Context, req DaoMetricTypes.ListNodeMetricsRequest) (DaoMetricTypes.NodeMetricMap, error)
type PodMetrics ¶
type PodMetrics struct {
InfluxDBConfig InternalInflux.Config
}
func (*PodMetrics) CreateMetrics ¶
func (p *PodMetrics) CreateMetrics(ctx context.Context, metrics DaoMetricTypes.PodMetricMap) error
func (*PodMetrics) ListMetrics ¶
func (p *PodMetrics) ListMetrics(ctx context.Context, req DaoMetricTypes.ListPodMetricsRequest) (DaoMetricTypes.PodMetricMap, error)
Click to show internal directories.
Click to hide internal directories.