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

com.github.dockerjava.api.command.ListSecretsCmd Maven / Gradle / Ivy

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

import com.github.dockerjava.api.model.Secret;

import javax.annotation.CheckForNull;
import java.util.List;
import java.util.Map;

/**
 * List secrets
 */
public interface ListSecretsCmd extends SyncDockerCmd> {

    @CheckForNull
    Map> getFilters();

    /**
     * @param ids - Show only secrets with the given ids
     */
    ListSecretsCmd withIdFilter(List ids);

    /**
     * @param names - Show only secrets with the given names
     */
    ListSecretsCmd withNameFilter(List names);

    /**
     * @param labels - Show only secrets with the passed labels. Labels is a {@link Map} that contains label keys and values
     */
    ListSecretsCmd withLabelFilter(Map labels);

    interface Exec extends DockerCmdSyncExec> {
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy