mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 12:50:05 +01:00
feat: adding taints, labels and annotations to terraform provider and ui all implementing the SDK
This commit is contained in:
@@ -226,7 +226,7 @@ Name | Type | Description | Notes
|
||||
|
||||
## ListAnnotations
|
||||
|
||||
> []DtoAnnotationResponse ListAnnotations(ctx).XOrgID(xOrgID).Name(name).Value(value).Q(q).Execute()
|
||||
> []DtoAnnotationResponse ListAnnotations(ctx).XOrgID(xOrgID).Key(key).Value(value).Q(q).Execute()
|
||||
|
||||
List annotations (org scoped)
|
||||
|
||||
@@ -246,13 +246,13 @@ import (
|
||||
|
||||
func main() {
|
||||
xOrgID := "xOrgID_example" // string | Organization UUID (optional)
|
||||
name := "name_example" // string | Exact name (optional)
|
||||
key := "key_example" // string | Exact key (optional)
|
||||
value := "value_example" // string | Exact value (optional)
|
||||
q := "q_example" // string | name contains (case-insensitive) (optional)
|
||||
q := "q_example" // string | key contains (case-insensitive) (optional)
|
||||
|
||||
configuration := openapiclient.NewConfiguration()
|
||||
apiClient := openapiclient.NewAPIClient(configuration)
|
||||
resp, r, err := apiClient.AnnotationsAPI.ListAnnotations(context.Background()).XOrgID(xOrgID).Name(name).Value(value).Q(q).Execute()
|
||||
resp, r, err := apiClient.AnnotationsAPI.ListAnnotations(context.Background()).XOrgID(xOrgID).Key(key).Value(value).Q(q).Execute()
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error when calling `AnnotationsAPI.ListAnnotations``: %v\n", err)
|
||||
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
|
||||
@@ -274,9 +274,9 @@ Other parameters are passed through a pointer to a apiListAnnotationsRequest str
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**xOrgID** | **string** | Organization UUID |
|
||||
**name** | **string** | Exact name |
|
||||
**key** | **string** | Exact key |
|
||||
**value** | **string** | Exact value |
|
||||
**q** | **string** | name contains (case-insensitive) |
|
||||
**q** | **string** | key contains (case-insensitive) |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Attempts** | Pointer to **int32** | example: 0 | [optional]
|
||||
**CreatedAt** | Pointer to **string** | example: 2025-11-04T09:30:00Z | [optional]
|
||||
**Id** | Pointer to **string** | example: 01HF7SZK8Z8WG1M3J7S2Z8M2N6 | [optional]
|
||||
**LastError** | Pointer to **string** | example: dial tcp: i/o timeout | [optional]
|
||||
**MaxAttempts** | Pointer to **int32** | example: 3 | [optional]
|
||||
**Payload** | Pointer to **map[string]interface{}** | arbitrary JSON payload | [optional]
|
||||
**Queue** | Pointer to **string** | example: default | [optional]
|
||||
**RunAt** | Pointer to **string** | example: 2025-11-05T08:00:00Z | [optional]
|
||||
**Status** | Pointer to [**DtoJobStatus**](DtoJobStatus.md) | enum: queued,running,succeeded,failed,canceled,retrying,scheduled example: queued | [optional]
|
||||
**Type** | Pointer to **string** | example: email.send | [optional]
|
||||
**UpdatedAt** | Pointer to **string** | example: 2025-11-04T09:31:00Z | [optional]
|
||||
**Attempts** | Pointer to **int32** | | [optional]
|
||||
**CreatedAt** | Pointer to **string** | | [optional]
|
||||
**Id** | Pointer to **string** | | [optional]
|
||||
**LastError** | Pointer to **string** | | [optional]
|
||||
**MaxAttempts** | Pointer to **int32** | | [optional]
|
||||
**Payload** | Pointer to **map[string]interface{}** | | [optional]
|
||||
**Queue** | Pointer to **string** | | [optional]
|
||||
**RunAt** | Pointer to **string** | | [optional]
|
||||
**Status** | Pointer to [**DtoJobStatus**](DtoJobStatus.md) | | [optional]
|
||||
**Type** | Pointer to **string** | | [optional]
|
||||
**UpdatedAt** | Pointer to **string** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Items** | Pointer to [**[]DtoJob**](DtoJob.md) | | [optional]
|
||||
**Page** | Pointer to **int32** | example: 1 | [optional]
|
||||
**PageSize** | Pointer to **int32** | example: 25 | [optional]
|
||||
**Total** | Pointer to **int32** | example: 120 | [optional]
|
||||
**Page** | Pointer to **int32** | | [optional]
|
||||
**PageSize** | Pointer to **int32** | | [optional]
|
||||
**Total** | Pointer to **int32** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Failed** | Pointer to **int32** | example: 5 | [optional]
|
||||
**Name** | Pointer to **string** | example: default | [optional]
|
||||
**Pending** | Pointer to **int32** | example: 42 | [optional]
|
||||
**Running** | Pointer to **int32** | example: 3 | [optional]
|
||||
**Scheduled** | Pointer to **int32** | example: 7 | [optional]
|
||||
**Failed** | Pointer to **int32** | | [optional]
|
||||
**Name** | Pointer to **string** | | [optional]
|
||||
**Pending** | Pointer to **int32** | | [optional]
|
||||
**Running** | Pointer to **int32** | | [optional]
|
||||
**Scheduled** | Pointer to **int32** | | [optional]
|
||||
|
||||
## Methods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user