All URIs are relative to http://127.0.0.1/v2
| Method | HTTP request | Description |
|---|---|---|
| get_stick_table | GET /services/haproxy/runtime/stick_tables/{name} | Return Stick Table |
| get_stick_table_entries | GET /services/haproxy/runtime/stick_table_entries | Return Stick Table Entries |
| get_stick_tables | GET /services/haproxy/runtime/stick_tables | Return Stick Tables |
| set_stick_table_entries | POST /services/haproxy/runtime/stick_table_entries | Set Entry to Stick Table |
crate::models::StickTable get_stick_table(name, process) Return Stick Table
Returns one stick table from runtime.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| name | String | Stick table name | [required] | |
| process | i32 | Process number if master-worker mode, if not only first process is returned | [required] |
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::StickTableEntry get_stick_table_entries(stick_table, process, filter, key, count, offset) Return Stick Table Entries
Returns an array of all entries in a given stick tables.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| stick_table | String | Stick table name | [required] | |
| process | i32 | Process number if master-worker mode, if not only first process is returned | [required] | |
| filter | Option<String> | A list of filters in format data. separated by comma | ||
| key | Option<String> | Key which we want the entries for | ||
| count | Option<i32> | Max number of entries to be returned for pagination | ||
| offset | Option<i32> | Offset which indicates how many items we skip in pagination |
Veccrate::models::StickTableEntry
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Veccrate::models::StickTable get_stick_tables(process) Return Stick Tables
Returns an array of all stick tables.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| process | Option<i32> | Process number if master-worker mode, if not all processes are returned |
Veccrate::models::StickTable
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_stick_table_entries(stick_table, process, set_stick_table_entries_request) Set Entry to Stick Table
Create or update a stick-table entry in the table.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| stick_table | String | Stick table name | [required] | |
| process | i32 | Process number if master-worker mode, if not only first process is returned | [required] | |
| set_stick_table_entries_request | Option<SetStickTableEntriesRequest> | Stick table entry |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]