pub struct Config {Show 25 fields
pub id: Option<i64>,
pub service: Option<String>,
pub namespace: String,
pub local_port: Option<u16>,
pub remote_port: Option<u16>,
pub context: Option<String>,
pub workload_type: Option<String>,
pub protocol: String,
pub remote_address: Option<String>,
pub local_address: Option<String>,
pub auto_loopback_address: bool,
pub alias: Option<String>,
pub domain_enabled: Option<bool>,
pub kubeconfig: Option<String>,
pub target: Option<String>,
pub http_logs_enabled: Option<bool>,
pub http_logs_max_file_size: Option<u64>,
pub http_logs_retention_days: Option<u64>,
pub http_logs_auto_cleanup: Option<bool>,
pub exposure_type: Option<String>,
pub cert_manager_enabled: Option<bool>,
pub cert_issuer: Option<String>,
pub cert_issuer_kind: Option<String>,
pub ingress_class: Option<String>,
pub ingress_annotations: Option<String>,
}Fields§
§id: Option<i64>§service: Option<String>§namespace: String§local_port: Option<u16>§remote_port: Option<u16>§context: Option<String>§workload_type: Option<String>§protocol: String§remote_address: Option<String>§local_address: Option<String>§auto_loopback_address: bool§alias: Option<String>§domain_enabled: Option<bool>§kubeconfig: Option<String>§target: Option<String>§http_logs_enabled: Option<bool>§http_logs_max_file_size: Option<u64>§http_logs_retention_days: Option<u64>§http_logs_auto_cleanup: Option<bool>§exposure_type: Option<String>§cert_manager_enabled: Option<bool>§cert_issuer: Option<String>§cert_issuer_kind: Option<String>§ingress_class: Option<String>§ingress_annotations: Option<String>Implementations§
Source§impl Config
impl Config
pub fn prepare_for_export(self) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin 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
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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 more