Fields inherited from class | Fields |
---|---|
class DefaultTask |
TASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION, TASK_CONSTRUCTOR_ARGS |
class AbstractTask |
TASK_NAME, TASK_DESCRIPTION, TASK_GROUP, TASK_TYPE, TASK_DEPENDS_ON, TASK_OVERWRITE, TASK_ACTION, TASK_CONSTRUCTOR_ARGS |
Type | Name and description |
---|---|
Property<String> |
apiVersion The Docker remote API version. |
DirectoryProperty |
certPath Path to the Docker certificate and key. |
Property<String> |
url Docker remote API server URL. |
Type Params | Return Type | Name and description |
---|---|---|
|
com.github.dockerjava.api.DockerClient |
getDockerClient() Gets the Docker client uses to communicate with Docker via its remote API. |
|
protected Action |
getNextHandler() |
|
protected RegistryAuthLocator |
getRegistryAuthLocator() Returns the instance of RegistryAuthLocator. |
|
void |
onComplete(Runnable callback) Reacts to the completion of the operation. |
|
void |
onError(Action<? super Throwable> action) Reacts to a potential error occurring during the operation. |
|
void |
onNext(Action action) Reacts to data returned by an operation. |
|
void |
runRemoteCommand() |
|
void |
start() |
Path to the Docker certificate and key.
Gets the Docker client uses to communicate with Docker via its remote API. Initialized instance upon first request. Returns the same instance for any successive method call.
Before accessing the Docker client, all data used for configuring its runtime behavior needs to be evaluated. The data includes:
It is safe to access the Docker client under the following conditions:
Action
or Closure
of outputs.upToDateWhen
Returns the instance of RegistryAuthLocator.
Unless other credentials information provided, the instance returns authConfig object provided by the Docker client.
Reacts to the completion of the operation.
callback
- The callback to be executedReacts to a potential error occurring during the operation.
action
- The action handling the errorReacts to data returned by an operation.
action
- The action handling the data