influxdb

package
v4.3.942+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListPods

func ListPods(config InfluxDB.Config, request *DaoClusterTypes.ListPodsRequest) ([]*DaoClusterTypes.Pod, error)

func NewAppMetricsWithConfig

func NewAppMetricsWithConfig(config InfluxDB.Config) DaoMetricTypes.AppMetricsDAO

func NewClusterMetricsWithConfig

func NewClusterMetricsWithConfig(config InfluxDB.Config) DaoMetricTypes.ClusterMetricsDAO

func NewControllerMetricsWithConfig

func NewControllerMetricsWithConfig(config InfluxDB.Config) DaoMetricTypes.ControllerMetricsDAO

func NewFunction

func NewFunction(functionType common.FunctionType) *common.Function

func NewNamespaceMetricsWithConfig

func NewNamespaceMetricsWithConfig(config InfluxDB.Config) DaoMetricTypes.NamespaceMetricsDAO

func NewNodeMetricsWithConfig

func NewNodeMetricsWithConfig(config InfluxDB.Config) DaoMetricTypes.NodeMetricsDAO

func NewPodMetricsWithConfig

func NewPodMetricsWithConfig(config InfluxDB.Config) DaoMetricTypes.PodMetricsDAO

Types

type AppMetrics

type AppMetrics struct {
	InfluxDBConfig  InfluxDB.Config
	ApplicationDAO  DaoClusterStatusTypes.ApplicationDAO
	ApplicationRepo *RepoInfluxMetric.Application
}

func (AppMetrics) CreateMetrics

func (n AppMetrics) CreateMetrics(ctx context.Context, m DaoMetricTypes.AppMetricMap) error

type ClusterMetrics

type ClusterMetrics struct {
	InfluxDBConfig InfluxDB.Config
	ClusterDAO     DaoClusterStatusTypes.ClusterDAO
	ClusterRepo    *RepoInfluxMetric.Cluster
}

func (ClusterMetrics) CreateMetrics

type ControllerMetrics

type ControllerMetrics struct {
	InfluxDBConfig InfluxDB.Config
	ControllerDAO  DaoClusterStatusTypes.ControllerDAO
	ControllerRepo *RepoInfluxMetric.Controller
}

func (ControllerMetrics) CreateMetrics

type NamespaceMetrics

type NamespaceMetrics struct {
	InfluxDBConfig InfluxDB.Config
}

func (NamespaceMetrics) CreateMetrics

type NodeMetrics

type NodeMetrics struct {
	InfluxDBConfig InfluxDB.Config
}

func (*NodeMetrics) CreateMetrics

func (p *NodeMetrics) CreateMetrics(ctx context.Context, metrics DaoMetricTypes.NodeMetricMap) error

type PodMetrics

type PodMetrics struct {
	InfluxDBConfig InfluxDB.Config
}

func (*PodMetrics) CreateMetrics

func (p *PodMetrics) CreateMetrics(ctx context.Context, metrics DaoMetricTypes.PodMetricMap) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL