mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 19:35:41 +03:00
Added comments
This commit is contained in:
@@ -85,7 +85,11 @@ func DefaultConfig() *config.Config {
|
||||
// ClientStatsReporter exposes all the APIs related to resource usage of a Nomad
|
||||
// Client
|
||||
type ClientStatsReporter interface {
|
||||
// AllocStats returns a map of alloc ids and their corresponding stats
|
||||
// collector
|
||||
AllocStats() map[string]AllocStatsReporter
|
||||
|
||||
// HostStats returns a stats collector for the host
|
||||
HostStats() *stats.HostStats
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user