autoupdate

package
v0.0.0-...-8f91da0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ToolsUpdateModeEnabled enables client tools automatic updates.
	ToolsUpdateModeEnabled = "enabled"
	// ToolsUpdateModeDisabled disables client tools automatic updates.
	ToolsUpdateModeDisabled = "disabled"

	// AgentsUpdateModeEnabled enabled agent automatic updates.
	AgentsUpdateModeEnabled = "enabled"
	// AgentsUpdateModeDisabled disables agent automatic updates.
	AgentsUpdateModeDisabled = "disabled"
	// AgentsUpdateModeSuspended temporarily suspends agent automatic updates.
	AgentsUpdateModeSuspended = "suspended"

	// AgentsScheduleRegular is the regular agent update schedule.
	AgentsScheduleRegular = "regular"
	// AgentsScheduleImmediate is the immediate agent update schedule.
	// Every agent must update immediately if it's not already running the target version.
	// This can be used to recover agents in case of major incident or actively exploited vulnerability.
	AgentsScheduleImmediate = "immediate"

	// AgentsStrategyHaltOnError is the agent update strategy that updates groups sequentially
	// according to their order in the schedule. The previous groups must succeed.
	AgentsStrategyHaltOnError = "halt-on-error"
	// AgentsStrategyTimeBased is the agent update strategy that updates groups solely based on their
	// maintenance window. There is no dependency between groups. Agents won't be instructed to update
	// if the window is over.
	AgentsStrategyTimeBased = "time-based"
)

Variables

This section is empty.

Functions

func NewAutoUpdateAgentRollout

func NewAutoUpdateAgentRollout(spec *autoupdate.AutoUpdateAgentRolloutSpec) (*autoupdate.AutoUpdateAgentRollout, error)

NewAutoUpdateAgentRollout creates a new auto update version resource.

func NewAutoUpdateConfig

func NewAutoUpdateConfig(spec *autoupdate.AutoUpdateConfigSpec) (*autoupdate.AutoUpdateConfig, error)

NewAutoUpdateConfig creates a new auto update configuration resource.

func NewAutoUpdateVersion

func NewAutoUpdateVersion(spec *autoupdate.AutoUpdateVersionSpec) (*autoupdate.AutoUpdateVersion, error)

NewAutoUpdateVersion creates a new auto update version resource.

func ValidateAutoUpdateAgentRollout

func ValidateAutoUpdateAgentRollout(v *autoupdate.AutoUpdateAgentRollout) error

ValidateAutoUpdateAgentRollout checks that required parameters are set for the specified AutoUpdateAgentRollout.

func ValidateAutoUpdateConfig

func ValidateAutoUpdateConfig(c *autoupdate.AutoUpdateConfig) error

ValidateAutoUpdateConfig checks that required parameters are set for the specified AutoUpdateConfig.

func ValidateAutoUpdateVersion

func ValidateAutoUpdateVersion(v *autoupdate.AutoUpdateVersion) error

ValidateAutoUpdateVersion checks that required parameters are set for the specified AutoUpdateVersion.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL