Package com.bmuschko.gradle.docker.tasks
Interface RegistryCredentialsAware
-
- All Superinterfaces:
Comparable<Task>
,ExtensionAware
,Task
- All Known Implementing Classes:
DockerBuildImage
,DockerPullImage
,DockerPushImage
public interface RegistryCredentialsAware extends Task
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Task
Task.Namer
-
-
Field Summary
-
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DockerRegistryCredentials
getRegistryCredentials()
The target Docker registry credentials for usage with a task.void
registryCredentials(Action<? super DockerRegistryCredentials> action)
Configures the target Docker registry credentials for use with a task.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.gradle.api.plugins.ExtensionAware
getExtensions
-
Methods inherited from interface org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
-
-
-
Method Detail
-
getRegistryCredentials
DockerRegistryCredentials getRegistryCredentials()
The target Docker registry credentials for usage with a task.
-
registryCredentials
void registryCredentials(Action<? super DockerRegistryCredentials> action)
Configures the target Docker registry credentials for use with a task.- Parameters:
action
- The action against the Docker registry credentials- Since:
- 6.0.0
-
-