Bug 1830270: cmd: add explain subcommand#3515
Bug 1830270: cmd: add explain subcommand#3515openshift-merge-robot merged 5 commits intoopenshift:masterfrom
Conversation
abhinavdahiya
commented
Apr 28, 2020
otherwise the |
65b203b to
cda31e0
Compare
cda31e0 to
1f77e5c
Compare
1c6a05b to
cbbf437
Compare
There was a problem hiding this comment.
missing an anchor for effective-go?
There was a problem hiding this comment.
nit: "values is" -> "value is" or "values are"
|
/retitle Bug 1830270: cmd: add explain subcommand |
|
@abhinavdahiya: This pull request references Bugzilla bug 1830270, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sdodson The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
patrickdillon
left a comment
There was a problem hiding this comment.
Noted a couple of typos.
There was a problem hiding this comment.
isntallconfig -> installconfig
cbbf437 to
2b02482
Compare
|
/skip |
|
LGTM |
go generate ./pkg/types/installconfig.go
The explain package provides an `explain` cobra command that can use used to add it as subcommand. The package includes 2 major functions, - fields_lookup Given a list of paths, this finds the schema for the path from the install config schema. - printer The printer printers the schema provided to the function The printer always prints the InstallConfig apiVersion, kind to the provided io.Writer It prints the description of the field using the schema provided, and for object type, it also prints all the properties of the object and their descriptions.
2b02482 to
4d03a03
Compare
|
@patrickdillon rebased the PR on master |
|
/lgtm |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
@abhinavdahiya: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
@abhinavdahiya: All pull requests linked via external trackers have merged: openshift/installer#3515. Bugzilla bug 1830270 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Catching up with c1dbb13 (pkg/types: ensure kubebuilder can build correct documentation, 2020-04-27, openshift#3515), to make it easier for first-time or occasional contributors to figure out how to update that file.