Documentation
¶
Index ¶
- Variables
- type Syncer
- func (s *Syncer) GetModuleByName(ident, namespace, name string) *tenant.Module
- func (s *Syncer) GetModuleByRef(ref string) *tenant.Module
- func (s *Syncer) ListTenants() map[string]int64
- func (s *Syncer) Start() error
- func (s *Syncer) State() *system.State
- func (s *Syncer) TenantOverview(ident string) *system.TenantOverview
Constants ¶
This section is empty.
Variables ¶
View Source
var EmptyModules = make([]tenant.Module, 0)
Functions ¶
This section is empty.
Types ¶
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
Syncer keeps an in-memory cache of the system state such that the coordinator and orchestrator can get up-to-date information about the world.
func (*Syncer) GetModuleByName ¶
GetModuleByName gets a module by its name
func (*Syncer) GetModuleByRef ¶
GetModuleByRef gets a module by its ref
func (*Syncer) ListTenants ¶
ListTenants returns a map of tenant idents to their latest versions
func (*Syncer) TenantOverview ¶
func (s *Syncer) TenantOverview(ident string) *system.TenantOverview
TenantOverview returns the (possibly nil) TenantOverview for the given tenant ident
Click to show internal directories.
Click to hide internal directories.