#[non_exhaustive]pub struct Artifacts {
pub images: Vec<String>,
pub objects: Option<ArtifactObjects>,
pub maven_artifacts: Vec<MavenArtifact>,
pub go_modules: Vec<GoModule>,
pub python_packages: Vec<PythonPackage>,
pub npm_packages: Vec<NpmPackage>,
}Expand description
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.images: Vec<String>A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account’s credentials.
The digests of the pushed images will be stored in the Build resource’s results field.
If any of the images fail to be pushed, the build is marked FAILURE.
objects: Option<ArtifactObjects>A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account’s credentials.
The location and generation of the uploaded objects will be stored in the Build resource’s results field.
If any objects fail to be pushed, the build is marked FAILURE.
maven_artifacts: Vec<MavenArtifact>A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps.
Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account’s credentials.
If any artifacts fail to be pushed, the build is marked FAILURE.
go_modules: Vec<GoModule>Optional. A list of Go modules to be uploaded to Artifact Registry upon successful completion of all build steps.
If any objects fail to be pushed, the build is marked FAILURE.
python_packages: Vec<PythonPackage>A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps.
The build service account credentials will be used to perform the upload.
If any objects fail to be pushed, the build is marked FAILURE.
npm_packages: Vec<NpmPackage>A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps.
Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account’s credentials.
If any packages fail to be pushed, the build is marked FAILURE.
Implementations§
Source§impl Artifacts
impl Artifacts
Sourcepub fn set_objects<T: Into<Option<ArtifactObjects>>>(self, v: T) -> Self
pub fn set_objects<T: Into<Option<ArtifactObjects>>>(self, v: T) -> Self
Sets the value of objects.
Sourcepub fn set_images<T, V>(self, v: T) -> Self
pub fn set_images<T, V>(self, v: T) -> Self
Sets the value of images.
Sourcepub fn set_maven_artifacts<T, V>(self, v: T) -> Self
pub fn set_maven_artifacts<T, V>(self, v: T) -> Self
Sets the value of maven_artifacts.
Sourcepub fn set_go_modules<T, V>(self, v: T) -> Self
pub fn set_go_modules<T, V>(self, v: T) -> Self
Sets the value of go_modules.
Sourcepub fn set_python_packages<T, V>(self, v: T) -> Self
pub fn set_python_packages<T, V>(self, v: T) -> Self
Sets the value of python_packages.
Sourcepub fn set_npm_packages<T, V>(self, v: T) -> Self
pub fn set_npm_packages<T, V>(self, v: T) -> Self
Sets the value of npm_packages.