Documentation ¶
Index ¶
- type Store
- func (s *Store) AddDevice(ctx context.Context, d models.Device) error
- func (s *Store) CreateSession(ctx context.Context, session models.Session) (*models.Session, error)
- func (s *Store) DeactivateSession(ctx context.Context, uid models.UID) error
- func (s *Store) DeleteDevice(ctx context.Context, uid models.UID) error
- func (s *Store) GetDevice(ctx context.Context, uid models.UID) (*models.Device, error)
- func (s *Store) GetStats(ctx context.Context) (*models.Stats, error)
- func (s *Store) GetUserByTenant(ctx context.Context, tenant string) (*models.User, error)
- func (s *Store) GetUserByUsername(ctx context.Context, username string) (*models.User, error)
- func (s *Store) KeepAliveSession(ctx context.Context, uid models.UID) error
- func (s *Store) ListDevices(ctx context.Context) ([]models.Device, error)
- func (s *Store) ListSessions(ctx context.Context) ([]models.Session, error)
- func (s *Store) LookupDevice(ctx context.Context, namespace, name string) (*models.Device, error)
- func (s *Store) RenameDevice(ctx context.Context, uid models.UID, name string) error
- func (s *Store) UpdateDeviceStatus(ctx context.Context, uid models.UID, online bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
func (*Store) CreateSession ¶
func (*Store) DeactivateSession ¶
func (*Store) DeleteDevice ¶
func (*Store) GetUserByTenant ¶
func (*Store) GetUserByUsername ¶
func (*Store) KeepAliveSession ¶
func (*Store) ListDevices ¶
func (*Store) ListSessions ¶
func (*Store) LookupDevice ¶
func (*Store) RenameDevice ¶
Click to show internal directories.
Click to hide internal directories.