kubeprometheus

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KubePrometheusDefaultNamespace = "monitoring"
)

Variables

View Source
var DefaultDaemonsetTplList = []string{

	"%s-prometheus-node-exporter",
}
View Source
var DefaultDeploymentTplList = []string{

	"%s-grafana",

	"%s-kube-prometheus-stack-operator",

	"%s-kube-state-metrics",
}
View Source
var DefaultStatefulsetTplList = []string{

	"alertmanager-%s-kube-prometheus-stack-alertmanager",

	"prometheus-%s-kube-prometheus-stack-prometheus",
}

Functions

func Create

func Create(options map[string]interface{}) (map[string]interface{}, error)

Create creates kube-prometheus with provided options.

func Delete

func Delete(options map[string]interface{}) (bool, error)

Delete deletes kube-prometheus with provided options.

func GetDefaultDaemonsetList

func GetDefaultDaemonsetList(releaseName string) []string

func GetDefaultDeploymentList

func GetDefaultDeploymentList(releaseName string) []string

func GetDefaultStatefulsetList

func GetDefaultStatefulsetList(releaseName string) []string

func GetStaticState

func GetStaticState(releaseName string) *helm.InstanceState

func Read

func Read(options map[string]interface{}) (map[string]interface{}, error)

Read reads the state for kube-prometheus with provided options.

func Update

func Update(options map[string]interface{}) (map[string]interface{}, error)

Update updates kube-prometheus with provided options.

Types

This section is empty.

Jump to

Keyboard shortcuts

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