Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct { EventsProcessed prometheus.Counter LastReloadDuration prometheus.Gauge Uptime prometheus.Counter }
func NewMetrics ¶
func NewMetrics() *Metrics
type Node ¶
type Node struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Addr string `json:"addr,omitempty"` Containers string `json:"containers,omitempty"` ReservedCPUs string `json:"reserved_cpus,omitempty"` ReservedMemory string `json:"reserved_memory,omitempty"` Labels []string `json:"labels,omitempty"` }
Click to show internal directories.
Click to hide internal directories.