generator

package
v0.0.0-...-ebd413c Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2017 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *config.Config, tracker *tracker.Tracker, scheduler scheduler.Scheduler) *Generator

func (*Generator) ReloadConfiguration

func (g *Generator) ReloadConfiguration()

func (*Generator) Watch

func (g *Generator) Watch(handler func(proxyConf string))

Watch marathon for changes using streams and make callbacks to the specified handler when apps have been added, removed or health changes.

type ReloadChan

type ReloadChan chan bool

type TemplateData

type TemplateData struct {
	Apps map[string]*scheduler.App
	Data map[string]interface{}
}

Jump to

Keyboard shortcuts

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