目录

egg-sls

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-sls --save

Usage

// {app_root}/config/plugin.js
exports.sls = {
  enable: true,
  package: 'egg-sls',
};

Configuration

// {app_root}/config/config.default.js
exports.sls = {
};

see config/config.default.js for more detail.

Example

API

Project

  • createProject
  • deleteProject
  • getProject
  • listProject
  • getProjectLogs

LogStore

  • createLogstore
  • deleteLogstore
  • getLogstore
  • listLogstore
  • updateLogstore
  • getLogs
  • getHistograms

Shard

  • ListShards
  • SplitShard
  • MergeShards
  • PostLogStoreLogs
  • GetCursor
  • PullLogs

Index

  • createIndex
  • getIndex
  • updateIndex
  • deleteIndex

Config

  • createConfig
  • deleteConfig
  • getConfig
  • listConfig
  • updateConfig
  • GetAppliedMachineGroups

Questions & Suggestions

Please open an issue here.

License

MIT

关于
86.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号