Documentation ¶
Index ¶
- func AsPayload[T openapi.OwnerDto | openapi.ServiceDto | openapi.RepositoryDto](dto T) openapi.NotificationPayload
- func New() auacornapi.Acorn
- type Impl
- func (r *Impl) AcornName() string
- func (r *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error
- func (r *Impl) IsNotifier() bool
- func (r *Impl) PublishCreation(ctx context.Context, name string, payload openapi.NotificationPayload) error
- func (r *Impl) PublishDeletion(ctx context.Context, name string, payloadType types.NotificationPayloadType)
- func (r *Impl) PublishModification(ctx context.Context, name string, payload openapi.NotificationPayload) error
- func (r *Impl) Setup(ctx context.Context) error
- func (r *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error
- func (r *Impl) TeardownAcorn(registry auacornapi.AcornRegistry) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsPayload ¶
func AsPayload[T openapi.OwnerDto | openapi.ServiceDto | openapi.RepositoryDto](dto T) openapi.NotificationPayload
Types ¶
type Impl ¶
type Impl struct { Configuration librepo.Configuration CustomConfiguration config.CustomConfiguration Logging librepo.Logging Clients map[string]notifierclient.NotifierClient SkipAsync bool // for tests }
func (*Impl) AssembleAcorn ¶
func (*Impl) IsNotifier ¶
func (*Impl) PublishCreation ¶
func (*Impl) PublishDeletion ¶
func (*Impl) PublishModification ¶
func (*Impl) SetupAcorn ¶
func (*Impl) TeardownAcorn ¶
Click to show internal directories.
Click to hide internal directories.