Versions in this module Expand all Collapse all v1 v1.5.1 May 14, 2026 v1.5.0 May 13, 2026 Changes in this version + type Config struct + CredentialConf credentials.Config + DB *bun.DB + DSType DataStoreType + type DataStoreType string + const DatastoreTypeInMemory + const DatastoreTypePersistent + type NVSwitchManager struct + CredentialManager credentials.CredentialManager + DataStoreType DataStoreType + Registry nvswitchregistry.Registry + func New(ctx context.Context, c Config) (*NVSwitchManager, error) + func (nm *NVSwitchManager) Delete(ctx context.Context, id uuid.UUID) error + func (nm *NVSwitchManager) Get(ctx context.Context, id uuid.UUID) (*nvswitch.NVSwitchTray, error) + func (nm *NVSwitchManager) List(ctx context.Context) ([]*nvswitch.NVSwitchTray, error) + func (nm *NVSwitchManager) Register(ctx context.Context, tray *nvswitch.NVSwitchTray) (uuid.UUID, bool, error) + func (nm *NVSwitchManager) Start(ctx context.Context) error + func (nm *NVSwitchManager) Stop(ctx context.Context) error