metadata

package
v0.1.13-1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Separator       = "METRICS OPERATOR TIMEPOINT"
	CollectionStart = "METRICS OPERATOR COLLECTION START"
	CollectionEnd   = "METRICS OPERATOR COLLECTION END"
)

Consistent logging identifiers that should be echoed to have newline after

Functions

func Interactive

func Interactive(interactive bool) string

Interactive returns a sleep infinity if interactive is true

Types

type MetricExport

type MetricExport struct {

	// Global
	Pods int32 `json:"pods"`

	// Application
	ApplicationImage   string `json:"applicationImage,omitempty"`
	ApplicationCommand string `json:"applicationCommand,omitempty"`

	// Storage
	StorageVolumePath          string `json:"storageVolumePath,omitempty"`
	StorageVolumeHostPath      string `json:"storageVolumeHostPath,omitempty"`
	StorageVolumeSecretName    string `json:"storageVolumeSecretName,omitempty"`
	StorageVolumeClaimName     string `json:"storageVolumeClaimName,omitempty"`
	StorageVolumeConfigMapName string `json:"storageVolumeConfigMapName,omitempty"`

	// Metric
	MetricName        string                          `json:"metricName,omitempty"`
	MetricDescription string                          `json:"metricDescription,omitempty"`
	MetricType        string                          `json:"metricType,omitempty"`
	MetricOptions     map[string]intstr.IntOrString   `json:"metricOptions,omitempty"`
	MetricListOptions map[string][]intstr.IntOrString `json:"metricListOptions,omitempty"`
}

Metric Export is a flattened structure with minimal required metadata for now It would be nice if we could just dump everything.

Jump to

Keyboard shortcuts

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