pub struct RemoteImageArgsBuilder<___State = __RemoteImageArgsBuilderInitialState> { /* 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, __ForceRemove, __KeepLocally, __Name, __Platform, __PullTriggers, __Triggers> RemoteImageArgsBuilder<(__Build, __ForceRemove, __KeepLocally, __Name, __Platform, __PullTriggers, __Triggers)>
impl<__Build, __ForceRemove, __KeepLocally, __Name, __Platform, __PullTriggers, __Triggers> RemoteImageArgsBuilder<(__Build, __ForceRemove, __KeepLocally, __Name, __Platform, __PullTriggers, __Triggers)>
sourcepub fn build_struct(self) -> RemoteImageArgswhere
__Build: IntoSet<Option<Output<Option<RemoteImageBuild>>>, RemoteImageArgsBuilder__build>,
__ForceRemove: IntoSet<Option<Output<Option<bool>>>, RemoteImageArgsBuilder__force_remove>,
__KeepLocally: IntoSet<Option<Output<Option<bool>>>, RemoteImageArgsBuilder__keep_locally>,
__Name: IntoSet<Output<String>, RemoteImageArgsBuilder__name>,
__Platform: IntoSet<Option<Output<Option<String>>>, RemoteImageArgsBuilder__platform>,
__PullTriggers: IntoSet<Option<Output<Option<Vec<String>>>>, RemoteImageArgsBuilder__pull_triggers>,
__Triggers: IntoSet<Option<Output<Option<HashMap<String, String>>>>, RemoteImageArgsBuilder__triggers>,
pub fn build_struct(self) -> RemoteImageArgswhere
__Build: IntoSet<Option<Output<Option<RemoteImageBuild>>>, RemoteImageArgsBuilder__build>,
__ForceRemove: IntoSet<Option<Output<Option<bool>>>, RemoteImageArgsBuilder__force_remove>,
__KeepLocally: IntoSet<Option<Output<Option<bool>>>, RemoteImageArgsBuilder__keep_locally>,
__Name: IntoSet<Output<String>, RemoteImageArgsBuilder__name>,
__Platform: IntoSet<Option<Output<Option<String>>>, RemoteImageArgsBuilder__platform>,
__PullTriggers: IntoSet<Option<Output<Option<Vec<String>>>>, RemoteImageArgsBuilder__pull_triggers>,
__Triggers: IntoSet<Option<Output<Option<HashMap<String, String>>>>, RemoteImageArgsBuilder__triggers>,
Finishes building and returns the requested object.
sourcepub fn maybe_build(
self,
value: Option<impl Into<Output<Option<RemoteImageBuild>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Buildwhere
__Build: IsUnset,
pub fn maybe_build(
self,
value: Option<impl Into<Output<Option<RemoteImageBuild>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::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<RemoteImageBuild>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Buildwhere
__Build: IsUnset,
pub fn build(
self,
value: impl Into<Output<Option<RemoteImageBuild>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Buildwhere
__Build: IsUnset,
Configuration to build an image. Please see docker build command reference too.
sourcepub fn maybe_force_remove(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
pub fn maybe_force_remove(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
Same as Self::force_remove
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn force_remove(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
pub fn force_remove(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
Always remove intermediate containers
sourcepub fn maybe_keep_locally(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::KeepLocallywhere
__KeepLocally: IsUnset,
pub fn maybe_keep_locally(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::KeepLocallywhere
__KeepLocally: IsUnset,
Same as Self::keep_locally
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn keep_locally(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::KeepLocallywhere
__KeepLocally: IsUnset,
pub fn keep_locally(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::KeepLocallywhere
__KeepLocally: IsUnset,
If true, then the Docker image won’t be deleted on destroy operation. If this is false, it will delete the image from the docker local storage on destroy operation.
sourcepub fn name(
self,
value: impl Into<Output<String>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<String>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
type of ulimit, e.g. nofile
sourcepub fn maybe_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Platformwhere
__Platform: IsUnset,
pub fn maybe_platform(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Platformwhere
__Platform: IsUnset,
Same as Self::platform
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn platform(
self,
value: impl Into<Output<Option<String>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Platformwhere
__Platform: IsUnset,
pub fn platform(
self,
value: impl Into<Output<Option<String>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Platformwhere
__Platform: IsUnset,
Set platform if server is multi-platform capable
sourcepub fn maybe_pull_triggers(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::PullTriggerswhere
__PullTriggers: IsUnset,
pub fn maybe_pull_triggers(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::PullTriggerswhere
__PullTriggers: IsUnset,
Same as Self::pull_triggers
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn pull_triggers(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::PullTriggerswhere
__PullTriggers: IsUnset,
pub fn pull_triggers(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::PullTriggerswhere
__PullTriggers: IsUnset,
List of values which cause an image pull when changed. This is used to store the image digest from the registry when using the dockerregistryimage.
sourcepub fn maybe_triggers(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Triggerswhere
__Triggers: IsUnset,
pub fn maybe_triggers(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Triggerswhere
__Triggers: IsUnset,
Same as Self::triggers
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn triggers(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Triggerswhere
__Triggers: IsUnset,
pub fn triggers(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageArgsBuilderSetMember>::Triggerswhere
__Triggers: IsUnset,
A map of arbitrary strings that, when changed, will force the docker.RemoteImage
resource to be replaced. This can be used to rebuild an image when contents of source code folders change