com.github.dockerjava.api.model.AuthConfigurations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
package com.github.dockerjava.api.model;
import java.io.Serializable;
import java.util.Map;
import java.util.TreeMap;
import com.fasterxml.jackson.annotation.JsonProperty;
public class AuthConfigurations implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("configs")
private Map configs = new TreeMap<>();
public void addConfig(AuthConfig authConfig) {
configs.put(authConfig.getRegistryAddress(), authConfig);
}
public Map getConfigs() {
return this.configs;
}
}