launcher_utils

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: 25 Imported by: 0

Documentation

Overview

Package launcher_utils contains utility functions for the github.com/pelicanplatform/pelican/launcher package.

It should only be imported by the launchers package It should NOT be imported to any server pacakges (origin/cache/registry) or other lower level packages (config/utils/etc)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Advertise(ctx context.Context, servers []server_structs.XRootDServer) error

Advertise ONCE the xrootd servers (origin and cache) to the director

func CheckDefaults

func CheckDefaults(server server_structs.XRootDServer) error

func LaunchPeriodicAdvertise

func LaunchPeriodicAdvertise(ctx context.Context, egrp *errgroup.Group, servers []server_structs.XRootDServer) error

Launch periodic advertise of xrootd servers (origin and cache) to the director, in the errogroup

func RegisterNamespaceWithRetry

func RegisterNamespaceWithRetry(ctx context.Context, egrp *errgroup.Group, prefix string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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