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 |
Grafeas\V1\InTotoSlsaProvenanceV1\BuildDefinition
|
↳ run_details |
Grafeas\V1\InTotoSlsaProvenanceV1\RunDetails
|
getBuildDefinition
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;
Returns | |
---|---|
Type | Description |
Grafeas\V1\InTotoSlsaProvenanceV1\BuildDefinition|null |
hasBuildDefinition
clearBuildDefinition
setBuildDefinition
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;
Parameter | |
---|---|
Name | Description |
var |
Grafeas\V1\InTotoSlsaProvenanceV1\BuildDefinition
|
Returns | |
---|---|
Type | Description |
$this |
getRunDetails
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;
Returns | |
---|---|
Type | Description |
Grafeas\V1\InTotoSlsaProvenanceV1\RunDetails|null |
hasRunDetails
clearRunDetails
setRunDetails
Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;
Parameter | |
---|---|
Name | Description |
var |
Grafeas\V1\InTotoSlsaProvenanceV1\RunDetails
|
Returns | |
---|---|
Type | Description |
$this |