launchers

package
v0.0.0-...-c116fac Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExitOnSignal error = errors.New("Exit program on signal")
	ErrRestart      error = errors.New("Restart program")
)

Functions

func CacheServe

func CacheServe(ctx context.Context, engine *gin.Engine, egrp *errgroup.Group, modules config.ServerType) (server_structs.XRootDServer, error)

func CacheServeFinish

func CacheServeFinish(ctx context.Context, egrp *errgroup.Group, cacheServer server_structs.XRootDServer) error

Finish configuration of the cache server.

func DirectorServe

func DirectorServe(ctx context.Context, engine *gin.Engine, egrp *errgroup.Group) error

func LaunchModules

func LaunchModules(ctx context.Context, modules config.ServerType) (servers []server_structs.XRootDServer, shutdownCancel context.CancelFunc, err error)

func OriginServe

func OriginServe(ctx context.Context, engine *gin.Engine, egrp *errgroup.Group, modules config.ServerType) (server_structs.XRootDServer, error)

func OriginServeFinish

func OriginServeFinish(ctx context.Context, egrp *errgroup.Group) error

Finish configuration of the origin server. To be invoked after the web UI components have been launched.

func RegistryServe

func RegistryServe(ctx context.Context, engine *gin.Engine, egrp *errgroup.Group) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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