@codiac.io/codiac-cli 1.2.145 → 1.2.147
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 +109 -114
- package/lib/apis/codiac-relay/gen/contracts.d.ts +9 -0
- package/lib/apis/codiac-relay/gen/contracts.js.map +1 -1
- package/lib/commands/asset/list.js +2 -1
- package/lib/commands/asset/list.js.map +1 -1
- package/lib/commands/asset/view.js +2 -1
- package/lib/commands/asset/view.js.map +1 -1
- package/lib/commands/config/import.js +8 -1
- package/lib/commands/config/import.js.map +1 -1
- package/lib/commands/csp/login.d.ts +22 -0
- package/lib/commands/csp/login.js +98 -0
- package/lib/commands/csp/login.js.map +1 -0
- package/lib/read-stdin.js +3 -0
- package/lib/read-stdin.js.map +1 -1
- package/lib/relay/relay-container.js +7 -7
- package/lib/relay/relay-container.js.map +1 -1
- package/lib/uilogic/cloud-provider-contextualizer.js +8 -5
- package/lib/uilogic/cloud-provider-contextualizer.js.map +1 -1
- package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js +2 -2
- package/lib/uilogic/cloud-resource-configurators/azure-resource-configurator.js.map +1 -1
- package/lib/uilogic/render-methods.js +6 -0
- package/lib/uilogic/render-methods.js.map +1 -1
- package/oclif.manifest.json +106 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,16 +9,14 @@ oclif example Hello World CLI
|
|
|
9
9
|
[](https://github.com/oclif/hello-world/blob/main/package.json)
|
|
10
10
|
|
|
11
11
|
<!-- toc -->
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<!-- tocstop -->
|
|
12
|
+
* [codiac-cli](#codiac-cli-1)
|
|
13
|
+
* [Usage](#usage)
|
|
14
|
+
* [Commands](#commands)
|
|
15
|
+
<!-- tocstop -->
|
|
17
16
|
|
|
18
17
|
# Usage
|
|
19
18
|
|
|
20
19
|
<!-- usage -->
|
|
21
|
-
|
|
22
20
|
```sh-session
|
|
23
21
|
$ npm install -g @codiac.io/codiac-cli
|
|
24
22
|
$ codiac COMMAND
|
|
@@ -30,103 +28,101 @@ USAGE
|
|
|
30
28
|
$ codiac COMMAND
|
|
31
29
|
...
|
|
32
30
|
```
|
|
33
|
-
|
|
34
31
|
<!-- usagestop -->
|
|
35
32
|
|
|
36
33
|
# Commands
|
|
37
34
|
|
|
38
35
|
<!-- commands -->
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
- [`codiac whoami`](#codiac-whoami)
|
|
36
|
+
* [`codiac asset:create`](#codiac-assetcreate)
|
|
37
|
+
* [`codiac asset:destroy`](#codiac-assetdestroy)
|
|
38
|
+
* [`codiac asset:helm [SETTING]`](#codiac-assethelm-setting)
|
|
39
|
+
* [`codiac asset:list`](#codiac-assetlist)
|
|
40
|
+
* [`codiac asset:probe:create [CMD]`](#codiac-assetprobecreate-cmd)
|
|
41
|
+
* [`codiac asset:recycle`](#codiac-assetrecycle)
|
|
42
|
+
* [`codiac asset:view [CMD]`](#codiac-assetview-cmd)
|
|
43
|
+
* [`codiac asset:volume:create [MOUNTPATH]`](#codiac-assetvolumecreate-mountpath)
|
|
44
|
+
* [`codiac asset:volume:delete`](#codiac-assetvolumedelete)
|
|
45
|
+
* [`codiac asset:volume:list`](#codiac-assetvolumelist)
|
|
46
|
+
* [`codiac autocomplete [SHELL]`](#codiac-autocomplete-shell)
|
|
47
|
+
* [`codiac branch [NAME]`](#codiac-branch-name)
|
|
48
|
+
* [`codiac branch:current`](#codiac-branchcurrent)
|
|
49
|
+
* [`codiac branch:list`](#codiac-branchlist)
|
|
50
|
+
* [`codiac build`](#codiac-build)
|
|
51
|
+
* [`codiac cabinet:create [CABINET]`](#codiac-cabinetcreate-cabinet)
|
|
52
|
+
* [`codiac cabinet:list`](#codiac-cabinetlist)
|
|
53
|
+
* [`codiac cabinet:obliterate [CABINET]`](#codiac-cabinetobliterate-cabinet)
|
|
54
|
+
* [`codiac cli`](#codiac-cli)
|
|
55
|
+
* [`codiac commit [MESSAGE]`](#codiac-commit-message)
|
|
56
|
+
* [`codiac config:add [SETTING]`](#codiac-configadd-setting)
|
|
57
|
+
* [`codiac config:delete [SETTING]`](#codiac-configdelete-setting)
|
|
58
|
+
* [`codiac config:deploy`](#codiac-configdeploy)
|
|
59
|
+
* [`codiac config:import [SETTING]`](#codiac-configimport-setting)
|
|
60
|
+
* [`codiac config:view [SETTING]`](#codiac-configview-setting)
|
|
61
|
+
* [`codiac dep [NAME]`](#codiac-dep-name)
|
|
62
|
+
* [`codiac dep:create [URL]`](#codiac-depcreate-url)
|
|
63
|
+
* [`codiac dep:install`](#codiac-depinstall)
|
|
64
|
+
* [`codiac dep:list`](#codiac-deplist)
|
|
65
|
+
* [`codiac dep:remove [NAME]`](#codiac-depremove-name)
|
|
66
|
+
* [`codiac dep:source [NAME]`](#codiac-depsource-name)
|
|
67
|
+
* [`codiac dep:syncup [DEPENDENCY]`](#codiac-depsyncup-dependency)
|
|
68
|
+
* [`codiac dep:unsource [NAME]`](#codiac-depunsource-name)
|
|
69
|
+
* [`codiac dep:upgrade [DEPENDENCY]`](#codiac-depupgrade-dependency)
|
|
70
|
+
* [`codiac deploy`](#codiac-deploy)
|
|
71
|
+
* [`codiac enterprise:create [CODE]`](#codiac-enterprisecreate-code)
|
|
72
|
+
* [`codiac enterprise:list`](#codiac-enterpriselist)
|
|
73
|
+
* [`codiac env:add [SETTING]`](#codiac-envadd-setting)
|
|
74
|
+
* [`codiac environment:create [NAME]`](#codiac-environmentcreate-name)
|
|
75
|
+
* [`codiac environment:list`](#codiac-environmentlist)
|
|
76
|
+
* [`codiac filestore:capture`](#codiac-filestorecapture)
|
|
77
|
+
* [`codiac help [COMMAND]`](#codiac-help-command)
|
|
78
|
+
* [`codiac host:map [DOMAIN]`](#codiac-hostmap-domain)
|
|
79
|
+
* [`codiac identity [TOKENNAME]`](#codiac-identity-tokenname)
|
|
80
|
+
* [`codiac identity:delete [NAME]`](#codiac-identitydelete-name)
|
|
81
|
+
* [`codiac identity:list`](#codiac-identitylist)
|
|
82
|
+
* [`codiac imageRegistry:capture`](#codiac-imageregistrycapture)
|
|
83
|
+
* [`codiac imageRegistry:forget`](#codiac-imageregistryforget)
|
|
84
|
+
* [`codiac imageRegistry:pullSecret:set`](#codiac-imageregistrypullsecretset)
|
|
85
|
+
* [`codiac imageRegistry:pullSecret:unset`](#codiac-imageregistrypullsecretunset)
|
|
86
|
+
* [`codiac images:add [IMAGENAME]`](#codiac-imagesadd-imagename)
|
|
87
|
+
* [`codiac images:list [HELLO]`](#codiac-imageslist-hello)
|
|
88
|
+
* [`codiac images:patch IMAGENAME`](#codiac-imagespatch-imagename)
|
|
89
|
+
* [`codiac images:remove IMAGENAME`](#codiac-imagesremove-imagename)
|
|
90
|
+
* [`codiac images:version [NAME]`](#codiac-imagesversion-name)
|
|
91
|
+
* [`codiac init DIRECTORY`](#codiac-init-directory)
|
|
92
|
+
* [`codiac kit:create [SETTING]`](#codiac-kitcreate-setting)
|
|
93
|
+
* [`codiac login`](#codiac-login)
|
|
94
|
+
* [`codiac logout`](#codiac-logout)
|
|
95
|
+
* [`codiac merge [BRANCH]`](#codiac-merge-branch)
|
|
96
|
+
* [`codiac noc:cluster:create [NAME]`](#codiac-nocclustercreate-name)
|
|
97
|
+
* [`codiac noc:cluster:deinit [NAME]`](#codiac-nocclusterdeinit-name)
|
|
98
|
+
* [`codiac noc:cluster:destroy [NAME]`](#codiac-nocclusterdestroy-name)
|
|
99
|
+
* [`codiac noc:cluster:init [NAME]`](#codiac-nocclusterinit-name)
|
|
100
|
+
* [`codiac noc:cluster:list`](#codiac-nocclusterlist)
|
|
101
|
+
* [`codiac noc:cluster:recreate [NAME]`](#codiac-nocclusterrecreate-name)
|
|
102
|
+
* [`codiac pkg:add [DEFINITIONFILE]`](#codiac-pkgadd-definitionfile)
|
|
103
|
+
* [`codiac pkg:list [HELLO]`](#codiac-pkglist-hello)
|
|
104
|
+
* [`codiac pkg:patch PACKAGENAME`](#codiac-pkgpatch-packagename)
|
|
105
|
+
* [`codiac pkg:remove [PACKAGENAME]`](#codiac-pkgremove-packagename)
|
|
106
|
+
* [`codiac portal`](#codiac-portal)
|
|
107
|
+
* [`codiac publish [NAME]`](#codiac-publish-name)
|
|
108
|
+
* [`codiac pull [NAME]`](#codiac-pull-name)
|
|
109
|
+
* [`codiac push [NAME]`](#codiac-push-name)
|
|
110
|
+
* [`codiac run`](#codiac-run)
|
|
111
|
+
* [`codiac secretStore:capture`](#codiac-secretstorecapture)
|
|
112
|
+
* [`codiac secretStore:forget`](#codiac-secretstoreforget)
|
|
113
|
+
* [`codiac stage [FILES]`](#codiac-stage-files)
|
|
114
|
+
* [`codiac stash [FILE]`](#codiac-stash-file)
|
|
115
|
+
* [`codiac status`](#codiac-status)
|
|
116
|
+
* [`codiac stop`](#codiac-stop)
|
|
117
|
+
* [`codiac switch [NAME]`](#codiac-switch-name)
|
|
118
|
+
* [`codiac sync [NAME]`](#codiac-sync-name)
|
|
119
|
+
* [`codiac tenant:create [NAME]`](#codiac-tenantcreate-name)
|
|
120
|
+
* [`codiac tenant:switch [NAME]`](#codiac-tenantswitch-name)
|
|
121
|
+
* [`codiac unstage [FILES]`](#codiac-unstage-files)
|
|
122
|
+
* [`codiac update [CHANNEL]`](#codiac-update-channel)
|
|
123
|
+
* [`codiac version`](#codiac-version)
|
|
124
|
+
* [`codiac whereami [FILE]`](#codiac-whereami-file)
|
|
125
|
+
* [`codiac whoami`](#codiac-whoami)
|
|
130
126
|
|
|
131
127
|
## `codiac asset:create`
|
|
132
128
|
|
|
@@ -192,7 +188,7 @@ _See code: [src/commands/asset/create.ts](https://github.com/codiac/codiac-cli/b
|
|
|
192
188
|
|
|
193
189
|
## `codiac asset:destroy`
|
|
194
190
|
|
|
195
|
-
UN-deploys a given asset from a given cabinet.
|
|
191
|
+
UN-deploys a given asset from a given cabinet. Defaults to removing only the pod deployments and leaving the service in place; set the --scorch argument to remove the service.
|
|
196
192
|
|
|
197
193
|
```
|
|
198
194
|
USAGE
|
|
@@ -415,9 +411,9 @@ EXAMPLES
|
|
|
415
411
|
cod probe:create --predefined builtin-heartbeat-file-exists
|
|
416
412
|
cod probe:create -p 15 --exec --execCommand "cat /app/data/last-heartbeat.json"
|
|
417
413
|
cod probe:create -n acme -a myapi -u readiness -p 15 --exec --execCommand "cat /app/data/last-heartbeat.json"
|
|
418
|
-
cod probe:create -n acme -a myapi -u readiness -p 15 --exec --execCommand cat --execCommand
|
|
414
|
+
cod probe:create -n acme -a myapi -u readiness -p 15 --exec --execCommand cat --execCommand
|
|
419
415
|
/app/data/last-heartbeat.json
|
|
420
|
-
cod probe:create -n acme -a myapi -u readiness -p 15 --http --httpScheme https --httpHost myapi.acme.com --httpPort
|
|
416
|
+
cod probe:create -n acme -a myapi -u readiness -p 15 --http --httpScheme https --httpHost myapi.acme.com --httpPort
|
|
421
417
|
443 --httpPath /diag/heartbeat -h Accept=application/json -h user-agent=MyUserAgent
|
|
422
418
|
```
|
|
423
419
|
|
|
@@ -425,7 +421,7 @@ _See code: [src/commands/asset/probe/create.ts](https://github.com/codiac/codiac
|
|
|
425
421
|
|
|
426
422
|
## `codiac asset:recycle`
|
|
427
423
|
|
|
428
|
-
Deploys a given asset to a given cabinet.
|
|
424
|
+
Deploys a given asset to a given cabinet. Defaults to current version.
|
|
429
425
|
|
|
430
426
|
```
|
|
431
427
|
USAGE
|
|
@@ -850,7 +846,7 @@ _See code: [src/commands/build.ts](https://github.com/codiac/codiac-cli/blob/v1.
|
|
|
850
846
|
|
|
851
847
|
## `codiac cabinet:create [CABINET]`
|
|
852
848
|
|
|
853
|
-
Initializes a cabinet for a given enterprise and environment.
|
|
849
|
+
Initializes a cabinet for a given enterprise and environment. Overwrites any existing if forced, otherwise returns an error if the cabinet already exists.
|
|
854
850
|
|
|
855
851
|
```
|
|
856
852
|
USAGE
|
|
@@ -1119,7 +1115,7 @@ _See code: [src/commands/config/delete.ts](https://github.com/codiac/codiac-cli/
|
|
|
1119
1115
|
|
|
1120
1116
|
## `codiac config:deploy`
|
|
1121
1117
|
|
|
1122
|
-
Deploys a given asset to a given cabinet.
|
|
1118
|
+
Deploys a given asset to a given cabinet. Defaults to current version.
|
|
1123
1119
|
|
|
1124
1120
|
```
|
|
1125
1121
|
USAGE
|
|
@@ -1295,7 +1291,7 @@ _See code: [src/commands/dep.ts](https://github.com/codiac/codiac-cli/blob/v1.2.
|
|
|
1295
1291
|
|
|
1296
1292
|
## `codiac dep:create [URL]`
|
|
1297
1293
|
|
|
1298
|
-
Sources a new dependency into the project from an existing repo url, initializes it with the package repository, and publishes the initial version if it is not already.
|
|
1294
|
+
Sources a new dependency into the project from an existing repo url, initializes it with the package repository, and publishes the initial version if it is not already. If the package repository is already initialized, the latest package version is used.
|
|
1299
1295
|
|
|
1300
1296
|
```
|
|
1301
1297
|
USAGE
|
|
@@ -1563,7 +1559,7 @@ _See code: [src/commands/dep/upgrade.ts](https://github.com/codiac/codiac-cli/bl
|
|
|
1563
1559
|
|
|
1564
1560
|
## `codiac deploy`
|
|
1565
1561
|
|
|
1566
|
-
Deploys a given asset to a given cabinet.
|
|
1562
|
+
Deploys a given asset to a given cabinet. Defaults to current version.
|
|
1567
1563
|
|
|
1568
1564
|
```
|
|
1569
1565
|
USAGE
|
|
@@ -1705,7 +1701,7 @@ _See code: [src/commands/env/add.ts](https://github.com/codiac/codiac-cli/blob/v
|
|
|
1705
1701
|
|
|
1706
1702
|
## `codiac environment:create [NAME]`
|
|
1707
1703
|
|
|
1708
|
-
Initializes a cabinet for a given enterprise and environment.
|
|
1704
|
+
Initializes a cabinet for a given enterprise and environment. Overwrites any existing if forced, otherwise returns an error if the cabinet already exists.
|
|
1709
1705
|
|
|
1710
1706
|
```
|
|
1711
1707
|
USAGE
|
|
@@ -1899,7 +1895,7 @@ _See code: [src/commands/host/map.ts](https://github.com/codiac/codiac-cli/blob/
|
|
|
1899
1895
|
|
|
1900
1896
|
## `codiac identity [TOKENNAME]`
|
|
1901
1897
|
|
|
1902
|
-
Stores an identity token for the current user, for use with a component tool (such as npm).
|
|
1898
|
+
Stores an identity token for the current user, for use with a component tool (such as npm). This command acts as an upsert.
|
|
1903
1899
|
|
|
1904
1900
|
```
|
|
1905
1901
|
USAGE
|
|
@@ -2078,7 +2074,7 @@ _See code: [src/commands/imageRegistry/capture.ts](https://github.com/codiac/cod
|
|
|
2078
2074
|
|
|
2079
2075
|
## `codiac imageRegistry:forget`
|
|
2080
2076
|
|
|
2081
|
-
Removes the reference to the given container registry for the tenant.
|
|
2077
|
+
Removes the reference to the given container registry for the tenant. Does NOT delete the registry itself.
|
|
2082
2078
|
|
|
2083
2079
|
```
|
|
2084
2080
|
USAGE
|
|
@@ -2330,7 +2326,7 @@ _See code: [src/commands/images/list.ts](https://github.com/codiac/codiac-cli/bl
|
|
|
2330
2326
|
|
|
2331
2327
|
## `codiac images:patch IMAGENAME`
|
|
2332
2328
|
|
|
2333
|
-
Applies the given values to an existing image export configuration.
|
|
2329
|
+
Applies the given values to an existing image export configuration. Both registryUrl and environment act as filters to limit the operation. That is, an upsert of registry targets is performed for the given image, based on the given registryUrl and/or environment.
|
|
2334
2330
|
|
|
2335
2331
|
```
|
|
2336
2332
|
USAGE
|
|
@@ -3026,7 +3022,7 @@ _See code: [src/commands/pkg/list.ts](https://github.com/codiac/codiac-cli/blob/
|
|
|
3026
3022
|
|
|
3027
3023
|
## `codiac pkg:patch PACKAGENAME`
|
|
3028
3024
|
|
|
3029
|
-
Applies the given values to an existing package export configuration.
|
|
3025
|
+
Applies the given values to an existing package export configuration. Both registryUrl and environment act as filters to limit the operation. That is, an upsert of registry targets is performed for the given package, based on the given registryUrl and/or environment.
|
|
3030
3026
|
|
|
3031
3027
|
```
|
|
3032
3028
|
USAGE
|
|
@@ -3357,7 +3353,7 @@ _See code: [src/commands/secretStore/capture.ts](https://github.com/codiac/codia
|
|
|
3357
3353
|
|
|
3358
3354
|
## `codiac secretStore:forget`
|
|
3359
3355
|
|
|
3360
|
-
Removes the reference to the given container registry for the tenant.
|
|
3356
|
+
Removes the reference to the given container registry for the tenant. Does NOT delete the registry itself.
|
|
3361
3357
|
|
|
3362
3358
|
```
|
|
3363
3359
|
USAGE
|
|
@@ -3722,7 +3718,7 @@ _See code: [@oclif/plugin-version](https://github.com/oclif/plugin-version/blob/
|
|
|
3722
3718
|
|
|
3723
3719
|
## `codiac whereami [FILE]`
|
|
3724
3720
|
|
|
3725
|
-
Renders the current cabinet context the image project is pointed to.
|
|
3721
|
+
Renders the current cabinet context the image project is pointed to. ie: Tenant, Enterprise, Environment, Cabinet.
|
|
3726
3722
|
|
|
3727
3723
|
```
|
|
3728
3724
|
USAGE
|
|
@@ -3781,5 +3777,4 @@ ALIASES
|
|
|
3781
3777
|
```
|
|
3782
3778
|
|
|
3783
3779
|
_See code: [src/commands/whoami.ts](https://github.com/codiac/codiac-cli/blob/v1.2.133/src/commands/whoami.ts)_
|
|
3784
|
-
|
|
3785
3780
|
<!-- commandsstop -->
|
|
@@ -12,12 +12,19 @@ export interface AndOrNot {
|
|
|
12
12
|
or?: string[] | undefined;
|
|
13
13
|
not?: string[] | undefined;
|
|
14
14
|
}
|
|
15
|
+
export interface IApiAuthTokenMeta {
|
|
16
|
+
isDefault?: boolean;
|
|
17
|
+
userName?: string | undefined;
|
|
18
|
+
givenName?: string | undefined;
|
|
19
|
+
familyName?: string | undefined;
|
|
20
|
+
}
|
|
15
21
|
/** An expiring token scoped for a specific repository and actions within it. */
|
|
16
22
|
export interface ApiAuthToken {
|
|
17
23
|
token: string;
|
|
18
24
|
actionScope: string;
|
|
19
25
|
permissions: string[];
|
|
20
26
|
expirationUtc: Date;
|
|
27
|
+
meta?: IApiAuthTokenMeta;
|
|
21
28
|
}
|
|
22
29
|
export interface ApiReadyState {
|
|
23
30
|
currentState: ApiReadyStateEnum;
|
|
@@ -1361,10 +1368,12 @@ export declare enum KvpStoreTypesEnum {
|
|
|
1361
1368
|
mongoCollection = "mongoCollection",
|
|
1362
1369
|
mongoDocument = "mongoDocument"
|
|
1363
1370
|
}
|
|
1371
|
+
export type CredentialType = "client_credentials" | "username_password";
|
|
1364
1372
|
export interface LogintoCloudProviderRequest {
|
|
1365
1373
|
providerCode: CloudProviderEnum;
|
|
1366
1374
|
username?: string | undefined;
|
|
1367
1375
|
secret?: string | undefined;
|
|
1376
|
+
credsType?: CredentialType | undefined;
|
|
1368
1377
|
}
|
|
1369
1378
|
export interface LogOptions {
|
|
1370
1379
|
/** Follow the log stream of the pod. Defaults to false. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../../src/apis/codiac-relay/gen/contracts.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"contracts.js","sourceRoot":"","sources":["../../../../src/apis/codiac-relay/gen/contracts.ts"],"names":[],"mappings":";;;AA8CA,IAAY,iBAMX;AAND,WAAY,iBAAiB;IAC3B,oDAA+B,CAAA;IAC/B,gEAA2C,CAAA;IAC3C,kDAA6B,CAAA;IAC7B,oCAAe,CAAA;IACf,8CAAyB,CAAA;AAC3B,CAAC,EANW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAM5B;AAsFD,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,+BAAa,CAAA;IACb,6BAAW,CAAA;IACX,qCAAmB,CAAA;AACrB,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AA0UD,qIAAqI;AACrI,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,gCAAW,CAAA;IACX,oCAAe,CAAA;IACf,4CAAuB,CAAA;IACvB,oCAAe,CAAA;AACjB,CAAC,EALW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAK5B;AAolBD,yFAAyF;AACzF,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,0DAAqC,CAAA;IACrC,4CAAuB,CAAA;IACvB,0DAAqC,CAAA;IACrC,4DAAuC,CAAA;AACzC,CAAC,EALW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAK5B;AAkKD,IAAY,oBASX;AATD,WAAY,oBAAoB;IAC9B,6GAAqF,CAAA;IACrF,2IAAmH,CAAA;IACnH,qFAA6D,CAAA;IAC7D,qEAA6C,CAAA;IAC7C,qGAA6E,CAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8RE;AAEF,WAAW;AACP,QAAQ;AACZ,4BAA4B"}
|
|
@@ -9,6 +9,7 @@ const render = require("../../uilogic/render-methods");
|
|
|
9
9
|
const render_methods_1 = require("../../uilogic/render-methods");
|
|
10
10
|
class AssetList extends command_base_enterprise_1.CommandBaseEnterprise {
|
|
11
11
|
run() {
|
|
12
|
+
var _a, _b;
|
|
12
13
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
13
14
|
this.bootstrap();
|
|
14
15
|
const { args, flags } = yield this.parse(AssetList);
|
|
@@ -51,7 +52,7 @@ class AssetList extends command_base_enterprise_1.CommandBaseEnterprise {
|
|
|
51
52
|
// break;
|
|
52
53
|
case render_methods_1.OutputFormatsEnum.tree:
|
|
53
54
|
default:
|
|
54
|
-
let tree = this.buildAssetTree(currentEnterprise.assets.map(a => this.FlattenAsset(a)));
|
|
55
|
+
let tree = this.buildAssetTree((_b = (_a = currentEnterprise.assets) === null || _a === void 0 ? void 0 : _a.map(a => this.FlattenAsset(a))) !== null && _b !== void 0 ? _b : []);
|
|
55
56
|
let out = render.renderStringTree(tree); //, this._ui.userMessage);
|
|
56
57
|
this._ui.userMessage(out);
|
|
57
58
|
break;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","sourceRoot":"","sources":["../../../src/commands/asset/list.ts"],"names":[],"mappings":";;;AAAA,sCAA4C;AAC5C,6BAA6B;AAE7B,2EAAsE;AACtE,4BAA6B;AAC7B,uDAAuD;AACvD,iEAA+E;AAmB/E,MAAqB,SAAU,SAAQ,+CAAqB;IAUpD,GAAG
|
|
1
|
+
{"version":3,"file":"list.js","s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AAW,EAAE,8CAA8C,EAAE,CAAC;CAC7F,CAAA;AAEM,cAAI,GAAG,EAAE,CAAC"}
|
|
@@ -721,6 +721,7 @@ class AssetView extends command_base_enterprise_1.CommandBaseEnterprise {
|
|
|
721
721
|
});
|
|
722
722
|
}
|
|
723
723
|
renderSelectedContent(context, contentType, k8sEntities, contentOptions, replicas) {
|
|
724
|
+
var _a;
|
|
724
725
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
725
726
|
try {
|
|
726
727
|
switch (contentType) {
|
|
@@ -736,7 +737,7 @@ class AssetView extends command_base_enterprise_1.CommandBaseEnterprise {
|
|
|
736
737
|
throw new Error("No replica selected.");
|
|
737
738
|
if (k8sEntities.pod == undefined || k8sEntities.container == undefined)
|
|
738
739
|
throw new Error("No replica selected.");
|
|
739
|
-
let termArgs = { tty: true, command:
|
|
740
|
+
let termArgs = { tty: true, command: (_a = contentOptions === null || contentOptions === void 0 ? void 0 : contentOptions.terminalStartup) !== null && _a !== void 0 ? _a : DEFAULT_TERMINAL_STARTER };
|
|
740
741
|
yield this.runExec(context, termArgs, k8sEntities);
|
|
741
742
|
break;
|
|
742
743
|
case (AssetContentType.exec):
|