Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
forgectl
command
Command forgectl checks a repository against declared forge conventions and converges it.
|
Command forgectl checks a repository against declared forge conventions and converges it. |
|
internal
|
|
|
apply
Package apply is the only package that executes a compliance plan.
|
Package apply is the only package that executes a compliance plan. |
|
compliance
Package compliance evaluates a repository against the declared conventions and builds the plan that would converge it.
|
Package compliance evaluates a repository against the declared conventions and builds the plan that would converge it. |
|
config
Package config loads, merges, and validates forgectl's declared intent: the configuration file, the per-repository profile selection, and the three profiles built into the binary.
|
Package config loads, merges, and validates forgectl's declared intent: the configuration file, the per-repository profile selection, and the three profiles built into the binary. |
|
forge
Package forge is the platform abstraction.
|
Package forge is the platform abstraction. |
|
forge/forgetest
Package forgetest provides a scriptable fake implementation of forge.Forge for tests, so the evaluation and execution layers are exercised with no network.
|
Package forgetest provides a scriptable fake implementation of forge.Forge for tests, so the evaluation and execution layers are exercised with no network. |
|
forge/github
Package github implements forge.Forge against the GitHub REST API through go-github.
|
Package github implements forge.Forge against the GitHub REST API through go-github. |
|
forge/gitlab
Package gitlab implements forge.Forge against the GitLab REST API through the official client, and adds the project access token lifecycle, which has no equivalent on the other platform.
|
Package gitlab implements forge.Forge against the GitLab REST API through the official client, and adds the project access token lifecycle, which has no equivalent on the other platform. |
|
gitrepo
Package gitrepo inspects the local git working copy: discovery from any subdirectory, remote URL parsing, ignore lookups, and the branch commands apply runs.
|
Package gitrepo inspects the local git working copy: discovery from any subdirectory, remote URL parsing, ignore lookups, and the branch commands apply runs. |
|
report
Package report renders results to stdout in text and JSON over one shared schema.
|
Package report renders results to stdout in text and JSON over one shared schema. |
|
values
Package values resolves a variable's value through the ordered chain of override file, configuration, generator, and concealed prompt.
|
Package values resolves a variable's value through the ordered chain of override file, configuration, generator, and concealed prompt. |
Click to show internal directories.
Click to hide internal directories.