Documentation
¶
Index ¶
- func Drone(namespace, job string) string
- func Gitea(namespace, job string) string
- func Golang(namespace, job string) string
- func Link(dashboard, namespace, job string) string
- func Litestream(namespace, job string) string
- func Maddy(namespace, job string) string
- func Redis(namespace, job string) string
- type Grafana
- func (g Grafana) Drone(namespace, job string) string
- func (g Grafana) Gitea(namespace, job string) string
- func (g Grafana) Golang(namespace, job string) string
- func (g Grafana) Link(dashboard, namespace, job string) string
- func (g Grafana) Litestream(namespace, job string) string
- func (g Grafana) Maddy(namespace, job string) string
- func (g Grafana) Redis(namespace, job string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Litestream ¶
Types ¶
type Grafana ¶
type Grafana string
Grafana provides functionality for rendering links to dashboards. This implementation provides some shorthand calls that assume the use of my personal dashboards (provided at https://github.com/mjpitz/mjpitz/tree/main/monitoring).
func (Grafana) Link ¶
Link renders a link to a grafana deployment given a dashboard id, namespace, and job (assumes a kubernetes based deployment).
func (Grafana) Litestream ¶
Click to show internal directories.
Click to hide internal directories.