RemoteImageArgs class
The set of arguments for RemoteImage. The set of arguments for RemoteImage.
Constructors
-
RemoteImageArgs({Input<
RemoteImageBuild?> ? build, Input<bool?> ? forceRemove, Input<bool?> ? keepLocally, required Input<String> name, Input<String?> ? platform, Input<List< ? pullTriggers, Input<String> ?>Map< ? triggers})String, String> ?> -
Creates a new RemoteImageArgs.
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.forceRemoveIf true, then the image is removed forcibly when the resource is destroyed.keepLocallyIf 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.nameThe name of the Docker image, including any tags or SHA256 repo digests.platformThe platform to use when pulling the image. Defaults to the platform of the current machine.pullTriggersList of values which cause an image pull when changed. This is used to store the image digest from the registry when using the dockerregistryimage.triggersA map of arbitrary strings that, when changed, will force thedocker.RemoteImageresource to be replaced. This can be used to rebuild an image when contents of source code folders changeconst -
RemoteImageArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
build
→ Input<
RemoteImageBuild?> ? -
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 -
forceRemove
→ Input<
bool?> ? -
If true, then the image is removed forcibly when the resource is destroyed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
keepLocally
→ 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 local storage on destroy operation.
final
-
name
→ Input<
String> -
The name of the Docker image, including any tags or SHA256 repo digests.
final
-
platform
→ Input<
String?> ? -
The platform to use when pulling the image. Defaults to the platform of the current machine.
final
-
pullTriggers
→ Input<
List< ?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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
triggers
→ Input<
Map< ?String, String> ?> -
A map of arbitrary strings that, when changed, will force the
docker.RemoteImageresource to be replaced. This can be used to rebuild an image when contents of source code folders changefinal
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