configsync

package
v0.81.0-rc.3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package configsync implements synchronizing the configuration using the core agent config API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface{}

Component is the component type.

type Params

type Params struct {
	// Timeout is the timeout use for each call to the core-agent
	Timeout time.Duration
	// OnInitSync makes configsync synchronize the configuration at initialization and fails init if we can get the
	// configuration from the core agent
	OnInitSync bool
	// OnInitSyncTimeout represents how long configsync should retry to synchronize configuration at init
	OnInitSyncTimeout time.Duration
}

Params defines the parameters for the configsync component.

func NewDefaultParams

func NewDefaultParams() Params

NewDefaultParams returns the default params for configsync

func NewParams

func NewParams(syncTimeout time.Duration, syncOnInit bool, syncOnInitTimeout time.Duration) Params

NewParams creates a new instance of Params

Jump to

Keyboard shortcuts

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