Grafeas V1 Client - Class SlsaProvenance (1.1.3)

Reference documentation and code samples for the Grafeas V1 Client class SlsaProvenance.

Generated from protobuf message grafeas.v1.SlsaProvenance

Namespace

Grafeas \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ builder
↳ recipe
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).

↳ materials
array< 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.

getBuilder

required

Returns
Type
Description

hasBuilder

clearBuilder

setBuilder

required

Parameter
Name
Description
Returns
Type
Description
$this

getRecipe

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
Type
Description

hasRecipe

clearRecipe

setRecipe

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).

Parameter
Name
Description
Returns
Type
Description
$this

Generated from protobuf field .grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;

Returns
Type
Description

Generated from protobuf field .grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;

Parameter
Name
Description
Returns
Type
Description
$this

getMaterials

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
Type
Description

setMaterials

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.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: