template

package
v0.0.0-...-4b2ecaa Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Groups

type Groups struct {
	Name  string  `yaml:"name"`
	Rules []Rules `yaml:"rules"`
}

type Labels

type Labels struct {
	Prometheus string `yaml:"prometheus"`
	Role       string `yaml:"role"`
}

type Metadata

type Metadata struct {
	Labels Labels `yaml:"labels"`
	Name   string `yaml:"name"`
}

type PrometheusRule

type PrometheusRule struct {
	APIVersion string   `yaml:"apiVersion"`
	Kind       string   `yaml:"kind"`
	Metadata   Metadata `yaml:"metadata"`
	Spec       Spec     `yaml:"spec"`
}

type RecordingRule

type RecordingRule struct {
	Groups []Groups `yaml:"groups"`
}

type Rules

type Rules struct {
	Expr   string `yaml:"expr"`
	Record string `yaml:"record"`
}

type Spec

type Spec struct {
	Groups []Groups `yaml:"groups"`
}

Jump to

Keyboard shortcuts

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