Documentation ¶
Index ¶
- type XDSCache
- func (xds *XDSCache) AddCluster(name string)
- func (xds *XDSCache) AddEndpoint(clusterName, upstreamHost string, upstreamPort uint32)
- func (xds *XDSCache) AddListener(name string, routeNames []string, address string, port uint32)
- func (xds *XDSCache) AddRoute(name, prefix string, clusters []string)
- func (xds *XDSCache) ClusterContents() []types.Resource
- func (xds *XDSCache) EndpointsContents() []types.Resource
- func (xds *XDSCache) ListenerContents() []types.Resource
- func (xds *XDSCache) RouteContents() []types.Resource
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 (*XDSCache) AddEndpoint ¶
func (*XDSCache) AddListener ¶
func (*XDSCache) ClusterContents ¶
func (*XDSCache) EndpointsContents ¶
func (*XDSCache) ListenerContents ¶
func (*XDSCache) RouteContents ¶
Click to show internal directories.
Click to hide internal directories.