@controlplane/schema 1.0.7 → 1.0.8
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.
- package/build/src/interfaces/accessreport.d.ts +11 -11
- package/build/src/interfaces/agent.d.ts +14 -10
- package/build/src/interfaces/auditctx.d.ts +4 -4
- package/build/src/interfaces/base.d.ts +20 -20
- package/build/src/interfaces/cloudaccount.d.ts +7 -7
- package/build/src/interfaces/command.d.ts +155 -148
- package/build/src/interfaces/config.d.ts +2 -4
- package/build/src/interfaces/containerstatus.d.ts +6 -6
- package/build/src/interfaces/cronjob.d.ts +1 -1
- package/build/src/interfaces/dbcluster.d.ts +1 -1
- package/build/src/interfaces/deployment.d.ts +20 -20
- package/build/src/interfaces/domain.d.ts +67 -67
- package/build/src/interfaces/env.d.ts +1 -1
- package/build/src/interfaces/envoy.d.ts +5 -5
- package/build/src/interfaces/envoyAccessLog.d.ts +1 -1
- package/build/src/interfaces/envoyCluster.d.ts +9 -9
- package/build/src/interfaces/envoyCommon.d.ts +301 -301
- package/build/src/interfaces/envoyExcExtAuth.d.ts +2 -2
- package/build/src/interfaces/envoyHttp.d.ts +146 -146
- package/build/src/interfaces/envoyRateLimit.d.ts +1 -1
- package/build/src/interfaces/event.d.ts +9 -9
- package/build/src/interfaces/group.d.ts +2 -2
- package/build/src/interfaces/gvc.d.ts +185 -66
- package/build/src/interfaces/identity.d.ts +96 -63
- package/build/src/interfaces/image.d.ts +1 -1
- package/build/src/interfaces/ipSet.d.ts +14 -14
- package/build/src/interfaces/location.d.ts +16 -16
- package/build/src/interfaces/memcache.d.ts +7 -7
- package/build/src/interfaces/mk8s.d.ts +65 -65
- package/build/src/interfaces/mk8sAddons.d.ts +64 -64
- package/build/src/interfaces/mk8sAws.d.ts +6 -6
- package/build/src/interfaces/mk8sAzure.d.ts +10 -10
- package/build/src/interfaces/mk8sCommon.d.ts +26 -26
- package/build/src/interfaces/mk8sDigitalOcean.d.ts +2 -2
- package/build/src/interfaces/mk8sEphemeral.d.ts +1 -1
- package/build/src/interfaces/mk8sGcp.d.ts +9 -9
- package/build/src/interfaces/mk8sGeneric.d.ts +5 -5
- package/build/src/interfaces/mk8sHetzner.d.ts +10 -10
- package/build/src/interfaces/mk8sLambdalabs.d.ts +5 -5
- package/build/src/interfaces/mk8sLinode.d.ts +6 -6
- package/build/src/interfaces/mk8sOblivus.d.ts +5 -5
- package/build/src/interfaces/mk8sPaperspace.d.ts +5 -5
- package/build/src/interfaces/mk8sTriton.d.ts +23 -23
- package/build/src/interfaces/org.d.ts +32 -32
- package/build/src/interfaces/orgLogging.d.ts +32 -32
- package/build/src/interfaces/permissions.d.ts +1 -1
- package/build/src/interfaces/policy.d.ts +2 -2
- package/build/src/interfaces/policyMembership.d.ts +6 -6
- package/build/src/interfaces/query.d.ts +24 -17
- package/build/src/interfaces/quota.d.ts +1 -1
- package/build/src/interfaces/resourcePolicy.d.ts +1 -1
- package/build/src/interfaces/secret.d.ts +23 -23
- package/build/src/interfaces/serviceaccount.d.ts +7 -7
- package/build/src/interfaces/spicedb.d.ts +1 -1
- package/build/src/interfaces/statefulSet.d.ts +1 -1
- package/build/src/interfaces/task.d.ts +1 -1
- package/build/src/interfaces/tenant.d.ts +5 -5
- package/build/src/interfaces/tracing.d.ts +16 -8
- package/build/src/interfaces/user.d.ts +12 -12
- package/build/src/interfaces/volumeSet.d.ts +54 -46
- package/build/src/interfaces/workload.d.ts +203 -222
- package/build/src/interfaces/workloadOptions.d.ts +47 -14
- package/package.json +1 -1
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import { Name, Kind, Tags, Links } from './base';
|
|
2
|
-
export interface ServiceAccountKey {
|
|
3
|
-
name?: string;
|
|
4
|
-
created?: Date;
|
|
5
|
-
key?: string;
|
|
6
|
-
description: string;
|
|
7
|
-
}
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
8
2
|
export interface ServiceAccount {
|
|
9
3
|
id?: string;
|
|
10
4
|
name?: Name;
|
|
@@ -18,3 +12,9 @@ export interface ServiceAccount {
|
|
|
18
12
|
keys?: ServiceAccountKey[];
|
|
19
13
|
origin?: 'default' | 'builtin';
|
|
20
14
|
}
|
|
15
|
+
export interface ServiceAccountKey {
|
|
16
|
+
name?: string;
|
|
17
|
+
created?: Date;
|
|
18
|
+
key?: string;
|
|
19
|
+
description: string;
|
|
20
|
+
}
|
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import { Name, Kind, Tags, Links } from './base';
|
|
2
|
-
export interface TenantSpec {
|
|
3
|
-
orgs?: Name[];
|
|
4
|
-
clusters?: Name[];
|
|
5
|
-
}
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
6
2
|
export interface Tenant {
|
|
7
3
|
id?: string;
|
|
8
4
|
name?: Name;
|
|
@@ -18,3 +14,7 @@ export interface Tenant {
|
|
|
18
14
|
clusters?: Name[];
|
|
19
15
|
};
|
|
20
16
|
}
|
|
17
|
+
export interface TenantSpec {
|
|
18
|
+
orgs?: Name[];
|
|
19
|
+
clusters?: Name[];
|
|
20
|
+
}
|
|
@@ -5,20 +5,28 @@ export interface LightstepTracing {
|
|
|
5
5
|
export interface OpenTelemetry {
|
|
6
6
|
endpoint: string;
|
|
7
7
|
}
|
|
8
|
-
export interface TracingCustomTag {
|
|
9
|
-
literal?: {
|
|
10
|
-
value?: string;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
8
|
export interface Tracing {
|
|
14
9
|
sampling: number;
|
|
15
|
-
lightstep?:
|
|
10
|
+
lightstep?: {
|
|
11
|
+
endpoint: string;
|
|
12
|
+
credentials?: string;
|
|
13
|
+
};
|
|
16
14
|
customTags?: {
|
|
17
15
|
[x: string]: TracingCustomTag;
|
|
18
16
|
};
|
|
19
17
|
provider?: {
|
|
20
|
-
otel?:
|
|
21
|
-
|
|
18
|
+
otel?: {
|
|
19
|
+
endpoint: string;
|
|
20
|
+
};
|
|
21
|
+
lightstep?: {
|
|
22
|
+
endpoint: string;
|
|
23
|
+
credentials?: string;
|
|
24
|
+
};
|
|
22
25
|
controlplane?: {};
|
|
23
26
|
};
|
|
24
27
|
}
|
|
28
|
+
export interface TracingCustomTag {
|
|
29
|
+
literal?: {
|
|
30
|
+
value?: string;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
import { Tags, Links
|
|
1
|
+
import { ApiError, Tags, Links } from './base.js';
|
|
2
|
+
export interface InviteRequest {
|
|
3
|
+
emails?: string[];
|
|
4
|
+
}
|
|
5
|
+
export interface InviteResponse {
|
|
6
|
+
errors?: {
|
|
7
|
+
[x: string]: ApiError;
|
|
8
|
+
};
|
|
9
|
+
invitations?: {
|
|
10
|
+
[x: string]: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
2
13
|
export interface User {
|
|
3
14
|
id?: string;
|
|
4
15
|
name?: string;
|
|
@@ -11,14 +22,3 @@ export interface User {
|
|
|
11
22
|
idp?: string;
|
|
12
23
|
email?: string;
|
|
13
24
|
}
|
|
14
|
-
export interface InviteRequest {
|
|
15
|
-
emails?: string[];
|
|
16
|
-
}
|
|
17
|
-
export interface InviteResponse {
|
|
18
|
-
errors?: {
|
|
19
|
-
[x: string]: ApiError;
|
|
20
|
-
};
|
|
21
|
-
invitations?: {
|
|
22
|
-
[x: string]: string;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
|
-
import { Name, Kind, Tags, Links } from './base';
|
|
1
|
+
import { Name, Kind, Tags, Links } from './base.js';
|
|
2
|
+
export interface CustomEncryptionRegion {
|
|
3
|
+
keyId?: string;
|
|
4
|
+
}
|
|
2
5
|
export interface FileSystem {
|
|
3
6
|
name: string;
|
|
4
7
|
accessMode: string;
|
|
5
8
|
commandsSupported?: string[];
|
|
6
9
|
}
|
|
10
|
+
export type FileSystemType = 'ext4' | 'xfs' | 'shared';
|
|
11
|
+
export interface MountResources {
|
|
12
|
+
maxCpu?: string;
|
|
13
|
+
minCpu?: string;
|
|
14
|
+
minMemory?: string;
|
|
15
|
+
maxMemory?: string;
|
|
16
|
+
}
|
|
7
17
|
export interface PerformanceClass {
|
|
8
18
|
name: string;
|
|
9
19
|
minCapacity: number;
|
|
10
20
|
maxCapacity: number;
|
|
11
21
|
featuresSupported?: ('automatic-expansion' | 'snapshots')[];
|
|
12
22
|
}
|
|
13
|
-
export
|
|
14
|
-
name: string;
|
|
15
|
-
id?: string;
|
|
16
|
-
created: Date;
|
|
17
|
-
expires?: Date;
|
|
18
|
-
size?: number;
|
|
19
|
-
tags?: {
|
|
20
|
-
[x: string]: string;
|
|
21
|
-
}[];
|
|
22
|
-
}
|
|
23
|
+
export type PerformanceClassName = 'general-purpose-ssd' | 'high-throughput-ssd' | 'shared';
|
|
23
24
|
export interface PersistentVolumeStatus {
|
|
24
25
|
lifecycle?: 'creating' | 'unused' | 'unbound' | 'bound' | 'deleted' | 'repairing';
|
|
25
26
|
storageDeviceId?: string;
|
|
@@ -37,34 +38,24 @@ export interface PersistentVolumeStatus {
|
|
|
37
38
|
};
|
|
38
39
|
zone?: string;
|
|
39
40
|
}
|
|
40
|
-
export interface VolumeSetStatusLocation {
|
|
41
|
-
name: string;
|
|
42
|
-
volumes?: PersistentVolumeStatus[];
|
|
43
|
-
desiredVolumeCount?: number;
|
|
44
|
-
clusterId?: string;
|
|
45
|
-
}
|
|
46
|
-
export interface VolumeSetStatus {
|
|
47
|
-
parentId?: string;
|
|
48
|
-
usedByWorkload?: string;
|
|
49
|
-
workloadLinks?: string[];
|
|
50
|
-
bindingId?: string;
|
|
51
|
-
locations?: VolumeSetStatusLocation[];
|
|
52
|
-
}
|
|
53
41
|
export interface SnapshotSpec {
|
|
54
42
|
createFinalSnapshot?: boolean;
|
|
55
43
|
retentionDuration?: string;
|
|
56
44
|
schedule?: string;
|
|
57
45
|
}
|
|
58
|
-
export
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
46
|
+
export interface VolumeSet {
|
|
47
|
+
id?: string;
|
|
48
|
+
name?: Name;
|
|
49
|
+
kind?: Kind;
|
|
50
|
+
version?: number;
|
|
51
|
+
description?: string;
|
|
52
|
+
tags?: Tags;
|
|
53
|
+
created?: Date;
|
|
54
|
+
lastModified?: Date;
|
|
55
|
+
links?: Links;
|
|
56
|
+
spec: VolumeSetSpec;
|
|
57
|
+
status?: VolumeSetStatus;
|
|
58
|
+
gvc?: any;
|
|
68
59
|
}
|
|
69
60
|
export interface VolumeSetSpec {
|
|
70
61
|
initialCapacity: number;
|
|
@@ -81,6 +72,14 @@ export interface VolumeSetSpec {
|
|
|
81
72
|
maxCapacity?: number;
|
|
82
73
|
minFreePercentage?: number;
|
|
83
74
|
scalingFactor?: number;
|
|
75
|
+
predictive?: {
|
|
76
|
+
enabled?: boolean;
|
|
77
|
+
lookbackHours?: number;
|
|
78
|
+
projectionHours?: number;
|
|
79
|
+
minDataPoints?: number;
|
|
80
|
+
minGrowthRateGBPerHour?: number;
|
|
81
|
+
scalingFactor?: number;
|
|
82
|
+
};
|
|
84
83
|
};
|
|
85
84
|
mountOptions?: {
|
|
86
85
|
resources?: {
|
|
@@ -91,17 +90,26 @@ export interface VolumeSetSpec {
|
|
|
91
90
|
};
|
|
92
91
|
};
|
|
93
92
|
}
|
|
94
|
-
export interface
|
|
93
|
+
export interface VolumeSetStatus {
|
|
94
|
+
parentId?: string;
|
|
95
|
+
usedByWorkload?: string;
|
|
96
|
+
workloadLinks?: string[];
|
|
97
|
+
bindingId?: string;
|
|
98
|
+
locations?: VolumeSetStatusLocation[];
|
|
99
|
+
}
|
|
100
|
+
export interface VolumeSetStatusLocation {
|
|
101
|
+
name: string;
|
|
102
|
+
volumes?: PersistentVolumeStatus[];
|
|
103
|
+
desiredVolumeCount?: number;
|
|
104
|
+
clusterId?: string;
|
|
105
|
+
}
|
|
106
|
+
export interface VolumeSnapshot {
|
|
107
|
+
name: string;
|
|
95
108
|
id?: string;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
lastModified?: Date;
|
|
103
|
-
links?: Links;
|
|
104
|
-
spec: VolumeSetSpec;
|
|
105
|
-
status?: VolumeSetStatus;
|
|
106
|
-
gvc?: any;
|
|
109
|
+
created: Date;
|
|
110
|
+
expires?: Date;
|
|
111
|
+
size?: number;
|
|
112
|
+
tags?: {
|
|
113
|
+
[x: string]: string;
|
|
114
|
+
}[];
|
|
107
115
|
}
|