//
pkg.gl
Category
github.com/spacelift-io/vcs-agent
privatevcs
validation
allowlist
package
1.4.0
Repository:
https://github.com/spacelift-io/vcs-agent.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
1
Files
492 SLOC
#
Functions
MatchRequest
MatchRequest matches the request based on the VCS vendor.
New
New creates a new allowlist strategy from a project regexp.
#
Variables
ErrNoMatch
ErrNoMatch is returned when the request didn't match any planned API usage.
#
Structs
List
List implements a validation strategy based on an explicit, exhaustive, code-based allowlist (the legacy approach).