validations

package
v1.9.7 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: AGPL-3.0 Imports: 19 Imported by: 0

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 Init

func Init()

func StepsToValidate added in v1.7.0

func StepsToValidate(dest *backendconfig.DestinationT) *model.StepsResponse

func Validate added in v1.7.0

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)

Jump to

Keyboard shortcuts

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