| Package | Description |
|---|---|
| io.fabric8.maven.docker | |
| io.fabric8.maven.docker.access | |
| io.fabric8.maven.docker.access.hc | |
| io.fabric8.maven.docker.util |
| Modifier and Type | Method and Description |
|---|---|
protected AuthConfig |
AbstractDockerMojo.prepareAuthConfig(ImageName image,
String configuredRegistry,
boolean isPush) |
| Modifier and Type | Field and Description |
|---|---|
static AuthConfig |
AuthConfig.EMPTY_AUTH_CONFIG |
| Modifier and Type | Method and Description |
|---|---|
void |
DockerAccess.pullImage(String image,
AuthConfig authConfig,
String registry)
Pull an image from a remote registry and store it locally.
|
void |
DockerAccess.pushImage(String image,
AuthConfig authConfig,
String registry)
Push an image to a registry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DockerAccessWithHcClient.pullImage(String image,
AuthConfig authConfig,
String registry) |
void |
DockerAccessWithHcClient.pushImage(String image,
AuthConfig authConfig,
String registry) |
| Modifier and Type | Method and Description |
|---|---|
AuthConfig |
AuthConfigFactory.createAuthConfig(boolean isPush,
Map authConfigMap,
org.apache.maven.settings.Settings settings,
String user,
String registry)
Create an authentication config object which can be used for communication with a Docker registry
The authentication information is looked up at various places (in this order):
From system properties
From the provided map which can contain key-value pairs
From the Maven settings stored typically in ~/.m2/settings.xml
The following properties (prefix with 'docker.') and config key are evaluated:
username: User to authenticate
password: Password to authenticate.
|
Copyright © 2016. All Rights Reserved.