service_sync

package
v0.0.0-...-ddadb11 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ServiceSyncAddress string = "mc/$skupper-service-sync"
)
View Source
const (
	ServiceSyncEvent string = "ServiceSyncEvent"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceSync

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

func NewServiceSync

func NewServiceSync(origin string, ttl time.Duration, version string, connectionFactory messaging.ConnectionFactory, handler UpdateHandler, eventHandler event.EventHandlerInterface) *ServiceSync

func (*ServiceSync) LocalDefinitionsUpdated

func (c *ServiceSync) LocalDefinitionsUpdated(definitions map[string]types.ServiceInterface)

func (*ServiceSync) Start

func (c *ServiceSync) Start(stopCh <-chan struct{})

type ServiceUpdate

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

type UpdateHandler

type UpdateHandler func(changed []types.ServiceInterface, deleted []string, origin string) error

Jump to

Keyboard shortcuts

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