Skip to content

Commit 13de490

Browse files
committed
chore: Regenerate extensions
1 parent 4cf8f63 commit 13de490

2 files changed

Lines changed: 75 additions & 16 deletions

File tree

fly-http/wit/activity-flyio_fly-http-obelisk-ext@1.0.0-beta/fly-http-obelisk-ext.wit

Lines changed: 49 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// Generated by obelisk 0.24.1
22
package activity-flyio:fly-http-obelisk-ext@1.0.0-beta;
33

4-
interface app {
4+
interface apps {
55
use obelisk:types/execution@2.0.0.{execution-id, join-set-id, await-next-extension-error, get-extension-error};
6-
use activity-flyio:fly-http/app@1.0.0-beta.{app};
6+
use activity-flyio:fly-http/apps@1.0.0-beta.{app};
77

88
put-submit: func(join-set-id: borrow<join-set-id>, org-slug: string, app-name: string) -> execution-id;
99

@@ -24,23 +24,23 @@ interface app {
2424
delete-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
2525
}
2626

27-
interface machine {
27+
interface machines {
2828
use obelisk:types/execution@2.0.0.{execution-id, join-set-id, await-next-extension-error, get-extension-error};
29-
use activity-flyio:fly-http/machine@1.0.0-beta.{machine-state, host-status, cpu-kind, guest-config, machine-region, restart-policy, machine-restart, init-config, stop-config, machine-config, machine, exec-response};
29+
use activity-flyio:fly-http/machines@1.0.0-beta.{region, machine-state, host-status, mount, cpu-kind, guest-config, restart-policy, machine-restart, init-config, stop-config, machine-config, machine, exec-response};
3030

3131
list-submit: func(join-set-id: borrow<join-set-id>, app-name: string) -> execution-id;
3232

3333
list-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<list<machine>, string>>, await-next-extension-error>;
3434

3535
list-get: func(execution-id: execution-id) -> result<result<list<machine>, string>, get-extension-error>;
3636

37-
create-submit: func(join-set-id: borrow<join-set-id>, app-name: string, machine-name: string, machine-config: machine-config, region: option<machine-region>) -> execution-id;
37+
create-submit: func(join-set-id: borrow<join-set-id>, app-name: string, machine-name: string, machine-config: machine-config, region: option<region>) -> execution-id;
3838

3939
create-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<string, string>>, await-next-extension-error>;
4040

4141
create-get: func(execution-id: execution-id) -> result<result<string, string>, get-extension-error>;
4242

43-
update-submit: func(join-set-id: borrow<join-set-id>, app-name: string, machine-id: string, machine-config: machine-config, region: option<machine-region>) -> execution-id;
43+
update-submit: func(join-set-id: borrow<join-set-id>, app-name: string, machine-id: string, machine-config: machine-config, region: option<region>) -> execution-id;
4444

4545
update-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>;
4646

@@ -64,6 +64,12 @@ interface machine {
6464

6565
start-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
6666

67+
restart-submit: func(join-set-id: borrow<join-set-id>, app-name: string, machine-id: string) -> execution-id;
68+
69+
restart-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>;
70+
71+
restart-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
72+
6773
delete-submit: func(join-set-id: borrow<join-set-id>, app-name: string, machine-id: string, force: bool) -> execution-id;
6874

6975
delete-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>;
@@ -77,9 +83,9 @@ interface machine {
7783
exec-get: func(execution-id: execution-id) -> result<result<exec-response, string>, get-extension-error>;
7884
}
7985

80-
interface secret {
86+
interface secrets {
8187
use obelisk:types/execution@2.0.0.{execution-id, join-set-id, await-next-extension-error, get-extension-error};
82-
use activity-flyio:fly-http/secret@1.0.0-beta.{secret};
88+
use activity-flyio:fly-http/secrets@1.0.0-beta.{secret};
8389

8490
list-submit: func(join-set-id: borrow<join-set-id>, app-name: string) -> execution-id;
8591

@@ -100,3 +106,38 @@ interface secret {
100106
delete-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
101107
}
102108

109+
interface volumes {
110+
use obelisk:types/execution@2.0.0.{execution-id, join-set-id, await-next-extension-error, get-extension-error};
111+
use activity-flyio:fly-http/volumes@1.0.0-beta.{region, volume, volume-create-request};
112+
113+
list-submit: func(join-set-id: borrow<join-set-id>, app-name: string) -> execution-id;
114+
115+
list-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<list<volume>, string>>, await-next-extension-error>;
116+
117+
list-get: func(execution-id: execution-id) -> result<result<list<volume>, string>, get-extension-error>;
118+
119+
create-submit: func(join-set-id: borrow<join-set-id>, app-name: string, request: volume-create-request) -> execution-id;
120+
121+
create-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<volume, string>>, await-next-extension-error>;
122+
123+
create-get: func(execution-id: execution-id) -> result<result<volume, string>, get-extension-error>;
124+
125+
get-submit: func(join-set-id: borrow<join-set-id>, app-name: string, volume-id: string) -> execution-id;
126+
127+
get-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<volume, string>>, await-next-extension-error>;
128+
129+
get-get: func(execution-id: execution-id) -> result<result<volume, string>, get-extension-error>;
130+
131+
extend-submit: func(join-set-id: borrow<join-set-id>, app-name: string, volume-id: string, new-size-gb: u32) -> execution-id;
132+
133+
extend-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>;
134+
135+
extend-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
136+
137+
delete-submit: func(join-set-id: borrow<join-set-id>, app-name: string, volume-id: string) -> execution-id;
138+
139+
delete-await-next: func(join-set-id: borrow<join-set-id>) -> result<tuple<execution-id, result<_, string>>, await-next-extension-error>;
140+
141+
delete-get: func(execution-id: execution-id) -> result<result<_, string>, get-extension-error>;
142+
}
143+
Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// Generated by obelisk 0.24.1
22
package activity-flyio:fly-http-obelisk-schedule@1.0.0-beta;
33

4-
interface app {
4+
interface apps {
55
use obelisk:types/execution@2.0.0.{execution-id};
66
use obelisk:types/time@2.0.0.{schedule-at};
7-
use activity-flyio:fly-http/app@1.0.0-beta.{app};
7+
use activity-flyio:fly-http/apps@1.0.0-beta.{app};
88

99
put-schedule: func(schedule-at: schedule-at, org-slug: string, app-name: string) -> execution-id;
1010

@@ -13,32 +13,34 @@ interface app {
1313
delete-schedule: func(schedule-at: schedule-at, app-name: string, force: bool) -> execution-id;
1414
}
1515

16-
interface machine {
16+
interface machines {
1717
use obelisk:types/execution@2.0.0.{execution-id};
1818
use obelisk:types/time@2.0.0.{schedule-at};
19-
use activity-flyio:fly-http/machine@1.0.0-beta.{machine-state, host-status, cpu-kind, guest-config, machine-region, restart-policy, machine-restart, init-config, stop-config, machine-config, machine, exec-response};
19+
use activity-flyio:fly-http/machines@1.0.0-beta.{region, machine-state, host-status, mount, cpu-kind, guest-config, restart-policy, machine-restart, init-config, stop-config, machine-config, machine, exec-response};
2020

2121
list-schedule: func(schedule-at: schedule-at, app-name: string) -> execution-id;
2222

23-
create-schedule: func(schedule-at: schedule-at, app-name: string, machine-name: string, machine-config: machine-config, region: option<machine-region>) -> execution-id;
23+
create-schedule: func(schedule-at: schedule-at, app-name: string, machine-name: string, machine-config: machine-config, region: option<region>) -> execution-id;
2424

25-
update-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string, machine-config: machine-config, region: option<machine-region>) -> execution-id;
25+
update-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string, machine-config: machine-config, region: option<region>) -> execution-id;
2626

2727
suspend-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string) -> execution-id;
2828

2929
stop-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string) -> execution-id;
3030

3131
start-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string) -> execution-id;
3232

33+
restart-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string) -> execution-id;
34+
3335
delete-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string, force: bool) -> execution-id;
3436

3537
exec-schedule: func(schedule-at: schedule-at, app-name: string, machine-id: string, command: list<string>) -> execution-id;
3638
}
3739

38-
interface secret {
40+
interface secrets {
3941
use obelisk:types/execution@2.0.0.{execution-id};
4042
use obelisk:types/time@2.0.0.{schedule-at};
41-
use activity-flyio:fly-http/secret@1.0.0-beta.{secret};
43+
use activity-flyio:fly-http/secrets@1.0.0-beta.{secret};
4244

4345
list-schedule: func(schedule-at: schedule-at, app-name: string) -> execution-id;
4446

@@ -47,3 +49,19 @@ interface secret {
4749
delete-schedule: func(schedule-at: schedule-at, app-name: string, secret-name: string) -> execution-id;
4850
}
4951

52+
interface volumes {
53+
use obelisk:types/execution@2.0.0.{execution-id};
54+
use obelisk:types/time@2.0.0.{schedule-at};
55+
use activity-flyio:fly-http/volumes@1.0.0-beta.{region, volume, volume-create-request};
56+
57+
list-schedule: func(schedule-at: schedule-at, app-name: string) -> execution-id;
58+
59+
create-schedule: func(schedule-at: schedule-at, app-name: string, request: volume-create-request) -> execution-id;
60+
61+
get-schedule: func(schedule-at: schedule-at, app-name: string, volume-id: string) -> execution-id;
62+
63+
extend-schedule: func(schedule-at: schedule-at, app-name: string, volume-id: string, new-size-gb: u32) -> execution-id;
64+
65+
delete-schedule: func(schedule-at: schedule-at, app-name: string, volume-id: string) -> execution-id;
66+
}
67+

0 commit comments

Comments
 (0)