Class: Grafeas::V1::SourceContext

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

Overview

A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.

Instance Attribute Summary collapse

Instance Attribute Details

#cloud_repoGrafeas::V1::CloudRepoSourceContext

Returns A SourceContext referring to a revision in a Google Cloud Source Repo.

Returns:



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

class SourceContext; end

#gerritGrafeas::V1::GerritSourceContext

Returns A SourceContext referring to a Gerrit project.

Returns:



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

class SourceContext; end

#gitGrafeas::V1::GitSourceContext

Returns A SourceContext referring to any third party Git repo (e.g., GitHub).

Returns:



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

class SourceContext; end

#labelsHash{String => String}

Returns Labels with user defined metadata.

Returns:

  • (Hash{String => String})

    Labels with user defined metadata.



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

class SourceContext; end