Reference documentation and code samples for the Grafeas V1 Client class SlsaProvenanceV1.
Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1
Namespace
Grafeas \ V1 \ InTotoSlsaProvenanceV1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ build_definition |
BuildDefinition
|
↳ run_details |
RunDetails
|
getBuildDefinition
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;
Returns | |
---|---|
Type | Description |
BuildDefinition|null |
hasBuildDefinition
clearBuildDefinition
setBuildDefinition
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;
Parameter | |
---|---|
Name | Description |
var |
BuildDefinition
|
Returns | |
---|---|
Type | Description |
$this |
getRunDetails
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;
Returns | |
---|---|
Type | Description |
RunDetails|null |
hasRunDetails
clearRunDetails
setRunDetails
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;
Parameter | |
---|---|
Name | Description |
var |
RunDetails
|
Returns | |
---|---|
Type | Description |
$this |