Expand description
Forgejo’s HTTP adapter for Ephemeris.
This crate contains transport, request, and response details for the
Forgejo API. Application concerns such as command parsing, credentials,
logging, and process exit handling belong to the ephemeris binary.
Modules§
- api
- API access.
- config 🔒
- The desired Forgejo repository state.
- live 🔒
- operation
- The writes a plan can contain.
- permission 🔒
- plan 🔒
- The pure comparison between the desired and the live Forgejo state.
- reconcile 🔒
- Forgejo branch protection and repository reconciliation over the
Api. - release 🔒
- Forgejo release and pull request facade for the release CLI.
Structs§
- Actions
Variables - Desired Actions variables of a repository.
- Branch
Rule - Desired settings for one branch-protection rule.
- Branch
Rules - Desired branch-protection rules.
- Client
- A typed Forgejo backend over an injected
Apiimplementation. - Config
- A configuration document that describes one Forgejo repository.
- Deploy
Key - Desired settings of one deploy key. The title is its key.
- Deploy
Keys - Desired deploy keys of a repository.
- External
Tracker - Settings of an external issue tracker.
- External
Wiki - Settings of an external wiki.
- Internal
Tracker - Settings of the built-in issue tracker. Null leaves a setting alone.
- Invalid
Rule Name - A branch rule name cannot address a Forgejo branch protection route.
- Invalid
Topic - A topic Forgejo would rewrite or drop.
- Label
- Desired settings for one label.
- Live
- The Forgejo state that planning compares with the configuration.
- Release
- Forgejo release and pull request facade for the release CLI.
- Repository
- Desired settings for a repository.
- Rule
Name - The name of a branch rule, which fits the Forgejo branch protection routes.
- TagProtection
- Desired tag protections.
- TagRule
- Who may create tags that match a name pattern.
- Topic
Name - A repository topic in the form Forgejo stores.
- Webhook
- Desired settings of one webhook. The delivery URL is its key.
- Webhooks
- Desired webhooks of a repository.
Enums§
- Hook
Type - The kind of a webhook, as the spec’s
CreateHookOptionlists it. - Merge
Style - The merge strategy preselected in the merge dialog.
- Permission
- A team permission Forgejo can grant on a repository.
- Push
Access - Who may push directly to a protected branch.
- Tracker
Style - How an external issue tracker numbers its issues.
- Update
Style - The strategy used to update an out-of-date pull request.