Documentation
¶
Index ¶
- type Repository
- func (r *Repository) Create(ctx context.Context, tenantID string, mapping trust.OIDCMapping) error
- func (r *Repository) Delete(ctx context.Context, tenantID string) error
- func (r *Repository) Get(ctx context.Context, tenantID string) (trust.OIDCMapping, error)
- func (r *Repository) Update(ctx context.Context, tenantID string, mapping trust.OIDCMapping) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *pgxpool.Pool) *Repository
func (*Repository) Create ¶
func (r *Repository) Create(ctx context.Context, tenantID string, mapping trust.OIDCMapping) error
func (*Repository) Get ¶
func (r *Repository) Get(ctx context.Context, tenantID string) (trust.OIDCMapping, error)
func (*Repository) Update ¶
func (r *Repository) Update(ctx context.Context, tenantID string, mapping trust.OIDCMapping) error
Click to show internal directories.
Click to hide internal directories.