1234567891011121314151617181920212223242526272829 |
- package stats
- import (
- "github.com/docker/docker/container"
- )
- // platformNewStatsCollector performs platform specific initialisation of the
- // Collector structure. This is a no-op on Windows.
- func platformNewStatsCollector(s *Collector) {
- }
- // Collect registers the container with the collector and adds it to
- // the event loop for collection on the specified interval returning
- // a channel for the subscriber to receive on.
- // Currently not supported on Solaris
- func (s *Collector) Collect(c *container.Container) chan interface{} {
- return nil
- }
- // StopCollection closes the channels for all subscribers and removes
- // the container from metrics collection.
- // Currently not supported on Solaris
- func (s *Collector) StopCollection(c *container.Container) {
- }
- // Unsubscribe removes a specific subscriber from receiving updates for a container's stats.
- // Currently not supported on Solaris
- func (s *Collector) Unsubscribe(c *container.Container, ch chan interface{}) {
- }
|