All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.dockerjava.api.model.AuthConfigurations Maven / Gradle / Ivy

There is a newer version: 3.4.0
Show newest version
package com.github.dockerjava.api.model;

import java.io.Serializable;
import java.util.Map;
import java.util.TreeMap;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@EqualsAndHashCode
@ToString
public class AuthConfigurations extends DockerObject 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;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy