Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTempLoadFile ¶
func CreateTempLoadFile(dest *backendconfig.DestinationT) (string, error)
CreateTempLoadFile creates a temporary load file
func StepsToValidate ¶ added in v1.7.0
func StepsToValidate(dest *backendconfig.DestinationT) *model.StepsResponse
func Validate ¶ added in v1.7.0
func Validate(req *model.ValidationRequest) (*model.ValidationResponse, error)
Validate the destination by running all the validation steps
Types ¶
type DestinationValidator ¶
type DestinationValidator interface {
Validate(dest *backendconfig.DestinationT) *model.DestinationValidationResponse
}
func NewDestinationValidator ¶
func NewDestinationValidator() DestinationValidator
type Validator ¶ added in v1.7.0
type Validator interface {
Validate() error
}
func NewValidator ¶ added in v1.7.0
func NewValidator(step string, dest *backendconfig.DestinationT) (Validator, error)
Click to show internal directories.
Click to hide internal directories.