Documentation ¶
Index ¶
- type Registry
- func (registry *Registry) AddOrUpdate(group string, name string, project string, containerAddr platforms.IContainer)
- func (registry *Registry) BackOffReset(group string, name string)
- func (registry *Registry) BackOffTracking(group string, name string)
- func (registry *Registry) Find(group string, name string) platforms.IContainer
- func (registry *Registry) GenerateIndex(name string, project string) int
- func (registry *Registry) GetIndexes(name string, project string) []int
- func (registry *Registry) Name(group string, name string, project string) (string, int)
- func (registry *Registry) NameReplicas(group string, name string, project string, index int) (string, int)
- func (registry *Registry) Remove(group string, name string) bool
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) BackOffReset ¶
func (*Registry) BackOffTracking ¶
func (*Registry) Find ¶
func (registry *Registry) Find(group string, name string) platforms.IContainer
func (*Registry) GenerateIndex ¶
func (*Registry) GetIndexes ¶
func (*Registry) NameReplicas ¶
Click to show internal directories.
Click to hide internal directories.