registry

package
v0.0.64 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: GPL-3.0 Imports: 8 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][]int
	BackOffTracker map[string]map[string]int
	Object         map[string]objects.Object
}

func (*Registry) AddOrUpdate

func (registry *Registry) AddOrUpdate(group string, name string, project string, containerAddr 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) GenerateIndex

func (registry *Registry) GenerateIndex(name string, project string) int

func (*Registry) GetIndexes

func (registry *Registry) GetIndexes(name string, project string) []int

func (*Registry) Name

func (registry *Registry) Name(group string, name string, project string) (string, int)

func (*Registry) NameReplicas

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

func (*Registry) Remove

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

Jump to

Keyboard shortcuts

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