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 ¶
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.
Click to show internal directories.
Click to hide internal directories.