routerconfig

package
v0.0.0-...-d2a8f73 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	// RouterConfig returns the latest router config from the config provider
	// Version and last fetch time information can be used from different providers to determine if the config has changed
	RouterConfig(ctx context.Context, prevVersion string, prevFetchTime time.Time) (*Response, error)
}

type ConfigNotFoundError

type ConfigNotFoundError interface {
	error
	FederatedGraphId() string
}

type Response

type Response struct {
	// Config is the marshaled router config
	Config *nodev1.RouterConfig
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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