subscriptions

package
v1.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationPrefix = "notifications.argoproj.io"
)

Variables

This section is empty.

Functions

func SubscribeAnnotationKey

func SubscribeAnnotationKey(trigger string, service string) string

Types

type Annotations

type Annotations map[string]string

func (Annotations) GetAll

func (a Annotations) GetAll(defaultTriggers ...string) pkg.Subscriptions

func (Annotations) Has

func (a Annotations) Has(service string, recipient string) bool

func (Annotations) Subscribe

func (a Annotations) Subscribe(trigger string, service string, recipients ...string)

func (Annotations) Unsubscribe

func (a Annotations) Unsubscribe(trigger string, service string, recipient string)

Jump to

Keyboard shortcuts

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