configsyncimpl

package
v0.0.0-...-23a0380 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 17 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 OptionalModule

func OptionalModule() fxutil.Module

OptionalModule defines the fx options for this component.

func OptionalModuleWithParams

func OptionalModuleWithParams() fxutil.Module

OptionalModuleWithParams defines the fx options for this component, but requires additionally specifying custom Params from the fx App, to be passed to the constructor.

Types

type Params

type Params struct {
	Timeout time.Duration
	Delay   time.Duration
	OnInit  bool
}

Params defines the parameters for the configsync component.

func NewParams

func NewParams(to time.Duration, delay time.Duration, sync bool) 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