hooks

package
v1.59.8 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alertmanager

type Alertmanager struct {
	Name string                 `json:"name"`
	Spec map[string]interface{} `json:"spec"`
}

type CustomRule

type CustomRule struct {
	Name   string
	Groups []interface{}
}

type DashboardCRD added in v1.59.0

type DashboardCRD struct {
	Spec DashboardCRDSpec `json:"spec"`
}

DashboardCRD is a model of Dashboard CRD stored in k8s

type DashboardCRDSpec added in v1.59.0

type DashboardCRDSpec struct {
	Definition string `json:"definition"`
	Folder     string `json:"folder"`
}

DashboardCRDSpec contains Dashboard JSON and folder name

type GrafanaAdditionalDatasource

type GrafanaAdditionalDatasource map[string]interface{}

type GrafanaAlertsChannel

type GrafanaAlertsChannel struct {
	OrgID                 int                    `json:"org_id"`
	Type                  string                 `json:"type"`
	Name                  string                 `json:"name"`
	UID                   string                 `json:"uid"`
	IsDefault             bool                   `json:"is_default"`
	DisableResolveMessage bool                   `json:"disable_resolve_message"`
	SendReminder          bool                   `json:"send_reminder"`
	Frequency             time.Duration          `json:"frequency,omitempty"`
	Settings              map[string]interface{} `json:"settings"`
	SecureSettings        map[string]interface{} `json:"secure_settings"`
}

type GrafanaAlertsChannelsConfig

type GrafanaAlertsChannelsConfig struct {
	Notifiers []*GrafanaAlertsChannel `json:"notifiers"`
}

type Node

type Node struct {
	Capacity int64
}

type PersistentVolumeClaim added in v1.38.0

type PersistentVolumeClaim struct {
	Name            string
	RequestsStorage int
	PrometheusName  string
}

type PodFilter added in v0.0.6

type PodFilter struct {
	Name                     string
	Namespace                string
	PrometheusContainerReady bool
}

type RemoteWrite

type RemoteWrite struct {
	Name string                 `json:"name"`
	Spec map[string]interface{} `json:"spec"`
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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