function

package
v0.2.9 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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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