@codiac.io/codiac-cli 1.3.121 → 1.3.122
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/README.md +1 -1
- package/dist/apis/codiac-api/i-client.d.ts +12 -0
- package/dist/apis/codiac-api-nats/gen/client.d.ts +5 -0
- package/dist/apis/codiac-api-nats/gen/client.js +22 -8
- package/dist/apis/codiac-api-nats/gen/client.js.map +1 -1
- package/dist/apis/codiac-api-nats/gen/config.d.ts +2 -1
- package/dist/apis/codiac-api-nats/gen/config.js +3 -2
- package/dist/apis/codiac-api-nats/gen/config.js.map +1 -1
- package/dist/apis/codiac-relay/gen/contracts/types.gen.d.ts +10 -3
- package/dist/apis/codiac-relay/gen/contracts/types.gen.js.map +1 -1
- package/dist/apis/codiac-relay-nats/common/creds.d.ts +8 -0
- package/dist/apis/codiac-relay-nats/common/creds.js +19 -0
- package/dist/apis/codiac-relay-nats/common/creds.js.map +1 -0
- package/dist/apis/codiac-relay-nats/common/token-utils.d.ts +11 -0
- package/dist/apis/codiac-relay-nats/common/token-utils.js +84 -0
- package/dist/apis/codiac-relay-nats/common/token-utils.js.map +1 -0
- package/dist/apis/codiac-relay-nats/common/token.d.ts +4 -0
- package/dist/apis/codiac-relay-nats/common/token.js +16 -0
- package/dist/apis/codiac-relay-nats/common/token.js.map +1 -0
- package/dist/apis/codiac-relay-nats/common/types.d.ts +8 -0
- package/dist/apis/codiac-relay-nats/common/types.js +3 -0
- package/dist/apis/codiac-relay-nats/common/types.js.map +1 -0
- package/dist/apis/codiac-relay-nats/common/utils.d.ts +56 -0
- package/dist/apis/codiac-relay-nats/common/utils.js +323 -0
- package/dist/apis/codiac-relay-nats/common/utils.js.map +1 -0
- package/dist/apis/codiac-relay-nats/gen/client.d.ts +995 -0
- package/dist/apis/codiac-relay-nats/gen/client.js +5750 -0
- package/dist/apis/codiac-relay-nats/gen/client.js.map +1 -0
- package/dist/apis/codiac-relay-nats/gen/config.d.ts +19 -0
- package/dist/apis/codiac-relay-nats/gen/config.js +19 -0
- package/dist/apis/codiac-relay-nats/gen/config.js.map +1 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/index.d.ts +1 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/index.js +6 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/index.js.map +1 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/transformers.gen.d.ts +315 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/transformers.gen.js +3656 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/transformers.gen.js.map +1 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.d.ts +16515 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.js +408 -0
- package/dist/apis/codiac-relay-nats/gen/contracts/types.gen.js.map +1 -0
- package/dist/apis/codiac-relay-nats/gen/contracts.ng.d.ts +4517 -0
- package/dist/apis/codiac-relay-nats/gen/contracts.ng.js +573 -0
- package/dist/apis/codiac-relay-nats/gen/contracts.ng.js.map +1 -0
- package/dist/apis/codiac-relay-nats/index.d.ts +3 -0
- package/dist/apis/codiac-relay-nats/index.js +7 -0
- package/dist/apis/codiac-relay-nats/index.js.map +1 -0
- package/dist/bootstrapper-for-api-clients.d.ts +6 -0
- package/dist/bootstrapper-for-api-clients.js +110 -0
- package/dist/bootstrapper-for-api-clients.js.map +1 -0
- package/dist/bootstrapper-for-enterprise-commands.js +2 -59
- package/dist/bootstrapper-for-enterprise-commands.js.map +1 -1
- package/dist/command-base-enterprise.js +17 -4
- package/dist/command-base-enterprise.js.map +1 -1
- package/dist/command-base-exec-tenant.js +11 -4
- package/dist/command-base-exec-tenant.js.map +1 -1
- package/dist/commands/asset/view.js +1 -1
- package/dist/commands/asset/view.js.map +1 -1
- package/dist/commands/cluster/connect.js +1 -1
- package/dist/commands/cluster/connect.js.map +1 -1
- package/dist/commands/csp/login.d.ts +25 -6
- package/dist/commands/csp/login.js +186 -142
- package/dist/commands/csp/login.js.map +1 -1
- package/dist/commands/csp/logout.d.ts +5 -3
- package/dist/commands/csp/logout.js +27 -16
- package/dist/commands/csp/logout.js.map +1 -1
- package/dist/commands/noc/cluster/forget.js +3 -3
- package/dist/commands/noc/cluster/forget.js.map +1 -1
- package/dist/ops/k8s/k8s-utils.d.ts +2 -1
- package/dist/ops/k8s/k8s-utils.js +4 -3
- package/dist/ops/k8s/k8s-utils.js.map +1 -1
- package/dist/ops/k8s/kube-config-utils.d.ts +2 -1
- package/dist/ops/k8s/kube-config-utils.js +1 -1
- package/dist/ops/k8s/kube-config-utils.js.map +1 -1
- package/dist/read-stdin.js +7 -6
- package/dist/read-stdin.js.map +1 -1
- package/dist/relay/relay-container.js +1 -1
- package/dist/sdk/i-login-configurator.d.ts +2 -1
- package/dist/sdk-adapters/azure/az-interactive-login-configurator.d.ts +2 -2
- package/dist/sdk-adapters/azure/az-interactive-login-configurator.js +2 -2
- package/dist/sdk-adapters/azure/az-interactive-login-configurator.js.map +1 -1
- package/dist/uilogic/cloud-provider-contextualizer.d.ts +5 -1
- package/dist/uilogic/cloud-provider-contextualizer.js +48 -7
- package/dist/uilogic/cloud-provider-contextualizer.js.map +1 -1
- package/oclif.manifest.json +60 -11
- package/package.json +2 -2
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Hr24 = exports.Day = exports.Permissions = exports.SecurityAccountTypeEnum = exports.ScopeLevel = exports.ProbeUsageTypesEnum = exports.ProbeActionTypesEnum = exports.Privilege = exports.PatchOperationType = exports.OrderEnum = exports.NativeDataTypeEnum = exports.KvpStoreTypesEnum = exports.Group = exports.KitAccessibilityEnum = exports.ImageRegistryTypes = exports.HostNameStrategyEnum = exports.OutputFormat = exports.FileStoreTypeEnum = exports.Provider = exports.AssetType = exports.Scheme = exports.Op = exports.Os = exports.Architecture = exports.HelmSupport = exports.Scope = exports.ProviderCode = exports._Error = exports.ConfigFormatsEnum = exports.ConfigDefTypesEnum = exports.Format = exports.Type = exports.NodesAccess = exports.K8sAccess = exports.CloudProviderEnum = exports.MatchTags = exports.CertIssuer = exports.AssetTypesEnum = exports.MemUnits = exports.Units = exports.ApiReadyStateEnum = void 0;
|
|
5
|
+
exports.ApiReadyStateEnum = {
|
|
6
|
+
bootstrapping: 'bootstrapping',
|
|
7
|
+
initializingPlugins: 'initializingPlugins',
|
|
8
|
+
instantiated: 'instantiated',
|
|
9
|
+
ready: 'ready',
|
|
10
|
+
reflecting: 'reflecting'
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* (undefined infers straight byte count)
|
|
14
|
+
*/
|
|
15
|
+
exports.Units = {
|
|
16
|
+
c: 'c',
|
|
17
|
+
d: 'd',
|
|
18
|
+
m: 'm',
|
|
19
|
+
n: 'n',
|
|
20
|
+
p: 'p',
|
|
21
|
+
'μ': 'μ'
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* (undefined infers straight byte count) Unit of measure for the memory usage in the memAvg property.
|
|
25
|
+
*/
|
|
26
|
+
exports.MemUnits = {
|
|
27
|
+
e: 'E',
|
|
28
|
+
ei: 'Ei',
|
|
29
|
+
g: 'G',
|
|
30
|
+
gi: 'Gi',
|
|
31
|
+
ki: 'Ki',
|
|
32
|
+
m: 'M',
|
|
33
|
+
mi: 'Mi',
|
|
34
|
+
p: 'P',
|
|
35
|
+
pi: 'Pi',
|
|
36
|
+
t: 'T',
|
|
37
|
+
ti: 'Ti',
|
|
38
|
+
k: 'k'
|
|
39
|
+
};
|
|
40
|
+
exports.AssetTypesEnum = {
|
|
41
|
+
helm: 'helm',
|
|
42
|
+
job: 'job',
|
|
43
|
+
service: 'service'
|
|
44
|
+
};
|
|
45
|
+
exports.CertIssuer = {
|
|
46
|
+
prod: 'prod',
|
|
47
|
+
staging: 'staging'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* (Optional: Defaults to `any`) Declares the logic that will be used to select cabinets from the given tags.
|
|
51
|
+
*
|
|
52
|
+
* * `any`: targets cabinets with **any** of the given tags (aka: OR logic).
|
|
53
|
+
* * `all`: targets only cabinets that have **all** of the given tags (aka: AND logic).
|
|
54
|
+
* * `none`: targets only cabinets that have **none** of the given tags (aka: NOT logic).
|
|
55
|
+
*/
|
|
56
|
+
exports.MatchTags = {
|
|
57
|
+
all: 'all',
|
|
58
|
+
any: 'any',
|
|
59
|
+
none: 'none'
|
|
60
|
+
};
|
|
61
|
+
/**
|
|
62
|
+
* Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials.
|
|
63
|
+
*/
|
|
64
|
+
exports.CloudProviderEnum = {
|
|
65
|
+
artifactHub: 'artifactHub',
|
|
66
|
+
aws: 'aws',
|
|
67
|
+
azure: 'azure',
|
|
68
|
+
dockerHub: 'dockerHub',
|
|
69
|
+
localMachine: 'localMachine',
|
|
70
|
+
other: 'other'
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* Declares whether the k8s api is available from the internet, the private network, or both.
|
|
74
|
+
*/
|
|
75
|
+
exports.K8sAccess = {
|
|
76
|
+
both: 'both',
|
|
77
|
+
private: 'private',
|
|
78
|
+
public: 'public'
|
|
79
|
+
};
|
|
80
|
+
/**
|
|
81
|
+
* Declares whether the nodes are placed within the public or private subnets within the cluster's vpc/vnet.
|
|
82
|
+
*/
|
|
83
|
+
exports.NodesAccess = {
|
|
84
|
+
both: 'both',
|
|
85
|
+
private: 'private',
|
|
86
|
+
public: 'public'
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Values of ScopedSetting.targetFile for NON-FILE configs.
|
|
90
|
+
*/
|
|
91
|
+
exports.Type = {
|
|
92
|
+
annotation: 'annotation',
|
|
93
|
+
env: 'env',
|
|
94
|
+
file: 'file',
|
|
95
|
+
filestore: 'filestore',
|
|
96
|
+
footprint: 'footprint',
|
|
97
|
+
helm: 'helm',
|
|
98
|
+
k8Spatch: 'k8spatch',
|
|
99
|
+
label: 'label',
|
|
100
|
+
permit: 'permit',
|
|
101
|
+
probing: 'probing'
|
|
102
|
+
};
|
|
103
|
+
exports.Format = {
|
|
104
|
+
ini: 'ini',
|
|
105
|
+
json: 'json',
|
|
106
|
+
toml: 'toml',
|
|
107
|
+
xml: 'xml',
|
|
108
|
+
yaml: 'yaml'
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Values of ScopedSetting.targetFile for NON-FILE configs.
|
|
112
|
+
*/
|
|
113
|
+
exports.ConfigDefTypesEnum = {
|
|
114
|
+
annotation: 'annotation',
|
|
115
|
+
env: 'env',
|
|
116
|
+
file: 'file',
|
|
117
|
+
filestore: 'filestore',
|
|
118
|
+
footprint: 'footprint',
|
|
119
|
+
helm: 'helm',
|
|
120
|
+
k8Spatch: 'k8spatch',
|
|
121
|
+
label: 'label',
|
|
122
|
+
permit: 'permit',
|
|
123
|
+
probing: 'probing'
|
|
124
|
+
};
|
|
125
|
+
/**
|
|
126
|
+
* Serializer declaration for a data document.
|
|
127
|
+
*/
|
|
128
|
+
exports.ConfigFormatsEnum = {
|
|
129
|
+
ini: 'ini',
|
|
130
|
+
json: 'json',
|
|
131
|
+
toml: 'toml',
|
|
132
|
+
xml: 'xml',
|
|
133
|
+
yaml: 'yaml'
|
|
134
|
+
};
|
|
135
|
+
/**
|
|
136
|
+
* (Common Error scenario) An error code string that can be used to classify types of errors, and to react to errors.
|
|
137
|
+
* This part of the error is provided so that the app can react appropriately to the error, but does not explain in depth why an error occurred.
|
|
138
|
+
*/
|
|
139
|
+
exports._Error = {
|
|
140
|
+
accessDenied: 'access_denied',
|
|
141
|
+
interactionRequired: 'interaction_required',
|
|
142
|
+
invalidRequest: 'invalid_request',
|
|
143
|
+
invalidResource: 'invalid_resource',
|
|
144
|
+
loginRequired: 'login_required',
|
|
145
|
+
serverError: 'server_error',
|
|
146
|
+
temporarilyUnavailable: 'temporarily_unavailable',
|
|
147
|
+
unauthorizedClient: 'unauthorized_client',
|
|
148
|
+
unsupportedResponseType: 'unsupported_response_type'
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Cloud Service Provider (CSP) code. eg: `azure`, `aws`, etc.
|
|
152
|
+
*/
|
|
153
|
+
exports.ProviderCode = {
|
|
154
|
+
artifactHub: 'artifactHub',
|
|
155
|
+
aws: 'aws',
|
|
156
|
+
azure: 'azure',
|
|
157
|
+
dockerHub: 'dockerHub',
|
|
158
|
+
other: 'other'
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* (Optional, defaults to `PullSecretScopesEnum.everywhere`)
|
|
162
|
+
* Declares the applicability of the pull secrets,
|
|
163
|
+
* allowing teams to reserve the need for pullsecrets for just the cases
|
|
164
|
+
* in which clusters have to cross CSP subscription boundaries to access the image registry.
|
|
165
|
+
*/
|
|
166
|
+
exports.Scope = {
|
|
167
|
+
everywhere: 'everywhere',
|
|
168
|
+
unmatchingSubx: 'unmatchingSubx'
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Declaration of which paradigm to use for implementing Helm chart operations with a a given registry.
|
|
172
|
+
*/
|
|
173
|
+
exports.HelmSupport = {
|
|
174
|
+
classic: 'classic',
|
|
175
|
+
oci: 'oci'
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Indicator for the type of image Linux or Windows.
|
|
179
|
+
* (At least until thatt wonderful day that the very last Windows image is obliterated from the industry).
|
|
180
|
+
* Indicator for the type of image Linux or Windows.
|
|
181
|
+
* (At least until that wonderful day that the very last Windows image is obliterated from the industry).
|
|
182
|
+
*/
|
|
183
|
+
exports.Architecture = {
|
|
184
|
+
amd64: 'amd64',
|
|
185
|
+
arm32V6: 'arm32v6',
|
|
186
|
+
arm32V7: 'arm32v7',
|
|
187
|
+
arm64V8: 'arm64v8',
|
|
188
|
+
windowsAmd64: 'windows-amd64'
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* Indicator for the type of image Linux or Windows.
|
|
192
|
+
* (At least until that wonderful day that the very last Windows image is obliterated from the industry).
|
|
193
|
+
*/
|
|
194
|
+
exports.Os = {
|
|
195
|
+
linux: 'Linux',
|
|
196
|
+
windows: 'Windows'
|
|
197
|
+
};
|
|
198
|
+
exports.Op = {
|
|
199
|
+
'!=': '!=',
|
|
200
|
+
'=': '=',
|
|
201
|
+
'==': '=='
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Scheme to use for connecting to the host.
|
|
205
|
+
*/
|
|
206
|
+
exports.Scheme = {
|
|
207
|
+
http: 'http',
|
|
208
|
+
https: 'https'
|
|
209
|
+
};
|
|
210
|
+
exports.AssetType = {
|
|
211
|
+
helm: 'helm',
|
|
212
|
+
job: 'job',
|
|
213
|
+
service: 'service'
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Identifier for a supported cloud service provider, for use in selecting infrastructure clients, provisioners, and credentials.
|
|
217
|
+
*/
|
|
218
|
+
exports.Provider = {
|
|
219
|
+
artifactHub: 'artifactHub',
|
|
220
|
+
aws: 'aws',
|
|
221
|
+
azure: 'azure',
|
|
222
|
+
dockerHub: 'dockerHub',
|
|
223
|
+
localMachine: 'localMachine',
|
|
224
|
+
other: 'other'
|
|
225
|
+
};
|
|
226
|
+
/**
|
|
227
|
+
* Supported file store adapters that can be mapped to a reserved folder on an asset.
|
|
228
|
+
*
|
|
229
|
+
* IMPORTANT!!! Key names are `"camelCase"`, whereas the values are `"PascalCase"`.
|
|
230
|
+
* This mismatching is the result of a late change after values had already been written the the production database.
|
|
231
|
+
*/
|
|
232
|
+
exports.FileStoreTypeEnum = {
|
|
233
|
+
awsEbs: 'AwsEbs',
|
|
234
|
+
awsEfs: 'AwsEfs',
|
|
235
|
+
awsS3Bucket: 'AwsS3Bucket',
|
|
236
|
+
azureBlobStorage: 'AzureBlobStorage',
|
|
237
|
+
azureDisk: 'AzureDisk',
|
|
238
|
+
azureFileStorage: 'AzureFileStorage',
|
|
239
|
+
hostMachineFolder: 'HostMachineFolder'
|
|
240
|
+
};
|
|
241
|
+
/**
|
|
242
|
+
* Declaration of how to render an object.
|
|
243
|
+
*/
|
|
244
|
+
exports.OutputFormat = {
|
|
245
|
+
auto: 'auto',
|
|
246
|
+
json: 'json',
|
|
247
|
+
pretty: 'pretty',
|
|
248
|
+
yaml: 'yaml'
|
|
249
|
+
};
|
|
250
|
+
exports.HostNameStrategyEnum = {
|
|
251
|
+
cabDotClusterDotDomainSlashService: 'cab_dot_cluster_dot_domain_slash_service',
|
|
252
|
+
cabDotClusterDotEnterpriseDotDomainSlashService: 'cab_dot_cluster_dot_enterprise_dot_domain_slash_service',
|
|
253
|
+
cabDotDomainSlashService: 'cab_dot_domain_slash_service',
|
|
254
|
+
domainSlashService: 'domain_slash_service',
|
|
255
|
+
globallySharedDomainSlashService: 'globally_shared_domain_slash_service',
|
|
256
|
+
serviceDotDomain: 'service_dot_domain',
|
|
257
|
+
sharedIngressIp: 'shared_ingress_ip',
|
|
258
|
+
svcDotCabDotDomain: 'svc_dot_cab_dot_domain'
|
|
259
|
+
};
|
|
260
|
+
/**
|
|
261
|
+
* IMPORTANT!!! Key names are `"camelCase"`, whereas the values are `"PascalCase"`.
|
|
262
|
+
* This mismatching is the result of a late change after values had already been written the the production database.
|
|
263
|
+
*/
|
|
264
|
+
exports.ImageRegistryTypes = {
|
|
265
|
+
amazonEcr: 'AmazonEcr',
|
|
266
|
+
azureCr: 'AzureCr',
|
|
267
|
+
dockerHub: 'DockerHub',
|
|
268
|
+
other: 'Other',
|
|
269
|
+
helm: 'helm'
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* Indicates who in the Codiac universe is allowed to view and use a Kit.
|
|
273
|
+
*/
|
|
274
|
+
exports.KitAccessibilityEnum = {
|
|
275
|
+
friends: 'friends',
|
|
276
|
+
private: 'private',
|
|
277
|
+
public: 'public'
|
|
278
|
+
};
|
|
279
|
+
exports.Group = {
|
|
280
|
+
privateUse: 'privateUse',
|
|
281
|
+
registered: 'registered',
|
|
282
|
+
wellknown: 'wellknown'
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* List of codenames for supported KeyValue stores.
|
|
286
|
+
* eg: Clients for these types of stores are registered under these values.
|
|
287
|
+
*/
|
|
288
|
+
exports.KvpStoreTypesEnum = {
|
|
289
|
+
awsKeyVault: 'awsKeyVault',
|
|
290
|
+
azBlob: 'azBlob',
|
|
291
|
+
azKeyVault: 'azKeyVault',
|
|
292
|
+
etcd: 'etcd',
|
|
293
|
+
mongoCollection: 'mongoCollection',
|
|
294
|
+
mongoDocument: 'mongoDocument'
|
|
295
|
+
};
|
|
296
|
+
exports.NativeDataTypeEnum = {
|
|
297
|
+
boolean: 'boolean',
|
|
298
|
+
float32: 'float32',
|
|
299
|
+
float64: 'float64',
|
|
300
|
+
int16: 'int16',
|
|
301
|
+
int32: 'int32',
|
|
302
|
+
int8: 'int8',
|
|
303
|
+
string: 'string',
|
|
304
|
+
timestamp: 'timestamp',
|
|
305
|
+
uint16: 'uint16',
|
|
306
|
+
uint32: 'uint32',
|
|
307
|
+
uint8: 'uint8'
|
|
308
|
+
};
|
|
309
|
+
/**
|
|
310
|
+
* Specifies the direction that a single property should be sorted.
|
|
311
|
+
*/
|
|
312
|
+
exports.OrderEnum = {
|
|
313
|
+
asc: 'asc',
|
|
314
|
+
desc: 'desc'
|
|
315
|
+
};
|
|
316
|
+
exports.PatchOperationType = {
|
|
317
|
+
add: 'add',
|
|
318
|
+
copy: 'copy',
|
|
319
|
+
move: 'move',
|
|
320
|
+
remove: 'remove',
|
|
321
|
+
replace: 'replace',
|
|
322
|
+
test: 'test'
|
|
323
|
+
};
|
|
324
|
+
/**
|
|
325
|
+
* A type of operation that a given Role is allowed to perform on a securable object.
|
|
326
|
+
*
|
|
327
|
+
* IMPORTANT!!! Key names are `"camelCase"`, whereas the values are `"PascalCase"`.
|
|
328
|
+
* This mismatching is the result of a late change after values had already been written the the production database.
|
|
329
|
+
*/
|
|
330
|
+
exports.Privilege = {
|
|
331
|
+
create: 'Create',
|
|
332
|
+
delete: 'Delete',
|
|
333
|
+
execute: 'Execute',
|
|
334
|
+
read: 'Read',
|
|
335
|
+
update: 'Update'
|
|
336
|
+
};
|
|
337
|
+
/**
|
|
338
|
+
* Type declaration for the Probe sub-class, determining the nature of its behavior and handling.
|
|
339
|
+
*/
|
|
340
|
+
exports.ProbeActionTypesEnum = {
|
|
341
|
+
exec: 'exec',
|
|
342
|
+
grpc: 'grpc',
|
|
343
|
+
http: 'http',
|
|
344
|
+
socket: 'socket'
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* Declaration of what purpose the probe serves,
|
|
348
|
+
* ie: where a probe is fired in the runtime lifecycle of an asset.
|
|
349
|
+
*/
|
|
350
|
+
exports.ProbeUsageTypesEnum = {
|
|
351
|
+
liveness: 'liveness',
|
|
352
|
+
readiness: 'readiness',
|
|
353
|
+
startup: 'startup'
|
|
354
|
+
};
|
|
355
|
+
exports.ScopeLevel = {
|
|
356
|
+
cabinet: 'cabinet',
|
|
357
|
+
enterprise: 'enterprise',
|
|
358
|
+
environment: 'environment'
|
|
359
|
+
};
|
|
360
|
+
/**
|
|
361
|
+
* The security strategy employed on the cluster,
|
|
362
|
+
* indictating which type of security account
|
|
363
|
+
* will be used to identify the cluster and enforce its authorizations.
|
|
364
|
+
*/
|
|
365
|
+
exports.SecurityAccountTypeEnum = {
|
|
366
|
+
managedIdentity: 'managedIdentity',
|
|
367
|
+
servicePrincipal: 'servicePrincipal'
|
|
368
|
+
};
|
|
369
|
+
exports.Permissions = {
|
|
370
|
+
full: 'Full',
|
|
371
|
+
read: 'Read'
|
|
372
|
+
};
|
|
373
|
+
exports.Day = {
|
|
374
|
+
fr: 'fr',
|
|
375
|
+
mo: 'mo',
|
|
376
|
+
sa: 'sa',
|
|
377
|
+
su: 'su',
|
|
378
|
+
th: 'th',
|
|
379
|
+
tu: 'tu',
|
|
380
|
+
we: 'we'
|
|
381
|
+
};
|
|
382
|
+
exports.Hr24 = {
|
|
383
|
+
0: 0,
|
|
384
|
+
1: 1,
|
|
385
|
+
10: 10,
|
|
386
|
+
11: 11,
|
|
387
|
+
12: 12,
|
|
388
|
+
13: 13,
|
|
389
|
+
14: 14,
|
|
390
|
+
15: 15,
|
|
391
|
+
16: 16,
|
|
392
|
+
17: 17,
|
|
393
|
+
18: 18,
|
|
394
|
+
19: 19,
|
|
395
|
+
2: 2,
|
|
396
|
+
20: 20,
|
|
397
|
+
21: 21,
|
|
398
|
+
22: 22,
|
|
399
|
+
23: 23,
|
|
400
|
+
3: 3,
|
|
401
|
+
4: 4,
|
|
402
|
+
5: 5,
|
|
403
|
+
6: 6,
|
|
404
|
+
7: 7,
|
|
405
|
+
8: 8,
|
|
406
|
+
9: 9
|
|
407
|
+
};
|
|
408
|
+
//# sourceMappingURL=types.gen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.gen.js","sourceRoot":"","sources":["../../../../../src/apis/codiac-relay-nats/gen/contracts/types.gen.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AA2JxC,QAAA,iBAAiB,GAAG;IAC7B,aAAa,EAAE,eAAe;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,YAAY,EAAE,cAAc;IAC5B,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,YAAY;CAClB,CAAC;AAwGX;;GAEG;AACU,QAAA,KAAK,GAAG;IACjB,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,CAAC,EAAE,GAAG;IACN,GAAG,EAAE,GAAG;CACF,CAAC;AA8BX;;GAEG;AACU,QAAA,QAAQ,GAAG;IACpB,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,EAAE,EAAE,IAAI;IACR,CAAC,EAAE,GAAG;IACN,EAAE,EAAE,IAAI;IACR,CAAC,EAA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