update deps

This commit is contained in:
Aine
2024-02-19 19:52:03 +02:00
parent 2dd348d319
commit 10213cc7d7
12 changed files with 700 additions and 42 deletions

12
vendor/gitlab.com/etke.cc/go/psd/target.go generated vendored Normal file
View File

@@ -0,0 +1,12 @@
package psd
// Target is a struct that represents a single set of targets in Prometheus Service Discovery
type Target struct {
Targets []string `json:"targets"`
Labels map[string]string `json:"labels"`
}
// GetDomain returns the domain of the target
func (t *Target) GetDomain() string {
return t.Labels["domain"]
}