Class: Grafeas::V1::Command
- Inherits:
-
Object
- Object
- Grafeas::V1::Command
- Defined in:
- lib/grafeas/v1/doc/grafeas/v1/provenance.rb
Overview
Command describes a step performed as part of the build pipeline.
Instance Attribute Summary collapse
-
#args ⇒ Array<String>
Command-line arguments used when executing this command.
-
#dir ⇒ String
Working directory (relative to project source root) used when running this command.
-
#env ⇒ Array<String>
Environment variables set before running this command.
-
#id ⇒ String
Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
-
#name ⇒ String
Required.
-
#wait_for ⇒ Array<String>
The ID(s) of the command(s) that this command depends on.
Instance Attribute Details
#args ⇒ Array<String>
Returns Command-line arguments used when executing this command.
128 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128 class Command; end |
#dir ⇒ String
Returns Working directory (relative to project source root) used when running this command.
128 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128 class Command; end |
#env ⇒ Array<String>
Returns Environment variables set before running this command.
128 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128 class Command; end |
#id ⇒ String
Returns Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
128 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128 class Command; end |
#name ⇒ String
Returns 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
.
128 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128 class Command; end |
#wait_for ⇒ Array<String>
Returns The ID(s) of the command(s) that this command depends on.
128 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128 class Command; end |