apiconfigwatcher

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

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Manifold

func Manifold(config ManifoldConfig) dependency.Manifold

Manifold returns a dependency.Manifold which wraps an agent's voyeur.Value which is set whenever the agent config is changed. When the API server addresses in the config change the manifold will bounce itself.

The manifold is intended to be a dependency for the api-caller manifold and is required to support model migrations.

Types

type ManifoldConfig

type ManifoldConfig struct {
	AgentName          string
	AgentConfigChanged *voyeur.Value
	Logger             logger.Logger
}

Jump to

Keyboard shortcuts

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