Documentation ¶
Index ¶
- type ModulesRegistrar
- type RegistrarOptions
- func (o RegistrarOptions) CreateNotificationsBuilder(context notificationscontext.Context) notificationsbuilder.NotificationsBuilder
- func (o RegistrarOptions) CreateNotificationsSender(context notificationscontext.Context) notificationssender.NotificationSender
- func (o RegistrarOptions) GetAPIsConfigurator() apis.Configurator
- func (o RegistrarOptions) GetAPIsRegistrar() apis.Registrar
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModulesRegistrar ¶
type ModulesRegistrar struct {
// contains filtered or unexported fields
}
ModulesRegistrar represents the modules.Registrar that allows to register all custom Athena modules
func NewModulesRegistrar ¶
func NewModulesRegistrar() *ModulesRegistrar
NewModulesRegistrar allows to build a new ModulesRegistrar instance
func (*ModulesRegistrar) BuildModules ¶
func (r *ModulesRegistrar) BuildModules(ctx registrar.Context) modules.Modules
BuildModules implements modules.Registrar
func (*ModulesRegistrar) WithOptions ¶
func (r *ModulesRegistrar) WithOptions(options RegistrarOptions) *ModulesRegistrar
WithOptions sets the given option inside this registrar
type RegistrarOptions ¶
type RegistrarOptions struct { NotificationsBuilderCreator notificationsbuilder.NotificationsBuilderCreator NotificationsSenderCreator notificationssender.NotificationsSenderCreator APIsRegistrar apis.Registrar APIsConfigurator apis.Configurator }
func (RegistrarOptions) CreateNotificationsBuilder ¶
func (o RegistrarOptions) CreateNotificationsBuilder(context notificationscontext.Context) notificationsbuilder.NotificationsBuilder
func (RegistrarOptions) CreateNotificationsSender ¶
func (o RegistrarOptions) CreateNotificationsSender(context notificationscontext.Context) notificationssender.NotificationSender
func (RegistrarOptions) GetAPIsConfigurator ¶
func (o RegistrarOptions) GetAPIsConfigurator() apis.Configurator
func (RegistrarOptions) GetAPIsRegistrar ¶
func (o RegistrarOptions) GetAPIsRegistrar() apis.Registrar
Click to show internal directories.
Click to hide internal directories.