route

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVirtualHost = "default"
)

Variables

This section is empty.

Functions

func Extension

func Extension(r *v1.Route) string

func Matcher

func Matcher(r *v1.Route) (string, string, string, string)

func PrintTable

func PrintTable(list []*v1.Route, w io.Writer)

func RouteInteractive

func RouteInteractive(sc storage.Interface, r *v1.Route) error

func VirtualHost

func VirtualHost(sc storage.Interface, vhostname, domain string, create bool) (*v1.VirtualHost, error)

Types

type Destination

type Destination struct {
	Upstream string
	Function string
}

func Destinations

func Destinations(r *v1.Route) []Destination

func (*Destination) String

func (d *Destination) String() string

type SelectionResult

type SelectionResult struct {
	Selected    []*v1.Route
	NotSelected []*v1.Route
}

func SelectInteractive

func SelectInteractive(routes []*v1.Route, multi bool) (*SelectionResult, error)

Jump to

Keyboard shortcuts

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