Reference documentation and code samples for the Grafeas V1 Client class Command.
Command describes a step performed as part of the build pipeline.
Generated from protobuf message grafeas.v1.Command
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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
.
↳ env
string[]
Environment variables set before running this command.
↳ args
string[]
Command-line arguments used when executing this command.
↳ dir
string
Working directory (relative to project source root) used when running this command.
↳ id
string
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
↳ wait_for
string[]
The ID(s) of the command(s) that this command depends on.
getName
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
.
string
setName
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
.
var
string
$this
getEnv
Environment variables set before running this command.
setEnv
Environment variables set before running this command.
var
string[]
$this
getArgs
Command-line arguments used when executing this command.
setArgs
Command-line arguments used when executing this command.
var
string[]
$this
getDir
Working directory (relative to project source root) used when running this command.
string
setDir
Working directory (relative to project source root) used when running this command.
var
string
$this
getId
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
string
setId
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
var
string
$this
getWaitFor
The ID(s) of the command(s) that this command depends on.
setWaitFor
The ID(s) of the command(s) that this command depends on.
var
string[]
$this

