de.gesellix.docker.client.authentication.ManageAuthentication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-client Show documentation
Show all versions of docker-client Show documentation
A Docker client for the JVM written in Groovy
package de.gesellix.docker.client.authentication;
import de.gesellix.docker.authentication.AuthConfig;
import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.SystemAuthResponse;
import java.io.File;
import java.util.Map;
public interface ManageAuthentication {
Map getAllAuthConfigs();
Map getAllAuthConfigs(File dockerCfgOrNull);
AuthConfig readDefaultAuthConfig();
AuthConfig readAuthConfig(String hostnameOrNull, File dockerCfgOrNull);
AuthConfig resolveAuthConfigForImage(String image);
String retrieveEncodedAuthTokenForImage(String image);
String encodeAuthConfig(AuthConfig authConfig);
String encodeAuthConfigs(Map authConfigs);
EngineResponseContent auth(de.gesellix.docker.remote.api.AuthConfig authDetails);
}