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

de.gesellix.docker.client.secret.ManageSecret Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy