Class EventingFunctionManager

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

Methods

  • Deploys an eventing function.

    Parameters

    • name: string

      The name of the eventing function to deploy.

    • Optional options: DeployFunctionOptions

      Optional parameters for this operation.

    • Optional callback: 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.

    • Optional options: DropFunctionOptions

      Optional parameters for this operation.

    • Optional callback: NodeCallback<void>

      A node-style callback to be invoked after execution.

    Returns Promise<void>

  • Fetches the status of all eventing functions.

    Parameters

    Returns Promise<EventingState>

  • Fetches a specific eventing function.

    Parameters

    • name: string

      The name of the eventing function to fetch.

    • Optional options: GetFunctionOptions

      Optional parameters for this operation.

    • Optional callback: NodeCallback<EventingFunction>

      A node-style callback to be invoked after execution.

    Returns Promise<EventingFunction>

  • Pauses an eventing function.

    Parameters

    • name: string

      The name of the eventing function to pause.

    • Optional options: PauseFunctionOptions

      Optional parameters for this operation.

    • Optional callback: 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.

    • Optional options: ResumeFunctionOptions

      Optional parameters for this operation.

    • Optional callback: 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.

    • Optional options: DeployFunctionOptions

      Optional parameters for this operation.

    • Optional callback: 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.

    • Optional options: UpsertFunctionOptions

      Optional parameters for this operation.

    • Optional callback: NodeCallback<void>

      A node-style callback to be invoked after execution.

    Returns Promise<void>