pub struct DesiredPool {Show 14 fields
pub pool_id: String,
pub flake_ref: String,
pub profile: String,
pub role: Role,
pub instance_resources: InstanceResources,
pub desired_counts: DesiredCounts,
pub runtime_policy: RuntimePolicy,
pub seccomp_policy: String,
pub snapshot_compression: String,
pub routing_table: Option<RoutingTable>,
pub secret_scopes: Vec<SecretScope>,
pub sleep_policy: Option<SleepPolicyConfig>,
pub default_update_strategy: Option<UpdateStrategy>,
pub registry_artifact: Option<RegistryArtifact>,
}Fields§
§pool_id: String§flake_ref: String§profile: String§role: Role§instance_resources: InstanceResources§desired_counts: DesiredCounts§runtime_policy: RuntimePolicy§seccomp_policy: String§snapshot_compression: String§routing_table: Option<RoutingTable>§secret_scopes: Vec<SecretScope>§sleep_policy: Option<SleepPolicyConfig>§default_update_strategy: Option<UpdateStrategy>Default update strategy for rollouts (rolling or canary). When set, the agent uses this instead of the deploy config default.
registry_artifact: Option<RegistryArtifact>Pre-built artifacts to pull from the template registry. When set, the agent downloads artifacts from S3 instead of running a local Nix build. Falls back to local build if the pull fails.
Trait Implementations§
Source§impl Clone for DesiredPool
impl Clone for DesiredPool
Source§fn clone(&self) -> DesiredPool
fn clone(&self) -> DesiredPool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DesiredPool
impl Debug for DesiredPool
Source§impl<'de> Deserialize<'de> for DesiredPool
impl<'de> Deserialize<'de> for DesiredPool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DesiredPool
impl RefUnwindSafe for DesiredPool
impl Send for DesiredPool
impl Sync for DesiredPool
impl Unpin for DesiredPool
impl UnsafeUnpin for DesiredPool
impl UnwindSafe for DesiredPool
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more