Reference documentation and code samples for the Grafeas V1 Client class InTotoProvenance.
Generated from protobuf message grafeas.v1.InTotoProvenance
Namespace
Grafeas \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ builder_config |
BuilderConfig
required |
↳ recipe |
Recipe
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). |
↳ metadata |
Metadata
|
↳ materials |
array
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. |
getBuilderConfig
required
Returns | |
---|---|
Type | Description |
BuilderConfig|null |
hasBuilderConfig
clearBuilderConfig
setBuilderConfig
required
Parameter | |
---|---|
Name | Description |
var |
BuilderConfig
|
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 |
Recipe|null |
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 |
var |
Recipe
|
Returns | |
---|---|
Type | Description |
$this |
getMetadata
Generated from protobuf field .grafeas.v1.Metadata metadata = 3;
Returns | |
---|---|
Type | Description |
Metadata|null |
hasMetadata
clearMetadata
setMetadata
Generated from protobuf field .grafeas.v1.Metadata metadata = 3;
Parameter | |
---|---|
Name | Description |
var |
Metadata
|
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 |
Google\Protobuf\Internal\RepeatedField |
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 |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |