From 3a8b15242f83ab92a2a818da97e6b2afd6ccced4 Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Wed, 25 May 2016 13:12:09 -0700 Subject: [PATCH] Added comments --- client/client.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/client.go b/client/client.go index 953f67dc1..34fe686a1 100644 --- a/client/client.go +++ b/client/client.go @@ -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 }