SDK reference / Models

Models.Delivery namespace

Types

TypeKindDescription
BackupGitBundleRequestclassRequest payload for `:backupBundle` (W108).
BackupGitBundleResponseclassResponse for `:backupBundle` returning immutable bundle checksum and ref table (W108).
BackupGitBundleResponse_refHeadsclass
BuildclassAn ephemeral-VM container build scheduled exclusively on UNTRUSTED build pool cells (W35, W35b, CH-37; ADR-0702).
BuildCreateclassAn ephemeral-VM container build scheduled exclusively on UNTRUSTED build pool cells (W35, W35b, CH-37; ADR-0702).
BuildCreate_annotationsclassAt most 256 KiB in all; never policy input.
BuildCreate_filesclassOptional inline source files (path -> content) when not building from a pushed gitRepository commit.
BuildCreate_labelsclassAt most 64.
BuildStateenumContainer build lifecycle states (ADR-0702, CH-37).
Build_annotationsclassAt most 256 KiB in all; never policy input.
Build_labelsclassAt most 64.
CommitGitFileRequestclassRequest payload for `:commitFile` on a hosted GitRepository: one change to one file, committed to a branch (W106).
DeploymentStackclassA deployment stack: the members it made, their state, the digest of the manifest it applied (ADR-0719).
DeploymentStackStateenumLifecycle state of a deployment stack (ADR-0719).
EnvironmentObjectclassA deployment environment with its protection rules: who must approve, how long a deployment waits, and which refs may deploy (W36; ADR-0701, ADR-0208).
EnvironmentOverlayclassValues an environment lays over an app's own: plain variables and references to secrets.
EnvironmentOverlayMergePatchUpdateOrCreateclassValues an environment lays over an app's own: plain variables and references to secrets.
EnvironmentOverlay_envclassEnvironment variables, by name.
EnvironmentOverlay_secretsclassSecret references, by variable name; a reference names a secret, never its value.
EnvironmentStateenumLifecycle states of an environment.
EnvironmentUpdateMergePatchUpdateclassThe fields an update of an environment accepts. `requiredChecks` and `isProduction` are set at creation and do not change.
EnvironmentUpdateMergePatchUpdate_allowedRefsMember1class
EnvironmentUpdateMergePatchUpdate_appsMember1class
EnvironmentUpdateMergePatchUpdate_descriptionMember1class
EnvironmentUpdateMergePatchUpdate_displayNameMember1class
EnvironmentUpdateMergePatchUpdate_requiredApproversMember1class
EnvironmentUpdateMergePatchUpdate_waitTimerSecondsMember1class
Environment_annotationsclassAt most 256 KiB in all; never policy input.
Environment_labelsclassAt most 64.
GitBlameLineViewclassOne line attribution in `:getBlame` (W108).
GitBlameResponseclassResponse for `:getBlame` on a GitRepository (W108).
GitBlobResponseclassResponse for `:getBlob` on a GitRepository (W108).
GitBranchListResponseclassResponse for `:listBranches` on a GitRepository.
GitBranchViewclassOne branch of a hosted Git repository.
GitCommitListResponseclassResponse for `:listCommits` on a GitRepository (W108).
GitCommitViewclassOne Git commit summary (W108).
GitPushRequestclassRequest payload for `:push` on a hosted GitRepository.
GitPushRequest_filesclassOptional file tree in the commit (path -> content) used for builder auto-detection and secret scanning.
GitRepositoryclassA hosted Git repository with authenticated push-to-build webhooks (W97, W35b; ADR-0703, ADR-0717).
GitRepositoryStateenumHosted Git repository lifecycle states (ADR-0703, ADR-0717).
GitRepository_annotationsclassAt most 256 KiB in all; never policy input.
GitRepository_labelsclassAt most 64.
GitTagListResponseclassResponse for `:listTags` on a GitRepository.
GitTagViewclassOne tag of a hosted Git repository.
GitTreeEntryclassOne entry in a Git tree listing (W108).
GitTreeResponseclassResponse for `:getTree` on a GitRepository (W108).
IngestGitWebhookRequestclassSigned webhook ingress payload for GitLab or Forgejo/Codeberg (W35b).
IngestGitWebhookResponseclassResult of signed Git webhook ingestion and optional STS federation exchange (W35b).
IssueGitTokenRequestclassRequest payload for `:issueToken` (W97; short-lived <=10 min Git HTTP push/pull token).
IssueGitTokenResponseclassIssued short-lived Git HTTP token response (W97; <=10 min TTL).
IssueRegistryTokenRequestclassRequest payload for `:issueToken` on a RegistryRepository (W35c; ADR-0722): a short-lived registry token for one repository.
IssueRegistryTokenResponseclassAn issued registry token: a signed bearer token the regional Zot accepts for the listed actions on one repository and no other (W35c; ADR-0722).
OssAppBackingclassA backing service an app needs next to its container.
OssAppDeployRequestclassWhat the deploy form sends, for `:plan` and `:deploy`.
OssAppDeployRequest_settingsclassThe entry's settings by ID; a missing one takes the default.
OssAppDeployResultclassWhat `:deploy` answers.
OssAppDeploymentclassA deployment of a catalogue app: the stack it made and the entry it came from.
OssAppEntryclassAn entry of the open-source apps catalogue.
OssAppEnvironmentEntryclassOne environment variable of the app; the value is a template, never a secret.
OssAppHealthclassHow the platform checks the app is alive.
OssAppImageclassThe image of a catalogue app, pinned by tag and digest.
OssAppLicenceclassThe licence of a catalogue app, as read from the upstream repository's own licence file.
OssAppPendingBindingclassA variable that waits for the database or the app's address.
OssAppPlanclassWhat `:plan` previews: the members, the cost and what is not set yet. Nothing is changed.
OssAppPlanActionclassOne member the deployment would make.
OssAppPriceLineclassOne line of what a deployment costs a month, as a price-book rate ID and a quantity.
OssAppSecretInfoclassA value generated at deploy and shown once to the person who deployed.
OssAppSettingclassA setting the deploy form asks for.
OssAppSizeInfoclassThe size of the container and its disk.
OssAppUpdatePlanclassWhat moving a deployment to the catalogue's newer entry would involve, and why it is not done in place. Nothing is changed.
OssAppUpdateSideclassOne end of an update: an entry version and the image it names.
OssAppVolumeclassA path the app writes to and wants to keep.
PipelineclassAn ordered list of stages a release is promoted through (W98; ADR-0701). It lives in a location, like every delivery resource.
PipelineStageclassOne stage of a pipeline: the environment it deploys to and the apps it deploys there.
PipelineStageMergePatchUpdateReplaceOnlyclass
PipelineStateenumLifecycle states of a pipeline (W98; ADR-0701).
PipelineStrategyenumHow a stage moves traffic to a new revision (ADR-0701 rollouts). Recorded only: promotion (W98 part 2) acts on it.
PipelineUpdateMergePatchUpdateclassThe fields an update of a pipeline accepts.
PipelineUpdateMergePatchUpdate_descriptionMember1class
PipelineUpdateMergePatchUpdate_displayNameMember1class
Pipeline_annotationsclassAt most 256 KiB in all; never policy input.
Pipeline_labelsclassAt most 64.
PreviewclassA private preview of a pull request: one revision of an app at 0 % of production traffic, reachable by project members and by share links (W36; ADR-0701, ADR-0605, ADR-1102).
PreviewCreateclassA private preview of a pull request: one revision of an app at 0 % of production traffic, reachable by project members and by share links (W36; ADR-0701, ADR-0605, ADR-1102).
PreviewCreate_annotationsclassAt most 256 KiB in all; never policy input.
PreviewShareLinkclassA share link of a preview as a read shows it: who made it and until when, never its token.
PreviewStateenumLifecycle states of a pull-request preview (ADR-0701).
PreviewUpdateMergePatchUpdateclassThe fields an update of a preview accepts.
PreviewUpdateMergePatchUpdate_approvedHeadShaMember1class
PreviewUpdateMergePatchUpdate_displayNameMember1class
PreviewUpdateMergePatchUpdate_labelsMember1class
Preview_annotationsclassAt most 256 KiB in all; never policy input.
Preview_envOverlayclassThe variables laid over the app's own.
Preview_secretsOverlayclassThe secret references laid over the app's own, by variable name; never a secret's value.
RecordArtifactRequestclassRequest payload for `:recordArtifact` on a RegistryRepository.
RegistryArtifactViewclassAn immutable OCI artifact (image digest, cosign signature, SLSA v1.0 provenance, and CycloneDX SBOM) in a RegistryRepository (ADR-0701, ADR-0703).
RegistryRepositoryclassA private Zot-backed OCI container registry repository scoped to the project UID (W35, W35b; ADR-0703).
RegistryRepositoryStateenumPrivate OCI registry repository lifecycle states (ADR-0703).
RegistryRepository_annotationsclassAt most 256 KiB in all; never policy input.
RegistryRepository_labelsclassAt most 64.
ReleaseclassAn immutable release: a source commit, an image digest per app and the configuration digest of every stage, frozen at creation (W98; ADR-0701). It has no update; delete is the only change.
ReleasePromoteRequestclassWhat `:promote` takes.
ReleasePromotionclassOne promotion of a release into a stage (W98 part 2): the frozen digests and the stage's frozen overlay deployed to the stage's apps, never rebuilt.
ReleasePromotionStateenumThe states of a promotion (W98 part 2). PENDING, WAITING and DEPLOYING are running; SUCCEEDED and FAILED are final.
ReleasePromotion_revisionsclassThe revision each target app runs from this promotion, by app name; filled as the apps are deployed.
ReleaseStageclassA stage as the release froze it: the pipeline's stage at release time and the digest of its environment's overlay then.
ReleaseStateenumLifecycle states of a release (W98; ADR-0701).
Release_annotationsclassAt most 256 KiB in all; never policy input.
Release_artifactsclassThe image per app, by app name: exactly the apps the pipeline's stages target.
Release_labelsclassAt most 64.
RestoreGitBundleRequestclassRequest payload for `:restoreBundle` (W108).
RestoreGitBundleResponseclassResponse for `:restoreBundle` verifying 1:1 ref equality against backup (W108).
RestoreGitBundleResponse_refHeadsclass
RevealGitWebhookSecretResponseclassThe repository's webhook secret, returned once per call and never stored by the client (S10-12).
RevokePreviewShareRequestclassRevokes one preview share link.
RevokePreviewShareResponseclassThe outcome of revoking a preview share link.
RotateGitWebhookSecretResponseclassA new repository webhook secret and when the replaced one stops verifying (S10-12).
SharePreviewRequestclassAsks for a share link of a preview.
SharePreviewResponseclassA new share link. The token is shown here once and never again.
StackApplyRequestclassWhat `:apply` asks.
StackApplyRequest_secretInputsclassValues of the secret parameters the manifest names; sealed away, never stored, never answered.
StackDestroyResultclassWhat `DELETE` did.
StackDriftItemclassThe state of one member against what is live.
StackDriftReportclassWhether the stack still matches what is live.
StackHistoryEntryclassOne entry of a stack's history; it outlives the stack.
StackManifestclassThe desired state of a stack (ADR-0719).
StackManifest_parametersclassParameter values for `${params.name}` substitutions.
StackMemberclassOne member of a stack as it was made.
StackMember_outputsclassWhat dependents receive; secret-derived values are left out.
StackMember_propertiesclassThe properties recorded when it was made; secret-derived values are shown as the withheld marker.
StackPlanclassWhat `:apply` would do (ADR-0719).
StackPlanActionclassOne planned change to one member.
StackPlanAction_desiredPropertiesclassDesired properties, secret-derived values masked.
StackPlanRequestclassWhat `:plan` asks: preview this manifest against the stack as it is now.
StackResourceDeclarationclassOne resource a stack declares: its logical name, its type, what it waits for and its non-secret properties (ADR-0719).
StackResourceDeclaration_propertiesclassNon-secret properties, sent as the member's create body; `${params.name}` and `${resources.name.output}` expressions are substituted.
StackResourceDeclaration_secretParametersclassNames of secret parameters this member takes; the values come with `:apply` and are never stored or answered.
StackSecretReferenceclassThe name and path of a secret a stack took; never its value or a commitment of it.
SyncGitMirrorResponseclassResponse for `:syncMirror` (W108).
ValidatePreviewEdgeRequestclassWhat the edge presents for a request to a private preview. The headers `X-Preview-Member-Token` and `X-Preview-Share-Token` win over these fields; a token never goes in the URL.
ValidatePreviewEdgeResponseclassThe edge may let the request through. A refusal is a problem (`unauthenticated`, or `permission-denied` for an expired link).
VerifyAdmissionRequestclassRequest payload for `:verifyAdmission` on a RegistryRepository (W07b; ADR-0703, ADR-1305).
VerifyAdmissionResponseclassAdmission verification result from `ProvenanceDeployGate` (W07b; ADR-0703, ADR-1305).