Struct gapi_grpc::google::devtools::cloudbuild::v1::SourceProvenance[][src]

pub struct SourceProvenance {
    pub resolved_storage_source: Option<StorageSource>,
    pub resolved_repo_source: Option<RepoSource>,
    pub resolved_storage_source_manifest: Option<StorageSourceManifest>,
    pub file_hashes: HashMap<String, FileHashes>,
}

Provenance of the source. Ways to find the original source, or verify that some source was used for this build.

Fields

resolved_storage_source: Option<StorageSource>

A copy of the build’s source.storage_source, if exists, with any generations resolved.

resolved_repo_source: Option<RepoSource>

A copy of the build’s source.repo_source, if exists, with any revisions resolved.

resolved_storage_source_manifest: Option<StorageSourceManifest>

A copy of the build’s source.storage_source_manifest, if exists, with any revisions resolved. This feature is in Preview.

file_hashes: HashMap<String, FileHashes>

Output only. 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.

Trait Implementations

impl Clone for SourceProvenance[src]

impl Debug for SourceProvenance[src]

impl Default for SourceProvenance[src]

impl Message for SourceProvenance[src]

impl PartialEq<SourceProvenance> for SourceProvenance[src]

impl StructuralPartialEq for SourceProvenance[src]

Auto Trait Implementations

impl RefUnwindSafe for SourceProvenance

impl Send for SourceProvenance

impl Sync for SourceProvenance

impl Unpin for SourceProvenance

impl UnwindSafe for SourceProvenance

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]