cache

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cache

type Cache interface {
	IsCachedNode(node string) bool
	UpdateAllResources(ctx context.Context, node, version string, clusters []*apiv1.Cluster, listeners []*apiv1.Listener, routes []*apiv1.Route, endpoints []*apiv1.Endpoint) error
	UpdateClusters(ctx context.Context, node, version string, clusters []*apiv1.Cluster) error
	UpdateListeners(ctx context.Context, node, version string, listeners []*apiv1.Listener) error
	UpdateRoutes(ctx context.Context, node, version string, routes []*apiv1.Route) error
	UpdateEndpoints(ctx context.Context, node, version string, endpoints []*apiv1.Endpoint) error
}

func New

func New(snapshotCache xdscache.SnapshotCache) Cache

Jump to

Keyboard shortcuts

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