All URIs are relative to http://localhost/api/v2.0
Method | HTTP request | Description |
---|---|---|
CreateRegistry | Post /registries | Create a registry |
DeleteRegistry | Delete /registries/{id} | Delete the specific registry |
GetRegistry | Get /registries/{id} | Get the specific registry |
GetRegistryInfo | Get /registries/{id}/info | Get the registry info |
ListRegistries | Get /registries | List the registries |
ListRegistryProviderInfos | Get /replication/adapterinfos | List all registered registry provider information |
ListRegistryProviderTypes | Get /replication/adapters | List registry adapters |
PingRegistry | Post /registries/ping | Check status of a registry |
UpdateRegistry | Put /registries/{id} | Update the registry |
CreateRegistry(ctx, registry, optional) Create a registry
Create a registry
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registry | Registry | The registry | |
optional | *RegistryApiCreateRegistryOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiCreateRegistryOpts struct
Name | Type | Description | Notes |
---|
xRequestId | optional.String| An unique ID for the request |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteRegistry(ctx, id, optional) Delete the specific registry
Delete the specific registry
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | Registry ID | |
optional | *RegistryApiDeleteRegistryOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiDeleteRegistryOpts struct
Name | Type | Description | Notes |
---|
xRequestId | optional.String| An unique ID for the request |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Registry GetRegistry(ctx, id, optional) Get the specific registry
Get the specific registry
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | Registry ID | |
optional | *RegistryApiGetRegistryOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiGetRegistryOpts struct
Name | Type | Description | Notes |
---|
xRequestId | optional.String| An unique ID for the request |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
RegistryInfo GetRegistryInfo(ctx, id, optional) Get the registry info
Get the registry info
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | Registry ID | |
optional | *RegistryApiGetRegistryInfoOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiGetRegistryInfoOpts struct
Name | Type | Description | Notes |
---|
xRequestId | optional.String| An unique ID for the request |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Registry ListRegistries(ctx, optional) List the registries
List the registries
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *RegistryApiListRegistriesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiListRegistriesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
xRequestId | optional.String | An unique ID for the request | |
q | optional.String | Query string to query resources. Supported query patterns are "exact match(k=v)", "fuzzy match(k= |
|
sort | optional.String | Sort the resource list in ascending or descending order. e.g. sort by field1 in ascending orderr and field2 in descending order with "sort=field1,-field2" | |
page | optional.Int64 | The page number | [default to 1] |
pageSize | optional.Int64 | The size of per page | [default to 10] |
name | optional.String | Deprecated, use `q` instead. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
map[string]RegistryProviderInfo ListRegistryProviderInfos(ctx, optional) List all registered registry provider information
List all registered registry provider information
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *RegistryApiListRegistryProviderInfosOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiListRegistryProviderInfosOpts struct
Name | Type | Description | Notes |
---|---|---|---|
xRequestId | optional.String | An unique ID for the request |
map[string]RegistryProviderInfo
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]string ListRegistryProviderTypes(ctx, optional) List registry adapters
List registry adapters
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *RegistryApiListRegistryProviderTypesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiListRegistryProviderTypesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
xRequestId | optional.String | An unique ID for the request |
[]string
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PingRegistry(ctx, registry, optional) Check status of a registry
Check status of a registry
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
registry | RegistryPing | The registry | |
optional | *RegistryApiPingRegistryOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiPingRegistryOpts struct
Name | Type | Description | Notes |
---|
xRequestId | optional.String| An unique ID for the request |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateRegistry(ctx, id, registry, optional) Update the registry
Update the registry
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | int64 | The registry ID | |
registry | RegistryUpdate | The registry | |
optional | *RegistryApiUpdateRegistryOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RegistryApiUpdateRegistryOpts struct
Name | Type | Description | Notes |
---|
xRequestId | optional.String| An unique ID for the request |
(empty response body)
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]