pub struct OciRepositoryStatusArtifact {
pub digest: String,
pub last_update_time: String,
pub metadata: Option<BTreeMap<String, String>>,
pub path: String,
pub revision: String,
pub size: Option<i64>,
pub url: String,
}Expand description
Artifact represents the output of the last successful OCI Repository sync.
Fields§
§digest: StringDigest is the digest of the file in the form of ‘
last_update_time: StringLastUpdateTime is the timestamp corresponding to the last update of the Artifact.
metadata: Option<BTreeMap<String, String>>Metadata holds upstream information such as OCI annotations.
path: StringPath is the relative file path of the Artifact. It can be used to locate the file in the root of the Artifact storage on the local file system of the controller managing the Source.
revision: StringRevision is a human-readable identifier traceable in the origin source system. It can be a Git commit SHA, Git tag, a Helm chart version, etc.
size: Option<i64>Size is the number of bytes in the file.
url: StringURL is the HTTP address of the Artifact as exposed by the controller managing the Source. It can be used to retrieve the Artifact for consumption, e.g. by another controller applying the Artifact contents.
Trait Implementations§
Source§impl Clone for OciRepositoryStatusArtifact
impl Clone for OciRepositoryStatusArtifact
Source§impl Debug for OciRepositoryStatusArtifact
impl Debug for OciRepositoryStatusArtifact
Source§impl<'de> Deserialize<'de> for OciRepositoryStatusArtifact
impl<'de> Deserialize<'de> for OciRepositoryStatusArtifact
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>,
impl StructuralPartialEq for OciRepositoryStatusArtifact
Auto Trait Implementations§
impl Forget for OciRepositoryStatusArtifact
impl Freeze for OciRepositoryStatusArtifact
impl Move for OciRepositoryStatusArtifact
impl RefUnwindSafe for OciRepositoryStatusArtifact
impl Send for OciRepositoryStatusArtifact
impl Sync for OciRepositoryStatusArtifact
impl Unpin for OciRepositoryStatusArtifact
impl UnsafeUnpin for OciRepositoryStatusArtifact
impl UnwindSafe for OciRepositoryStatusArtifact
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> ⓘ
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