-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlambda-ma.template.yaml
More file actions
52 lines (44 loc) · 1.03 KB
/
Copy pathlambda-ma.template.yaml
File metadata and controls
52 lines (44 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# λ-間 bootstrap template.
# Edit this file, kinds/*.yaml, or actors/*.ma, then run `make`.
# Generated output is written to dist/lambda-ma.yaml.
runtime:
grp:
owners: []
acls:
open:
"*": ["*"]
scheduler:
"*": [":help"]
"#": [":cron", ":interval", ":at", ":random"]
acl:
"*":
- ipfs
- identity-publish
- rpc
kinds:
# __KIND_DEFINITIONS__
entities:
scheduler:
kind: /ma/scheduler/0.0.1
acl: scheduler
root:
kind: /ma/root/0.0.1
acl: open
init: |
(set-prop! "start" (string-append (ma-get-config-key "runtime") "#construct"))
(ma-save-state!)
construct:
kind: /ma/room/0.0.1
attributes:
genesis: true
acl: open
duckie:
kind: /ma/scheme/agent/0.0.1
behaviour:
"/": __DUCK_BEHAVIOUR_CID__
acl: open
init: |
(begin
(duck-defaults!)
(enter (string-append (ma-get-config-key "runtime") "#construct"))
(duck-schedule-quack!))