mirror of
https://github.com/turbot/steampipe.git
synced 2025-12-19 18:12:43 -05:00
22 lines
353 B
Go
22 lines
353 B
Go
package steampipeconfig
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type ValidationFailure struct {
|
|
Plugin string
|
|
ConnectionName string
|
|
Message string
|
|
ShouldDropIfExists bool
|
|
}
|
|
|
|
func (v ValidationFailure) String() string {
|
|
return fmt.Sprintf(
|
|
"Connection: %s\nPlugin: %s\nError: %s",
|
|
v.ConnectionName,
|
|
v.Plugin,
|
|
v.Message,
|
|
)
|
|
}
|