Documentation ¶
Index ¶
- func DefaultRoutes() []*route.Route
- func GatewaySnapshot(id string, port int, nodes []NodeInfo) cache.Snapshot
- func NewClusters(nodes []NodeInfo) (clusters []*v2.Cluster)
- func NewDefaultClusters() []*v2.Cluster
- func NewDefaultRoutes() []*v2.RouteConfiguration
- func NewGatewayClusters(nodes []NodeInfo) []*v2.Cluster
- func NewGoogleEndpoint() *v2.ClusterLoadAssignment
- func NewListener(port int, defaultRoutes bool) *v2.Listener
- func NewNodeEndpoints(nodes []NodeInfo) (endpoints []*v2.ClusterLoadAssignment)
- func NewRoutes(nodes []NodeInfo) []*v2.RouteConfiguration
- func NodeSnapshot(id string, port int) cache.Snapshot
- type NodeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRoutes ¶
func NewClusters ¶
func NewDefaultClusters ¶
func NewDefaultRoutes ¶
func NewDefaultRoutes() []*v2.RouteConfiguration
func NewGatewayClusters ¶
func NewGoogleEndpoint ¶
func NewGoogleEndpoint() *v2.ClusterLoadAssignment
func NewNodeEndpoints ¶
func NewNodeEndpoints(nodes []NodeInfo) (endpoints []*v2.ClusterLoadAssignment)
func NewRoutes ¶
func NewRoutes(nodes []NodeInfo) []*v2.RouteConfiguration
Types ¶
Click to show internal directories.
Click to hide internal directories.