Interface FunctionsV2<W extends WorkerService>

All Known Implementing Classes:
FunctionsImplV2

public interface FunctionsV2<W extends WorkerService>
The v2 functions API to manage functions.
  • Method Details

    • getFunctionInfo

      javax.ws.rs.core.Response getFunctionInfo(String tenant, String namespace, String functionName, String clientRole) throws IOException
      Throws:
      IOException
    • getFunctionInstanceStatus

      javax.ws.rs.core.Response getFunctionInstanceStatus(String tenant, String namespace, String functionName, String instanceId, URI uri, String clientRole) throws IOException
      Throws:
      IOException
    • getFunctionStatusV2

      javax.ws.rs.core.Response getFunctionStatusV2(String tenant, String namespace, String functionName, URI requestUri, String clientRole) throws IOException
      Throws:
      IOException
    • registerFunction

      javax.ws.rs.core.Response registerFunction(String tenant, String namespace, String functionName, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String functionPkgUrl, String functionDetailsJson, String clientRole)
    • updateFunction

      javax.ws.rs.core.Response updateFunction(String tenant, String namespace, String functionName, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail, String functionPkgUrl, String functionDetailsJson, String clientRole)
    • deregisterFunction

      javax.ws.rs.core.Response deregisterFunction(String tenant, String namespace, String functionName, String clientAppId)
    • listFunctions

      javax.ws.rs.core.Response listFunctions(String tenant, String namespace, String clientRole)
    • triggerFunction

      javax.ws.rs.core.Response triggerFunction(String tenant, String namespace, String functionName, String triggerValue, InputStream triggerStream, String topic, String clientRole)
    • getFunctionState

      javax.ws.rs.core.Response getFunctionState(String tenant, String namespace, String functionName, String key, String clientRole)
    • restartFunctionInstance

      javax.ws.rs.core.Response restartFunctionInstance(String tenant, String namespace, String functionName, String instanceId, URI uri, String clientRole)
    • restartFunctionInstances

      javax.ws.rs.core.Response restartFunctionInstances(String tenant, String namespace, String functionName, String clientRole)
    • stopFunctionInstance

      javax.ws.rs.core.Response stopFunctionInstance(String tenant, String namespace, String functionName, String instanceId, URI uri, String clientRole)
    • stopFunctionInstances

      javax.ws.rs.core.Response stopFunctionInstances(String tenant, String namespace, String functionName, String clientRole)
    • uploadFunction

      javax.ws.rs.core.Response uploadFunction(InputStream uploadedInputStream, String path, String clientRole)
    • downloadFunction

      javax.ws.rs.core.Response downloadFunction(String path, String clientRole)
    • getListOfConnectors

      List<org.apache.pulsar.common.io.ConnectorDefinition> getListOfConnectors()