Add authenticated internal worker API
This commit is contained in:
parent
9d96c4d563
commit
ebf818d23c
2 changed files with 2745 additions and 43 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -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)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue