@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,33 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type
|
|
3
|
-
export interface
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Kind, Tags, Links, LocalLink } from './base.js';
|
|
2
|
+
export type CertChallengeType = 'http01' | 'dns01';
|
|
3
|
+
export interface DnsConfigRecord {
|
|
4
|
+
type?: string;
|
|
5
|
+
ttl?: number;
|
|
6
|
+
host?: string;
|
|
7
|
+
value?: string;
|
|
7
8
|
}
|
|
8
|
-
export interface
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
export interface Domain {
|
|
10
|
+
id?: string;
|
|
11
|
+
kind?: Kind;
|
|
12
|
+
version?: number;
|
|
13
|
+
description?: string;
|
|
14
|
+
tags?: Tags;
|
|
15
|
+
created?: Date;
|
|
16
|
+
lastModified?: Date;
|
|
17
|
+
links?: Links;
|
|
18
|
+
name?: string;
|
|
19
|
+
spec?: DomainSpec;
|
|
20
|
+
status?: DomainStatus;
|
|
20
21
|
}
|
|
21
|
-
export interface
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
export interface DomainSpec {
|
|
23
|
+
dnsMode?: 'cname' | 'ns';
|
|
24
|
+
gvcLink?: string;
|
|
25
|
+
certChallengeType?: 'http01' | 'dns01';
|
|
26
|
+
workloadLink?: string;
|
|
27
|
+
acceptAllHosts?: boolean;
|
|
28
|
+
acceptAllSubdomains?: boolean;
|
|
29
|
+
ports?: ExternalPort[];
|
|
30
|
+
}
|
|
31
|
+
export interface DomainStatus {
|
|
32
|
+
endpoints?: {
|
|
33
|
+
url: string;
|
|
34
|
+
workloadLink?: LocalLink;
|
|
35
|
+
}[];
|
|
36
|
+
status?: 'initializing' | 'ready' | 'pendingDnsConfig' | 'pendingCertificate' | 'usedByGvc' | 'warning' | 'created' | 'updated' | 'deleted' | 'errored' | 'ignored';
|
|
37
|
+
warning?: string;
|
|
38
|
+
locations?: ({
|
|
39
|
+
name: string;
|
|
40
|
+
certificateStatus?: 'initializing' | 'ready' | 'pendingDnsConfig' | 'pendingCertificate' | 'ignored';
|
|
41
|
+
})[];
|
|
42
|
+
fingerprint?: string;
|
|
43
|
+
dnsConfig?: DnsConfigRecord[];
|
|
30
44
|
}
|
|
45
|
+
export type EnvoyHeaderValue = string;
|
|
31
46
|
export interface ExternalPort {
|
|
32
47
|
number?: number;
|
|
33
48
|
protocol?: 'http' | 'http2' | 'tcp';
|
|
@@ -54,46 +69,31 @@ export interface ExternalPort {
|
|
|
54
69
|
};
|
|
55
70
|
};
|
|
56
71
|
}
|
|
57
|
-
export
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
export interface DnsConfigRecord {
|
|
68
|
-
type?: string;
|
|
69
|
-
ttl?: number;
|
|
70
|
-
host?: string;
|
|
71
|
-
value?: string;
|
|
72
|
+
export interface ExternalPortTLS {
|
|
73
|
+
minProtocolVersion?: 'TLSV1_3' | 'TLSV1_2' | 'TLSV1_1' | 'TLSV1_0';
|
|
74
|
+
cipherSuites?: ('ECDHE-ECDSA-AES256-GCM-SHA384' | 'ECDHE-ECDSA-CHACHA20-POLY1305' | 'ECDHE-ECDSA-AES128-GCM-SHA256' | 'ECDHE-RSA-AES256-GCM-SHA384' | 'ECDHE-RSA-CHACHA20-POLY1305' | 'ECDHE-RSA-AES128-GCM-SHA256' | 'AES256-GCM-SHA384' | 'AES128-GCM-SHA256' | 'TLS_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256' | 'TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384' | 'TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256' | 'TLS_CHACHA20_POLY1305_SHA256' | 'TLS_AES_256_GCM_SHA384' | 'TLS_AES_128_GCM_SHA256' | 'DES-CBC3-SHA' | 'ECDHE-RSA-AES128-SHA' | 'ECDHE-RSA-AES256-SHA' | 'AES128-SHA' | 'AES256-SHA')[];
|
|
75
|
+
clientCertificate?: {
|
|
76
|
+
secretLink?: string;
|
|
77
|
+
};
|
|
78
|
+
serverCertificate?: {
|
|
79
|
+
secretLink?: string;
|
|
80
|
+
};
|
|
72
81
|
}
|
|
73
|
-
export interface
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}[];
|
|
78
|
-
status?: 'initializing' | 'ready' | 'pendingDnsConfig' | 'pendingCertificate' | 'usedByGvc' | 'warning' | 'created' | 'updated' | 'deleted' | 'errored' | 'ignored';
|
|
79
|
-
warning?: string;
|
|
80
|
-
locations?: ({
|
|
81
|
-
name: string;
|
|
82
|
-
certificateStatus?: 'initializing' | 'ready' | 'pendingDnsConfig' | 'pendingCertificate' | 'ignored';
|
|
83
|
-
})[];
|
|
84
|
-
fingerprint?: string;
|
|
85
|
-
dnsConfig?: DnsConfigRecord[];
|
|
82
|
+
export interface HeaderOperation {
|
|
83
|
+
set?: {
|
|
84
|
+
[x: string]: EnvoyHeaderValue;
|
|
85
|
+
};
|
|
86
86
|
}
|
|
87
|
-
export interface
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
87
|
+
export interface Route {
|
|
88
|
+
replacePrefix?: string;
|
|
89
|
+
regex?: string;
|
|
90
|
+
prefix?: string;
|
|
91
|
+
workloadLink: string;
|
|
92
|
+
port?: number;
|
|
93
|
+
hostPrefix?: string;
|
|
94
|
+
hostRegex?: string;
|
|
95
|
+
headers?: {
|
|
96
|
+
request?: HeaderOperation;
|
|
97
|
+
};
|
|
98
|
+
replica?: number;
|
|
99
99
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccessLog } from './envoyAccessLog';
|
|
2
|
-
import { Cluster } from './envoyCluster';
|
|
3
|
-
import { ExcExtAuth, ExcludedRateLimit } from './envoyExcExtAuth';
|
|
4
|
-
import { HttpFilter } from './envoyHttp';
|
|
5
|
-
import { VolumeSpec } from './volumeSpec';
|
|
1
|
+
import { AccessLog } from './envoyAccessLog.js';
|
|
2
|
+
import { Cluster } from './envoyCluster.js';
|
|
3
|
+
import { ExcExtAuth, ExcludedRateLimit } from './envoyExcExtAuth.js';
|
|
4
|
+
import { HttpFilter } from './envoyHttp.js';
|
|
5
|
+
import { VolumeSpec } from './volumeSpec.js';
|
|
6
6
|
export interface EnvoyFilters {
|
|
7
7
|
accessLog?: AccessLog[];
|
|
8
8
|
clusters?: Cluster[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Priority, GrpcService, ApiVersion, Duration, UInt32, RetryPolicy } from './envoyCommon';
|
|
1
|
+
import { Priority, GrpcService, ApiVersion, Duration, UInt32, RetryPolicy } from './envoyCommon.js';
|
|
2
2
|
export interface AccessLog {
|
|
3
3
|
priority?: Priority;
|
|
4
4
|
name?: 'envoy.http_grpc_access_log';
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
import { Struct } from './envoyCommon';
|
|
2
|
-
export interface Metadata {
|
|
3
|
-
filter_metadata?: {
|
|
4
|
-
[x: string]: Struct;
|
|
5
|
-
};
|
|
6
|
-
typed_filter_metadata?: {
|
|
7
|
-
[x: string]: any;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
1
|
+
import { Struct } from './envoyCommon.js';
|
|
10
2
|
export interface Cluster {
|
|
11
3
|
name: string;
|
|
12
4
|
excludedWorkloads?: string[];
|
|
@@ -62,3 +54,11 @@ export interface Cluster {
|
|
|
62
54
|
preconnect_policy?: any;
|
|
63
55
|
connection_pool_per_downstream_connection?: any;
|
|
64
56
|
}
|
|
57
|
+
export interface Metadata {
|
|
58
|
+
filter_metadata?: {
|
|
59
|
+
[x: string]: Struct;
|
|
60
|
+
};
|
|
61
|
+
typed_filter_metadata?: {
|
|
62
|
+
[x: string]: any;
|
|
63
|
+
};
|
|
64
|
+
}
|