xdscache

package
v1.28.3 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObserversOf

func ObserversOf(in []ResourceCache) []dag.Observer

ObserversOf transliterates a slice of ResourceCache into a slice of dag.Observer.

func ResourcesOf

func ResourcesOf(in []ResourceCache) []xds.Resource

ResourcesOf transliterates a slice of ResourceCache into a slice of xds.Resource.

Types

type ResourceCache

type ResourceCache interface {
	dag.Observer
	xds.Resource
}

ResourceCache is a store of an xDS resource type. It is able to visit the dag.DAG to update the its resource collection, then serve those resources over xDS.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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