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<String>?>? pullTriggers, Input<Map<String, String>?>? triggers})
Creates a new RemoteImageArgs. build Configuration to build an image. Requires the Use containerd for pulling and storing images option to be disabled in the Docker Host(https://github.com/kreuzwerker/terraform-provider-docker/issues/534). Please see docker build command reference too. forceRemove If true, then the image is removed forcibly when the resource is destroyed. keepLocally 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. name The name of the Docker image, including any tags or SHA256 repo digests. platform The platform to use when pulling the image. Defaults to the platform of the current machine. pullTriggers 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. triggers A map of arbitrary strings that, when changed, will force the docker.RemoteImage resource to be replaced. This can be used to rebuild an image when contents of source code folders change
const
RemoteImageArgs.fromMap(Map<String, dynamic> map)
factory

Properties

build → Input<RemoteImageBuild?>?
Configuration to build an image. Requires the Use containerd for pulling and storing images option 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.RemoteImage resource to be replaced. This can be used to rebuild an image when contents of source code folders change
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