pub struct GitRepositoryStatusArtifact {
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 last successful GitRepository reconciliation.
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 GitRepositoryStatusArtifact
impl Clone for GitRepositoryStatusArtifact
Source§impl Debug for GitRepositoryStatusArtifact
impl Debug for GitRepositoryStatusArtifact
Source§impl<'de> Deserialize<'de> for GitRepositoryStatusArtifact
impl<'de> Deserialize<'de> for GitRepositoryStatusArtifact
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 GitRepositoryStatusArtifact
Auto Trait Implementations§
impl Forget for GitRepositoryStatusArtifact
impl Freeze for GitRepositoryStatusArtifact
impl Move for GitRepositoryStatusArtifact
impl RefUnwindSafe for GitRepositoryStatusArtifact
impl Send for GitRepositoryStatusArtifact
impl Sync for GitRepositoryStatusArtifact
impl Unpin for GitRepositoryStatusArtifact
impl UnsafeUnpin for GitRepositoryStatusArtifact
impl UnwindSafe for GitRepositoryStatusArtifact
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