Expand description
§rung-github
GitHub API integration for Rung, providing PR management and CI status fetching capabilities.
§Architecture
The crate provides both a concrete GitHubClient implementation and
a GitHubApi trait for dependency injection and testing.
§Security
Authentication tokens are stored using SecretString which automatically
zeroizes memory when dropped, reducing credential exposure in memory dumps.
Structs§
- Check
Run - A CI check run.
- Create
Comment - Request to create an issue/PR comment.
- Create
Pull Request - Request to create a pull request.
- GitHub
Client - GitHub API client.
- Issue
Comment - A comment on an issue or pull request.
- Merge
Pull Request - Request to merge a pull request.
- Merge
Result - Result of merging a pull request.
- Pull
Request - A GitHub Pull Request.
- Update
Comment - Request to update an issue/PR comment.
- Update
Pull Request - Request to update a pull request.
Enums§
- Auth
- Authentication method for GitHub API.
- Check
Status - Status of a CI check.
- Error
- Errors that can occur during GitHub API operations.
- Merge
Method - Method used to merge a pull request.
- Pull
Request State - State of a pull request.
Traits§
- GitHub
Api - Trait for GitHub API operations.
Type Aliases§
- Result
- Result type alias using
Error. - Secret
String - Secret string type.