Package-level declarations

Types

Link copied to clipboard

Default implementation of Validator that performs a single-pass validation collecting all errors and warnings before returning.

Link copied to clipboard
sealed class ValidationError

Sealed class representing the different types of validation errors that can occur when checking environment configurations against a schema.

Link copied to clipboard
data class ValidationResult(val errors: List<ValidationError>, val warnings: List<ValidationWarning>)

The result of validating environment configurations against a schema. Contains all errors and warnings collected in a single validation pass.

Link copied to clipboard
data class ValidationWarning(val variableName: String, val environmentName: String?, val message: String)

Represents a non-fatal validation warning. Warnings do not prevent the build from proceeding.

Link copied to clipboard
interface Validator

Validates environment configurations against a schema definition. Collects all errors and warnings in a single pass before returning.

Functions

Link copied to clipboard
fun canParse(value: String, type: SchemaType): Boolean

Checks whether a string value can be parsed as the given SchemaType.