pub struct ObservedApplicationReport {
pub chart_name: Option<String>,
pub chart_version: Option<String>,
pub complete: bool,
pub images: Vec<ObservedApplicationImage>,
pub observed_at: DateTime<Utc>,
pub source: ObservedApplicationSource,
}Expand description
Application release the Operator observes running in its environment.
This identifies the customer’s application, not the Operator: the
Operator’s own image is reported separately as OperatorImageReport.
JSON schema
{
"description": "Application release the Operator observes running in its environment.\n\nThis identifies the customer's application, not the Operator: the\nOperator's own image is reported separately as [`OperatorImageReport`].",
"type": "object",
"required": [
"complete",
"observedAt",
"source"
],
"properties": {
"chartName": {
"description": "Helm chart name from the workloads' `helm.sh/chart` label. Present only\nwhen every labelled workload names the same chart.",
"type": [
"string",
"null"
]
},
"chartVersion": {
"description": "Helm chart version from the same label.",
"type": [
"string",
"null"
]
},
"complete": {
"description": "Whether every workload kind could be listed. When `false`, the chart\nand images describe only the workloads the Operator could read.",
"type": "boolean"
},
"images": {
"description": "Distinct container images running in the observed workloads.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ObservedApplicationImage"
}
},
"observedAt": {
"description": "When the workloads were read.",
"type": "string",
"format": "date-time"
},
"source": {
"$ref": "#/components/schemas/ObservedApplicationSource"
}
}
}Fields§
§chart_name: Option<String>Helm chart name from the workloads’ helm.sh/chart label. Present only
when every labelled workload names the same chart.
chart_version: Option<String>Helm chart version from the same label.
complete: boolWhether every workload kind could be listed. When false, the chart
and images describe only the workloads the Operator could read.
images: Vec<ObservedApplicationImage>Distinct container images running in the observed workloads.
observed_at: DateTime<Utc>When the workloads were read.
source: ObservedApplicationSourceImplementations§
Source§impl ObservedApplicationReport
impl ObservedApplicationReport
pub fn builder() -> ObservedApplicationReport
Trait Implementations§
Source§impl Clone for ObservedApplicationReport
impl Clone for ObservedApplicationReport
Source§impl Debug for ObservedApplicationReport
impl Debug for ObservedApplicationReport
Source§impl<'de> Deserialize<'de> for ObservedApplicationReport
impl<'de> Deserialize<'de> for ObservedApplicationReport
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<&ObservedApplicationReport> for ObservedApplicationReport
impl From<&ObservedApplicationReport> for ObservedApplicationReport
Source§fn from(value: &ObservedApplicationReport) -> Self
fn from(value: &ObservedApplicationReport) -> Self
Converts to this type from the input type.
Source§impl From<ObservedApplicationReport> for ObservedApplicationReport
impl From<ObservedApplicationReport> for ObservedApplicationReport
Source§fn from(value: ObservedApplicationReport) -> Self
fn from(value: ObservedApplicationReport) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ObservedApplicationReport> for ObservedApplicationReport
impl TryFrom<ObservedApplicationReport> for ObservedApplicationReport
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ObservedApplicationReport) -> Result<Self, ConversionError>
fn try_from(value: ObservedApplicationReport) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for ObservedApplicationReport
impl Freeze for ObservedApplicationReport
impl RefUnwindSafe for ObservedApplicationReport
impl Send for ObservedApplicationReport
impl Sync for ObservedApplicationReport
impl Unpin for ObservedApplicationReport
impl UnsafeUnpin for ObservedApplicationReport
impl UnwindSafe for ObservedApplicationReport
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