public interface RegistryAuthSupplier
| Modifier and Type | Method and Description |
|---|---|
RegistryAuth |
authFor(String imageName)
Returns a RegistryAuth object that works with a given registry's API [e.g.
|
RegistryConfigs |
authForBuild()
Authentication info to pass in the X-Registry-Config header when building an image.
|
RegistryAuth |
authForSwarm()
Returns a RegistryAuth object that is valid for a Docker Swarm context [i.e.
|
RegistryAuth authFor(String imageName) throws DockerException
null if no
authentication info applies for this imageDockerExceptionRegistryAuth authForSwarm() throws DockerException
null for no authentication infoDockerExceptionRegistryConfigs authForBuild() throws DockerException
DockerExceptionCopyright © 2018. All rights reserved.