Documentation ¶
Rendered for windows/amd64
Overview ¶
Package enforcement implements filesystem watching for configured required updates.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Watcher ¶
Watcher runs a filesystem watcher for required updates. This is meant to install required updates as soon as they are configured. All configured required updates are read on a schedule (see cabbie.go t.Enforcement ticker usage) to ensure required updates are installed even if a filesystem event is missed.
Types ¶
type DriverExclude ¶ added in v1.0.4
type DriverExclude struct { DriverClass string `json:"driver-class"` UpdateID string `json:"update-id"` }
DriverExclude specifies criteria to exclude certain driver updates. A driver update is ignored by Cabbie if it matches all criteria.
type Enforcements ¶
type Enforcements struct { Required []string `json:"required"` ExcludedDrivers []DriverExclude `json:"excluded-drivers"` Hidden []string `json:"hidden"` }
Enforcements track any externally configured update enforcements.
Click to show internal directories.
Click to hide internal directories.