SourceContext class

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.

Constructors

SourceContext({Input<CloudRepoSourceContext>? cloudRepo, Input<GerritSourceContext>? gerrit, Input<GitSourceContext>? git, Input<Map<String, String>>? labels})
Creates a new SourceContext. cloudRepo A SourceContext referring to a revision in a Google Cloud Source Repo. gerrit A SourceContext referring to a Gerrit project. git A SourceContext referring to any third party Git repo (e.g., GitHub). labels Labels with user defined metadata.
const
SourceContext.fromMap(Map<String, dynamic> map)
factory

Properties

cloudRepo → Input<CloudRepoSourceContext>?
A SourceContext referring to a revision in a Google Cloud Source Repo.
final
gerrit → Input<GerritSourceContext>?
A SourceContext referring to a Gerrit project.
final
git → Input<GitSourceContext>?
A SourceContext referring to any third party Git repo (e.g., GitHub).
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
Labels with user defined metadata.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited