validation

package
v0.22.3 Latest Latest
Warning

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

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

Documentation

Overview

Package validation wires the validation domain — per-repository mapping checks against Slack and a git provider — 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, the MappingLookup port (the routing provider), and the provider-neutral HookProbe (the git-provider hook checker plus its URL suffix and required events).

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