All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
application_set_service_create | POST /api/v1/applicationsets | Create creates an applicationset |
application_set_service_delete | DELETE /api/v1/applicationsets/{name} | Delete deletes an application set |
application_set_service_get | GET /api/v1/applicationsets/{name} | Get returns an applicationset by name |
application_set_service_list | GET /api/v1/applicationsets | List returns list of applicationset |
V1alpha1ApplicationSet application_set_service_create(body, opts)
Create creates an applicationset
# load the gem
require 'argocd-client'
api_instance = ArgoCD::ApplicationSetServiceApi.new
body = ArgoCD::V1alpha1ApplicationSet.new # V1alpha1ApplicationSet |
opts = {
upsert: true # BOOLEAN |
}
begin
#Create creates an applicationset
result = api_instance.application_set_service_create(body, opts)
p result
rescue ArgoCD::ApiError => e
puts "Exception when calling ApplicationSetServiceApi->application_set_service_create: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
body | V1alpha1ApplicationSet | ||
upsert | BOOLEAN | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
ApplicationsetApplicationSetResponse application_set_service_delete(name)
Delete deletes an application set
# load the gem
require 'argocd-client'
api_instance = ArgoCD::ApplicationSetServiceApi.new
name = 'name_example' # String |
begin
#Delete deletes an application set
result = api_instance.application_set_service_delete(name)
p result
rescue ArgoCD::ApiError => e
puts "Exception when calling ApplicationSetServiceApi->application_set_service_delete: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
name | String |
ApplicationsetApplicationSetResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
V1alpha1ApplicationSet application_set_service_get(name)
Get returns an applicationset by name
# load the gem
require 'argocd-client'
api_instance = ArgoCD::ApplicationSetServiceApi.new
name = 'name_example' # String | the applicationsets's name
begin
#Get returns an applicationset by name
result = api_instance.application_set_service_get(name)
p result
rescue ArgoCD::ApiError => e
puts "Exception when calling ApplicationSetServiceApi->application_set_service_get: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
name | String | the applicationsets's name |
No authorization required
- Content-Type: application/json
- Accept: application/json
V1alpha1ApplicationSetList application_set_service_list(opts)
List returns list of applicationset
# load the gem
require 'argocd-client'
api_instance = ArgoCD::ApplicationSetServiceApi.new
opts = {
projects: ['projects_example'], # Array<String> | the project names to restrict returned list applicationsets.
selector: 'selector_example' # String | the selector to restrict returned list to applications only with matched labels.
}
begin
#List returns list of applicationset
result = api_instance.application_set_service_list(opts)
p result
rescue ArgoCD::ApiError => e
puts "Exception when calling ApplicationSetServiceApi->application_set_service_list: #{e}"
end
Name | Type | Description | Notes |
---|---|---|---|
projects | Array<String> | the project names to restrict returned list applicationsets. | [optional] |
selector | String | the selector to restrict returned list to applications only with matched labels. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json