xdscache

package
v0.0.0-...-2dc4aaf Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XDSCache

type XDSCache struct {
	Listeners map[string]resources.Listener
	Routes    map[string]resources.Route
	Clusters  map[string]resources.Cluster
	Endpoints map[string]resources.Endpoint
}

func (*XDSCache) AddCluster

func (xds *XDSCache) AddCluster(name string)

func (*XDSCache) AddEndpoint

func (xds *XDSCache) AddEndpoint(clusterName, upstreamHost string, upstreamPort uint32)

func (*XDSCache) AddListener

func (xds *XDSCache) AddListener(name string, routeNames []string, address string, port uint32)

func (*XDSCache) AddRoute

func (xds *XDSCache) AddRoute(name, prefix string, clusters []string)

func (*XDSCache) ClusterContents

func (xds *XDSCache) ClusterContents() []types.Resource

func (*XDSCache) EndpointsContents

func (xds *XDSCache) EndpointsContents() []types.Resource

func (*XDSCache) ListenerContents

func (xds *XDSCache) ListenerContents() []types.Resource

func (*XDSCache) RouteContents

func (xds *XDSCache) RouteContents() []types.Resource

Jump to

Keyboard shortcuts

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