pub struct ConfigProperty {
pub name: String,
pub properties: Option<HashMap<String, String>>,
}
Expand description
Properties for the config list associated with components, providers, and links
§Usage
Defining a config block, like so:
source_config:
- name: "external-secret-kv"
- name: "default-port"
properties:
port: "8080"
Will result in two config scalers being created, one with the name basic-kv
and one with the
name default-port
. Wadm will not resolve collisions with configuration names between manifests.
Fields§
§name: String
Name of the config to ensure exists
properties: Option<HashMap<String, String>>
Optional properties to put with the configuration. If the properties are omitted in the manifest, wadm will assume that the configuration is externally managed and will not attempt to create it, only reporting the status as failed if not found.
Trait Implementations§
Source§impl Clone for ConfigProperty
impl Clone for ConfigProperty
Source§fn clone(&self) -> ConfigProperty
fn clone(&self) -> ConfigProperty
Returns a copy 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 ComposeSchema for ConfigProperty
impl ComposeSchema for ConfigProperty
Source§impl Debug for ConfigProperty
impl Debug for ConfigProperty
Source§impl<'de> Deserialize<'de> for ConfigProperty
impl<'de> Deserialize<'de> for ConfigProperty
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 From<ConfigProperty> for ConfigProperty
impl From<ConfigProperty> for ConfigProperty
Source§fn from(property: ConfigProperty) -> Self
fn from(property: ConfigProperty) -> Self
Converts to this type from the input type.
Source§impl From<ConfigProperty> for ConfigProperty
impl From<ConfigProperty> for ConfigProperty
Source§fn from(property: ConfigProperty) -> Self
fn from(property: ConfigProperty) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for ConfigProperty
impl JsonSchema for ConfigProperty
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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<ConfigProperty> for String
This impl is a helper to help compare a Vec<String>
to a Vec<ConfigProperty>
impl PartialEq<ConfigProperty> for String
This impl is a helper to help compare a Vec<String>
to a Vec<ConfigProperty>
Source§impl PartialEq for ConfigProperty
impl PartialEq for ConfigProperty
Source§impl Serialize for ConfigProperty
impl Serialize for ConfigProperty
Source§impl ToSchema for ConfigProperty
impl ToSchema for ConfigProperty
impl Eq for ConfigProperty
impl StructuralPartialEq for ConfigProperty
Auto Trait Implementations§
impl Freeze for ConfigProperty
impl RefUnwindSafe for ConfigProperty
impl Send for ConfigProperty
impl Sync for ConfigProperty
impl Unpin for ConfigProperty
impl UnwindSafe for ConfigProperty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.