Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::SlsaProvenance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#builder
def
builder
()
-
>
::
Grafeas
::
V1
::
SlsaProvenance
::
SlsaBuilder
Returns
#builder=
def
builder=
(
value
)
-
>
::
Grafeas
::
V1
::
SlsaProvenance
::
SlsaBuilder
Parameter
Returns
#materials
def
materials
()
-
>
::
Array
< ::
Grafeas
::
V1
::
SlsaProvenance
::
Material
>
Returns
- (::Array< ::Grafeas::V1::SlsaProvenance::Material >) — The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
#materials=
def
materials=
(
value
)
-
>
::
Array
< ::
Grafeas
::
V1
::
SlsaProvenance
::
Material
>
Parameter
- value(::Array< ::Grafeas::V1::SlsaProvenance::Material >) — The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
Returns
- (::Array< ::Grafeas::V1::SlsaProvenance::Material >) — The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
#metadata
def
metadata
()
-
>
::
Grafeas
::
V1
::
SlsaProvenance
::
SlsaMetadata
Returns
#metadata=
def
metadata=
(
value
)
-
>
::
Grafeas
::
V1
::
SlsaProvenance
::
SlsaMetadata
Parameter
Returns
#recipe
def
recipe
()
-
>
::
Grafeas
::
V1
::
SlsaProvenance
::
SlsaRecipe
Returns
- ( ::Grafeas::V1::SlsaProvenance::SlsaRecipe ) — Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
#recipe=
def
recipe=
(
value
)
-
>
::
Grafeas
::
V1
::
SlsaProvenance
::
SlsaRecipe
Parameter
- value( ::Grafeas::V1::SlsaProvenance::SlsaRecipe ) — Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
Returns
- ( ::Grafeas::V1::SlsaProvenance::SlsaRecipe ) — Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).