Struct pulumi_wasm_docker::remote_image::RemoteImageArgs

source ·
pub struct RemoteImageArgs {
    pub build: Output<Option<RemoteImageBuild>>,
    pub force_remove: Output<Option<bool>>,
    pub keep_locally: Output<Option<bool>>,
    pub name: Output<String>,
    pub platform: Output<Option<String>>,
    pub pull_triggers: Output<Option<Vec<String>>>,
    pub triggers: Output<Option<HashMap<String, String>>>,
}

Fields§

§build: Output<Option<RemoteImageBuild>>

Configuration to build an image. Please see docker build command reference too.

§force_remove: Output<Option<bool>>

Always remove intermediate containers

§keep_locally: Output<Option<bool>>

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.

§name: Output<String>

type of ulimit, e.g. nofile

§platform: Output<Option<String>>

Set platform if server is multi-platform capable

§pull_triggers: Output<Option<Vec<String>>>

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.

§triggers: Output<Option<HashMap<String, String>>>

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

Implementations§

source§

impl RemoteImageArgs

source

pub fn builder() -> RemoteImageArgsBuilder

Create an instance of RemoteImageArgs using the builder syntax

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.