Documentation
¶
Index ¶
- type Output
- func (o *Output) AddDebugLogs(log string)
- func (o *Output) AddError(err error) *Output
- func (o *Output) AddException(message error)
- func (o *Output) IsSuccessful() bool
- func (o *Output) Parse() ([]error, []error, []error)
- func (o *Output) SetEgressFailures(failures []string)
- func (o *Output) Summary(debug bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
Output can be used when showcasing validation results at the end of the execution.
func (*Output) AddDebugLogs ¶
func (*Output) AddException ¶
AddException adds an exception to the list of exceptions
func (*Output) IsSuccessful ¶
IsSuccessful checks whether the output contains any item, returns false if there's any
func (*Output) Parse ¶
Parse returns the data being stored on output - failures as []error - exceptions as []error - errors as []error
func (*Output) SetEgressFailures ¶
SetEgressFailures sets egress endpoint failures as a bulk update
Click to show internal directories.
Click to hide internal directories.