Documentation
¶
Overview ¶
Package postgres provides a PostgreSQL-backed implementation of tenant.Store.
Index ¶
- type Store
- func (s *Store) Add(ctx context.Context, id did.DID, externalID string, provider did.DID, ...) error
- func (s *Store) Delete(ctx context.Context, id did.DID) error
- func (s *Store) Get(ctx context.Context, id did.DID) (tenant.Record, error)
- func (s *Store) GetByExternalID(ctx context.Context, externalID string) (tenant.Record, error)
- func (s *Store) Initialize(ctx context.Context) error
- func (s *Store) SetStatus(ctx context.Context, id did.DID, status tenant.Status) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetByExternalID ¶
func (*Store) Initialize ¶
Initialize is a no-op. Schema is managed by the shared goose migrations.
Click to show internal directories.
Click to hide internal directories.