kubernetes/vendor/github.com/google/cadvisor/collector/generic_collector.go

type GenericCollector

type collectorInfo

// Returns a new collector using the information extracted from the configfile
func NewCollector(collectorName string, configFile []byte, metricCountLimit int, containerHandler container.ContainerHandler, httpClient *http.Client) (*GenericCollector, error) {}

// Returns name of the collector
func (collector *GenericCollector) Name() string {}

func (collector *GenericCollector) configToSpec(config MetricConfig) v1.MetricSpec {}

func (collector *GenericCollector) GetSpec() []v1.MetricSpec {}

// Returns collected metrics and the next collection time of the collector
func (collector *GenericCollector) Collect(metrics map[string][]v1.MetricVal) (time.Time, map[string][]v1.MetricVal, error) {}