Package | Description |
---|---|
io.fabric8.maven.docker.access | |
io.fabric8.maven.docker.access.ecr | |
io.fabric8.maven.docker.access.hc | |
io.fabric8.maven.docker.util |
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,
int retries)
Push an image to a registry.
|
Modifier and Type | Method and Description |
---|---|
AuthConfig |
EcrExtendedAuth.extendedAuth(AuthConfig localCredentials)
Perform extended authentication.
|
Modifier and Type | Method and Description |
---|---|
AuthConfig |
EcrExtendedAuth.extendedAuth(AuthConfig localCredentials)
Perform extended authentication.
|
Modifier and Type | Method and Description |
---|---|
void |
DockerAccessWithHcClient.pullImage(String image,
AuthConfig authConfig,
String registry) |
void |
DockerAccessWithHcClient.pushImage(String image,
AuthConfig authConfig,
String registry,
int retries) |
Modifier and Type | Method and Description |
---|---|
AuthConfig |
AuthConfigFactory.createAuthConfig(boolean isPush,
boolean skipExtendedAuth,
Map authConfig,
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 openshift settings in ~/.config/kube
From the Maven settings stored typically in ~/.m2/settings.xml
From the Docker settings stored in ~/.docker/config.json
The following properties (prefix with 'docker.') and config key are evaluated:
username: User to authenticate
password: Password to authenticate.
|
AuthConfig |
CredentialHelperClient.getAuthConfig(String registryToLookup) |
Copyright © 2019. All rights reserved.