service

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotificationService

type NotificationService struct {
	// contains filtered or unexported fields
}

func NewNotificationService

func NewNotificationService(msgQueue queue.MessageQueue, queueNames []string, notifRepo notification.NotificationSender) NotificationService

func (*NotificationService) StartListening

func (r *NotificationService) StartListening(ctx context.Context)

type WatcherService

type WatcherService struct {
	// contains filtered or unexported fields
}

func NewWatcherService

func NewWatcherService(dockerCli *dockerClient.Client, msgQueue queue.MessageQueue, queueName string, eventFilters []string) WatcherService

func (*WatcherService) StartWatching

func (r *WatcherService) StartWatching(ctx context.Context)

Blocking function! run it as a goroutine

Jump to

Keyboard shortcuts

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