Versions in this module Expand all Collapse all v0 v0.1.1 Jan 29, 2018 Changes in this version + const DefaultServiceAccountFile + type Map struct + func (cm *Map) Add(collector col.Interface) + func (cm *Map) EnableFlagNames() map[string]string + func (cm *Map) Flags() []cli.Flag + func (cm *Map) Get(name string) col.Interface + type MapInterface interface + Add func(col.Interface) + EnableFlagNames func() map[string]string + Flags func() []cli.Flag + Get func(string) col.Interface + var Collectors MapInterface = &Map{} + type MockMapInterface struct + func (_m *MockMapInterface) Add(_a0 collector.Interface) + func (_m *MockMapInterface) EnableFlagNames() map[string]string + func (_m *MockMapInterface) Flags() []cli.Flag + func (_m *MockMapInterface) Get(_a0 string) collector.Interface + type MockProviderInterface struct + func (_m *MockProviderInterface) Collect(_a0 chan<- prometheus.Metric) + func (_m *MockProviderInterface) Describe(_a0 chan<- *prometheus.Desc) + func (_m *MockProviderInterface) GetData() + func (_m *MockProviderInterface) Init(_a0 *cli.Context) error + type Provider struct + func NewProvider(client *http.Client) *Provider + func (p *Provider) Collect(ch chan<- prometheus.Metric) + func (p *Provider) Describe(ch chan<- *prometheus.Desc) + func (p *Provider) GetData() + func (p *Provider) Init(context *cli.Context) error + type ProviderInterface interface + GetData func() + Init func(*cli.Context) error