function

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(sc storage.Interface, output, tplt string) error

Get gets a list of functions defined in the system and prints them in the format specified by output

func PrintTableWithRoutes

func PrintTableWithRoutes(list []FunctionWithUpstream, w io.Writer, virtualservices []*v1.VirtualService)

PrintTableWithRoutes prints functions and routes mapped to them to the io.Writer

func PrintTemplate

func PrintTemplate(list []FunctionWithUpstream, tplt string, w io.Writer) error

PrintTemplate prints functions using the provided Go template to the io.Writer

Types

type FunctionWithUpstream

type FunctionWithUpstream struct {
	Upstream string
	Function *v1.Function
}

Jump to

Keyboard shortcuts

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