node-lxc
    Preparing search index...

    Variable ConfigItemIsSupported

    ConfigItemIsSupported: (key: string) => boolean

    Type Declaration

      • (key: string): boolean
      • Determine whether a specific configuration key is supported by this LXC build. Useful before setting keys that may not exist in older LXC versions.

        Parameters

        • key: string

          {string} Configuration key to test (e.g. "lxc.cap.drop").

        Returns boolean

        true if the key is supported, false otherwise.