notifier

package
v1.24.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Subscribe

func Subscribe(ctx context.Context, notifier Notifier, broadcast *service.Broadcast, health *setup.HealthReporter) error

Types

type Notifier

type Notifier interface {
	NotifyArgoCd(ctx context.Context, environment, application string)
}

func New

func New(client SimplifiedApplicationInterface, concurrencyLimit int) Notifier

type SimplifiedApplicationInterface

type SimplifiedApplicationInterface interface {
	Get(ctx context.Context, in *argoapplication.ApplicationQuery, opts ...grpc.CallOption) (*argoappv1.Application, error)
}

Jump to

Keyboard shortcuts

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