Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Commit

Permalink
feat!: add missing fields for host inventory and auction ack
Browse files Browse the repository at this point in the history
Signed-off-by: Brooks Townsend <brooks@cosmonic.com>
  • Loading branch information
brooksmtownsend committed Jul 25, 2023
1 parent 673f8bc commit 5b38e10
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ pub struct ActorAuctionAck {
/// The host ID of the "bidder" for this auction.
#[serde(default)]
pub host_id: String,
/// Constraints that were used in the auction
#[serde(default)]
pub constraints: HashMap<String, String>,
}

/// A request to locate suitable hosts for a given actor
Expand Down Expand Up @@ -119,6 +122,12 @@ pub struct HostInventory {
/// The host's unique ID
#[serde(default)]
pub host_id: String,
/// The host's cluster issuer public key
#[serde(default)]
pub issuer: String,
/// The host's human-readable friendly name
#[serde(default)]
pub friendly_name: String,
/// The host's labels
pub labels: LabelsMap,
/// Providers running on this host
Expand Down

0 comments on commit 5b38e10

Please sign in to comment.