util

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterChannel

func FilterChannel(ctx context.Context, channel *notify.Channel) error

FilterChannel is used to filter channels that do not belong to the tenant.

func FilterMessage

func FilterMessage(ctx context.Context, message *notify.Message) error

FilterMessage is used to filter message that do not belong to the tenant.

func FilterMessageRequest

func FilterMessageRequest(ctx context.Context, messageRequest *notify.MessageRequest) error

FilterMessageRequest is used to filter message request that do not belong to the tenant.

func FilterReceiver

func FilterReceiver(ctx context.Context, receiver *notify.Receiver) error

FilterReceiver is used to filter receiver that do not belong to the tenant.

func FilterReceiverGroup

func FilterReceiverGroup(ctx context.Context, receiverGroup *notify.ReceiverGroup) error

FilterReceiverGroup is used to filter receiver group that do not belong to the tenant.

func FilterTemplate

func FilterTemplate(ctx context.Context, tpl *notify.Template) error

FilterTemplate is used to filter template that do not belong to the tenant.

Types

This section is empty.

Jump to

Keyboard shortcuts

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