Versions in this module Expand all Collapse all v0 v0.6.6 Jul 3, 2020 Changes in this version + const SetConfigAlreadyApplied + type Manager struct + DeviceCache cache.Cache + DeviceChangesStore device.Store + DeviceSnapshotStore devicesnap.Store + DeviceStateStore state.Store + DeviceStore devicestore.Store + Dispatcher *dispatcher.Dispatcher + LeadershipStore leadership.Store + MastershipStore mastership.Store + ModelRegistry *modelregistry.ModelRegistry + NetworkChangesStore network.Store + NetworkSnapshotStore networksnap.Store + OperationalStateCache map[topodevice.ID]devicechange.TypedValueMap + OperationalStateCacheLock *sync.RWMutex + OperationalStateChannel chan events.OperationalStateEvent + SouthboundErrorChan chan events.DeviceResponse + TopoChannel chan *topodevice.ListResponse + func GetManager() *Manager + func NewManager(leadershipStore leadership.Store, mastershipStore mastership.Store, ...) (*Manager, error) + func (m *Manager) CheckCacheForDevice(target devicetype.ID, deviceType devicetype.Type, version devicetype.Version) (devicetype.Type, devicetype.Version, error) + func (m *Manager) Close() + func (m *Manager) ComputeDeviceChange(deviceName devicetype.ID, version devicetype.Version, ...) (*devicechange.Change, error) + func (m *Manager) DeviceConnected(id topodevice.ID) error + func (m *Manager) DeviceDisconnected(id topodevice.ID, err error) error + func (m *Manager) GetAllDeviceIds() *[]string + func (m *Manager) GetTargetConfig(deviceID devicetype.ID, version devicetype.Version, path string, ...) ([]*devicechange.PathValue, error) + func (m *Manager) GetTargetState(target string, path string) []*devicechange.PathValue + func (m *Manager) RollbackTargetConfig(networkChangeID networkchange.ID) error + func (m *Manager) Run() + func (m *Manager) SetNetworkConfig(targetUpdates map[string]devicechange.TypedValueMap, ...) (*networkchange.NetworkChange, error) + func (m *Manager) ValidateNetworkConfig(deviceName devicetype.ID, version devicetype.Version, ...) error