aboutsummaryrefslogtreecommitdiff
path: root/guix-build-coordinator/datastore/abstract.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2020-04-09 22:17:06 +0100
committerChristopher Baines <mail@cbaines.net>2020-04-10 20:34:47 +0100
commit75af9de6819357d632fdbf8e3c21958dbc882f0c (patch)
tree0c764e5e31e98b2d8bd86b2cf6a60c265d67c16f /guix-build-coordinator/datastore/abstract.scm
parentb53717dc09b87fd6c2d245e841620c91b918e994 (diff)
downloadbuild-coordinator-75af9de6819357d632fdbf8e3c21958dbc882f0c.tar
build-coordinator-75af9de6819357d632fdbf8e3c21958dbc882f0c.tar.gz
Support creating passwords for agents
This should support generating the passwords off the value stored in the database, and the secret key base value, but that can be implemented later.
Diffstat (limited to 'guix-build-coordinator/datastore/abstract.scm')
-rw-r--r--guix-build-coordinator/datastore/abstract.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix-build-coordinator/datastore/abstract.scm b/guix-build-coordinator/datastore/abstract.scm
index b16a0c1..7fcbe60 100644
--- a/guix-build-coordinator/datastore/abstract.scm
+++ b/guix-build-coordinator/datastore/abstract.scm
@@ -5,7 +5,8 @@
datastore-store-derivation
datastore-store-build
datastore-list-agents
- datastore-new-agent))
+ datastore-new-agent
+ datastore-new-agent-password))
(define-class <abstract-datastore> ())
@@ -13,4 +14,5 @@
(define-generic datastore-store-build)
(define-generic datastore-new-agent)
(define-generic datastore-list-agents)
+(define-generic datastore-new-agent-password)
(define-generic datastore-update)