Versions in this module Expand all Collapse all v3 v3.1.1 Dec 30, 2020 Changes in this version + const MetricTypeMatrix + const MetricTypeVector + var NewNamedMetricQuery = types.NewNamedMetricQuery + type Interface interface + Cluster func() types.Cluster + Component func() types.Component + Container func(namespace, pod, name, filter string) types.Container + GetMetadata func(namespace string) []Metadata + GetMetricLabelSet func(expr string, start, end time.Time) []map[string]string + Namespace func(workspace, name, filter string) types.Namespace + Node func(name, filter string) types.Node + PVC func(namespace, storageClass, name, filter string) types.PVC + Pod func(node, namespace, workloadKind, workloadName, name, filter string) types.Pod + Query func(expr string) types.MetricQuery + Workload func(namespace, kind, filter string) types.Workload + Workspace func(name, filter string) types.Workspace + func New(options *Options) (Interface, error) + type Metadata = types.Metadata + type Metric = types.Metric + type MetricData = types.MetricData + type MetricQuery = types.MetricQuery + type MetricValue = types.MetricValue + type NamedMetricQuery = types.NamedMetricQuery + type Object = types.Object + type Options struct + Endpoint string + func NewPrometheusOptions() *Options + func (s *Options) AddFlags(fs *pflag.FlagSet, c *Options) + func (s *Options) ApplyTo(options *Options) + func (s *Options) Validate() []error + type Point = types.Point + type Range = types.Range Other modules containing this package github.com/fearlesschenc/kubesphere