coordination

package
v0.0.0-...-c6cbf5f Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyCoordinationService

type DummyCoordinationService struct {
}

func (DummyCoordinationService) Close

func (s DummyCoordinationService) Close() error

func (DummyCoordinationService) CreateLock

func (s DummyCoordinationService) CreateLock(name string) locks.Lock

func (DummyCoordinationService) GetJitsuInstancesInCluster

func (s DummyCoordinationService) GetJitsuInstancesInCluster() ([]string, error)

type Service

type Service interface {
	io.Closer
	//TODO: remove?
	GetJitsuInstancesInCluster() ([]string, error)
	CreateLock(name string) locks.Lock
}

Service is a coordination service which is responsible for all distributed operations like: - distributed locks - obtain cluster information

Jump to

Keyboard shortcuts

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