Struct controller::stacks::types::Stack
source · pub struct Stack {Show 14 fields
pub name: String,
pub compute_templates: Option<Vec<ComputeTemplate>>,
pub description: Option<String>,
pub organization: String,
pub repository: String,
pub images: ImagePerPgVersion,
pub stack_version: Option<String>,
pub trunk_installs: Option<Vec<TrunkInstall>>,
pub extensions: Option<Vec<Extension>>,
pub postgres_metrics: Option<QueryConfig>,
pub postgres_config: Option<Vec<PgConfig>>,
pub postgres_config_engine: Option<ConfigEngine>,
pub infrastructure: Option<Infrastructure>,
pub app_services: Option<Vec<AppService>>,
}
Fields§
§name: String
§compute_templates: Option<Vec<ComputeTemplate>>
§description: Option<String>
§organization: String
Organization hosting the Docker images used in this stack Default: “tembo”
repository: String
§images: ImagePerPgVersion
The Docker images to use for each supported Postgres versions
Default: 14: “standard-cnpg:14-a0a5ab5” 15: “standard-cnpg:15-a0a5ab5” 16: “standard-cnpg:16-a0a5ab5”
stack_version: Option<String>
§trunk_installs: Option<Vec<TrunkInstall>>
§extensions: Option<Vec<Extension>>
§postgres_metrics: Option<QueryConfig>
Postgres metric definition specific to the Stack
postgres_config: Option<Vec<PgConfig>>
configs are strongly typed so that they can be programmatically transformed
postgres_config_engine: Option<ConfigEngine>
§infrastructure: Option<Infrastructure>
external application services
app_services: Option<Vec<AppService>>
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Stack
impl<'de> Deserialize<'de> for Stack
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
source§impl JsonSchema for Stack
impl JsonSchema for Stack
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl PartialEq for Stack
impl PartialEq for Stack
source§impl<'__s> ToSchema<'__s> for Stack
impl<'__s> ToSchema<'__s> for Stack
impl StructuralPartialEq for Stack
Auto Trait Implementations§
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnwindSafe for Stack
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