Help us shape the future of Go! Take the 2026 Go Developer Survey

external

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 1 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
	GetCustomUUID() uuid.UUID
	GetHash() string
	ShouldMarkFailOnEmpty() bool
	GetDependsOn() []string
}

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