-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JSON format to status subcommand (#1655)
Add a `--format json` option to elastic-package status, that shows the same information but in JSON format.
- Loading branch information
Showing
12 changed files
with
341 additions
and
1 deletion.
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,19 @@ | ||
{ | ||
"package": "foo", | ||
"versions": [ | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.1.0-beta1", | ||
"release": "beta", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
} | ||
] | ||
} |
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,28 @@ | ||
{ | ||
"package": "foo", | ||
"owner": "team", | ||
"versions": [ | ||
{ | ||
"environment": "local", | ||
"version": "2.0.0-rc1", | ||
"release": "release candidate", | ||
"title": "Foo", | ||
"description": "Foo integration", | ||
"kibana_version": "^8.9.0", | ||
"categories": [ | ||
"custom" | ||
] | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration", | ||
"kibana_version": "^8.8.0", | ||
"categories": [ | ||
"custom" | ||
] | ||
} | ||
] | ||
} |
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,41 @@ | ||
{ | ||
"package": "foo", | ||
"owner": "team", | ||
"versions": [ | ||
{ | ||
"environment": "local", | ||
"version": "2.0.0-rc1", | ||
"release": "release candidate", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.1", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.2", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.1.0-beta1", | ||
"release": "beta", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
} | ||
] | ||
} |
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,3 @@ | ||
{ | ||
"package": "foo" | ||
} |
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,30 @@ | ||
{ | ||
"package": "foo", | ||
"owner": "team", | ||
"versions": [ | ||
{ | ||
"environment": "local", | ||
"version": "2.0.0-rc1", | ||
"release": "release candidate", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
} | ||
], | ||
"pending_changes": { | ||
"version": "2.0.0-rc2", | ||
"changes": [ | ||
{ | ||
"description": "New feature", | ||
"type": "enhancement", | ||
"link": "http:github.com/org/repo/pull/2" | ||
} | ||
] | ||
} | ||
} |
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,26 @@ | ||
{ | ||
"package": "foo", | ||
"versions": [ | ||
{ | ||
"environment": "production", | ||
"version": "0.9.0", | ||
"release": "technical preview", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0-preview1", | ||
"release": "technical preview", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0-preview5", | ||
"release": "technical preview", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
} | ||
] | ||
} |
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,26 @@ | ||
{ | ||
"package": "foo", | ||
"versions": [ | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.1.0-beta1", | ||
"release": "beta", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "2.0.0-rc1", | ||
"release": "release candidate", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
} | ||
] | ||
} |
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,36 @@ | ||
{ | ||
"package": "foo", | ||
"owner": "team", | ||
"versions": [ | ||
{ | ||
"environment": "local", | ||
"version": "2.0.0-rc1", | ||
"release": "release candidate", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration", | ||
"serverless_project_type": "observability" | ||
}, | ||
{ | ||
"environment": "production", | ||
"version": "1.0.0", | ||
"release": "ga", | ||
"title": "Foo", | ||
"description": "Foo integration", | ||
"serverless_project_type": "security" | ||
} | ||
] | ||
} |
Oops, something went wrong.