Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusLabel = "io.boss/restart.status" // custom boss status DeleteStatus containerd.ProcessStatus = "delete" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *containerd.Client, register Register, networks map[config.NetworkType]Network) *Monitor
New returns a new monitor for containers
type Network ¶
type Network interface { Create(containerd.Task) (string, error) Remove(containerd.Container) error }
Click to show internal directories.
Click to hide internal directories.