RegistryImageState class
Input properties used for looking up and filtering RegistryImage resources.
Constructors
-
RegistryImageState({Input<
RegistryImageAuthConfig?> ? authConfig, Input<RegistryImageBuild?> ? build, Input<bool?> ? insecureSkipVerify, Input<bool?> ? keepRemotely, Input<String?> ? name, Input<String?> ? sha256Digest, Input<Map< ? triggers})String, String> ?> -
Creates a new RegistryImageState.
authConfigAuthentication configuration for the Docker registry. It is only used for this resource.buildConfiguration to build an image. Requires theUse containerd for pulling and storing imagesoption to be disabled in the Docker Host(https://github.com/kreuzwerker/terraform-provider-docker/issues/534). Please see docker build command reference too.insecureSkipVerifyIftrue, the verification of TLS certificates of the server/registry is disabled. Defaults tofalsekeepRemotelyIf 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 tofalsenameThe name of the Docker image.sha256DigestThe sha256 digest of the image.triggersA map of arbitrary strings that, when changed, will force thedocker.RegistryImageresource to be replaced. This can be used to repush a local imageconst -
RegistryImageState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
authConfig
→ Input<
RegistryImageAuthConfig?> ? -
Authentication configuration for the Docker registry. It is only used for this resource.
final
-
build
→ Input<
RegistryImageBuild?> ? -
Configuration to build an image. Requires the
Use containerd for pulling and storing imagesoption to be disabled in the Docker Host(https://github.com/kreuzwerker/terraform-provider-docker/issues/534). Please see docker build command reference too.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
insecureSkipVerify
→ Input<
bool?> ? -
If
true, the verification of TLS certificates of the server/registry is disabled. Defaults tofalsefinal -
keepRemotely
→ Input<
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 registry on destroy operation. Defaults to
falsefinal -
name
→ Input<
String?> ? -
The name of the Docker image.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sha256Digest
→ Input<
String?> ? -
The sha256 digest of the image.
final
-
triggers
→ Input<
Map< ?String, String> ?> -
A map of arbitrary strings that, when changed, will force the
docker.RegistryImageresource to be replaced. This can be used to repush a local imagefinal
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