-
Notifications
You must be signed in to change notification settings - Fork 783
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/mssql-db
Signed-off-by: Test <[email protected]>
- Loading branch information
Showing
159 changed files
with
6,346 additions
and
1,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
openapi: post /mapping | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
openapi: delete /mapping/{mapping_id} | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
openapi: get /mapping | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
sidebarTitle: "keep config new" | ||
--- | ||
|
||
Create new config. | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: keep config new [OPTIONS]... | ||
``` | ||
|
||
## Options | ||
* `interactive`: | ||
* Type: BOOL | ||
* Default: `True` | ||
* Usage: `--interactive` | ||
|
||
Create config interactively. | ||
|
||
* `url`: | ||
* Type: STRING | ||
* Default: `http://localhost:8080` | ||
* Usage: `--url` | ||
|
||
The URL of the Keep backend server. | ||
|
||
* `api-key`: | ||
* Type: STRING | ||
* Default: `` | ||
* Usage: `--api-key` | ||
|
||
The api key for authenticating over keep. | ||
|
||
* `help`: | ||
* Type: BOOL | ||
* Default: `false` | ||
* Usage: `--help` | ||
|
||
Show this message and exit. | ||
|
||
|
||
|
||
## CLI Help | ||
|
||
``` | ||
Usage: keep config new [OPTIONS] | ||
create new config. | ||
Options: | ||
-u, --url TEXT The url of the keep api | ||
-a, --api-key TEXT The api key for keep | ||
-i, --interactive Interactive mode creating keep config (default True) | ||
--help Show this message and exit. | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
--- | ||
sidebarTitle: "keep config show" | ||
--- | ||
|
||
Show keep configuration. | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: keep config show [OPTIONS]... | ||
``` | ||
|
||
## Options | ||
* `help`: | ||
* Type: BOOL | ||
* Default: `false` | ||
* Usage: `--help` | ||
|
||
Show this message and exit. | ||
|
||
|
||
|
||
## CLI Help | ||
|
||
``` | ||
Usage: keep config show [OPTIONS] | ||
show the current config. | ||
Options: | ||
--help Show this message and exit. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
--- | ||
sidebarTitle: "keep mappings create" | ||
--- | ||
|
||
Create a mapping rule. | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: keep mappings delete [OPTIONS] | ||
``` | ||
|
||
## Options | ||
|
||
* `name` | ||
* Type: STRING | ||
* Default: `` | ||
* Usage: `--name <mapping-name>` | ||
|
||
The name of the mapping. | ||
|
||
* `description` | ||
* Type: STRING | ||
* Default: `` | ||
* Usage: `--description <mapping-description>` | ||
|
||
The description of the mapping. | ||
|
||
* `file` | ||
* Type: STRING | ||
* Default: `` | ||
* Usage: `--file <mapping-file>` | ||
|
||
The mapping file. Must be a CSV file. | ||
|
||
* `matchers` | ||
* Type: STRING | ||
* Default: `` | ||
* Usage: `--matchers <mapping-matchers>` | ||
|
||
The matchers of the mapping, as a comma-separated list of strings. | ||
|
||
* `priority` | ||
* Type: INTEGER RANGE | ||
* Default: `0` | ||
* Usage: `--priority <priority>` | ||
|
||
The priority of the mapping, higher priority means this rule will execute first. [0<=x<=100]. | ||
|
||
* `help`: | ||
* Type: BOOL | ||
* Default: `false` | ||
* Usage: `--help` | ||
|
||
Show this message and exit. | ||
|
||
## CLI Help | ||
|
||
``` | ||
Usage: keep mappings create [OPTIONS] | ||
|
||
Create a mapping rule. | ||
|
||
Options: | ||
-n, --name TEXT The name of the mapping. [required] | ||
-d, --description TEXT The description of the mapping. | ||
-f, --file PATH The mapping file. Must be a CSV file. | ||
[required] | ||
-m, --matchers TEXT The matchers of the mapping, as a comma- | ||
separated list of strings. [required] | ||
-p, --priority INTEGER RANGE The priority of the mapping, higher priority | ||
means this rule will execute first. | ||
[0<=x<=100] | ||
--help Show this message and exit. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
sidebarTitle: "keep mappings delete" | ||
--- | ||
|
||
Delete a mapping with a specified ID. | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: keep mappings delete [OPTIONS] | ||
``` | ||
|
||
## Options | ||
|
||
* `mapping-id` | ||
* Type: STRING | ||
* Default: `` | ||
* Usage: `--mapping-id <mapping-id>` | ||
|
||
The ID of the mapping to delete. | ||
|
||
* `help`: | ||
* Type: BOOL | ||
* Default: `false` | ||
* Usage: `--help` | ||
|
||
Show this message and exit. | ||
|
||
|
||
|
||
## CLI Help | ||
|
||
``` | ||
Usage: keep mappings delete [OPTIONS] | ||
Delete a mapping with a specified ID | ||
Options: | ||
--mapping-id INTEGER The ID of the mapping to delete. [required] | ||
--help Show this message and exit. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
sidebarTitle: "keep mappings list" | ||
--- | ||
|
||
List mappings. | ||
|
||
## Usage | ||
|
||
``` | ||
Usage: keep mappings [OPTIONS] | ||
``` | ||
|
||
List mappings. | ||
|
||
## Options | ||
|
||
* `help`: | ||
* Type: BOOL | ||
* Default: `false` | ||
* Usage: `--help` | ||
|
||
Show this message and exit. | ||
|
||
## CLI Help | ||
|
||
``` | ||
Usage: keep mappings list [OPTIONS] | ||
List mappings. | ||
Options: | ||
--help Show this message and exit. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.