Thanks to visit codestin.com
Credit goes to docs.couchbase.com

couchbase
    Preparing search index...

    Class EventingFunctionManager

    EventingFunctionManager provides an interface for managing the eventing functions on the cluster. Uncommitted: This API is subject to change in the future.

    Index

    Methods

    • Deploys an eventing function.

      Parameters

      • name: string

        The name of the eventing function to deploy.

      • Optionaloptions: DeployFunctionOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<void>

        A node-style callback to be invoked after execution.

      Returns Promise<void>

    • Deletes an eventing function.

      Parameters

      • name: string

        The name of the eventing function to delete.

      • Optionaloptions: DropFunctionOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<void>

        A node-style callback to be invoked after execution.

      Returns Promise<void>

    • Pauses an eventing function.

      Parameters

      • name: string

        The name of the eventing function to pause.

      • Optionaloptions: PauseFunctionOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<void>

        A node-style callback to be invoked after execution.

      Returns Promise<void>

    • Resumes an eventing function.

      Parameters

      • name: string

        The name of the eventing function to resume.

      • Optionaloptions: ResumeFunctionOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<void>

        A node-style callback to be invoked after execution.

      Returns Promise<void>

    • Undeploys an eventing function.

      Parameters

      • name: string

        The name of the eventing function to undeploy.

      • Optionaloptions: DeployFunctionOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<void>

        A node-style callback to be invoked after execution.

      Returns Promise<void>

    • Creates or updates an eventing function.

      Parameters

      • functionDefinition: EventingFunction

        The description of the eventing function to upsert.

      • Optionaloptions: UpsertFunctionOptions

        Optional parameters for this operation.

      • Optionalcallback: NodeCallback<void>

        A node-style callback to be invoked after execution.

      Returns Promise<void>