Struct pulumi_wasm_docker::image::ImageArgsBuilder
source · pub struct ImageArgsBuilder<___State = __ImageArgsBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Build, __BuildOnPreview, __ImageName, __Registry, __SkipPush> ImageArgsBuilder<(__Build, __BuildOnPreview, __ImageName, __Registry, __SkipPush)>
impl<__Build, __BuildOnPreview, __ImageName, __Registry, __SkipPush> ImageArgsBuilder<(__Build, __BuildOnPreview, __ImageName, __Registry, __SkipPush)>
sourcepub fn build_struct(self) -> ImageArgswhere
__Build: IntoSet<Option<Output<Option<DockerBuild>>>, ImageArgsBuilder__build>,
__BuildOnPreview: IntoSet<Option<Output<Option<bool>>>, ImageArgsBuilder__build_on_preview>,
__ImageName: IntoSet<Output<String>, ImageArgsBuilder__image_name>,
__Registry: IntoSet<Option<Output<Option<Registry>>>, ImageArgsBuilder__registry>,
__SkipPush: IntoSet<Option<Output<Option<bool>>>, ImageArgsBuilder__skip_push>,
pub fn build_struct(self) -> ImageArgswhere
__Build: IntoSet<Option<Output<Option<DockerBuild>>>, ImageArgsBuilder__build>,
__BuildOnPreview: IntoSet<Option<Output<Option<bool>>>, ImageArgsBuilder__build_on_preview>,
__ImageName: IntoSet<Output<String>, ImageArgsBuilder__image_name>,
__Registry: IntoSet<Option<Output<Option<Registry>>>, ImageArgsBuilder__registry>,
__SkipPush: IntoSet<Option<Output<Option<bool>>>, ImageArgsBuilder__skip_push>,
Finishes building and returns the requested object.
sourcepub fn maybe_build(
self,
value: Option<impl Into<Output<Option<DockerBuild>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Buildwhere
__Build: IsUnset,
pub fn maybe_build(
self,
value: Option<impl Into<Output<Option<DockerBuild>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Buildwhere
__Build: IsUnset,
Same as Self::build
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn build(
self,
value: impl Into<Output<Option<DockerBuild>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Buildwhere
__Build: IsUnset,
pub fn build(
self,
value: impl Into<Output<Option<DockerBuild>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Buildwhere
__Build: IsUnset,
The Docker build context
sourcepub fn maybe_build_on_preview(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::BuildOnPreviewwhere
__BuildOnPreview: IsUnset,
pub fn maybe_build_on_preview(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::BuildOnPreviewwhere
__BuildOnPreview: IsUnset,
Same as Self::build_on_preview
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn build_on_preview(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __ImageArgsBuilderSetMember>::BuildOnPreviewwhere
__BuildOnPreview: IsUnset,
pub fn build_on_preview(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __ImageArgsBuilderSetMember>::BuildOnPreviewwhere
__BuildOnPreview: IsUnset,
A flag to build an image on preview
sourcepub fn image_name(
self,
value: impl Into<Output<String>>,
) -> <Self as __ImageArgsBuilderSetMember>::ImageNamewhere
__ImageName: IsUnset,
pub fn image_name(
self,
value: impl Into<Output<String>>,
) -> <Self as __ImageArgsBuilderSetMember>::ImageNamewhere
__ImageName: IsUnset,
The image name, of the format repository[:tag], e.g. docker.io/username/demo-image:v1
.
This reference is not unique to each build and push.For the unique manifest SHA of a pushed docker image, or the local image ID, please use repoDigest
.
sourcepub fn maybe_registry(
self,
value: Option<impl Into<Output<Option<Registry>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Registrywhere
__Registry: IsUnset,
pub fn maybe_registry(
self,
value: Option<impl Into<Output<Option<Registry>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Registrywhere
__Registry: IsUnset,
Same as Self::registry
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn registry(
self,
value: impl Into<Output<Option<Registry>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Registrywhere
__Registry: IsUnset,
pub fn registry(
self,
value: impl Into<Output<Option<Registry>>>,
) -> <Self as __ImageArgsBuilderSetMember>::Registrywhere
__Registry: IsUnset,
The registry to push the image to
sourcepub fn maybe_skip_push(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::SkipPushwhere
__SkipPush: IsUnset,
pub fn maybe_skip_push(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __ImageArgsBuilderSetMember>::SkipPushwhere
__SkipPush: IsUnset,
Same as Self::skip_push
, but accepts an Option
as input. See that method’s documentation for more details.