Class: Grafeas::V1::Command

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#argsArray<String>

Returns Command-line arguments used when executing this command.

Returns:

  • (Array<String>)

    Command-line arguments used when executing this command.



128
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128

class Command; end

#dirString

Returns Working directory (relative to project source root) used when running this command.

Returns:

  • (String)

    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

#envArray<String>

Returns Environment variables set before running this command.

Returns:

  • (Array<String>)

    Environment variables set before running this command.



128
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128

class Command; end

#idString

Returns Optional unique identifier for this command, used in wait_for to reference this command as a dependency.

Returns:

  • (String)

    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

#nameString

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.

Returns:

  • (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.



128
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 128

class Command; end

#wait_forArray<String>

Returns The ID(s) of the command(s) that this command depends on.

Returns:

  • (Array<String>)

    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