templates

package
v4.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomMetricItem

type CustomMetricItem struct {
	Metric string `json:"metric"`
	Type   string `json:"type"`
	Expr   string `json:"expr,omitempty"`
	Unit   string `json:"unit,omitempty"`
}

type CustomMetricsConfig

type CustomMetricsConfig struct {
	CustomMetrics []CustomMetricItem `json:"customMetrics"`
}

type CustomMetricsConfigManifest

type CustomMetricsConfigManifest struct {
	machinery.TemplateMixin
	ConfigPath string
}

Kustomization scaffolds a file that defines the kustomization scheme for the prometheus folder

func (*CustomMetricsConfigManifest) SetTemplateDefaults

func (f *CustomMetricsConfigManifest) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type CustomMetricsDashManifest

type CustomMetricsDashManifest struct {
	machinery.TemplateMixin

	Items []CustomMetricItem
}

Kustomization scaffolds a file that defines the kustomization scheme for the prometheus folder

func (*CustomMetricsDashManifest) SetTemplateDefaults

func (f *CustomMetricsDashManifest) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type ResourcesManifest

type ResourcesManifest struct {
	machinery.TemplateMixin
}

Kustomization scaffolds a file that defines the kustomization scheme for the prometheus folder

func (*ResourcesManifest) SetTemplateDefaults

func (f *ResourcesManifest) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type RuntimeManifest

type RuntimeManifest struct {
	machinery.TemplateMixin
}

Kustomization scaffolds a file that defines the kustomization scheme for the prometheus folder

func (*RuntimeManifest) SetTemplateDefaults

func (f *RuntimeManifest) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

Jump to

Keyboard shortcuts

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