Discover Packages
github.com/operator-framework/operator-sdk
internal
cmd
operator-sdk
bundle
validate
internal
package
Version:
v1.17.0
Opens a new window with list of versions in this module.
Published: Feb 3, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
View Source
const (
JSONAlpha1 = "json-alpha1"
Text = "text"
)
NewLoggerTo returns a logger that writes logs to w.
type Result struct {
Passed bool `json:"passed"`
Outputs []output `json:"outputs"`
}
Result represents the final result
NewResult return a new result object which starts with passed == true since has no errors
AddError will add a log to the result with the Error Level
AddInfo will add a log to the result with the Info Level
AddManifestResults adds warnings and errors in results to Results.
AddWarn will add a log to the result with the Warn Level
PrintWithFormat prints output to w in format, and exits if some object in output
is not in a passing state.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.