mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-25 21:04:31 +00:00
Add comments on some exported resources
This commit is contained in:
parent
eb6a2b12b7
commit
f64ecad867
5 changed files with 11 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ type jsono struct {
|
|||
nValid, nInvalid, nErrors, nSkipped int
|
||||
}
|
||||
|
||||
// JSON will output the results of the validation as a JSON
|
||||
func JSON(w io.Writer, withSummary bool, verbose bool) Output {
|
||||
return &jsono{
|
||||
w: w,
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ type text struct {
|
|||
nValid, nInvalid, nErrors, nSkipped int
|
||||
}
|
||||
|
||||
// Text will output the results of the validation as a text
|
||||
func Text(w io.Writer, withSummary, verbose bool) Output {
|
||||
return &text{
|
||||
w: w,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue