Class: Grafeas::V1::Command
- Inherits:
-
Object
- Object
- Grafeas::V1::Command
- Extended by:
- Google::Protobuf::MessageExts::ClassMethods
- Includes:
- Google::Protobuf::MessageExts
- Defined in:
- proto_docs/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.
162 163 164 165 |
# File 'proto_docs/grafeas/v1/provenance.rb', line 162 class Command include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#dir ⇒ ::String
Returns Working directory (relative to project source root) used when running this command.
162 163 164 165 |
# File 'proto_docs/grafeas/v1/provenance.rb', line 162 class Command include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#env ⇒ ::Array<::String>
Returns Environment variables set before running this command.
162 163 164 165 |
# File 'proto_docs/grafeas/v1/provenance.rb', line 162 class Command include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#id ⇒ ::String
Returns Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
162 163 164 165 |
# File 'proto_docs/grafeas/v1/provenance.rb', line 162 class Command include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods 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
.
162 163 164 165 |
# File 'proto_docs/grafeas/v1/provenance.rb', line 162 class Command include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |