Skip to main content

kaniop_operator/kanidm/
image.rs

1use crate::kanidm::crd::DomainAppearanceImageStatus;
2use kaniop_k8s_util::image::ImageStatus;
3
4impl ImageStatus for DomainAppearanceImageStatus {
5    fn url(&self) -> &str {
6        &self.url
7    }
8
9    fn etag(&self) -> Option<&String> {
10        self.etag.as_ref()
11    }
12
13    fn last_modified(&self) -> Option<&String> {
14        self.last_modified.as_ref()
15    }
16
17    fn content_length(&self) -> Option<u64> {
18        self.content_length
19    }
20}