couchbase
    Preparing search index...

    Interface IEventingFunction

    Specifies an eventing function to create or update.

    interface IEventingFunction {
        bucketBindings?: EventingFunctionBucketBinding[];
        code: string;
        constantBindings?: EventingFunctionConstantBinding[];
        enforceSchema?: boolean;
        functionInstanceId?: string;
        handlerUuid?: number;
        metadataKeyspace: EventingFunctionKeyspace;
        name: string;
        settings?: EventingFunctionSettings;
        sourceKeyspace: EventingFunctionKeyspace;
        urlBindings?: EventingFunctionUrlBinding[];
        version?: string;
    }

    Implemented by

    Index

    The buckets to bind to the function.

    code: string

    The code for this eventing function.

    constantBindings?: EventingFunctionConstantBinding[]

    The constants to bind to the function.

    enforceSchema?: boolean

    Whether to enable stricter validation of settings and configuration.

    functionInstanceId?: string

    The unique id for the deployment of the handler.

    handlerUuid?: number

    The unique ID for this eventing function.

    metadataKeyspace: EventingFunctionKeyspace

    The keyspace to store the functions metadata.

    name: string

    The name of the eventing function.

    The settings for this function.

    sourceKeyspace: EventingFunctionKeyspace

    The keyspace that the function should operate on.

    The URLs to bind to the function.

    version?: string

    The authoring version of this eventing function.