rebuild

package
v0.0.0-...-31a1246 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2018 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LockedRoutesRebuildOrEnqueue

func LockedRoutesRebuildOrEnqueue(appName string)

func RebuildRoutes

func RebuildRoutes(app RebuildApp, dry bool) (map[string]RebuildRoutesResult, error)

func RegisterTask

func RegisterTask(finder func(string) (RebuildApp, error)) error

func RoutesRebuildOrEnqueue

func RoutesRebuildOrEnqueue(appName string)

Types

type RebuildApp

type RebuildApp interface {
	router.App
	GetCname() []string
	GetRouters() []appTypes.AppRouter
	GetHealthcheckData() (router.HealthcheckData, error)
	RoutableAddresses() ([]url.URL, error)
	InternalLock(string) (bool, error)
	Unlock()
}

type RebuildRoutesResult

type RebuildRoutesResult struct {
	Added   []string
	Removed []string
}

Jump to

Keyboard shortcuts

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