GoogleApi.OnDemandScanning.V1.Model.LayerDetails (google_api_on_demand_scanning v0.7.0)

View Source

Details about the layer a package was found in.

Attributes

  • baseImages (type: list(GoogleApi.OnDemandScanning.V1.Model.BaseImage.t), default: nil) - The base images the layer is found within.
  • command (type: String.t, default: nil) - The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
  • diffId (type: String.t, default: nil) - The diff ID (sha256 hash) of the layer in the container image.
  • index (type: integer(), default: nil) - The index of the layer in the container image.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.LayerDetails{
  baseImages: [GoogleApi.OnDemandScanning.V1.Model.BaseImage.t()] | nil,
  command: String.t() | nil,
  diffId: String.t() | nil,
  index: integer() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.