syncer

package
v1.16.0-beta5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorIfDiscoveryServiceUnused

func ErrorIfDiscoveryServiceUnused(opts *bootstrap.Opts) error

ErrorIfDiscoveryServiceUnused returns an error if the discovery service is not used by any upstreams. if discovery is enabled, but both UDS & FDS are disabled, we should error loudly as the discovery pod is being deployed for no reason.

func GetFdsEnabled

func GetFdsEnabled(settings *v1.Settings) bool

func GetFdsMode

func GetFdsMode(settings *v1.Settings) v1.Settings_DiscoveryOptions_FdsMode

func GetUdsEnabled

func GetUdsEnabled(settings *v1.Settings) bool

func GetWatchLabels added in v1.9.25

func GetWatchLabels(settings *v1.Settings) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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