Add authenticated internal worker API

This commit is contained in:
ms2k 2026-07-17 09:16:46 +09:00
commit ebf818d23c
2 changed files with 2745 additions and 43 deletions

View file

@ -315,6 +315,8 @@ pub enum SafeDetailValueDto {
#[serde(deny_unknown_fields)]
pub struct ResultDescriptorDto {
pub kind: ResultKindDto,
pub manifest_id: OpaqueId,
pub schema_version: PositiveIntegerDto,
pub manifest: ObjectIdentityDto,
pub member_count: PositiveIntegerDto,
pub total_bytes: SafeIntegerDto,
@ -339,6 +341,7 @@ pub struct ObjectIdentityDto {
)]
pub version_id: Option<String>,
pub checksum: String,
pub size: SafeIntegerDto,
}
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]

View file

@ -157,6 +157,9 @@ pub struct AttemptCheckpointRequestDto {
pub fence: PositiveIntegerDto,
pub worker_incarnation: OpaqueId,
pub checkpoint_ref: CheckpointDescriptorRefDto,
pub resolved_source_id: OpaqueId,
pub validated_bytes: SafeIntegerDto,
pub validated_members: SafeIntegerDto,
}
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]