Expand description
Domain models owned by the client.
These are deliberately not the raw GitFox API DTOs: keeping a translation layer means an upstream API change is absorbed by a serde attribute here instead of leaking into the CLI’s stable JSON schema.
Structs§
- Check
- A status check reported against a pull request’s head commit.
- CiStatus
- A CI status.
- Create
Pull Request - The body of
POST /repos/{repo_ref}/pullreq. - Execution
- One run of a pipeline.
- File
Diff - One file’s worth of a pull request diff.
- LogLine
- One line of step output.
- Merge
Pull Request - The body of
POST /repos/{repo_ref}/pullreq/{n}/merge. - Merge
Result - The answer to a merge attempt.
- Pipeline
- A pipeline definition.
executionis its latest run, present only when the list was asked for withlatest=true. - Principal
- A user or service account, as GitFox reports it inside other resources.
- Pull
Request - A pull request.
- Pull
Request Check - Pull
Request Checks - Pull
Request Stats - RepoRef
- A reference to a repository, e.g.
ai/backend. - Repository
- A repository.
- Stage
- Step
- One step of a stage — the unit logs are addressed by.
- User
- The authenticated principal, as reported by
GET /api/v1/user.
Enums§
- Merge
Method - How a pull request is merged. The wire values are GitFox’s, including the
hyphen in
fast-forward. - Pull
Request State