templates

package
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 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 added in v3.7.0

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

type CustomMetricsConfig added in v3.7.0

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

type CustomMetricsConfigManifest added in v3.7.0

type CustomMetricsConfigManifest struct {
	machinery.TemplateMixin
	ConfigPath string
}

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

func (*CustomMetricsConfigManifest) SetTemplateDefaults added in v3.7.0

func (f *CustomMetricsConfigManifest) SetTemplateDefaults() error

SetTemplateDefaults implements file.Template

type CustomMetricsDashManifest added in v3.7.0

type CustomMetricsDashManifest struct {
	machinery.TemplateMixin

	Items []CustomMetricItem
}

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

func (*CustomMetricsDashManifest) SetTemplateDefaults added in v3.7.0

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