-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodel_provenance_command.go
26 lines (24 loc) · 1.12 KB
/
model_provenance_command.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
* proto/v1beta1/grafeas.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: version not set
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package gofeas
// Command describes a step performed as part of the build pipeline.
type ProvenanceCommand struct {
// Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
Name string `json:"name,omitempty"`
// Environment variables set before running this command.
Env []string `json:"env,omitempty"`
// Command-line arguments used when executing this command.
Args []string `json:"args,omitempty"`
// Working directory (relative to project source root) used when running this command.
Dir string `json:"dir,omitempty"`
// Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
Id string `json:"id,omitempty"`
// The ID(s) of the command(s) that this command depends on.
WaitFor []string `json:"wait_for,omitempty"`
}