Documentation
¶
Overview ¶
Package labels interprets PullPilot's per-container labels (io.pullpilot.*), the Compose project labels, and Watchtower compatibility aliases.
Index ¶
Constants ¶
View Source
const ( Enable = "io.pullpilot.enable" Exclude = "io.pullpilot.exclude" MonitorOnly = "io.pullpilot.monitor-only" Soak = "io.pullpilot.soak" Self = "io.pullpilot.self" HealthTimeout = "io.pullpilot.health-timeout" StopTimeout = "io.pullpilot.stop-timeout" RemoveAnonVols = "io.pullpilot.remove-anonymous-volumes" Order = "io.pullpilot.order" ComposeProject = "com.docker.compose.project" ComposeService = "com.docker.compose.service" ComposeOneoff = "com.docker.compose.oneoff" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct {
Enable *bool // explicit enable/disable (nil = unset)
Exclude bool // hard exclude
MonitorOnly bool // detect + notify, never update
Soak *time.Duration // per-container soak override (nil = use global)
IsSelf bool // PullPilot's own container marker
HealthTimeout *time.Duration
StopTimeout *time.Duration
RemoveAnonVols bool
Order int
Project string
Service string
Oneoff bool
}
Settings is the resolved per-container behavior.
Click to show internal directories.
Click to hide internal directories.