public class DockerPullImage extends hudson.model.AbstractDescribableImpl<DockerPullImage>
Modifier and Type | Class and Description |
---|---|
static class |
DockerPullImage.DescriptorImpl |
Constructor and Description |
---|
DockerPullImage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
void |
exec(com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.DockerClient client,
String imageName,
hudson.model.TaskListener listener) |
void |
execInternal(com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.DockerClient client,
String imageName,
hudson.model.TaskListener listener)
Action around image with defined configuration
|
YADockerConnector |
getConnector() |
String |
getCredentialsId()
Deprecated.
|
DockerImagePullStrategy |
getPullStrategy() |
List<DockerRegistryCredential> |
getRegistriesCreds() |
int |
hashCode() |
void |
setConnector(YADockerConnector connector) |
void |
setCredentialsId(String credentialsId)
Deprecated.
|
void |
setPullStrategy(DockerImagePullStrategy pullStrategy) |
void |
setRegistriesCreds(List<DockerRegistryCredential> registriesCreds) |
protected boolean |
shouldPullImage(com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.DockerClient client,
String imageName) |
String |
toString() |
@Nonnull public DockerImagePullStrategy getPullStrategy()
@DataBoundSetter public void setPullStrategy(DockerImagePullStrategy pullStrategy)
@Deprecated public String getCredentialsId()
@Deprecated @DataBoundSetter public void setCredentialsId(String credentialsId)
@Nonnull public List<DockerRegistryCredential> getRegistriesCreds()
@DataBoundSetter public void setRegistriesCreds(List<DockerRegistryCredential> registriesCreds)
public YADockerConnector getConnector()
@DataBoundSetter public void setConnector(YADockerConnector connector)
public void exec(@Nonnull com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.DockerClient client, @Nonnull String imageName, hudson.model.TaskListener listener) throws Exception
Exception
public void execInternal(@Nonnull com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.DockerClient client, @Nonnull String imageName, hudson.model.TaskListener listener) throws IOException
IOException
protected boolean shouldPullImage(com.github.kostyasha.yad_docker_java.com.github.dockerjava.api.DockerClient client, String imageName)
Copyright © 2016–2020. All rights reserved.