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 ¶
- func Advertise(ctx context.Context, servers []server_structs.XRootDServer) error
- func CheckDefaults(server server_structs.XRootDServer) error
- func LaunchPeriodicAdvertise(ctx context.Context, egrp *errgroup.Group, ...) error
- func RegisterNamespaceWithRetry(ctx context.Context, egrp *errgroup.Group, prefix string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Advertise ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.