Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { C <-chan []ConfigEvent // contains filtered or unexported fields }
type ConfigEntry ¶
func ReadConfig ¶
func ReadConfig(reader io.Reader) ([]ConfigEntry, error)
func ReadConfigFile ¶
func ReadConfigFile(filename string) ([]ConfigEntry, error)
type ConfigEvent ¶
type ConfigEvent struct { ConfigEntry Up bool }
func (ConfigEvent) String ¶
func (e ConfigEvent) String() string
type DockerWatch ¶
type DockerWatch struct {
// contains filtered or unexported fields
}
func NewDockerWatch ¶
func NewDockerWatch() (*DockerWatch, error)
NewDockerWatch returns a new DockerWatch
func (*DockerWatch) GetActiveContainers ¶
func (d *DockerWatch) GetActiveContainers() ([]ConfigEvent, error)
GetActiveContainers returns up config events for active containers
func (*DockerWatch) GetConfigEvents ¶
func (d *DockerWatch) GetConfigEvents() (<-chan []ConfigEvent, error)
GetConfigEvents returns a channel of config events
Click to show internal directories.
Click to hide internal directories.