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
Click to show internal directories.
Click to hide internal directories.