Expand description
Ergonomic client for the Mesa API.
Provides a directory-style navigation pattern:
use mesa_dev::MesaClient;
use futures::TryStreamExt;
let client = MesaClient::builder()
.build()?;
let repos: Vec<_> = client.org("my-org").repos().list(None).try_collect().await?;
let branches: Vec<_> = client.org("my-org").repos().at("my-repo").branches().list(None).try_collect().await?;Structs§
- ApiKeys
Client - Client for API key management (
/{org}/api-keys). - Branches
Client - Client for branch operations (
/{org}/{repo}/branches). - Change
Client - Client for change-based file operations (
/{org}/{repo}/changes). - Commits
Client - Client for commit operations (
/{org}/{repo}/commits). - Content
Client - Client for content operations (
/{org}/{repo}/content). - Mesa
Client - Top-level Mesa API client.
- Mesa
Client Builder - Builder for configuring and constructing a
MesaClient. - OrgClient
- Client scoped to an organization (
/{org}). - Repo
Client - Client scoped to a specific repository (
/{org}/{repo}). - Repos
Client - Client for listing and creating repositories (
/{org}/repos). - Webhooks
Client - Client for webhook operations (
/{org}/{repo}/webhooks).
Enums§
- Build
Error - Error returned when building a
MesaClientfails.
Constants§
- DEFAULT_
GRPC_ ENDPOINT - Default gRPC endpoint for the Mesa VCS data plane.