SourceContext constructor

const SourceContext({
  1. Input<CloudRepoSourceContext>? cloudRepo,
  2. Input<GerritSourceContext>? gerrit,
  3. Input<GitSourceContext>? git,
  4. 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.

Implementation

const SourceContext({
  this.cloudRepo,
  this.gerrit,
  this.git,
  this.labels,
});