use of com.github.dockerjava.api.command.AuthCmd in project camel by apache.
the class DockerProducer method executeAuthRequest.
/*********************
* General Requests
********************/
/**
* Produces a Authorization request
*
* @param client
* @param message
* @return
*/
private AuthCmd executeAuthRequest(DockerClient client, Message message) {
LOGGER.debug("Executing Docker Auth Request");
AuthCmd authCmd = client.authCmd();
AuthConfig authConfig = client.authConfig();
if (authCmd != null) {
authCmd.withAuthConfig(authConfig);
}
return authCmd;
}
Aggregations