config

package
v3.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0, Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	// If true respond to ADS requests with a guaranteed resource ordering
	Ordered bool
}

Opts for individual xDS implementations that can be utilized through the functional opts pattern.

func NewOpts

func NewOpts() Opts

type XDSOption

type XDSOption func(*Opts)

Each xDS implementation should implement their own functional opts. It is recommended that config values be added in this package specifically, but the individual opts functions should be in their respective implementation package so the import looks like the following:

`sotw.WithOrderedADS()` `delta.WithOrderedADS()`

this allows for easy inference as to which opt applies to what implementation.

Jump to

Keyboard shortcuts

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