validation

package
v0.21.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package validation wires the validation domain — per-repository mapping checks against Slack and GitHub — into an fx module. This file is the only fx-aware part of the domain; the domain, application, and infrastructure layers stay framework-free.

Index

Constants

This section is empty.

Variables

Module binds the validation ports to their implementations: the Slack probe adapter satisfies the SlackChecker port, and the application Validator satisfies the RepoValidator use-case port. The composition root supplies the external inputs the module cannot build itself — a *slack.Client for the probe, and the MappingLookup and GitHubChecker ports (the routing provider and the GitHub client).

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package application holds the validation use cases: the per-repository Validator and the entry runner that expands and validates mapping entries.
Package application holds the validation use cases: the per-repository Validator and the entry runner that expands and validates mapping entries.
Package domain holds the validation domain's contracts: the ports that infrastructure adapters satisfy, the DTOs and enums that describe a validation run, and the constants that define what "valid" means.
Package domain holds the validation domain's contracts: the ports that infrastructure adapters satisfy, the DTOs and enums that describe a validation run, and the constants that define what "valid" means.
Package infrastructure holds the validation adapters that satisfy the domain ports over real clients — today, a Slack probe over the platform Slack client.
Package infrastructure holds the validation adapters that satisfy the domain ports over real clients — today, a Slack probe over the platform Slack client.

Jump to

Keyboard shortcuts

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