Expand description
kodegen_github - GitHub API operations via Octocrab
This library provides an async-first GitHub service layer with comprehensive GitHub API support using the octocrab crate. Each GitHub operation is implemented in its own module with builder patterns for ergonomic usage.
Re-exports§
pub use runtime::AsyncStream;pub use runtime::AsyncTask;pub use runtime::EmitterBuilder;pub use github::GitHubClient;pub use github::GitHubClientBuilder;pub use github::GitHubError;pub use github::GitHubResult;pub use github::CreatePullRequestReviewOptions;pub use github::CreateReleaseOptions as GitHubReleaseOptions;pub use github::ListCommitsOptions;pub use github::MergePullRequestOptions;pub use github::ReleaseResult as GitHubReleaseResult;pub use github::UpdatePullRequestOptions;pub use github::create_release;pub use github::create_release;pub use github::delete_release;pub use github::get_release_by_tag;pub use github::update_release;pub use github::ActivityMetrics;pub use github::CiCdMetrics;pub use github::CodeQualityMetrics;pub use github::DependencyMetrics;pub use github::DocumentationMetrics;pub use github::GithubSearch;pub use github::LocalMetrics;pub use github::MetadataInfo;pub use github::Output as SearchOutput;pub use github::QualityMetrics;pub use github::ReadmeMetrics;pub use github::RepositoryResult;pub use github::SearchConfig;pub use github::SearchError;pub use github::SearchOrder;pub use github::SearchProvider;pub use github::SearchQuery;pub use github::SearchSession;pub use github::SecurityMetrics;pub use github::StructureMetrics;pub use github::TestMetrics;pub use github::UserSearchSort;pub use github::search_repositories;pub use github::search_repositories;pub use github::search_repositories_with_config;pub use tool::AddIssueCommentTool;pub use tool::AddPullRequestReviewCommentTool;pub use tool::CreateBranchTool;pub use tool::CreateIssueTool;pub use tool::CreatePullRequestReviewTool;pub use tool::CreatePullRequestTool;pub use tool::CreateRepositoryTool;pub use tool::DeleteBranchTool;pub use tool::ForkRepositoryTool;pub use tool::GetCommitTool;pub use tool::GetFileContentsTool;pub use tool::GetIssueCommentsTool;pub use tool::GetIssueTool;pub use tool::GetPullRequestFilesTool;pub use tool::GetPullRequestReviewsTool;pub use tool::GetPullRequestStatusTool;pub use tool::ListBranchesTool;pub use tool::ListCommitsTool;pub use tool::ListIssuesTool;pub use tool::ListPullRequestsTool;pub use tool::MergePullRequestTool;pub use tool::RequestCopilotReviewTool;pub use tool::SearchCodeTool;pub use tool::SearchIssuesTool;pub use tool::SearchRepositoriesTool;pub use tool::SearchUsersTool;pub use tool::UpdateIssueTool;pub use tool::UpdatePullRequestTool;
Modules§
Structs§
- Upload
Asset Options - Options for uploading a release asset
Functions§
- start_
server - Start the HTTP server programmatically for embedded mode
- start_
server_ with_ listener - Start github HTTP server using pre-bound listener (TOCTOU-safe)
- upload_
release_ asset - Upload an asset to a GitHub release using octocrab