pub struct RemoteImageBuildBuilder<___State = __RemoteImageBuildBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
sourcepub fn build_struct(self) -> RemoteImageBuildwhere
__AuthConfigs: IntoSet<Option<Box<Option<Vec<RemoteImageBuildAuthConfig>>>>, RemoteImageBuildBuilder__auth_configs>,
__BuildArg: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__build_arg>,
__BuildArgs: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__build_args>,
__BuildId: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__build_id>,
__CacheFroms: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__cache_froms>,
__CgroupParent: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__cgroup_parent>,
__Context: IntoSet<Box<String>, RemoteImageBuildBuilder__context>,
__CpuPeriod: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__cpu_period>,
__CpuQuota: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__cpu_quota>,
__CpuSetCpus: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__cpu_set_cpus>,
__CpuSetMems: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__cpu_set_mems>,
__CpuShares: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__cpu_shares>,
__Dockerfile: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__dockerfile>,
__ExtraHosts: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__extra_hosts>,
__ForceRemove: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__force_remove>,
__Isolation: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__isolation>,
__Label: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__label>,
__Labels: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__labels>,
__Memory: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__memory>,
__MemorySwap: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__memory_swap>,
__NetworkMode: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__network_mode>,
__NoCache: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__no_cache>,
__Platform: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__platform>,
__PullParent: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__pull_parent>,
__RemoteContext: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__remote_context>,
__Remove: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__remove>,
__SecurityOpts: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__security_opts>,
__SessionId: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__session_id>,
__ShmSize: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__shm_size>,
__Squash: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__squash>,
__SuppressOutput: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__suppress_output>,
__Tags: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__tags>,
__Target: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__target>,
__Ulimits: IntoSet<Option<Box<Option<Vec<RemoteImageBuildUlimit>>>>, RemoteImageBuildBuilder__ulimits>,
__Version: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__version>,
pub fn build_struct(self) -> RemoteImageBuildwhere
__AuthConfigs: IntoSet<Option<Box<Option<Vec<RemoteImageBuildAuthConfig>>>>, RemoteImageBuildBuilder__auth_configs>,
__BuildArg: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__build_arg>,
__BuildArgs: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__build_args>,
__BuildId: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__build_id>,
__CacheFroms: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__cache_froms>,
__CgroupParent: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__cgroup_parent>,
__Context: IntoSet<Box<String>, RemoteImageBuildBuilder__context>,
__CpuPeriod: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__cpu_period>,
__CpuQuota: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__cpu_quota>,
__CpuSetCpus: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__cpu_set_cpus>,
__CpuSetMems: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__cpu_set_mems>,
__CpuShares: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__cpu_shares>,
__Dockerfile: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__dockerfile>,
__ExtraHosts: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__extra_hosts>,
__ForceRemove: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__force_remove>,
__Isolation: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__isolation>,
__Label: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__label>,
__Labels: IntoSet<Option<Box<Option<HashMap<String, String>>>>, RemoteImageBuildBuilder__labels>,
__Memory: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__memory>,
__MemorySwap: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__memory_swap>,
__NetworkMode: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__network_mode>,
__NoCache: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__no_cache>,
__Platform: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__platform>,
__PullParent: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__pull_parent>,
__RemoteContext: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__remote_context>,
__Remove: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__remove>,
__SecurityOpts: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__security_opts>,
__SessionId: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__session_id>,
__ShmSize: IntoSet<Option<Box<Option<i32>>>, RemoteImageBuildBuilder__shm_size>,
__Squash: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__squash>,
__SuppressOutput: IntoSet<Option<Box<Option<bool>>>, RemoteImageBuildBuilder__suppress_output>,
__Tags: IntoSet<Option<Box<Option<Vec<String>>>>, RemoteImageBuildBuilder__tags>,
__Target: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__target>,
__Ulimits: IntoSet<Option<Box<Option<Vec<RemoteImageBuildUlimit>>>>, RemoteImageBuildBuilder__ulimits>,
__Version: IntoSet<Option<Box<Option<String>>>, RemoteImageBuildBuilder__version>,
Finishes building and returns the requested object.
sourcepub fn maybe_auth_configs(
self,
value: Option<impl Into<Box<Option<Vec<RemoteImageBuildAuthConfig>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::AuthConfigswhere
__AuthConfigs: IsUnset,
pub fn maybe_auth_configs(
self,
value: Option<impl Into<Box<Option<Vec<RemoteImageBuildAuthConfig>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::AuthConfigswhere
__AuthConfigs: IsUnset,
Same as [Self::r#auth_configs
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn auth_configs(
self,
value: impl Into<Box<Option<Vec<RemoteImageBuildAuthConfig>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::AuthConfigswhere
__AuthConfigs: IsUnset,
pub fn auth_configs(
self,
value: impl Into<Box<Option<Vec<RemoteImageBuildAuthConfig>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::AuthConfigswhere
__AuthConfigs: IsUnset,
The configuration for the authentication
sourcepub fn maybe_build_arg(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgwhere
__BuildArg: IsUnset,
pub fn maybe_build_arg(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgwhere
__BuildArg: IsUnset,
Same as [Self::r#build_arg
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn build_arg(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgwhere
__BuildArg: IsUnset,
pub fn build_arg(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgwhere
__BuildArg: IsUnset,
Set build-time variables
sourcepub fn maybe_build_args(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgswhere
__BuildArgs: IsUnset,
pub fn maybe_build_args(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgswhere
__BuildArgs: IsUnset,
Same as [Self::r#build_args
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn build_args(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgswhere
__BuildArgs: IsUnset,
pub fn build_args(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildArgswhere
__BuildArgs: IsUnset,
Pairs for build-time variables in the form TODO
sourcepub fn maybe_build_id(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildIdwhere
__BuildId: IsUnset,
pub fn maybe_build_id(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildIdwhere
__BuildId: IsUnset,
Same as [Self::r#build_id
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn build_id(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildIdwhere
__BuildId: IsUnset,
pub fn build_id(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::BuildIdwhere
__BuildId: IsUnset,
BuildID is an optional identifier that can be passed together with the build request. The same identifier can be used to gracefully cancel the build with the cancel request.
sourcepub fn maybe_cache_froms(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CacheFromswhere
__CacheFroms: IsUnset,
pub fn maybe_cache_froms(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CacheFromswhere
__CacheFroms: IsUnset,
Same as [Self::r#cache_froms
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn cache_froms(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CacheFromswhere
__CacheFroms: IsUnset,
pub fn cache_froms(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CacheFromswhere
__CacheFroms: IsUnset,
Images to consider as cache sources
sourcepub fn maybe_cgroup_parent(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CgroupParentwhere
__CgroupParent: IsUnset,
pub fn maybe_cgroup_parent(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CgroupParentwhere
__CgroupParent: IsUnset,
Same as [Self::r#cgroup_parent
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn cgroup_parent(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CgroupParentwhere
__CgroupParent: IsUnset,
pub fn cgroup_parent(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CgroupParentwhere
__CgroupParent: IsUnset,
Optional parent cgroup for the container
sourcepub fn context(
self,
value: impl Into<Box<String>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Contextwhere
__Context: IsUnset,
pub fn context(
self,
value: impl Into<Box<String>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Contextwhere
__Context: IsUnset,
Value to specify the build context. Currently, only a PATH
context is supported. You can use the helper function ‘${path.cwd}/context-dir’. Please see https://docs.docker.com/build/building/context/ for more information about build contexts.
sourcepub fn maybe_cpu_period(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuPeriodwhere
__CpuPeriod: IsUnset,
pub fn maybe_cpu_period(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuPeriodwhere
__CpuPeriod: IsUnset,
Same as [Self::r#cpu_period
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn cpu_period(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuPeriodwhere
__CpuPeriod: IsUnset,
pub fn cpu_period(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuPeriodwhere
__CpuPeriod: IsUnset,
The length of a CPU period in microseconds
sourcepub fn maybe_cpu_quota(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuQuotawhere
__CpuQuota: IsUnset,
pub fn maybe_cpu_quota(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuQuotawhere
__CpuQuota: IsUnset,
Same as [Self::r#cpu_quota
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn cpu_quota(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuQuotawhere
__CpuQuota: IsUnset,
pub fn cpu_quota(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuQuotawhere
__CpuQuota: IsUnset,
Microseconds of CPU time that the container can get in a CPU period
sourcepub fn maybe_cpu_set_cpus(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetCpuswhere
__CpuSetCpus: IsUnset,
pub fn maybe_cpu_set_cpus(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetCpuswhere
__CpuSetCpus: IsUnset,
Same as [Self::r#cpu_set_cpus
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn cpu_set_cpus(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetCpuswhere
__CpuSetCpus: IsUnset,
pub fn cpu_set_cpus(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetCpuswhere
__CpuSetCpus: IsUnset,
CPUs in which to allow execution (e.g., 0-3
, 0
, 1
)
sourcepub fn maybe_cpu_set_mems(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetMemswhere
__CpuSetMems: IsUnset,
pub fn maybe_cpu_set_mems(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetMemswhere
__CpuSetMems: IsUnset,
Same as [Self::r#cpu_set_mems
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn cpu_set_mems(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetMemswhere
__CpuSetMems: IsUnset,
pub fn cpu_set_mems(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::CpuSetMemswhere
__CpuSetMems: IsUnset,
MEMs in which to allow execution (0-3
, 0
, 1
)
Same as [Self::r#cpu_shares
], but accepts an Option
as input. See that method’s documentation for more details.
CPU shares (relative weight)
sourcepub fn maybe_dockerfile(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Dockerfilewhere
__Dockerfile: IsUnset,
pub fn maybe_dockerfile(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Dockerfilewhere
__Dockerfile: IsUnset,
Same as [Self::r#dockerfile
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn dockerfile(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Dockerfilewhere
__Dockerfile: IsUnset,
pub fn dockerfile(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Dockerfilewhere
__Dockerfile: IsUnset,
Name of the Dockerfile. Defaults to Dockerfile
.
sourcepub fn maybe_extra_hosts(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ExtraHostswhere
__ExtraHosts: IsUnset,
pub fn maybe_extra_hosts(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ExtraHostswhere
__ExtraHosts: IsUnset,
Same as [Self::r#extra_hosts
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn extra_hosts(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ExtraHostswhere
__ExtraHosts: IsUnset,
pub fn extra_hosts(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ExtraHostswhere
__ExtraHosts: IsUnset,
A list of hostnames/IP mappings to add to the container’s /etc/hosts file. Specified in the form [“hostname:IP”]
sourcepub fn maybe_force_remove(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
pub fn maybe_force_remove(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
Same as [Self::r#force_remove
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn force_remove(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
pub fn force_remove(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ForceRemovewhere
__ForceRemove: IsUnset,
Always remove intermediate containers
sourcepub fn maybe_isolation(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Isolationwhere
__Isolation: IsUnset,
pub fn maybe_isolation(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Isolationwhere
__Isolation: IsUnset,
Same as [Self::r#isolation
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn isolation(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Isolationwhere
__Isolation: IsUnset,
pub fn isolation(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Isolationwhere
__Isolation: IsUnset,
Isolation represents the isolation technology of a container. The supported values are
sourcepub fn maybe_label(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelwhere
__Label: IsUnset,
pub fn maybe_label(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelwhere
__Label: IsUnset,
Same as [Self::r#label
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn label(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelwhere
__Label: IsUnset,
pub fn label(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelwhere
__Label: IsUnset,
Set metadata for an image
sourcepub fn maybe_labels(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelswhere
__Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Box<Option<HashMap<String, String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelswhere
__Labels: IsUnset,
Same as [Self::r#labels
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn labels(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelswhere
__Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Box<Option<HashMap<String, String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Labelswhere
__Labels: IsUnset,
User-defined key/value metadata
sourcepub fn maybe_memory(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Memorywhere
__Memory: IsUnset,
pub fn maybe_memory(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Memorywhere
__Memory: IsUnset,
Same as [Self::r#memory
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn memory(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Memorywhere
__Memory: IsUnset,
pub fn memory(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Memorywhere
__Memory: IsUnset,
Set memory limit for build
sourcepub fn maybe_memory_swap(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::MemorySwapwhere
__MemorySwap: IsUnset,
pub fn maybe_memory_swap(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::MemorySwapwhere
__MemorySwap: IsUnset,
Same as [Self::r#memory_swap
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn memory_swap(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::MemorySwapwhere
__MemorySwap: IsUnset,
pub fn memory_swap(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::MemorySwapwhere
__MemorySwap: IsUnset,
Total memory (memory + swap), -1 to enable unlimited swap
sourcepub fn maybe_network_mode(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NetworkModewhere
__NetworkMode: IsUnset,
pub fn maybe_network_mode(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NetworkModewhere
__NetworkMode: IsUnset,
Same as [Self::r#network_mode
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn network_mode(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NetworkModewhere
__NetworkMode: IsUnset,
pub fn network_mode(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NetworkModewhere
__NetworkMode: IsUnset,
Set the networking mode for the RUN instructions during build
sourcepub fn maybe_no_cache(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NoCachewhere
__NoCache: IsUnset,
pub fn maybe_no_cache(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NoCachewhere
__NoCache: IsUnset,
Same as [Self::r#no_cache
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn no_cache(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NoCachewhere
__NoCache: IsUnset,
pub fn no_cache(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::NoCachewhere
__NoCache: IsUnset,
Do not use the cache when building the image
sourcepub fn maybe_platform(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Platformwhere
__Platform: IsUnset,
pub fn maybe_platform(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Platformwhere
__Platform: IsUnset,
Same as [Self::r#platform
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn platform(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Platformwhere
__Platform: IsUnset,
pub fn platform(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Platformwhere
__Platform: IsUnset,
Set platform if server is multi-platform capable
sourcepub fn maybe_pull_parent(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::PullParentwhere
__PullParent: IsUnset,
pub fn maybe_pull_parent(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::PullParentwhere
__PullParent: IsUnset,
Same as [Self::r#pull_parent
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn pull_parent(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::PullParentwhere
__PullParent: IsUnset,
pub fn pull_parent(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::PullParentwhere
__PullParent: IsUnset,
Attempt to pull the image even if an older image exists locally
sourcepub fn maybe_remote_context(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::RemoteContextwhere
__RemoteContext: IsUnset,
pub fn maybe_remote_context(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::RemoteContextwhere
__RemoteContext: IsUnset,
Same as [Self::r#remote_context
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn remote_context(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::RemoteContextwhere
__RemoteContext: IsUnset,
pub fn remote_context(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::RemoteContextwhere
__RemoteContext: IsUnset,
A Git repository URI or HTTP/HTTPS context URI
sourcepub fn maybe_remove(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Removewhere
__Remove: IsUnset,
pub fn maybe_remove(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Removewhere
__Remove: IsUnset,
Same as [Self::r#remove
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn remove(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Removewhere
__Remove: IsUnset,
pub fn remove(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Removewhere
__Remove: IsUnset,
Remove intermediate containers after a successful build. Defaults to true
.
sourcepub fn maybe_security_opts(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SecurityOptswhere
__SecurityOpts: IsUnset,
pub fn maybe_security_opts(
self,
value: Option<impl Into<Box<Option<Vec<String>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SecurityOptswhere
__SecurityOpts: IsUnset,
Same as [Self::r#security_opts
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn security_opts(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SecurityOptswhere
__SecurityOpts: IsUnset,
pub fn security_opts(
self,
value: impl Into<Box<Option<Vec<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SecurityOptswhere
__SecurityOpts: IsUnset,
The security options
sourcepub fn maybe_session_id(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SessionIdwhere
__SessionId: IsUnset,
pub fn maybe_session_id(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SessionIdwhere
__SessionId: IsUnset,
Same as [Self::r#session_id
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn session_id(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SessionIdwhere
__SessionId: IsUnset,
pub fn session_id(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SessionIdwhere
__SessionId: IsUnset,
Set an ID for the build session
sourcepub fn maybe_shm_size(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ShmSizewhere
__ShmSize: IsUnset,
pub fn maybe_shm_size(
self,
value: Option<impl Into<Box<Option<i32>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ShmSizewhere
__ShmSize: IsUnset,
Same as [Self::r#shm_size
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn shm_size(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ShmSizewhere
__ShmSize: IsUnset,
pub fn shm_size(
self,
value: impl Into<Box<Option<i32>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::ShmSizewhere
__ShmSize: IsUnset,
Size of /dev/shm in bytes. The size must be greater than 0
sourcepub fn maybe_squash(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Squashwhere
__Squash: IsUnset,
pub fn maybe_squash(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Squashwhere
__Squash: IsUnset,
Same as [Self::r#squash
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn squash(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Squashwhere
__Squash: IsUnset,
pub fn squash(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Squashwhere
__Squash: IsUnset,
If true the new layers are squashed into a new image with a single new layer
sourcepub fn maybe_suppress_output(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SuppressOutputwhere
__SuppressOutput: IsUnset,
pub fn maybe_suppress_output(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SuppressOutputwhere
__SuppressOutput: IsUnset,
Same as [Self::r#suppress_output
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn suppress_output(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SuppressOutputwhere
__SuppressOutput: IsUnset,
pub fn suppress_output(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::SuppressOutputwhere
__SuppressOutput: IsUnset,
Suppress the build output and print image ID on success
Same as [Self::r#tags
], but accepts an Option
as input. See that method’s documentation for more details.
Name and optionally a tag in the ‘name:tag’ format
sourcepub fn maybe_target(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Targetwhere
__Target: IsUnset,
pub fn maybe_target(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Targetwhere
__Target: IsUnset,
Same as [Self::r#target
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn target(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Targetwhere
__Target: IsUnset,
pub fn target(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Targetwhere
__Target: IsUnset,
Set the target build stage to build
sourcepub fn maybe_ulimits(
self,
value: Option<impl Into<Box<Option<Vec<RemoteImageBuildUlimit>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Ulimitswhere
__Ulimits: IsUnset,
pub fn maybe_ulimits(
self,
value: Option<impl Into<Box<Option<Vec<RemoteImageBuildUlimit>>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Ulimitswhere
__Ulimits: IsUnset,
Same as [Self::r#ulimits
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn ulimits(
self,
value: impl Into<Box<Option<Vec<RemoteImageBuildUlimit>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Ulimitswhere
__Ulimits: IsUnset,
pub fn ulimits(
self,
value: impl Into<Box<Option<Vec<RemoteImageBuildUlimit>>>>,
) -> <Self as __RemoteImageBuildBuilderSetMember>::Ulimitswhere
__Ulimits: IsUnset,
Configuration for ulimits