configsyncimpl

package
v0.0.0-...-6bf2f47 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Module

func Module(params Params) fxutil.Module

Module defines the fx options for this component.

Types

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