Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComponentErrorCount ¶
func ComponentErrorCount(errs error, component api.ComponentType) int
ComponentErrorCount returns the count by component
Types ¶
type DeployErrors ¶
type DeployErrors interface { error Errors() map[api.ComponentType][]error }
DeployErrors defines an object that contains multiple errors across one or more components
func NewDeployErrors ¶
func NewDeployErrors(errMap map[api.ComponentType][]error) DeployErrors
NewDeployErrors converts a map of ComponentType:[]error to a DeployErrors interface
Click to show internal directories.
Click to hide internal directories.