Package | Description |
---|---|
com.spotify.docker.client | |
com.spotify.docker.client.auth | |
com.spotify.docker.client.auth.gcr |
Support for authenticating with Google Container Registry.
|
com.spotify.docker.client.messages |
Modifier and Type | Method and Description |
---|---|
RegistryAuth |
DockerConfigReader.anyRegistryAuth()
Return a single RegistryAuth from the default config file.
|
RegistryAuth |
DockerConfigReader.authForRegistry(Path configPath,
String registry)
Generate
RegistryAuth for the registry. |
RegistryAuth |
DockerConfigReader.fromConfig(Path configPath,
String serverAddress)
Deprecated.
In favor of
DockerConfigReader.authForRegistry(Path, String) |
RegistryAuth |
DefaultDockerClient.Builder.registryAuth() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.common.collect.ImmutableMap<String,RegistryAuth> |
DockerConfig.auths() |
Modifier and Type | Method and Description |
---|---|
int |
DockerClient.auth(RegistryAuth registryAuth)
Check auth configuration.
|
int |
DefaultDockerClient.auth(RegistryAuth registryAuth) |
ServiceCreateResponse |
DockerClient.createService(ServiceSpec spec,
RegistryAuth registryAuth)
Create a new service.
|
ServiceCreateResponse |
DefaultDockerClient.createService(ServiceSpec spec,
RegistryAuth config) |
void |
DockerClient.pull(String image,
RegistryAuth registryAuth)
Pull a private docker container image.
|
void |
DefaultDockerClient.pull(String image,
RegistryAuth registryAuth) |
void |
DockerClient.pull(String image,
RegistryAuth registryAuth,
ProgressHandler handler)
Pull a private docker container image, using a custom ProgressMessageHandler.
|
void |
DefaultDockerClient.pull(String image,
RegistryAuth registryAuth,
ProgressHandler handler) |
void |
DockerClient.push(String image,
ProgressHandler handler,
RegistryAuth registryAuth) |
void |
DefaultDockerClient.push(String image,
ProgressHandler handler,
RegistryAuth registryAuth) |
void |
DockerClient.push(String image,
RegistryAuth registryAuth) |
void |
DefaultDockerClient.push(String image,
RegistryAuth registryAuth) |
DefaultDockerClient.Builder |
DefaultDockerClient.Builder.registryAuth(RegistryAuth registryAuth)
Deprecated.
|
void |
DockerClient.updateService(String serviceId,
Long version,
ServiceSpec spec,
RegistryAuth registryAuth)
Update an existing service.
|
void |
DefaultDockerClient.updateService(String serviceId,
Long version,
ServiceSpec spec,
RegistryAuth config) |
Modifier and Type | Method and Description |
---|---|
static DockerConfig |
DockerConfig.create(Map<String,String> credHelpers,
Map<String,RegistryAuth> auths,
Map<String,String> httpHeaders,
String credsStore,
String detachKeys,
String stackOrchestrator,
String psFormat,
String imagesFormat) |
Modifier and Type | Method and Description |
---|---|
RegistryAuth |
RegistryAuthSupplier.authFor(String imageName)
Returns a RegistryAuth object that works with a given registry's API [e.g.
|
RegistryAuth |
MultiRegistryAuthSupplier.authFor(String imageName) |
RegistryAuth |
FixedRegistryAuthSupplier.authFor(String imageName) |
RegistryAuth |
ConfigFileRegistryAuthSupplier.authFor(String imageName) |
RegistryAuth |
RegistryAuthSupplier.authForSwarm()
Returns a RegistryAuth object that is valid for a Docker Swarm context [i.e.
|
RegistryAuth |
MultiRegistryAuthSupplier.authForSwarm() |
RegistryAuth |
FixedRegistryAuthSupplier.authForSwarm() |
RegistryAuth |
ConfigFileRegistryAuthSupplier.authForSwarm() |
Constructor and Description |
---|
FixedRegistryAuthSupplier(RegistryAuth registryAuth,
RegistryConfigs configsForBuild) |
Modifier and Type | Method and Description |
---|---|
RegistryAuth |
ContainerRegistryAuthSupplier.authFor(String imageName) |
RegistryAuth |
ContainerRegistryAuthSupplier.authForSwarm() |
Modifier and Type | Method and Description |
---|---|
abstract RegistryAuth |
RegistryAuth.Builder.build() |
static RegistryAuth |
RegistryAuth.create(String username,
String password,
String email,
String serveraddress,
String identitytoken,
String auth) |
RegistryAuth |
DockerCredentialHelperAuth.toRegistryAuth() |
Modifier and Type | Method and Description |
---|---|
abstract com.google.common.collect.ImmutableMap<String,RegistryAuth> |
RegistryConfigs.configs() |
Modifier and Type | Method and Description |
---|---|
RegistryConfigs.Builder |
RegistryConfigs.Builder.addConfig(String server,
RegistryAuth registryAuth) |
Modifier and Type | Method and Description |
---|---|
abstract RegistryConfigs.Builder |
RegistryConfigs.Builder.configs(Map<String,RegistryAuth> configs) |
static RegistryConfigs |
RegistryConfigs.create(Map<String,RegistryAuth> configs) |
Copyright © 2018. All rights reserved.