predictions

package
v4.2.515+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ApplicationTime        influxdb.Tag = "time"
	ApplicationName        influxdb.Tag = "name"
	ApplicationMetric      influxdb.Tag = "metric"
	ApplicationGranularity influxdb.Tag = "granularity"
	ApplicationKind        influxdb.Tag = "kind"

	ApplicationModelId      influxdb.Field = "model_id"
	ApplicationPredictionId influxdb.Field = "prediction_id"
	ApplicationValue        influxdb.Field = "value"
)
View Source
const (
	ClusterTime        influxdb.Tag = "time"
	ClusterName        influxdb.Tag = "name"
	ClusterMetric      influxdb.Tag = "metric"
	ClusterGranularity influxdb.Tag = "granularity"
	ClusterKind        influxdb.Tag = "kind"

	ClusterModelId      influxdb.Field = "model_id"
	ClusterPredictionId influxdb.Field = "prediction_id"
	ClusterValue        influxdb.Field = "value"
)
View Source
const (
	ContainerTime        influxdb.Tag = "time"
	ContainerNamespace   influxdb.Tag = "namespace"
	ContainerPodName     influxdb.Tag = "pod_name"
	ContainerName        influxdb.Tag = "name"
	ContainerMetric      influxdb.Tag = "metric"
	ContainerKind        influxdb.Tag = "kind"
	ContainerGranularity influxdb.Tag = "granularity"

	ContainerModelId      influxdb.Field = "model_id"
	ContainerPredictionId influxdb.Field = "prediction_id"
	ContainerValue        influxdb.Field = "value"
)
View Source
const (
	ControllerTime        influxdb.Tag = "time"
	ControllerName        influxdb.Tag = "name"
	ControllerMetric      influxdb.Tag = "metric"
	ControllerGranularity influxdb.Tag = "granularity"
	ControllerKind        influxdb.Tag = "kind"
	ControllerCtlKind     influxdb.Tag = "controller_kind"

	ControllerModelId      influxdb.Field = "model_id"
	ControllerPredictionId influxdb.Field = "prediction_id"
	ControllerValue        influxdb.Field = "value"
)
View Source
const (
	NamespaceTime        influxdb.Tag = "time"
	NamespaceName        influxdb.Tag = "name"
	NamespaceMetric      influxdb.Tag = "metric"
	NamespaceGranularity influxdb.Tag = "granularity"
	NamespaceKind        influxdb.Tag = "kind"

	NamespaceModelId      influxdb.Field = "model_id"
	NamespacePredictionId influxdb.Field = "prediction_id"
	NamespaceValue        influxdb.Field = "value"
)
View Source
const (
	NodeTime        influxdb.Tag = "time"
	NodeName        influxdb.Tag = "name"
	NodeMetric      influxdb.Tag = "metric"
	NodeIsScheduled influxdb.Tag = "is_scheduled"
	NodeGranularity influxdb.Tag = "granularity"
	NodeKind        influxdb.Tag = "kind"

	NodeModelId      influxdb.Field = "model_id"
	NodePredictionId influxdb.Field = "prediction_id"
	NodeValue        influxdb.Field = "value"
)

Variables

Functions

This section is empty.

Types

type ApplicationEntity

type ApplicationEntity struct {
	Time        time.Time
	Name        *string
	Metric      *string
	Granularity *string
	Kind        *string

	ModelId      *string
	PredictionId *string
	Value        *string
}

Entity Container prediction entity in influxDB

func NewApplicationEntityFromMap

func NewApplicationEntityFromMap(data map[string]string) ApplicationEntity

NewEntityFromMap Build entity from map

type ClusterEntity

type ClusterEntity struct {
	Time        time.Time
	Name        *string
	Metric      *string
	Granularity *string
	Kind        *string

	ModelId      *string
	PredictionId *string
	Value        *string
}

Entity Container prediction entity in influxDB

func NewClusterEntityFromMap

func NewClusterEntityFromMap(data map[string]string) ClusterEntity

NewEntityFromMap Build entity from map

type ContainerEntity

type ContainerEntity struct {
	Time        time.Time
	Namespace   *string
	PodName     *string
	Name        *string
	Metric      *string
	Granularity *string
	Kind        *string

	ModelId      *string
	PredictionId *string
	Value        *string
}

Entity Container prediction entity in influxDB

func NewContainerEntityFromMap

func NewContainerEntityFromMap(data map[string]string) ContainerEntity

NewEntityFromMap Build entity from map

type ControllerEntity

type ControllerEntity struct {
	Time        time.Time
	Name        *string
	Metric      *string
	Kind        *string
	Granularity *string
	CtlKind     *string

	ModelId      *string
	PredictionId *string
	Value        *string
}

Entity Container prediction entity in influxDB

func NewControllerEntityFromMap

func NewControllerEntityFromMap(data map[string]string) ControllerEntity

NewEntityFromMap Build entity from map

type NamespaceEntity

type NamespaceEntity struct {
	Time        time.Time
	Name        *string
	Metric      *string
	Granularity *string
	Kind        *string

	ModelId      *string
	PredictionId *string
	Value        *string
}

Entity Container prediction entity in influxDB

func NewNamespaceEntityFromMap

func NewNamespaceEntityFromMap(data map[string]string) NamespaceEntity

NewEntityFromMap Build entity from map

type NodeEntity

type NodeEntity struct {
	Time        time.Time
	Name        *string
	Metric      *string
	IsScheduled *string
	Granularity *string
	Kind        *string

	ModelId      *string
	PredictionId *string
	Value        *string
}

Entity Container prediction entity in influxDB

func NewNodeEntityFromMap

func NewNodeEntityFromMap(data map[string]string) NodeEntity

NewEntityFromMap Build entity from map

Jump to

Keyboard shortcuts

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