error

package
v0.0.0-...-16cafa9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL