@controlplane/schema 1.0.6 → 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.
Files changed (63) hide show
  1. package/build/src/interfaces/accessreport.d.ts +11 -11
  2. package/build/src/interfaces/agent.d.ts +14 -10
  3. package/build/src/interfaces/auditctx.d.ts +4 -4
  4. package/build/src/interfaces/base.d.ts +20 -20
  5. package/build/src/interfaces/cloudaccount.d.ts +7 -7
  6. package/build/src/interfaces/command.d.ts +164 -125
  7. package/build/src/interfaces/config.d.ts +2 -4
  8. package/build/src/interfaces/containerstatus.d.ts +6 -6
  9. package/build/src/interfaces/cronjob.d.ts +1 -1
  10. package/build/src/interfaces/dbcluster.d.ts +1 -1
  11. package/build/src/interfaces/deployment.d.ts +20 -20
  12. package/build/src/interfaces/domain.d.ts +67 -67
  13. package/build/src/interfaces/env.d.ts +1 -1
  14. package/build/src/interfaces/envoy.d.ts +5 -5
  15. package/build/src/interfaces/envoyAccessLog.d.ts +1 -1
  16. package/build/src/interfaces/envoyCluster.d.ts +9 -9
  17. package/build/src/interfaces/envoyCommon.d.ts +301 -301
  18. package/build/src/interfaces/envoyExcExtAuth.d.ts +2 -2
  19. package/build/src/interfaces/envoyHttp.d.ts +146 -146
  20. package/build/src/interfaces/envoyRateLimit.d.ts +1 -1
  21. package/build/src/interfaces/event.d.ts +9 -9
  22. package/build/src/interfaces/group.d.ts +2 -2
  23. package/build/src/interfaces/gvc.d.ts +185 -66
  24. package/build/src/interfaces/identity.d.ts +96 -63
  25. package/build/src/interfaces/image.d.ts +1 -1
  26. package/build/src/interfaces/ipSet.d.ts +14 -14
  27. package/build/src/interfaces/location.d.ts +16 -16
  28. package/build/src/interfaces/memcache.d.ts +7 -7
  29. package/build/src/interfaces/mk8s.d.ts +65 -65
  30. package/build/src/interfaces/mk8sAddons.d.ts +127 -60
  31. package/build/src/interfaces/mk8sAws.d.ts +6 -6
  32. package/build/src/interfaces/mk8sAzure.d.ts +10 -10
  33. package/build/src/interfaces/mk8sCommon.d.ts +26 -26
  34. package/build/src/interfaces/mk8sDigitalOcean.d.ts +2 -2
  35. package/build/src/interfaces/mk8sEphemeral.d.ts +1 -1
  36. package/build/src/interfaces/mk8sGcp.d.ts +9 -9
  37. package/build/src/interfaces/mk8sGeneric.d.ts +5 -5
  38. package/build/src/interfaces/mk8sHetzner.d.ts +10 -10
  39. package/build/src/interfaces/mk8sLambdalabs.d.ts +5 -5
  40. package/build/src/interfaces/mk8sLinode.d.ts +6 -6
  41. package/build/src/interfaces/mk8sOblivus.d.ts +5 -5
  42. package/build/src/interfaces/mk8sPaperspace.d.ts +5 -5
  43. package/build/src/interfaces/mk8sTriton.d.ts +23 -23
  44. package/build/src/interfaces/org.d.ts +34 -32
  45. package/build/src/interfaces/orgLogging.d.ts +32 -25
  46. package/build/src/interfaces/permissions.d.ts +1 -1
  47. package/build/src/interfaces/policy.d.ts +2 -2
  48. package/build/src/interfaces/policyMembership.d.ts +6 -6
  49. package/build/src/interfaces/query.d.ts +24 -17
  50. package/build/src/interfaces/quota.d.ts +1 -1
  51. package/build/src/interfaces/resourcePolicy.d.ts +1 -1
  52. package/build/src/interfaces/secret.d.ts +23 -23
  53. package/build/src/interfaces/serviceaccount.d.ts +7 -7
  54. package/build/src/interfaces/spicedb.d.ts +1 -1
  55. package/build/src/interfaces/statefulSet.d.ts +1 -1
  56. package/build/src/interfaces/task.d.ts +1 -1
  57. package/build/src/interfaces/tenant.d.ts +5 -5
  58. package/build/src/interfaces/tracing.d.ts +16 -8
  59. package/build/src/interfaces/user.d.ts +12 -12
  60. package/build/src/interfaces/volumeSet.d.ts +54 -46
  61. package/build/src/interfaces/workload.d.ts +241 -200
  62. package/build/src/interfaces/workloadOptions.d.ts +47 -14
  63. package/package.json +1 -1
@@ -1,33 +1,48 @@
1
- import { LocalLink, Kind, Tags, Links } from './base';
2
- export type EnvoyHeaderValue = string;
3
- export interface HeaderOperation {
4
- set?: {
5
- [x: string]: EnvoyHeaderValue;
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 Route {
9
- replacePrefix?: string;
10
- regex?: string;
11
- prefix?: string;
12
- workloadLink: string;
13
- port?: number;
14
- hostPrefix?: string;
15
- hostRegex?: string;
16
- headers?: {
17
- request?: HeaderOperation;
18
- };
19
- replica?: number;
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 ExternalPortTLS {
22
- minProtocolVersion?: 'TLSV1_3' | 'TLSV1_2' | 'TLSV1_1' | 'TLSV1_0';
23
- 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')[];
24
- clientCertificate?: {
25
- secretLink?: string;
26
- };
27
- serverCertificate?: {
28
- secretLink?: string;
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 type CertChallengeType = 'http01' | 'dns01';
58
- export interface DomainSpec {
59
- dnsMode?: 'cname' | 'ns';
60
- gvcLink?: string;
61
- certChallengeType?: 'http01' | 'dns01';
62
- workloadLink?: string;
63
- acceptAllHosts?: boolean;
64
- acceptAllSubdomains?: boolean;
65
- ports?: ExternalPort[];
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 DomainStatus {
74
- endpoints?: {
75
- url: string;
76
- workloadLink?: LocalLink;
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 Domain {
88
- id?: string;
89
- kind?: Kind;
90
- version?: number;
91
- description?: string;
92
- tags?: Tags;
93
- created?: Date;
94
- lastModified?: Date;
95
- links?: Links;
96
- name?: string;
97
- spec?: DomainSpec;
98
- status?: DomainStatus;
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,6 +1,6 @@
1
+ export type EnvCollection = EnvVar[];
1
2
  export type EnvName = string;
2
3
  export interface EnvVar {
3
4
  name: string;
4
5
  value?: string;
5
6
  }
6
- export type EnvCollection = EnvVar[];
@@ -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
+ }