Interface Functions<W extends WorkerService>

    • Method Detail

      • registerFunction

        void registerFunction​(java.lang.String tenant,
                              java.lang.String namespace,
                              java.lang.String functionName,
                              java.io.InputStream uploadedInputStream,
                              org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail,
                              java.lang.String functionPkgUrl,
                              org.apache.pulsar.common.functions.FunctionConfig functionConfig,
                              org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)
        Register a new function.
        Parameters:
        tenant - The tenant of a Pulsar Function
        namespace - The namespace of a Pulsar Function
        functionName - The name of a Pulsar Function
        uploadedInputStream - Input stream of bytes
        fileDetail - A form-data content disposition header
        functionPkgUrl - URL path of the Pulsar Function package
        functionConfig - Configuration of Pulsar Function
        authParams - the authentication parameters associated with the request
      • updateFunction

        void updateFunction​(java.lang.String tenant,
                            java.lang.String namespace,
                            java.lang.String functionName,
                            java.io.InputStream uploadedInputStream,
                            org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail,
                            java.lang.String functionPkgUrl,
                            org.apache.pulsar.common.functions.FunctionConfig functionConfig,
                            org.apache.pulsar.broker.authentication.AuthenticationParameters authParams,
                            org.apache.pulsar.common.functions.UpdateOptionsImpl updateOptions)
        Update a function.
        Parameters:
        tenant - The tenant of a Pulsar Function
        namespace - The namespace of a Pulsar Function
        functionName - The name of a Pulsar Function
        uploadedInputStream - Input stream of bytes
        fileDetail - A form-data content disposition header
        functionPkgUrl - URL path of the Pulsar Function package
        functionConfig - Configuration of Pulsar Function
        authParams - the authentication parameters associated with the request
        updateOptions - Options while updating the function
      • updateFunctionOnWorkerLeader

        void updateFunctionOnWorkerLeader​(java.lang.String tenant,
                                          java.lang.String namespace,
                                          java.lang.String functionName,
                                          java.io.InputStream uploadedInputStream,
                                          boolean delete,
                                          java.net.URI uri,
                                          org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)
      • getFunctionStatus

        org.apache.pulsar.common.policies.data.FunctionStatus getFunctionStatus​(java.lang.String tenant,
                                                                                java.lang.String namespace,
                                                                                java.lang.String componentName,
                                                                                java.net.URI uri,
                                                                                org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)
      • getFunctionInstanceStatus

        org.apache.pulsar.common.policies.data.FunctionStatus.FunctionInstanceStatus.FunctionInstanceStatusData getFunctionInstanceStatus​(java.lang.String tenant,
                                                                                                                                          java.lang.String namespace,
                                                                                                                                          java.lang.String componentName,
                                                                                                                                          java.lang.String instanceId,
                                                                                                                                          java.net.URI uri,
                                                                                                                                          org.apache.pulsar.broker.authentication.AuthenticationParameters authParams)