Struct google_cloudbuild1::SourceProvenance
source · pub struct SourceProvenance {
pub resolved_repo_source: Option<RepoSource>,
pub file_hashes: Option<HashMap<String, FileHashes>>,
pub resolved_storage_source: Option<StorageSource>,
}Expand description
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
This type is not used in any activity, and only used as part of another schema.
Fields§
§resolved_repo_source: Option<RepoSource>A copy of the build’s source.repo_source, if exists, with any
revisions resolved.
file_hashes: Option<HashMap<String, FileHashes>>Output only. Hash(es) of the build source, which can be used to verify that
the originalsource integrity was maintained in the build. Note that
FileHashes willonly be populated if BuildOptions has requested a
SourceProvenanceHash.
The keys to this map are file paths used as build source and the values contain the hash values for those files.
If the build source came in a single package such as a gzipped tarfile
(.tar.gz), the FileHash will be for the single path to that file.
resolved_storage_source: Option<StorageSource>A copy of the build’s source.storage_source, if exists, with any
generations resolved.
Trait Implementations§
source§impl Clone for SourceProvenance
impl Clone for SourceProvenance
source§fn clone(&self) -> SourceProvenance
fn clone(&self) -> SourceProvenance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SourceProvenance
impl Debug for SourceProvenance
source§impl Default for SourceProvenance
impl Default for SourceProvenance
source§fn default() -> SourceProvenance
fn default() -> SourceProvenance
source§impl<'de> Deserialize<'de> for SourceProvenance
impl<'de> Deserialize<'de> for SourceProvenance
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 SourceProvenance
impl Serialize for SourceProvenance
impl Part for SourceProvenance
Auto Trait Implementations§
impl Freeze for SourceProvenance
impl RefUnwindSafe for SourceProvenance
impl Send for SourceProvenance
impl Sync for SourceProvenance
impl Unpin for SourceProvenance
impl UnwindSafe for SourceProvenance
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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