registry

package
v0.0.0-...-5b7b456 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Finalize

func Finalize()

func FinalizeJobBackendProviders

func FinalizeJobBackendProviders()

func Initialize

func Initialize() error

func NewLogger

func NewLogger(loggerConfig *zap.Config) (*zap.Logger, error)

func Register

func Register(name string, factory Factory) error

func SetupJobBackendProviders

func SetupJobBackendProviders() error

Types

type Factory

type Factory = func(logger *zap.Logger, conf *config.Config) (jobbackendprovider.IJobBackendProvider, error)

Factory is used to register functions creating new job backend provider instances.

func GetFactory

func GetFactory(name string) (Factory, error)

Jump to

Keyboard shortcuts

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