Documentation ¶
Index ¶
- func Finalize()
- func FinalizeJobBackendProviders()
- func Initialize() error
- func NewJobBackendProvider(conf *config.Config) (jobbackendprovider.IJobBackendProvider, error)
- func NewLogger(loggerConfig *zap.Config) (*zap.Logger, error)
- func Register(name string, factory Factory) error
- func SetupJobBackendProviders() error
- type Factory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FinalizeJobBackendProviders ¶
func FinalizeJobBackendProviders()
func Initialize ¶
func Initialize() error
func NewJobBackendProvider ¶
func NewJobBackendProvider(conf *config.Config) (jobbackendprovider.IJobBackendProvider, 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 ¶
Click to show internal directories.
Click to hide internal directories.