Added comments

This commit is contained in:
Diptanu Choudhury 2016-05-25 13:12:09 -07:00
parent c2da19bf11
commit f93820f40c

View file

@ -85,7 +85,11 @@ func DefaultConfig() *config.Config {
// ClientStatsReporter exposes all the APIs related to resource usage of a Nomad // ClientStatsReporter exposes all the APIs related to resource usage of a Nomad
// Client // Client
type ClientStatsReporter interface { type ClientStatsReporter interface {
// AllocStats returns a map of alloc ids and their corresponding stats
// collector
AllocStats() map[string]AllocStatsReporter AllocStats() map[string]AllocStatsReporter
// HostStats returns a stats collector for the host
HostStats() *stats.HostStats HostStats() *stats.HostStats
} }