Class: Grafeas::V1::AliasContext
- Inherits:
-
Object
- Object
- Grafeas::V1::AliasContext
- Defined in:
- lib/grafeas/v1/doc/grafeas/v1/provenance.rb
Overview
An alias to a repo revision.
Defined Under Namespace
Modules: Kind
Instance Attribute Summary collapse
-
#kind ⇒ Grafeas::V1::AliasContext::Kind
The alias kind.
-
#name ⇒ String
The alias name.
Instance Attribute Details
#kind ⇒ Grafeas::V1::AliasContext::Kind
Returns The alias kind.
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 171 class AliasContext # The type of an alias. module Kind # Unknown. KIND_UNSPECIFIED = 0 # Git tag. FIXED = 1 # Git branch. MOVABLE = 2 # Used to specify non-standard aliases. For example, if a Git repo has a # ref named "refs/foo/bar". OTHER = 4 end end |
#name ⇒ String
Returns The alias name.
171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 |
# File 'lib/grafeas/v1/doc/grafeas/v1/provenance.rb', line 171 class AliasContext # The type of an alias. module Kind # Unknown. KIND_UNSPECIFIED = 0 # Git tag. FIXED = 1 # Git branch. MOVABLE = 2 # Used to specify non-standard aliases. For example, if a Git repo has a # ref named "refs/foo/bar". OTHER = 4 end end |