Struct google_cloudbuild1::SourceProvenance [−][src]
pub struct SourceProvenance { pub resolved_repo_source: Option<RepoSource>, pub file_hashes: Option<HashMap<String, FileHashes>>, pub resolved_storage_source: Option<StorageSource>, }
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>>
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that FileHashes will only 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. @OutputOnly
resolved_storage_source: Option<StorageSource>
A copy of the build's source.storage_source, if exists, with any generations resolved.
Trait Implementations
impl Default for SourceProvenance
[src]
impl Default for SourceProvenance
fn default() -> SourceProvenance
[src]
fn default() -> SourceProvenance
Returns the "default value" for a type. Read more
impl Clone for SourceProvenance
[src]
impl Clone for SourceProvenance
fn clone(&self) -> SourceProvenance
[src]
fn clone(&self) -> SourceProvenance
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for SourceProvenance
[src]
impl Debug for SourceProvenance
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for SourceProvenance
[src]
impl Part for SourceProvenance
Auto Trait Implementations
impl Send for SourceProvenance
impl Send for SourceProvenance
impl Sync for SourceProvenance
impl Sync for SourceProvenance