Grafeas V1 Client - Class SlsaCompleteness (1.1.1)

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

Indicates that the builder claims certain fields in this message to be complete.

Generated from protobuf message grafeas.v1.SlsaProvenance.SlsaCompleteness

Namespace

Grafeas \ V1 \ SlsaProvenance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ arguments bool

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

↳ environment bool

If true, the builder claims that recipe.environment is claimed to be complete.

↳ materials bool

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

getArguments

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

Returns
Type Description
bool

setArguments

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

Parameter
Name Description
var bool
Returns
Type Description
$this

getEnvironment

If true, the builder claims that recipe.environment is claimed to be complete.

Returns
Type Description
bool

setEnvironment

If true, the builder claims that recipe.environment is claimed to be complete.

Parameter
Name Description
var bool
Returns
Type Description
$this

getMaterials

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

Returns
Type Description
bool

setMaterials

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

Parameter
Name Description
var bool
Returns
Type Description
$this