pub struct RegistryImageArgsBuilder<___State = __RegistryImageArgsBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__InsecureSkipVerify, __KeepRemotely, __Name, __Triggers> RegistryImageArgsBuilder<(__InsecureSkipVerify, __KeepRemotely, __Name, __Triggers)>
impl<__InsecureSkipVerify, __KeepRemotely, __Name, __Triggers> RegistryImageArgsBuilder<(__InsecureSkipVerify, __KeepRemotely, __Name, __Triggers)>
sourcepub fn build_struct(self) -> RegistryImageArgswhere
__InsecureSkipVerify: IntoSet<Option<Output<Option<bool>>>, RegistryImageArgsBuilder__insecure_skip_verify>,
__KeepRemotely: IntoSet<Option<Output<Option<bool>>>, RegistryImageArgsBuilder__keep_remotely>,
__Name: IntoSet<Option<Output<Option<String>>>, RegistryImageArgsBuilder__name>,
__Triggers: IntoSet<Option<Output<Option<HashMap<String, String>>>>, RegistryImageArgsBuilder__triggers>,
pub fn build_struct(self) -> RegistryImageArgswhere
__InsecureSkipVerify: IntoSet<Option<Output<Option<bool>>>, RegistryImageArgsBuilder__insecure_skip_verify>,
__KeepRemotely: IntoSet<Option<Output<Option<bool>>>, RegistryImageArgsBuilder__keep_remotely>,
__Name: IntoSet<Option<Output<Option<String>>>, RegistryImageArgsBuilder__name>,
__Triggers: IntoSet<Option<Output<Option<HashMap<String, String>>>>, RegistryImageArgsBuilder__triggers>,
Finishes building and returns the requested object.
sourcepub fn maybe_insecure_skip_verify(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::InsecureSkipVerifywhere
__InsecureSkipVerify: IsUnset,
pub fn maybe_insecure_skip_verify(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::InsecureSkipVerifywhere
__InsecureSkipVerify: IsUnset,
Same as Self::insecure_skip_verify
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn insecure_skip_verify(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::InsecureSkipVerifywhere
__InsecureSkipVerify: IsUnset,
pub fn insecure_skip_verify(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::InsecureSkipVerifywhere
__InsecureSkipVerify: IsUnset,
If true
, the verification of TLS certificates of the server/registry is disabled. Defaults to false
sourcepub fn maybe_keep_remotely(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::KeepRemotelywhere
__KeepRemotely: IsUnset,
pub fn maybe_keep_remotely(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::KeepRemotelywhere
__KeepRemotely: IsUnset,
Same as Self::keep_remotely
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn keep_remotely(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::KeepRemotelywhere
__KeepRemotely: IsUnset,
pub fn keep_remotely(
self,
value: impl Into<Output<Option<bool>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::KeepRemotelywhere
__KeepRemotely: 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 registry on destroy operation. Defaults to false
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
Same as Self::name
, but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::Namewhere
__Name: IsUnset,
The name of the Docker image.
sourcepub fn maybe_triggers(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::Triggerswhere
__Triggers: IsUnset,
pub fn maybe_triggers(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::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 __RegistryImageArgsBuilderSetMember>::Triggerswhere
__Triggers: IsUnset,
pub fn triggers(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> <Self as __RegistryImageArgsBuilderSetMember>::Triggerswhere
__Triggers: IsUnset,
A map of arbitrary strings that, when changed, will force the docker.RegistryImage
resource to be replaced. This can be used to repush a local image