hooks

package
v1.67.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 40 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"`
}

type Secret added in v1.65.0

type Secret struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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