Versions in this module Expand all Collapse all v0 v0.1.0 Jun 24, 2026 Changes in this version + func IsValidationError(err error) bool + type CheckRegistry interface + Find func(uses string) CheckValidator + type CheckValidator interface + Validate func(ctx context.Context, check *models.WorkflowValidateCheck, ...) error + type ErrValidation struct + Field string + Message string + func (e *ErrValidation) Error() string + type ValidationRequest struct + ContentType string + Reader io.Reader + Size int64 + type Validator interface + Validate func(ctx context.Context, req *ValidationRequest) error + func Chain(validators ...Validator) Validator + func ContentTypeValidator(allowed []string) Validator + func FromWorkflowValidate(v *models.WorkflowValidate, registry CheckRegistry) Validator + func MaxSizeValidator(maxBytes int64) Validator + func MinSizeValidator(minBytes int64) Validator + type ValidatorFunc func(ctx context.Context, req *ValidationRequest) error + func (f ValidatorFunc) Validate(ctx context.Context, req *ValidationRequest) error