GoModule class
Go module to upload to Artifact Registry upon successful completion of all build steps.
A module refers to all dependencies in a go.mod file.
Constructors
- GoModule.new({String? modulePath, String? moduleVersion, String? repositoryLocation, String? repositoryName, String? repositoryProjectId, String? sourcePath})
- GoModule.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- modulePath ↔ String?
-
The Go module's "module path".
getter/setter pair
- moduleVersion ↔ String?
-
The Go module's semantic version in the form vX.Y.Z. e.g. v0.1.1
Pre-release identifiers can also be added by appending a dash and dot
separated ASCII alphanumeric characters and hyphens.
getter/setter pair
- repositoryLocation ↔ String?
-
Location of the Artifact Registry repository.
getter/setter pair
- repositoryName ↔ String?
-
Artifact Registry repository name.
getter/setter pair
- repositoryProjectId ↔ String?
-
Project ID of the Artifact Registry repository.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourcePath ↔ String?
-
Source path of the go.mod file in the build's workspace.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited