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