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.
Print image inspect metadata fields in PascalCase
Prints the metadata fields in PascalCase when calling `app image inspect` to match the other fields. Fixed `FromBundle` func comment Signed-off-by: Nick Adcock <[email protected]>
- Loading branch information
Showing
8 changed files
with
44 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"Metadata": { | ||
"version": "1.1.0-beta1", | ||
"name": "simple", | ||
"description": "new fancy webapp with microservices", | ||
"maintainers": [ | ||
"Version": "1.1.0-beta1", | ||
"Name": "simple", | ||
"Description": "new fancy webapp with microservices", | ||
"Maintainers": [ | ||
{ | ||
"name": "John Developer", | ||
"email": "[email protected]" | ||
"Name": "John Developer", | ||
"Email": "[email protected]" | ||
}, | ||
{ | ||
"name": "Jane Developer", | ||
"email": "[email protected]" | ||
"Name": "Jane Developer", | ||
"Email": "[email protected]" | ||
} | ||
] | ||
}, | ||
|
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"Metadata": { | ||
"version": "0.1.0", | ||
"name": "packing", | ||
"description": "hello", | ||
"maintainers": [ | ||
"Version": "0.1.0", | ||
"Name": "packing", | ||
"Description": "hello", | ||
"Maintainers": [ | ||
{ | ||
"name": "dev1", | ||
"email": "[email protected]" | ||
"Name": "dev1", | ||
"Email": "[email protected]" | ||
}, | ||
{ | ||
"name": "dev2", | ||
"email": "[email protected]" | ||
"Name": "dev2", | ||
"Email": "[email protected]" | ||
} | ||
] | ||
}, | ||
|
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"Metadata": { | ||
"version": "0.1.0", | ||
"name": "myapp", | ||
"description": "some description", | ||
"maintainers": [ | ||
"Version": "0.1.0", | ||
"Name": "myapp", | ||
"Description": "some description", | ||
"Maintainers": [ | ||
{ | ||
"name": "dev", | ||
"email": "[email protected]" | ||
"Name": "dev", | ||
"Email": "[email protected]" | ||
} | ||
] | ||
}, | ||
|
10 changes: 5 additions & 5 deletions
10
internal/inspect/testdata/inspect-no-description-json.golden
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"Metadata": { | ||
"version": "0.1.0", | ||
"name": "myapp", | ||
"maintainers": [ | ||
"Version": "0.1.0", | ||
"Name": "myapp", | ||
"Maintainers": [ | ||
{ | ||
"name": "dev", | ||
"email": "[email protected]" | ||
"Name": "dev", | ||
"Email": "[email protected]" | ||
} | ||
] | ||
} | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"Metadata": { | ||
"version": "0.1.0", | ||
"name": "myapp" | ||
"Version": "0.1.0", | ||
"Name": "myapp" | ||
} | ||
} |
12 changes: 6 additions & 6 deletions
12
internal/inspect/testdata/inspect-no-parameters-json.golden
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"Metadata": { | ||
"version": "0.1.0", | ||
"name": "myapp", | ||
"description": "some description", | ||
"maintainers": [ | ||
"Version": "0.1.0", | ||
"Name": "myapp", | ||
"Description": "some description", | ||
"Maintainers": [ | ||
{ | ||
"name": "dev", | ||
"email": "[email protected]" | ||
"Name": "dev", | ||
"Email": "[email protected]" | ||
} | ||
] | ||
} | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"Metadata": { | ||
"version": "0.1.0", | ||
"name": "myapp" | ||
"Version": "0.1.0", | ||
"Name": "myapp" | ||
}, | ||
"Services": [ | ||
{ | ||
|
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