diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-05-17 17:27:44 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-05-21 11:03:22 +0300 |
commit | 57f6378aea619ceb07b935012772bd4698e6a2be (patch) | |
tree | c7df31f1386febf3ba570bc2e3cd2ef551ae68f5 /libbrep/build-package.hxx | |
parent | 19c8efe49f23569a53e928488c460e0d3b20cf8a (diff) |
Add support for build_unloaded() notification for tenant-associated services
Diffstat (limited to 'libbrep/build-package.hxx')
-rw-r--r-- | libbrep/build-package.hxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/libbrep/build-package.hxx b/libbrep/build-package.hxx index 9a9c277..2611678 100644 --- a/libbrep/build-package.hxx +++ b/libbrep/build-package.hxx @@ -32,12 +32,23 @@ namespace brep class build_tenant { public: + // Create tenant for an unloaded CI request (see the build_unloaded() + // tenant services notification for details). + // + build_tenant (string i, tenant_service s, timestamp l) + : id (move (i)), + creation_timestamp (timestamp::clock::now ()), + service (move (s)), + loaded_timestamp (l) {} + string id; - bool private_; + bool private_ = false; optional<string> interactive; - bool archived; + timestamp creation_timestamp; + bool archived = false; optional<tenant_service> service; + optional<timestamp> loaded_timestamp; optional<timestamp> queued_timestamp; optional<build_toolchain> toolchain; |