Struct pulumi_wasm_docker::RegistryAuthBuilder
source · pub struct RegistryAuthBuilder<___State = __RegistryAuthBuilderInitialState> { /* private fields */ }
Expand description
Use builder syntax to set the required parameters and finish by calling the method Self::build_struct()
.
Implementations§
source§impl<__Address, __AuthDisabled, __ConfigFile, __ConfigFileContent, __Password, __Username> RegistryAuthBuilder<(__Address, __AuthDisabled, __ConfigFile, __ConfigFileContent, __Password, __Username)>
impl<__Address, __AuthDisabled, __ConfigFile, __ConfigFileContent, __Password, __Username> RegistryAuthBuilder<(__Address, __AuthDisabled, __ConfigFile, __ConfigFileContent, __Password, __Username)>
sourcepub fn build_struct(self) -> RegistryAuthwhere
__Address: IntoSet<Box<String>, RegistryAuthBuilder__address>,
__AuthDisabled: IntoSet<Option<Box<Option<bool>>>, RegistryAuthBuilder__auth_disabled>,
__ConfigFile: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__config_file>,
__ConfigFileContent: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__config_file_content>,
__Password: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__password>,
__Username: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__username>,
pub fn build_struct(self) -> RegistryAuthwhere
__Address: IntoSet<Box<String>, RegistryAuthBuilder__address>,
__AuthDisabled: IntoSet<Option<Box<Option<bool>>>, RegistryAuthBuilder__auth_disabled>,
__ConfigFile: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__config_file>,
__ConfigFileContent: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__config_file_content>,
__Password: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__password>,
__Username: IntoSet<Option<Box<Option<String>>>, RegistryAuthBuilder__username>,
Finishes building and returns the requested object.
sourcepub fn address(
self,
value: impl Into<Box<String>>,
) -> <Self as __RegistryAuthBuilderSetMember>::Addresswhere
__Address: IsUnset,
pub fn address(
self,
value: impl Into<Box<String>>,
) -> <Self as __RegistryAuthBuilderSetMember>::Addresswhere
__Address: IsUnset,
Address of the registry
sourcepub fn maybe_auth_disabled(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::AuthDisabledwhere
__AuthDisabled: IsUnset,
pub fn maybe_auth_disabled(
self,
value: Option<impl Into<Box<Option<bool>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::AuthDisabledwhere
__AuthDisabled: IsUnset,
Same as [Self::r#auth_disabled
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn auth_disabled(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::AuthDisabledwhere
__AuthDisabled: IsUnset,
pub fn auth_disabled(
self,
value: impl Into<Box<Option<bool>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::AuthDisabledwhere
__AuthDisabled: IsUnset,
Sets the value of r#auth_disabled
. See RegistryAuth::builder()
for more info.
sourcepub fn maybe_config_file(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFilewhere
__ConfigFile: IsUnset,
pub fn maybe_config_file(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFilewhere
__ConfigFile: IsUnset,
Same as [Self::r#config_file
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn config_file(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFilewhere
__ConfigFile: IsUnset,
pub fn config_file(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFilewhere
__ConfigFile: IsUnset,
Path to docker json file for registry auth. Defaults to ~/.docker/config.json
. If DOCKER_CONFIG
is set, the value of DOCKER_CONFIG
is used as the path. config_file
has predencen over all other options.
sourcepub fn maybe_config_file_content(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFileContentwhere
__ConfigFileContent: IsUnset,
pub fn maybe_config_file_content(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFileContentwhere
__ConfigFileContent: IsUnset,
Same as [Self::r#config_file_content
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn config_file_content(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFileContentwhere
__ConfigFileContent: IsUnset,
pub fn config_file_content(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::ConfigFileContentwhere
__ConfigFileContent: IsUnset,
Plain content of the docker json file for registry auth. config_file_content
has precedence over username/password.
sourcepub fn maybe_password(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::Passwordwhere
__Password: IsUnset,
pub fn maybe_password(
self,
value: Option<impl Into<Box<Option<String>>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::Passwordwhere
__Password: IsUnset,
Same as [Self::r#password
], but accepts an Option
as input. See that method’s documentation for more details.
sourcepub fn password(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::Passwordwhere
__Password: IsUnset,
pub fn password(
self,
value: impl Into<Box<Option<String>>>,
) -> <Self as __RegistryAuthBuilderSetMember>::Passwordwhere
__Password: IsUnset,
Password for the registry. Defaults to DOCKER_REGISTRY_PASS
env variable if set.