de.gesellix.docker.client.secret.ManageSecret Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-client Show documentation
Show all versions of docker-client Show documentation
A Docker client for the JVM written in Groovy
The newest version!
package de.gesellix.docker.client.secret;
import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.IdResponse;
import de.gesellix.docker.remote.api.Secret;
import de.gesellix.docker.remote.api.SecretSpec;
import java.util.List;
import java.util.Map;
public interface ManageSecret {
EngineResponseContent createSecret(String name, byte[] secretData);
EngineResponseContent createSecret(String name, byte[] secretData, Map labels);
EngineResponseContent inspectSecret(String secretId);
/**
* @see #secrets(String)
* @deprecated use {@link #secrets(String)}
*/
@Deprecated
EngineResponseContent> secrets(Map query);
EngineResponseContent> secrets();
EngineResponseContent> secrets(String filters);
void rmSecret(String secretId);
void updateSecret(String secretId, long version, SecretSpec secretSpec);
}