From c53642ca8574b294a4fc9d768b1dbb94b1cee560 Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Wed, 21 Sep 2022 17:15:33 +0100 Subject: [PATCH 1/2] docs(changeset): Added stateful RuntimeType --- .changeset/hot-hairs-appear.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/hot-hairs-appear.md diff --git a/.changeset/hot-hairs-appear.md b/.changeset/hot-hairs-appear.md new file mode 100644 index 00000000..e37d2f89 --- /dev/null +++ b/.changeset/hot-hairs-appear.md @@ -0,0 +1,5 @@ +--- +'@onehop/js': patch +--- + +Added stateful RuntimeType From bd1fdb05a7e13316e99e48fbe483537662a39bf7 Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Wed, 21 Sep 2022 17:15:52 +0100 Subject: [PATCH 2/2] feat: add RuntimeType.STATEFUL --- src/rest/types/ignite.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rest/types/ignite.ts b/src/rest/types/ignite.ts index 17fbe116..671a1ab8 100644 --- a/src/rest/types/ignite.ts +++ b/src/rest/types/ignite.ts @@ -25,6 +25,11 @@ export enum RuntimeType { * Persistent deployments/containers will restart if they exit. They can also be started and stopped programmatically. */ PERSISTENT = 'persistent', + + /** + * Stateful deployments/containers can only run one container at a time, and will have a persistent volume attached. + */ + STATEFUL = 'stateful', } /**