agent

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0, EPL-2.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUpdateAgent

func NewUpdateAgent(client api.UpdateAgentClient, manager api.UpdateManager, options ...updateAgentOption) api.UpdateAgent

NewUpdateAgent instantiates an Update Agent instance.

func WithCurrentStateReportDelay

func WithCurrentStateReportDelay(delay time.Duration) updateAgentOption

WithCurrentStateReportDelay defines option for update agent to delay the current state reporting for the given duration, e.g. if current state changes meanwhile, only the latest current state will be sent

func WithDesiredStateFeedbackReportInterval

func WithDesiredStateFeedbackReportInterval(interval time.Duration) updateAgentOption

WithDesiredStateFeedbackReportInterval defines option for update agent to delay the desired state feedback for the given duration, e.g. if there are newer desired state feedback updates, only the latest feedback will be sent

Types

This section is empty.

Jump to

Keyboard shortcuts

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