Versions in this module Expand all Collapse all v1 v1.0.0 Aug 26, 2026 Changes in this version + var ErrNilPool = errors.New("authorization postgres pool is nil") + var ErrNotInitialized = errors.New("authorization policy is not initialized") + var ErrRevisionConflict = errors.New("authorization policy revision conflict") + var ErrRevisionNotMonotonic = errors.New("authorization policy revision is not monotonic") + func GoMigration() (migrations.Migration, error) + type Migration struct + Down string + Name string + Up string + Version uint + func SchemaMigration() Migration + type Store struct + func New(pool *pgxpool.Pool) (*Store, error) + func (store *Store) Load(ctx context.Context) (policy.Manifest, error) + func (store *Store) Update(ctx context.Context, expected authorization.Revision, next policy.Manifest) (policy.Manifest, error)