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

    Function pluginAdmin_upload

    • Registers one plugin through CUBE's administrative upload, as the session or as an administrator token.

      The descriptor form and the store-URL form share this path, and a refusal carries CUBE's own reason (an existing version, an image already used, a descriptor the upload rejects) rather than chrisapi's generic one.

      Parameters

      • source: PluginAdminSource

        The descriptor text, or a plugin URL in another CUBE.

      • computeNames: string[]

        Compute resources to register the plugin on.

      • OptionaladminToken: string

        An administrator token to upload as; the session's client when absent.

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

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