Struct ContainerRegistryDestination (0.5.0)

容器映像的 Container Registry 位置。

字段

output_uri

必需。容器映像的 Container Registry URI。 目前仅支持 Google Container Registry 和 Artifact Registry。 接受的形式:

  • Google Container Registry 路径。例如:gcr.io/projectId/imageName:tag。

  • Artifact Registry 路径。例如:us-central1-docker.pkg.dev/projectId/repoName/imageName:tag。

如果未指定标记,系统会将“latest”用作默认标记。

实现

新

 fn new() -> Self

set_output_uri

 fn set_output_uri<T: std::convert::Into<std::string::String>>(self, v: T) -> Self

设置 [output_uri][crate::model::ContainerRegistryDestination::output_uri] 的值。