mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-14 07:18:21 +02:00
databroker: add list types method
This commit is contained in:
parent
7a405abea1
commit
2eb24fd42a
13 changed files with 494 additions and 232 deletions
|
@ -89,6 +89,10 @@ func (e *encryptedBackend) Lease(ctx context.Context, leaseName, leaseID string,
|
|||
return e.underlying.Lease(ctx, leaseName, leaseID, ttl)
|
||||
}
|
||||
|
||||
func (e *encryptedBackend) ListTypes(ctx context.Context) ([]string, error) {
|
||||
return e.underlying.ListTypes(ctx)
|
||||
}
|
||||
|
||||
func (e *encryptedBackend) Put(ctx context.Context, records []*databroker.Record) (uint64, error) {
|
||||
encryptedRecords := make([]*databroker.Record, len(records))
|
||||
for i, record := range records {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue