controller: turn an archetype agent into a custom one
This commit is contained in:
parent
8a7f254c74
commit
0737798d78
1 changed files with 1008 additions and 44 deletions
|
|
@ -12,6 +12,12 @@
|
|||
/// this.
|
||||
pub const TOLERANT_PERMISSIONS: &str = "tolerant-permissions";
|
||||
|
||||
/// A hive lists this when it builds a custom agent from `internal/meta` alone
|
||||
/// and keeps no checkout of its config: no `applied` or `proposed` repo and no
|
||||
/// config mount in the container. swarm-controller turns an archetype agent
|
||||
/// into a custom one only on a hive that advertises it.
|
||||
pub const NO_CONFIG_CHECKOUT: &str = "no-config-checkout";
|
||||
|
||||
/// The part of a hive's status snapshot this module describes.
|
||||
#[derive(Debug, Clone, Default, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
|
||||
pub struct Capabilities {
|
||||
|
|
|
|||
Loading…
Reference in a new issue