com.github.dockerjava.api.command
Interface PushImageCmd

All Superinterfaces:
DockerCmd<InputStream>
All Known Implementing Classes:
PushImageCmdImpl

public interface PushImageCmd
extends DockerCmd<InputStream>

Push the latest image to the repository.


Nested Class Summary
static interface PushImageCmd.Exec
           
 
Method Summary
 InputStream exec()
           
 AuthConfig getAuthConfig()
           
 String getName()
           
 PushImageCmd withAuthConfig(AuthConfig authConfig)
           
 PushImageCmd withName(String name)
           
 

Method Detail

getName

String getName()

withName

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

getAuthConfig

AuthConfig getAuthConfig()

withAuthConfig

PushImageCmd withAuthConfig(AuthConfig authConfig)

exec

InputStream exec()
                 throws NotFoundException
Specified by:
exec in interface DockerCmd<InputStream>
Throws:
NotFoundException - No such image


Copyright © 2014. All rights reserved.