Documentation ¶
Index ¶
- Constants
- func NewAutoUpdateAgentRollout(spec *autoupdate.AutoUpdateAgentRolloutSpec) (*autoupdate.AutoUpdateAgentRollout, error)
- func NewAutoUpdateConfig(spec *autoupdate.AutoUpdateConfigSpec) (*autoupdate.AutoUpdateConfig, error)
- func NewAutoUpdateVersion(spec *autoupdate.AutoUpdateVersionSpec) (*autoupdate.AutoUpdateVersion, error)
- func ValidateAutoUpdateAgentRollout(v *autoupdate.AutoUpdateAgentRollout) error
- func ValidateAutoUpdateConfig(c *autoupdate.AutoUpdateConfig) error
- func ValidateAutoUpdateVersion(v *autoupdate.AutoUpdateVersion) error
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.
Click to show internal directories.
Click to hide internal directories.