-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Added levels of connectivity to connect command
* Card ID: CCT-1005 * First step of levels of connectivity * When connect command is used, then it is possible to enabled or disable three features using command line options --enable-feature or --disable-feature. Following features are supported - content - analytics - remote-management * Added checks for allowed combination of CLI options * Modified UI little bit to be able to visualize that feature was not started * Output to JSON format is still supported, but it was modified. * When machine readable format is used, then information about features could be following: { "hostname": "localhost", "uid": 0, "rhsm_connected": true, "features": { "content": { "enabled": true, "successful": true }, "analytics": { "enabled": true, "successful": false, "error": "some error message" }, "remote_management": { "enabled": false, "successful": false } } }
- Loading branch information
1 parent
0345b25
commit bd93706
Showing
7 changed files
with
395 additions
and
97 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,3 +92,6 @@ func init() { | |
ServiceName = "yggdrasil" | ||
} | ||
} | ||
|
||
const smallIndent = " " | ||
const mediumIndent = " " |
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
Oops, something went wrong.