notifier

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() auacornapi.Acorn

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) AcornName

func (r *Impl) AcornName() string

func (*Impl) AssembleAcorn

func (r *Impl) AssembleAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) IsNotifier

func (r *Impl) IsNotifier() bool

func (*Impl) PublishCreation

func (r *Impl) PublishCreation(ctx context.Context, name string, payload openapi.NotificationPayload) error

func (*Impl) PublishDeletion

func (r *Impl) PublishDeletion(ctx context.Context, name string, payloadType types.NotificationPayloadType)

func (*Impl) PublishModification

func (r *Impl) PublishModification(ctx context.Context, name string, payload openapi.NotificationPayload) error

func (*Impl) Setup

func (r *Impl) Setup(ctx context.Context) error

func (*Impl) SetupAcorn

func (r *Impl) SetupAcorn(registry auacornapi.AcornRegistry) error

func (*Impl) TeardownAcorn

func (r *Impl) TeardownAcorn(registry auacornapi.AcornRegistry) error

Directories

Path Synopsis
client

Jump to

Keyboard shortcuts

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