| 1234567891011121314151617181920212223242526 |
- package structs
- import (
- "github.com/docker/docker/api/types/container"
- )
- // eventbus event payloads
- type Event struct {
- Type string
- Data interface{}
- }
- // for keeping track of container desired/actual state
- type ContainerState struct {
- ID string
- Name string
- Type string
- Image string
- ActualStatus string // on/off
- DesiredStatus string
- ActualNetwork string // bridge/wireguard
- DesiredNetwork string
- CreatedAt string
- Config container.Config
- Host container.HostConfig
- }
|