webhook

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package webhook contains helpers for the notifaction webhooks of the controller. These webhooks can be used to notify other systems when something happens in the controller.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	SystemDatasourceChanged(context.Context, logr.Logger, string, string) error
	LibraryDatasourceChanged(context.Context, logr.Logger, string) error
}

Client defines the interface for the notification webhook client.

func New

func New(systemDatasourceChanged string, libraryDatasourceChanged string) Client

New creates a new webhook notification Client.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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