public class AuthCmdImpl extends AbstrDockerCmd<AuthCmd,AuthResponse> implements AuthCmd
AuthCmd.Exec
execution
Constructor and Description |
---|
AuthCmdImpl(AuthCmd.Exec exec,
AuthConfig authConfig) |
Modifier and Type | Method and Description |
---|---|
AuthResponse |
exec() |
AuthConfig |
getAuthConfig() |
AuthCmd |
withAuthConfig(AuthConfig authConfig) |
close, registryAuth, toString
public AuthCmdImpl(AuthCmd.Exec exec, AuthConfig authConfig)
public AuthResponse exec() throws UnauthorizedException
exec
in interface AuthCmd
exec
in interface SyncDockerCmd<AuthResponse>
exec
in class AbstrDockerCmd<AuthCmd,AuthResponse>
UnauthorizedException
- If you're not authorised (e.g. bad password).public AuthConfig getAuthConfig()
getAuthConfig
in interface AuthCmd
public AuthCmd withAuthConfig(AuthConfig authConfig)
withAuthConfig
in interface AuthCmd
Copyright © 2019. All Rights Reserved.