Added GCM support for Initial Resources plugin

This commit is contained in:
Piotr Szczesniak
2015-09-17 17:01:54 +02:00
parent 767445c87f
commit 9a1ec3dfb5
4 changed files with 126 additions and 12 deletions

View File

@@ -180,13 +180,3 @@ func (s *influxdbSource) GetUsagePercentile(kind api.ResourceName, perc int64, i
}
return int64(usage), int64(count), nil
}
type gcmSource struct{}
func newGcmSource() (dataSource, error) {
return &gcmSource{}, fmt.Errorf("gcm source not implemented")
}
func (s *gcmSource) GetUsagePercentile(kind api.ResourceName, perc int64, image string, exactMatch bool, start, end time.Time) (int64, int64, error) {
return 0, 0, fmt.Errorf("gcm source not implemented")
}