com.ecwid.consul.v1.acl.AclClient Maven / Gradle / Ivy
package com.ecwid.consul.v1.acl;
import com.ecwid.consul.v1.Response;
import com.ecwid.consul.v1.acl.model.Acl;
import com.ecwid.consul.v1.acl.model.NewAcl;
import com.ecwid.consul.v1.acl.model.UpdateAcl;
import java.util.List;
/**
* @author Vasily Vasilkov ([email protected])
*/
public interface AclClient {
Response aclCreate(NewAcl newAcl, String token);
Response aclUpdate(UpdateAcl updateAcl, String token);
Response aclDestroy(String aclId, String token);
Response getAcl(String id);
Response aclClone(String aclId, String token);
Response> getAclList(String token);
}