public final class DockerRegistryToken extends Object implements Serializable
DockerRegistryCredentials.DockerRegistryCredentials,
Serialized Form| Constructor and Description |
|---|
DockerRegistryToken(String email,
String token) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail() |
String |
getToken() |
KeyMaterial |
materialize(URL endpoint,
hudson.remoting.VirtualChannel target)
Makes the credentials available locally and returns
KeyMaterial that gives you the parameters
needed to access it. |
public String getEmail()
public String getToken()
public KeyMaterial materialize(URL endpoint, hudson.remoting.VirtualChannel target) throws InterruptedException, IOException
KeyMaterial that gives you the parameters
needed to access it.
This is done by inserting the token into ~/.dockercfg
InterruptedExceptionIOExceptionCopyright © 2004-2015. All Rights Reserved.