pub struct PoolerTemplateSpec {
Show 39 fields pub active_deadline_seconds: Option<i64>, pub affinity: Option<PoolerTemplateSpecAffinity>, pub automount_service_account_token: Option<bool>, pub containers: Vec<PoolerTemplateSpecContainers>, pub dns_config: Option<PoolerTemplateSpecDnsConfig>, pub dns_policy: Option<String>, pub enable_service_links: Option<bool>, pub ephemeral_containers: Option<Vec<PoolerTemplateSpecEphemeralContainers>>, pub host_aliases: Option<Vec<PoolerTemplateSpecHostAliases>>, pub host_ipc: Option<bool>, pub host_network: Option<bool>, pub host_pid: Option<bool>, pub host_users: Option<bool>, pub hostname: Option<String>, pub image_pull_secrets: Option<Vec<PoolerTemplateSpecImagePullSecrets>>, pub init_containers: Option<Vec<PoolerTemplateSpecInitContainers>>, pub node_name: Option<String>, pub node_selector: Option<BTreeMap<String, String>>, pub os: Option<PoolerTemplateSpecOs>, pub overhead: Option<BTreeMap<String, IntOrString>>, pub preemption_policy: Option<String>, pub priority: Option<i32>, pub priority_class_name: Option<String>, pub readiness_gates: Option<Vec<PoolerTemplateSpecReadinessGates>>, pub resource_claims: Option<Vec<PoolerTemplateSpecResourceClaims>>, pub restart_policy: Option<String>, pub runtime_class_name: Option<String>, pub scheduler_name: Option<String>, pub scheduling_gates: Option<Vec<PoolerTemplateSpecSchedulingGates>>, pub security_context: Option<PoolerTemplateSpecSecurityContext>, pub service_account: Option<String>, pub service_account_name: Option<String>, pub set_hostname_as_fqdn: Option<bool>, pub share_process_namespace: Option<bool>, pub subdomain: Option<String>, pub termination_grace_period_seconds: Option<i64>, pub tolerations: Option<Vec<PoolerTemplateSpecTolerations>>, pub topology_spread_constraints: Option<Vec<PoolerTemplateSpecTopologySpreadConstraints>>, pub volumes: Option<Vec<PoolerTemplateSpecVolumes>>,
}

Fields§

§active_deadline_seconds: Option<i64>§affinity: Option<PoolerTemplateSpecAffinity>§automount_service_account_token: Option<bool>§containers: Vec<PoolerTemplateSpecContainers>§dns_config: Option<PoolerTemplateSpecDnsConfig>§dns_policy: Option<String>§enable_service_links: Option<bool>§ephemeral_containers: Option<Vec<PoolerTemplateSpecEphemeralContainers>>§host_aliases: Option<Vec<PoolerTemplateSpecHostAliases>>§host_ipc: Option<bool>§host_network: Option<bool>§host_pid: Option<bool>§host_users: Option<bool>§hostname: Option<String>§image_pull_secrets: Option<Vec<PoolerTemplateSpecImagePullSecrets>>§init_containers: Option<Vec<PoolerTemplateSpecInitContainers>>§node_name: Option<String>§node_selector: Option<BTreeMap<String, String>>§os: Option<PoolerTemplateSpecOs>§overhead: Option<BTreeMap<String, IntOrString>>§preemption_policy: Option<String>§priority: Option<i32>§priority_class_name: Option<String>§readiness_gates: Option<Vec<PoolerTemplateSpecReadinessGates>>§resource_claims: Option<Vec<PoolerTemplateSpecResourceClaims>>§restart_policy: Option<String>§runtime_class_name: Option<String>§scheduler_name: Option<String>§scheduling_gates: Option<Vec<PoolerTemplateSpecSchedulingGates>>§security_context: Option<PoolerTemplateSpecSecurityContext>§service_account: Option<String>§service_account_name: Option<String>§set_hostname_as_fqdn: Option<bool>§share_process_namespace: Option<bool>§subdomain: Option<String>§termination_grace_period_seconds: Option<i64>§tolerations: Option<Vec<PoolerTemplateSpecTolerations>>§topology_spread_constraints: Option<Vec<PoolerTemplateSpecTopologySpreadConstraints>>§volumes: Option<Vec<PoolerTemplateSpecVolumes>>

Trait Implementations§

source§

impl Clone for PoolerTemplateSpec

source§

fn clone(&self) -> PoolerTemplateSpec

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PoolerTemplateSpec

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PoolerTemplateSpec

source§

fn default() -> PoolerTemplateSpec

Returns the “default value” for a type. Read more
source§

impl<'de> Deserialize<'de> for PoolerTemplateSpec

source§

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 PoolerTemplateSpec

source§

fn schema_name() -> String

The name of the generated JSON Schema. Read more
source§

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

Generates a JSON Schema for this type. Read more
source§

fn is_referenceable() -> bool

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more
source§

impl Serialize for PoolerTemplateSpec

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> DynClone for T
where T: Clone,

source§

fn __clone_box(&self, _: Private) -> *mut ()

source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T> FutureExt for T

§

fn with_context(self, otel_cx: Context) -> WithContext<Self>

Attaches the provided Context to this type, returning a WithContext wrapper. Read more
§

fn with_current_context(self) -> WithContext<Self>

Attaches the current Context to this type, returning a WithContext wrapper. Read more
source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,