pub struct Config {Show 70 fields
pub cloud_provider: CloudProvider,
pub region: String,
pub create_balancers: bool,
pub create_console: bool,
pub helm_chart_version: Option<String>,
pub secrets_controller: String,
pub collect_pod_metrics: bool,
pub enable_prometheus_scrape_annotations: bool,
pub segment_api_key: Option<String>,
pub segment_client_side: bool,
pub console_image_tag_default: String,
pub console_image_tag_map: Vec<KeyValueArg<String, String>>,
pub aws_account_id: Option<String>,
pub environmentd_iam_role_arn: Option<String>,
pub environmentd_connection_role_arn: Option<String>,
pub aws_secrets_controller_tags: Vec<String>,
pub environmentd_availability_zones: Option<Vec<String>>,
pub ephemeral_volume_class: Option<String>,
pub scheduler_name: Option<String>,
pub enable_security_context: bool,
pub enable_internal_statement_logging: bool,
pub disable_statement_logging: bool,
pub orchestratord_pod_selector_labels: Vec<KeyValueArg<String, String>>,
pub environmentd_node_selector: Vec<KeyValueArg<String, String>>,
pub environmentd_affinity: Option<Affinity>,
pub environmentd_tolerations: Option<Vec<Toleration>>,
pub environmentd_default_resources: Option<ResourceRequirements>,
pub clusterd_node_selector: Vec<KeyValueArg<String, String>>,
pub clusterd_affinity: Option<Affinity>,
pub clusterd_tolerations: Option<Vec<Toleration>>,
pub balancerd_node_selector: Vec<KeyValueArg<String, String>>,
pub balancerd_affinity: Option<Affinity>,
pub balancerd_tolerations: Option<Vec<Toleration>>,
pub balancerd_default_resources: Option<ResourceRequirements>,
pub console_node_selector: Vec<KeyValueArg<String, String>>,
pub console_affinity: Option<Affinity>,
pub console_tolerations: Option<Vec<Toleration>>,
pub console_default_resources: Option<ResourceRequirements>,
pub image_pull_policy: KubernetesImagePullPolicy,
pub network_policies_internal_enabled: bool,
pub network_policies_ingress_enabled: bool,
pub network_policies_ingress_cidrs: Vec<String>,
pub network_policies_egress_enabled: bool,
pub network_policies_egress_cidrs: Vec<String>,
pub environmentd_cluster_replica_sizes: Option<String>,
pub bootstrap_default_cluster_replica_size: Option<String>,
pub bootstrap_builtin_system_cluster_replica_size: Option<String>,
pub bootstrap_builtin_probe_cluster_replica_size: Option<String>,
pub bootstrap_builtin_support_cluster_replica_size: Option<String>,
pub bootstrap_builtin_catalog_server_cluster_replica_size: Option<String>,
pub bootstrap_builtin_analytics_cluster_replica_size: Option<String>,
pub bootstrap_builtin_system_cluster_replication_factor: Option<u32>,
pub bootstrap_builtin_probe_cluster_replication_factor: Option<u32>,
pub bootstrap_builtin_support_cluster_replication_factor: Option<u32>,
pub bootstrap_builtin_analytics_cluster_replication_factor: Option<u32>,
pub environmentd_allowed_origins: Vec<HeaderValue>,
pub internal_console_proxy_url: String,
pub environmentd_sql_port: u16,
pub environmentd_http_port: u16,
pub environmentd_internal_sql_port: u16,
pub environmentd_internal_http_port: u16,
pub environmentd_internal_persist_pubsub_port: u16,
pub balancerd_sql_port: u16,
pub balancerd_http_port: u16,
pub balancerd_internal_http_port: u16,
pub console_http_port: u16,
pub default_certificate_specs: DefaultCertificateSpecs,
pub disable_license_key_checks: bool,
pub tracing: TracingCliArgs,
pub orchestratord_namespace: String,
}Fields§
§cloud_provider: CloudProvider§region: String§create_balancers: bool§create_console: bool§helm_chart_version: Option<String>§secrets_controller: String§collect_pod_metrics: bool§enable_prometheus_scrape_annotations: bool§segment_api_key: Option<String>§segment_client_side: bool§console_image_tag_default: String§console_image_tag_map: Vec<KeyValueArg<String, String>>§aws_account_id: Option<String>§environmentd_iam_role_arn: Option<String>§environmentd_connection_role_arn: Option<String>§environmentd_availability_zones: Option<Vec<String>>§ephemeral_volume_class: Option<String>§scheduler_name: Option<String>§enable_security_context: bool§enable_internal_statement_logging: bool§disable_statement_logging: bool§orchestratord_pod_selector_labels: Vec<KeyValueArg<String, String>>§environmentd_node_selector: Vec<KeyValueArg<String, String>>§environmentd_affinity: Option<Affinity>§environmentd_tolerations: Option<Vec<Toleration>>§environmentd_default_resources: Option<ResourceRequirements>§clusterd_node_selector: Vec<KeyValueArg<String, String>>§clusterd_affinity: Option<Affinity>§clusterd_tolerations: Option<Vec<Toleration>>§balancerd_node_selector: Vec<KeyValueArg<String, String>>§balancerd_affinity: Option<Affinity>§balancerd_tolerations: Option<Vec<Toleration>>§balancerd_default_resources: Option<ResourceRequirements>§console_node_selector: Vec<KeyValueArg<String, String>>§console_affinity: Option<Affinity>§console_tolerations: Option<Vec<Toleration>>§console_default_resources: Option<ResourceRequirements>§image_pull_policy: KubernetesImagePullPolicy§network_policies_internal_enabled: bool§network_policies_ingress_enabled: bool§network_policies_ingress_cidrs: Vec<String>§network_policies_egress_enabled: bool§network_policies_egress_cidrs: Vec<String>§environmentd_cluster_replica_sizes: Option<String>§bootstrap_default_cluster_replica_size: Option<String>§bootstrap_builtin_system_cluster_replica_size: Option<String>§bootstrap_builtin_probe_cluster_replica_size: Option<String>§bootstrap_builtin_support_cluster_replica_size: Option<String>§bootstrap_builtin_catalog_server_cluster_replica_size: Option<String>§bootstrap_builtin_analytics_cluster_replica_size: Option<String>§bootstrap_builtin_system_cluster_replication_factor: Option<u32>§bootstrap_builtin_probe_cluster_replication_factor: Option<u32>§bootstrap_builtin_support_cluster_replication_factor: Option<u32>§bootstrap_builtin_analytics_cluster_replication_factor: Option<u32>§environmentd_allowed_origins: Vec<HeaderValue>§internal_console_proxy_url: String§environmentd_sql_port: u16§environmentd_http_port: u16§environmentd_internal_sql_port: u16§environmentd_internal_http_port: u16§environmentd_internal_persist_pubsub_port: u16§balancerd_sql_port: u16§balancerd_http_port: u16§balancerd_internal_http_port: u16§console_http_port: u16§default_certificate_specs: DefaultCertificateSpecs§disable_license_key_checks: bool§tracing: TracingCliArgs§orchestratord_namespace: StringAuto Trait Implementations§
impl !Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
Source§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the foreground set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red() and
green(), which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg():
use yansi::{Paint, Color};
painted.fg(Color::White);Set foreground color to white using white().
use yansi::Paint;
painted.white();Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self with the background set to
value.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red() and
on_green(), which have the same functionality but
are pithier.
§Example
Set background color to red using fg():
use yansi::{Paint, Color};
painted.bg(Color::Red);Set background color to red using on_red().
use yansi::Paint;
painted.on_red();Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute value.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold() and
underline(), which have the same functionality
but are pithier.
§Example
Make text bold using attr():
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);Make text bold using using bold().
use yansi::Paint;
painted.bold();Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi Quirk value.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask() and
wrap(), which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk():
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);Enable wrapping using wrap().
use yansi::Paint;
painted.wrap();Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting() due to conflicts with Vec::clear().
The clear() method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted only when both stdout and stderr are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
Source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
RustType::from_proto.Source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
RustType::into_proto.Source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
Source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
std::ops::AddAssign, for types that do not implement AddAssign.