Documentation ¶
Index ¶
Constants ¶
View Source
const (
IDFormat = time.RFC3339Nano
)
Variables ¶
View Source
var ( Log = log.New() LoggerKey = struct{}{} )
View Source
var (
InspectTimeout = 200 * time.Millisecond
)
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { ID ID CreatedAt time.Time UpdatedAt time.Time Name string Image string Status Status Healthy string `json:",omitempty"` Service string `json:",omitempty"` Project *Project `json:",omitempty"` Networks map[string]*Network Mounts []Mount Ports map[string]Port }
func (*Container) LastUpdateTime ¶
func (*Container) UpdateFrom ¶
func (c *Container) UpdateFrom(data types.ContainerJSON)
type ContainerRemoved ¶
type ContainerRemoved struct {
// contains filtered or unexported fields
}
func (*ContainerRemoved) Data ¶
func (c *ContainerRemoved) Data() any
func (*ContainerRemoved) ID ¶
func (c *ContainerRemoved) ID() string
type ContainerUpdated ¶
type ContainerUpdated struct {
// contains filtered or unexported fields
}
func (*ContainerUpdated) Data ¶
func (c *ContainerUpdated) Data() any
func (*ContainerUpdated) ID ¶
func (c *ContainerUpdated) ID() string
type Dispatcher ¶
type Repository ¶
type Repository struct { ConnFactory connections.Factory // contains filtered or unexported fields }
func NewRepository ¶
func NewRepository(dispatcher Dispatcher, connFactory connections.Factory) (r *Repository)
func (*Repository) GoString ¶
func (r *Repository) GoString() string
func (*Repository) Process ¶
func (r *Repository) Process(msg events.Message)
Click to show internal directories.
Click to hide internal directories.