rebuild

package
v0.0.0-...-47649f3 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: BSD-3-Clause Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(finder initializeFunc)

func RebuildRoutes

func RebuildRoutes(ctx context.Context, opts RebuildRoutesOpts) error

func RebuildRoutesInRouter

func RebuildRoutesInRouter(ctx context.Context, appRouter appTypes.AppRouter, o RebuildRoutesOpts) error

func RebuildRoutesWithAppName

func RebuildRoutesWithAppName(appName string, w io.Writer) error

Types

type RebuildApp

type RebuildApp interface {
	router.App
	GetCname() []string
	GetRouters() []appTypes.AppRouter
	GetHealthcheckData() (routerTypes.HealthcheckData, error)
	RoutableAddresses(context.Context) ([]appTypes.RoutableAddresses, error)
}

type RebuildRoutesOpts

type RebuildRoutesOpts struct {
	App    RebuildApp
	Writer io.Writer
	Dry    bool
}

Jump to

Keyboard shortcuts

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