registry

package
v0.0.84 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: GPL-3.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 Registry

type Registry struct {
	Containers     map[string]map[string]platforms.IContainer
	ContainersLock sync.RWMutex
	Indexes        map[string][]uint64
	BackOffTracker map[string]map[string]uint64
	Object         map[string]objects.Object
	ChangeC        chan distributed.Container
	Client         *client.Http
	User           *authentication.User
}

func (*Registry) AddOrUpdate

func (registry *Registry) AddOrUpdate(group string, name string, containerAddr platforms.IContainer)

func (*Registry) All added in v0.0.69

func (registry *Registry) All() map[string]map[string]platforms.IContainer

func (*Registry) BackOffReset

func (registry *Registry) BackOffReset(group string, name string)

func (*Registry) BackOffTracking

func (registry *Registry) BackOffTracking(group string, name string)

func (*Registry) Find

func (registry *Registry) Find(group string, name string) platforms.IContainer

func (*Registry) FindGroup added in v0.0.69

func (registry *Registry) FindGroup(group string) map[string]platforms.IContainer

func (*Registry) FindLocal added in v0.0.69

func (registry *Registry) FindLocal(group string, name string) platforms.IContainer

func (*Registry) GetIndexes

func (registry *Registry) GetIndexes(group string, name string) []uint64

func (*Registry) ListenChanges added in v0.0.69

func (registry *Registry) ListenChanges()

func (*Registry) Name

func (registry *Registry) Name(client *client.Http, group string, name string) (string, []uint64)

func (*Registry) NameReplicas

func (registry *Registry) NameReplicas(group string, name string, index uint64) (string, uint64)

func (*Registry) Remove

func (registry *Registry) Remove(group string, name string) bool

func (*Registry) Sync added in v0.0.69

func (registry *Registry) Sync(container distributed.Container)

Jump to

Keyboard shortcuts

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