| 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.fromConfig(Path configPath,
String serverAddress)
Returns the RegistryAuth for the config file for the given registry server name.
|
RegistryAuth |
DockerConfigReader.fromFirstConfig(Path configPath)
Deprecated.
do not use - only exists for backwards compatibility. Use
DockerConfigReader.fromConfig(Path)
instead. |
RegistryAuth |
DefaultDockerClient.Builder.registryAuth() |
| Modifier and Type | Method and Description |
|---|---|
int |
DefaultDockerClient.auth(RegistryAuth registryAuth) |
int |
DockerClient.auth(RegistryAuth registryAuth)
Check auth configuration.
|
ServiceCreateResponse |
DefaultDockerClient.createService(ServiceSpec spec,
RegistryAuth config) |
ServiceCreateResponse |
DockerClient.createService(ServiceSpec spec,
RegistryAuth registryAuth)
Create a new service.
|
void |
DefaultDockerClient.pull(String image,
RegistryAuth registryAuth) |
void |
DockerClient.pull(String image,
RegistryAuth registryAuth)
Pull a private docker container image.
|
void |
DefaultDockerClient.pull(String image,
RegistryAuth registryAuth,
ProgressHandler handler) |
void |
DockerClient.pull(String image,
RegistryAuth registryAuth,
ProgressHandler handler)
Pull a private docker container image, using a custom ProgressMessageHandler.
|
void |
DefaultDockerClient.push(String image,
ProgressHandler handler,
RegistryAuth registryAuth) |
void |
DockerClient.push(String image,
ProgressHandler handler,
RegistryAuth registryAuth) |
void |
DefaultDockerClient.push(String image,
RegistryAuth registryAuth) |
void |
DockerClient.push(String image,
RegistryAuth registryAuth) |
DefaultDockerClient.Builder |
DefaultDockerClient.Builder.registryAuth(RegistryAuth registryAuth)
Deprecated.
|
void |
DefaultDockerClient.updateService(String serviceId,
Long version,
ServiceSpec spec,
RegistryAuth config) |
void |
DockerClient.updateService(String serviceId,
Long version,
ServiceSpec spec,
RegistryAuth registryAuth)
Update an existing service.
|
| Modifier and Type | Method and Description |
|---|---|
RegistryAuth |
MultiRegistryAuthSupplier.authFor(String imageName) |
RegistryAuth |
ConfigFileRegistryAuthSupplier.authFor(String imageName) |
RegistryAuth |
RegistryAuthSupplier.authFor(String imageName)
Returns a RegistryAuth object that works with a given registry's API [e.g.
|
RegistryAuth |
FixedRegistryAuthSupplier.authFor(String imageName) |
RegistryAuth |
MultiRegistryAuthSupplier.authForSwarm() |
RegistryAuth |
ConfigFileRegistryAuthSupplier.authForSwarm() |
RegistryAuth |
RegistryAuthSupplier.authForSwarm()
Returns a RegistryAuth object that is valid for a Docker Swarm context [i.e.
|
RegistryAuth |
FixedRegistryAuthSupplier.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) |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.collect.ImmutableMap<String,RegistryAuth> |
RegistryConfigs.configs() |
| Modifier and Type | Method and Description |
|---|---|
static RegistryConfigs |
RegistryConfigs.create(Map<String,RegistryAuth> configs) |
Copyright © 2017. All rights reserved.