Class: Grafeas::V1::SourceContext
- Inherits:
-
Object
- Object
- Grafeas::V1::SourceContext
- 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
-
#cloud_repo ⇒ Grafeas::V1::CloudRepoSourceContext
A SourceContext referring to a revision in a Google Cloud Source Repo.
-
#gerrit ⇒ Grafeas::V1::GerritSourceContext
A SourceContext referring to a Gerrit project.
-
#git ⇒ Grafeas::V1::GitSourceContext
A SourceContext referring to any third party Git repo (e.g., GitHub).
-
#labels ⇒ Hash{String => String}
Labels with user defined metadata.
Instance Attribute Details
#cloud_repo ⇒ Grafeas::V1::CloudRepoSourceContext
Returns A SourceContext referring to a revision in a Google Cloud Source Repo.
162 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 162 class SourceContext; end |
#gerrit ⇒ Grafeas::V1::GerritSourceContext
Returns A SourceContext referring to a Gerrit project.
162 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 162 class SourceContext; end |
#git ⇒ Grafeas::V1::GitSourceContext
Returns A SourceContext referring to any third party Git repo (e.g., GitHub).
162 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 162 class SourceContext; end |
#labels ⇒ Hash{String => String}
Returns Labels with user defined metadata.
162 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 162 class SourceContext; end |