pub struct ClusterIstio {
pub cluster_name: Option<String>,
pub location: Option<String>,
pub service_name: Option<String>,
pub service_namespace: Option<String>,
}
Expand description
Istio service scoped to a single Kubernetes cluster. Learn more at https://istio.io. Clusters running OSS Istio will have their services ingested as this type.
This type is not used in any activity, and only used as part of another schema.
Fields§
§cluster_name: Option<String>
The name of the Kubernetes cluster in which this Istio service is defined. Corresponds to the cluster_name resource label in k8s_cluster resources.
location: Option<String>
The location of the Kubernetes cluster in which this Istio service is defined. Corresponds to the location resource label in k8s_cluster resources.
service_name: Option<String>
The name of the Istio service underlying this service. Corresponds to the destination_service_name metric label in Istio metrics.
service_namespace: Option<String>
The namespace of the Istio service underlying this service. Corresponds to the destination_service_namespace metric label in Istio metrics.
Trait Implementations§
Source§impl Clone for ClusterIstio
impl Clone for ClusterIstio
Source§fn clone(&self) -> ClusterIstio
fn clone(&self) -> ClusterIstio
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ClusterIstio
impl Debug for ClusterIstio
Source§impl Default for ClusterIstio
impl Default for ClusterIstio
Source§fn default() -> ClusterIstio
fn default() -> ClusterIstio
Source§impl<'de> Deserialize<'de> for ClusterIstio
impl<'de> Deserialize<'de> for ClusterIstio
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>,
Source§impl Serialize for ClusterIstio
impl Serialize for ClusterIstio
impl Part for ClusterIstio
Auto Trait Implementations§
impl Freeze for ClusterIstio
impl RefUnwindSafe for ClusterIstio
impl Send for ClusterIstio
impl Sync for ClusterIstio
impl Unpin for ClusterIstio
impl UnwindSafe for ClusterIstio
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 more