Documentation ¶
Index ¶
- Variables
- type Config
- type Conman
- func (c *Conman) Add(con *container.Container)
- func (c *Conman) Close()
- func (c *Conman) Info() []container.ContainerData
- func (c *Conman) Lookup(name string) (*container.Container, error)
- func (c *Conman) Remove(con *container.Container)
- func (c *Conman) ToggleState(con *container.Container, running bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidDomain = fmt.Errorf("invalid domain name specified")
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // EventChan receives container events. EventChan <-chan *dockmon.Event // Dbman is a pointer to a db.Manager instance. Dbman *dbman.Manager }
Config provides the configuration for the container manager.
type Conman ¶
type Conman struct {
// contains filtered or unexported fields
}
Conman manages running containers based on Docker events.
func (*Conman) Info ¶
func (c *Conman) Info() []container.ContainerData
Info returns information about running containers.
Click to show internal directories.
Click to hide internal directories.