com.github.dockerjava.client.command
Class PushImageCmd

java.lang.Object
  extended by com.github.dockerjava.client.command.AbstrDockerCmd<T,RES_T>
      extended by com.github.dockerjava.client.command.AbstrAuthCfgDockerCmd<PushImageCmd,com.sun.jersey.api.client.ClientResponse>
          extended by com.github.dockerjava.client.command.PushImageCmd
All Implemented Interfaces:
DockerCmd<com.sun.jersey.api.client.ClientResponse>

public class PushImageCmd
extends AbstrAuthCfgDockerCmd<PushImageCmd,com.sun.jersey.api.client.ClientResponse>

Push the latest image to the repository.


Field Summary
 
Fields inherited from class com.github.dockerjava.client.command.AbstrAuthCfgDockerCmd
authConfig
 
Fields inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
baseResource
 
Constructor Summary
PushImageCmd(String name)
           
 
Method Summary
 String getName()
           
protected  com.sun.jersey.api.client.ClientResponse impl()
           
 String toString()
           
 PushImageCmd withName(String name)
           
 
Methods inherited from class com.github.dockerjava.client.command.AbstrAuthCfgDockerCmd
registryAuth, withAuthConfig
 
Methods inherited from class com.github.dockerjava.client.command.AbstrDockerCmd
exec, withBaseResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PushImageCmd

public PushImageCmd(String name)
Method Detail

getName

public String getName()

withName

public PushImageCmd withName(String name)
Parameters:
name - The name, e.g. "alexec/busybox" or just "busybox" if you want to default. Not null.

toString

public String toString()
Overrides:
toString in class Object

impl

protected com.sun.jersey.api.client.ClientResponse impl()


Copyright © 2014. All rights reserved.