Class: Grafeas::V1::GerritSourceContext

Inherits:
Object
  • Object
show all
Defined in:
lib/grafeas/v1/doc/grafeas/v1/provenance.rb

Overview

A SourceContext referring to a Gerrit project.

Instance Attribute Summary collapse

Instance Attribute Details

#alias_contextGrafeas::V1::AliasContext

Returns An alias, which may be a branch or tag.

Returns:



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

class GerritSourceContext; end

#gerrit_projectString

Returns The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.

Returns:

  • (String)

    The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.



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

class GerritSourceContext; end

#host_uriString

Returns The URI of a running Gerrit instance.

Returns:

  • (String)

    The URI of a running Gerrit instance.



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

class GerritSourceContext; end

#revision_idString

Returns A revision (commit) ID.

Returns:

  • (String)

    A revision (commit) ID.



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

class GerritSourceContext; end