GoogleApi.ContainerAnalysis.V1alpha1.Model.Source (google_api_container_analysis v0.14.0) View Source

Source describes the location of the source used for the build.

Attributes

  • additionalContexts (type: list(GoogleApi.ContainerAnalysis.V1alpha1.Model.GoogleDevtoolsContaineranalysisV1alpha1SourceContext.t), default: nil) - If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
  • artifactStorageSource (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.StorageSource.t, default: nil) - If provided, the input binary artifacts for the build came from this location.
  • context (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.GoogleDevtoolsContaineranalysisV1alpha1SourceContext.t, default: nil) - If provided, the source code used for the build came from this location.
  • fileHashes (type: %{optional(String.t) => GoogleApi.ContainerAnalysis.V1alpha1.Model.FileHashes.t}, default: nil) - Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. 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.
  • repoSource (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.RepoSource.t, default: nil) - If provided, get source from this location in a Cloud Repo.
  • storageSource (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.StorageSource.t, default: nil) - If provided, get the source from this location in in Google Cloud Storage.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.