@scaleway/sdk-container 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,28 +1,39 @@
|
|
|
1
1
|
const CONTAINER_TRANSIENT_STATUSES = [
|
|
2
2
|
"deleting",
|
|
3
3
|
"creating",
|
|
4
|
-
"pending"
|
|
4
|
+
"pending",
|
|
5
|
+
"locking",
|
|
6
|
+
"upgrading"
|
|
5
7
|
];
|
|
6
8
|
const CRON_TRANSIENT_STATUSES = [
|
|
7
9
|
"deleting",
|
|
8
10
|
"creating",
|
|
9
|
-
"pending"
|
|
11
|
+
"pending",
|
|
12
|
+
"locking",
|
|
13
|
+
"upgrading",
|
|
14
|
+
"rebalancing"
|
|
10
15
|
];
|
|
11
16
|
const DOMAIN_TRANSIENT_STATUSES = [
|
|
12
17
|
"deleting",
|
|
13
18
|
"creating",
|
|
14
|
-
"pending"
|
|
19
|
+
"pending",
|
|
20
|
+
"locking",
|
|
21
|
+
"upgrading"
|
|
15
22
|
];
|
|
16
23
|
const NAMESPACE_TRANSIENT_STATUSES = [
|
|
17
24
|
"deleting",
|
|
18
25
|
"creating",
|
|
19
|
-
"pending"
|
|
26
|
+
"pending",
|
|
27
|
+
"locking",
|
|
28
|
+
"upgrading"
|
|
20
29
|
];
|
|
21
30
|
const TOKEN_TRANSIENT_STATUSES = ["deleting", "creating"];
|
|
22
31
|
const TRIGGER_TRANSIENT_STATUSES = [
|
|
23
32
|
"deleting",
|
|
24
33
|
"creating",
|
|
25
|
-
"pending"
|
|
34
|
+
"pending",
|
|
35
|
+
"locking",
|
|
36
|
+
"upgrading"
|
|
26
37
|
];
|
|
27
38
|
export {
|
|
28
39
|
CONTAINER_TRANSIENT_STATUSES,
|
|
@@ -3,19 +3,19 @@ export type ContainerHttpOption = 'unknown_http_option' | 'enabled' | 'redirecte
|
|
|
3
3
|
export type ContainerPrivacy = 'unknown_privacy' | 'public' | 'private';
|
|
4
4
|
export type ContainerProtocol = 'unknown_protocol' | 'http1' | 'h2c';
|
|
5
5
|
export type ContainerSandbox = 'unknown_sandbox' | 'v1' | 'v2';
|
|
6
|
-
export type ContainerStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending' | 'created';
|
|
7
|
-
export type CronStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending';
|
|
8
|
-
export type DomainStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
|
|
6
|
+
export type ContainerStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending' | 'created' | 'locking' | 'upgrading';
|
|
7
|
+
export type CronStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending' | 'locking' | 'upgrading' | 'rebalancing';
|
|
8
|
+
export type DomainStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending' | 'locked' | 'locking' | 'upgrading';
|
|
9
9
|
export type ListContainersRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
10
10
|
export type ListCronsRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
11
11
|
export type ListDomainsRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'hostname_asc' | 'hostname_desc';
|
|
12
12
|
export type ListNamespacesRequestOrderBy = 'created_at_asc' | 'created_at_desc' | 'name_asc' | 'name_desc';
|
|
13
13
|
export type ListTokensRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
14
14
|
export type ListTriggersRequestOrderBy = 'created_at_asc' | 'created_at_desc';
|
|
15
|
-
export type NamespaceStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending';
|
|
15
|
+
export type NamespaceStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'locked' | 'creating' | 'pending' | 'locking' | 'upgrading';
|
|
16
16
|
export type TokenStatus = 'unknown' | 'ready' | 'deleting' | 'error' | 'creating';
|
|
17
17
|
export type TriggerInputType = 'unknown_input_type' | 'sqs' | 'scw_sqs' | 'nats' | 'scw_nats';
|
|
18
|
-
export type TriggerStatus = 'unknown_status' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending';
|
|
18
|
+
export type TriggerStatus = 'unknown_status' | 'ready' | 'deleting' | 'error' | 'creating' | 'pending' | 'locked' | 'locking' | 'upgrading';
|
|
19
19
|
export interface ContainerHealthCheckSpecHTTPProbe {
|
|
20
20
|
/**
|
|
21
21
|
* Path to use for the HTTP health check.
|