Skip to content

tenancy

Structs

Enums


firma_config_schema::sidecar::tenancy::TenancyConfig

Section titled “firma_config_schema::sidecar::tenancy::TenancyConfig”

Struct

Tenancy configuration.

Fields:

  • mode: TenancyMode - Tenancy mode. Default: [TenancyMode::SingleAgent].

Trait Implementations:

  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Default
    • fn default() -> TenancyConfig
  • Clone
    • fn clone(self: &Self) -> TenancyConfig
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result

firma_config_schema::sidecar::tenancy::TenancyMode

Section titled “firma_config_schema::sidecar::tenancy::TenancyMode”

Enum

Tenancy mode for the sidecar.

SingleAgent (default): the sidecar serves exactly one agent_id for its entire lifetime. The first request to arrive establishes the bound agent_id; every subsequent request whose verified token claims a different agent_id is denied.

Variants:

  • SingleAgent - Single agent per sidecar process. The sidecar binds to the first

Traits: Eq, Copy

Trait Implementations:

  • Default
    • fn default() -> TenancyMode
  • Debug
    • fn fmt(self: &Self, f: & mut $crate::fmt::Formatter) -> $crate::fmt::Result
  • Serialize
    • fn serialize<__S>(self: &Self, __serializer: __S) -> _serde::__private228::Result<<__S as >::Ok, <__S as >::Error>
  • PartialEq
    • fn eq(self: &Self, other: &TenancyMode) -> bool
  • Deserialize
    • fn deserialize<__D>(__deserializer: __D) -> _serde::__private228::Result<Self, <__D as >::Error>
  • Clone
    • fn clone(self: &Self) -> TenancyMode