external

package
v1.0.260-beta.148 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check interface {
	Endpointer
	Describable
	WithType
}

type Describable

type Describable interface {
	GetDescription() string
	GetIcon() string
	GetName() string
	GetNamespace() string
	GetLabels() map[string]string
	GetTransformDeleteStrategy() string
	GetMetricsSpec() []Metrics
}

type Endpointer

type Endpointer interface {
	GetEndpoint() string
}

type MetricLabel added in v1.0.41

type MetricLabel struct {
	Name      string `json:"name"`
	Value     string `json:"value,omitempty"`
	ValueExpr string `json:"valueExpr,omitempty"`
}

type MetricLabels added in v1.0.41

type MetricLabels []MetricLabel

func (MetricLabels) Names added in v1.0.41

func (labels MetricLabels) Names() []string

type Metrics added in v1.0.40

type Metrics struct {
	Name   string       `json:"name,omitempty" yaml:"name,omitempty"`
	Labels MetricLabels `json:"labels,omitempty" yaml:"labels,omitempty"`
	Type   string       `json:"type,omitempty" yaml:"type,omitempty"`
	Value  string       `json:"value,omitempty" yaml:"value,omitempty"`
}

+kubebuilder:object:generate=true

func (*Metrics) DeepCopy added in v1.0.40

func (in *Metrics) DeepCopy() *Metrics

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metrics.

func (*Metrics) DeepCopyInto added in v1.0.40

func (in *Metrics) DeepCopyInto(out *Metrics)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type WithType

type WithType interface {
	GetType() string
}

Jump to

Keyboard shortcuts

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