mise API - v0.0.0
    Preparing search index...

    Function plugin_addDescriptor

    • Uploads one descriptor's text through CUBE's administrative upload.

      Parameters

      • descriptor: string

        The descriptor's JSON text.

      • computeNames: string[]

        Compute resources to register it on.

      • Optionalcreds: AdminCredentials

        Administrator credentials; the session when absent.

      Returns Promise<Result<Record<string, unknown>>>

      The registered plugin's fields, or an error on the error stack.

      const added: Result<Record<string, unknown>> = await plugin_addDescriptor(text, ['host']);