ProviderRegistryAuth class

Constructors

ProviderRegistryAuth({required Input<String> address, Input<bool?>? authDisabled, Input<String?>? configFile, Input<String?>? configFileContent, Input<String?>? password, Input<String?>? username})
Creates a new ProviderRegistryAuth. address Address of the registry authDisabled Setting this to true will tell the provider that this registry does not need authentication. Due to the docker internals, the provider will use dummy credentials (see https://github.com/kreuzwerker/terraform-provider-docker/issues/470 for more information). Defaults to false. configFile Path to docker json file for registry auth. Defaults to ~/.docker/config.json. If DOCKER_CONFIG env variable is set, the value of DOCKER_CONFIG is used as the path. DOCKER_CONFIG can be set to a directory (as per Docker CLI) or a file path directly. configFile has precedence over all other options. configFileContent Plain content of the docker json file for registry auth. configFileContent has precedence over username/password. password Password for the registry. Defaults to DOCKER_REGISTRY_PASS env variable if set. username Username for the registry. Defaults to DOCKER_REGISTRY_USER env variable if set.
const
ProviderRegistryAuth.fromMap(Map<String, dynamic> map)
factory

Properties

address → Input<String>
Address of the registry
final
authDisabled → Input<bool?>?
Setting this to true will tell the provider that this registry does not need authentication. Due to the docker internals, the provider will use dummy credentials (see https://github.com/kreuzwerker/terraform-provider-docker/issues/470 for more information). Defaults to false.
final
configFile → Input<String?>?
Path to docker json file for registry auth. Defaults to ~/.docker/config.json. If DOCKER_CONFIG env variable is set, the value of DOCKER_CONFIG is used as the path. DOCKER_CONFIG can be set to a directory (as per Docker CLI) or a file path directly. configFile has precedence over all other options.
final
configFileContent → Input<String?>?
Plain content of the docker json file for registry auth. configFileContent has precedence over username/password.
final
hashCode → int
The hash code for this object.
no setterinherited
password → Input<String?>?
Password for the registry. Defaults to DOCKER_REGISTRY_PASS env variable if set.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
username → Input<String?>?
Username for the registry. Defaults to DOCKER_REGISTRY_USER env variable if set.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited