cfroutes

package
v0.0.0-...-d8d8d2a Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: Apache-2.0 Imports: 2 Imported by: 8

Documentation

Index

Constants

View Source
const CF_ROUTER = "cf-router"

Variables

This section is empty.

Functions

This section is empty.

Types

type CFRoute

type CFRoute struct {
	Hostnames        []string        `json:"hostnames"`
	Port             uint32          `json:"port"`
	RouteServiceUrl  string          `json:"route_service_url,omitempty"`
	IsolationSegment string          `json:"isolation_segment,omitempty"`
	Protocol         string          `json:"protocol,omitempty"`
	Options          json.RawMessage `json:"options,omitempty"`
}

type CFRoutes

type CFRoutes []CFRoute

func CFRoutesFromRoutingInfo

func CFRoutesFromRoutingInfo(routingInfo models.Routes) (CFRoutes, error)

func (CFRoutes) RoutingInfo

func (c CFRoutes) RoutingInfo() models.Routes

Jump to

Keyboard shortcuts

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