shared

package
v0.0.0-...-5567225 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachetContent

type CachetContent struct {
	Id     int               `json:"id"`
	Name   string            `json:"name"`
	Status int               `json:"status"`
	Tags   map[string]string `json:"tags"`
}

type CachetPageable

type CachetPageable struct {
	Data []CachetContent `json:"data"`
}

type CachetUpdate

type CachetUpdate struct {
	Status int `json:"status"`
}

Cachet output

type Configuration

type Configuration struct {
	CachethqURL string                  `json:"cachethq_url"`
	Monitoring  ConfigurationMonitoring `json:"monitoring"`
	ServerPort  int                     `json:"server_port"`
	Sql         ConfigurationSQL        `json:"sql_configuration"`
}

type ConfigurationMonitoring

type ConfigurationMonitoring struct {
	EnableScheduler bool   `json:"enable_scheduler"`
	Url             string `json:"url"`
	ServiceName     string `json:"service_name"`
	CachethqToken   string `json:"cachethq_token"`
}

type ConfigurationSQL

type ConfigurationSQL struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Host     string `json:"host"`
	Port     int    `json:"port"`
	Database string `json:"database"`
}

type UpdateRequest

type UpdateRequest struct {
	State  string            `json:"state"`
	Tags   map[string]string `json:"commonLabels"`
	RuleId int               `json:"ruleId"`
}

Grafana Input

Jump to

Keyboard shortcuts

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