MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Truenas Scale插件,用于在QQ中操作Truenas

    插件发布
    1
    1
    473
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      Oaiqiy last edited by

      mirai-truenas-scale-plugin

      项目地址
      QQ bot for truenas scale

      对于truenas的支持来源为 truenas-scale-sdk 还在更新中~
      支持的命令列表 在 TrueNasCommand
      目前对于参数还没写说明文档,需要到代码中查看具体的参数定义

      示例命令如下

      unlock [dataset] [passphrase] <force> 解锁一个数据集dataset,使用密码为 passphrase,force表示是否强制,为可选项

      app start [releaseName] 启动一个名为releaseName的truenas scale应用

      app stop [releaseName] app restart [releaseName] 同理

      Config

      config/dev.oaiqiy.truenas-plugin/config.yml

      URL_PREFIX truenas scale api url前缀 e.g. http://localhost/api/v2.0
      TOKEN truenas scale api token

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact