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) Format(debug bool) string
- func (o *Output) GetEgressURLFailures() []*handledErrors.GenericError
- 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) Format ¶ added in v0.2.2
Format can be used to retrieve the string for the output structure
func (*Output) GetEgressURLFailures ¶ added in v0.2.1
func (o *Output) GetEgressURLFailures() []*handledErrors.GenericError
GetEgressURLFailures returns only errors related to network egress failures. Use the EgressURL() method to obtain the specific url for each error.
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.