This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove App-only fields from CNAB image inspect out
Removes the App-only SERVICE fields from the `app image inspect --pretty` output when inspecting a non-App CNAB: * REPLICAS * PORTS Added unit test for image inspect of CNABs with pretty format. Refactored parameter key sorting code to use simpler `sort.Strings()` Signed-off-by: Nick Adcock <[email protected]>
- Loading branch information
Showing
3 changed files
with
58 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
version: 0.1.0 | ||
name: packing | ||
description: hello | ||
maintainers: | ||
- name: dev1 | ||
email: [email protected] | ||
- name: dev2 | ||
email: [email protected] | ||
|
||
|
||
SERVICE IMAGE | ||
app-watcher watcher | ||
debug busybox:latest | ||
front nginx | ||
monitor busybox:latest | ||
|
||
PARAMETER VALUE | ||
com.docker.app.args | ||
com.docker.app.inspect-format json | ||
com.docker.app.kubernetes-namespace | ||
com.docker.app.orchestrator | ||
com.docker.app.render-format yaml | ||
com.docker.app.share-registry-creds false | ||
watcher.cmd foo |