sidecar

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2016 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Main is the entrypoint for the sidecar when running as an executable

func Run

func Run(conf config.Config) error

Run the sidecar with the given configuration

Types

type Instance added in v0.4.0

type Instance struct {
	Tags string `json:"tags"`
	Type string `json:"type"`
	IP   string `json:"ip"`
	Port int    `json:"port"`
}

Instance TODO

type NGINXState added in v0.4.0

type NGINXState struct {
	Routes    map[string][]rules.Rule `json:"routes"`
	Instances map[string][]Instance   `json:"instances"`
	Actions   map[string][]rules.Rule `json:"actions"`
}

NGINXState nginx cached lua state

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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