SourceResponse class
Source describes the location of the source used for the build.
Constructors
-
SourceResponse({required Input<
List< additionalContexts, required Input<SourceContextResponse> >String> artifactStorageSourceUri, required Input<SourceContextResponse> context, required Input<Map< fileHashes})String, String> > -
Creates a new SourceResponse.
additionalContextsIf provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.artifactStorageSourceUriIf provided, the input binary artifacts for the build came from this location.contextIf provided, the source code used for the build came from this location.fileHashesHash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.const -
SourceResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
additionalContexts
→ Input<
List< SourceContextResponse> > -
If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
final
-
artifactStorageSourceUri
→ Input<
String> -
If provided, the input binary artifacts for the build came from this location.
final
-
context
→ Input<
SourceContextResponse> -
If provided, the source code used for the build came from this location.
final
-
fileHashes
→ Input<
Map< String, String> > -
Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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