Class RegistryKeyMaterialFactory
java.lang.Object
org.jenkinsci.plugins.docker.commons.credentials.KeyMaterialFactory
org.jenkinsci.plugins.docker.commons.impl.RegistryKeyMaterialFactory
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public class RegistryKeyMaterialFactory
extends KeyMaterialFactory
Logs you in to a Docker registry.
- 
Field SummaryFieldsFields inherited from class org.jenkinsci.plugins.docker.commons.credentials.KeyMaterialFactoryNULL
- 
Constructor SummaryConstructorsConstructorDescriptionRegistryKeyMaterialFactory(String username, String password, URL endpoint, Launcher launcher, EnvVars env, TaskListener listener, String dockerExecutable) 
- 
Method SummaryModifier and TypeMethodDescriptionBuilds the key material environment variables needed to be passed when docker runs, to accessDockerServerCredentialsthat this object was created from.protected Stringregistry()Methods inherited from class org.jenkinsci.plugins.docker.commons.credentials.KeyMaterialFactorycheckContextualized, contextualize, createSecretsDirectory, getChannel, getContext, materialize, plus
- 
Field Details- 
DOCKER_REGISTRY_HOST_ONLY- See Also:
 
 
- 
- 
Constructor Details- 
RegistryKeyMaterialFactory
 
- 
- 
Method Details- 
materialize2Description copied from class:KeyMaterialFactoryBuilds the key material environment variables needed to be passed when docker runs, to accessDockerServerCredentialsthat this object was created from.When you are done using the credentials, call KeyMaterial2.close(hudson.remoting.VirtualChannel)to allow sensitive information to be removed from the disk.- Overrides:
- materialize2in class- KeyMaterialFactory
- Throws:
- IOException
- InterruptedException
 
- 
registry
 
-