public interface AuthCmd extends SyncDockerCmd<AuthResponse>
Modifier and Type | Interface and Description |
---|---|
static interface |
AuthCmd.Exec |
Modifier and Type | Method and Description |
---|---|
AuthResponse |
exec() |
AuthConfig |
getAuthConfig() |
AuthCmd |
withAuthConfig(AuthConfig authConfig) |
@CheckForNull AuthConfig getAuthConfig()
AuthCmd withAuthConfig(@Nonnull AuthConfig authConfig)
AuthResponse exec() throws UnauthorizedException
exec
in interface SyncDockerCmd<AuthResponse>
UnauthorizedException
- If you're not authorised (e.g. bad password).Copyright © 2017. All Rights Reserved.