Description of all APIs
- API version: version not set
- Package version: 1.0.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/globocom/argocd-client.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/globocom/argocd-client.git
)
Then import the package:
import argocd_client
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import argocd_client
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import argocd_client
from argocd_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = argocd_client.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with argocd_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = argocd_client.AccountServiceApi(api_client)
resource = 'resource_example' # str |
action = 'action_example' # str |
subresource = 'subresource_example' # str |
try:
api_response = api_instance.can_i(resource, action, subresource)
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountServiceApi->can_i: %s\n" % e)
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
AccountServiceApi | can_i | GET /api/v1/account/can-i/{resource}/{action}/{subresource} | |
AccountServiceApi | create_token_mixin10 | POST /api/v1/account/{name}/token | |
AccountServiceApi | delete_token_mixin10 | DELETE /api/v1/account/{name}/token/{id} | |
AccountServiceApi | get_account | GET /api/v1/account/{name} | |
AccountServiceApi | list_accounts | GET /api/v1/account | |
AccountServiceApi | update_password | PUT /api/v1/account/password | UpdatePassword updates an account's password to a new value |
ApplicationServiceApi | create_mixin9 | POST /api/v1/applications | Create creates an application |
ApplicationServiceApi | delete_mixin9 | DELETE /api/v1/applications/{name} | Delete deletes an application |
ApplicationServiceApi | delete_resource | DELETE /api/v1/applications/{name}/resource | DeleteResource deletes a single application resource |
ApplicationServiceApi | get_ap 8000 plication_sync_windows | GET /api/v1/applications/{name}/syncwindows | Get returns an application by name |
ApplicationServiceApi | get_manifests | GET /api/v1/applications/{name}/manifests | GetManifests returns application manifests |
ApplicationServiceApi | get_mixin9 | GET /api/v1/applications/{name} | Get returns an application by name |
ApplicationServiceApi | get_resource | GET /api/v1/applications/{name}/resource | GetResource returns single application resource |
ApplicationServiceApi | list_mixin9 | GET /api/v1/applications | List returns list of applications |
ApplicationServiceApi | list_resource_actions | GET /api/v1/applications/{name}/resource/actions | |
ApplicationServiceApi | list_resource_events | GET /api/v1/applications/{name}/events | ListResourceEvents returns a list of event resources |
ApplicationServiceApi | managed_resources | GET /api/v1/applications/{applicationName}/managed-resources | |
ApplicationServiceApi | patch | PATCH /api/v1/applications/{name} | Patch patch an application |
ApplicationServiceApi | patch_resource | POST /api/v1/applications/{name}/resource | PatchResource patch single application resource |
ApplicationServiceApi | pod_logs | GET /api/v1/applications/{name}/pods/{podName}/logs | PodLogs returns stream of log entries for the specified pod. Pod |
ApplicationServiceApi | resource_tree | GET /api/v1/applications/{applicationName}/resource-tree | |
ApplicationServiceApi | revision_metadata | GET /api/v1/applications/{name}/revisions/{revision}/metadata | Get the meta-data (author, date, tags, message) for a specific revision of the application |
ApplicationServiceApi | rollback | POST /api/v1/applications/{name}/rollback | Rollback syncs an application to its target state |
ApplicationServiceApi | run_resource_action | POST /api/v1/applications/{name}/resource/actions | |
ApplicationServiceApi | sync | POST /api/v1/applications/{name}/sync | Sync syncs an application to its target state |
ApplicationServiceApi | terminate_operation | DELETE /api/v1/applications/{name}/operation | TerminateOperation terminates the currently running operation |
ApplicationServiceApi | update_mixin9 | PUT /api/v1/applications/{application.metadata.name} | Update updates an application |
ApplicationServiceApi | update_spec | PUT /api/v1/applications/{name}/spec | UpdateSpec updates an application spec |
ApplicationServiceApi | watch | GET /api/v1/stream/applications | Watch returns stream of application change events. |
CertificateServiceApi | create_certificate | POST /api/v1/certificates | Creates repository certificates on the server |
CertificateServiceApi | delete_certificate | DELETE /api/v1/certificates | Delete the certificates that match the RepositoryCertificateQuery |
CertificateServiceApi | list_certificates | GET /api/v1/certificates | List all available repository certificates |
ClusterServiceApi | create | POST /api/v1/clusters | Create creates a cluster |
ClusterServiceApi | delete | DELETE /api/v1/clusters/{server} | Delete deletes a cluster |
ClusterServiceApi | get_mixin2 | GET /api/v1/clusters/{server} | Get returns a cluster by server address |
ClusterServiceApi | invalidate_cache | POST /api/v1/clusters/{server}/invalidate-cache | InvalidateCache invalidates cluster cache |
ClusterServiceApi | list | GET /api/v1/clusters | List returns list of clusters |
ClusterServiceApi | rotate_auth | POST /api/v1/clusters/{server}/rotate-auth | RotateAuth rotates the bearer token used for a cluster |
ClusterServiceApi | update | PUT /api/v1/clusters/{cluster.server} | Update updates a cluster |
GPGKeyServiceApi | create_mixin7 | POST /api/v1/gpgkeys | Create one or more GPG public keys in the server's configuration |
GPGKeyServiceApi | delete_mixin7 | DELETE /api/v1/gpgkeys | Delete specified GPG public key from the server's configuration |
GPGKeyServiceApi | get_mixin7 | GET /api/v1/gpgkeys/{keyID} | Get information about specified GPG public key from the server |
GPGKeyServiceApi | list_mixin7 | GET /api/v1/gpgkeys | List all available repository certificates |
ProjectServiceApi | create_mixin6 | POST /api/v1/projects | Create a new project. |
ProjectServiceApi | create_token | POST /api/v1/projects/{project}/roles/{role}/token | Create a new project token. |
ProjectServiceApi | delete_mixin6 | DELETE /api/v1/projects/{name} | Delete deletes a project |
ProjectServiceApi | delete_token | DELETE /api/v1/projects/{project}/roles/{role}/token/{iat} | Delete a new project token. |
ProjectServiceApi | get_mixin6 | GET /api/v1/projects/{name} | Get returns a project by name |
ProjectServiceApi | get_sync_windows_state | GET /api/v1/projects/{name}/syncwindows | GetSchedulesState returns true if there are any active sync syncWindows |
ProjectServiceApi | list_events | GET /api/v1/projects/{name}/events | ListEvents returns a list of project events |
ProjectServiceApi | list_mixin6 | GET /api/v1/projects | List returns list of projects |
ProjectServiceApi | update_mixin6 | PUT /api/v1/projects/{project.metadata.name} | Update updates a project |
RepoCredsServiceApi | create_repository_credentials | POST /api/v1/repocreds | CreateRepositoryCredentials creates a new repository credential set |
RepoCredsServiceApi | delete_repository_credentials | DELETE /api/v1/repocreds/{url} | DeleteRepositoryCredentials deletes a repository credential set from the configuration |
RepoCredsServiceApi | list_repository_credentials | GET /api/v1/repocreds | ListRepositoryCredentials gets a list of all configured repository credential sets |
RepoCredsServiceApi | update_repository_credentials | PUT /api/v1/repocreds/{creds.url} | UpdateRepositoryCredentials updates a repository credential set |
RepositoryServiceApi | create_repository | POST /api/v1/repositories | CreateRepository creates a new repository configuration |
RepositoryServiceApi | delete_repository | DELETE /api/v1/repositories/{repo} | DeleteRepository deletes a repository from the configuration |
RepositoryServiceApi | get_app_details | POST /api/v1/repositories/{source.repoURL}/appdetails | GetAppDetails returns application details by given path |
RepositoryServiceApi | get_helm_charts | GET /api/v1/repositories/{repo}/helmcharts | |
RepositoryServiceApi | get_mixin3 | GET /api/v1/repositories/{repo} | Get returns a repository or its credentials |
RepositoryServiceApi | list_apps | GET /api/v1/repositories/{repo}/apps | ListApps returns list of apps in the repo |
RepositoryServiceApi | list_repositories | GET /api/v1/repositories | ListRepositories gets a list of all configured repositories |
RepositoryServiceApi | update_repository | PUT /api/v1/repositories/{repo.repo} | UpdateRepository updates a repository configuration |
RepositoryServiceApi | validate_access | POST /api/v1/repositories/{repo}/validate | ValidateAccess validates access to a repository with given parameters |
SessionServiceApi | create_mixin11 | POST /api/v1/session | Create a new JWT for authentication and set a cookie if using HTTP. |
SessionServiceApi | delete_mixin11 | DELETE /api/v1/session | Delete an existing JWT cookie if using HTTP. |
SessionServiceApi | get_user_info | GET /api/v1/session/userinfo | Get the current user's info |
SettingsServiceApi | get | GET /api/v1/settings | Get returns Argo CD settings |
VersionServiceApi | version | GET /api/version | Version returns version information of the API server |
- AccountAccount
- AccountAccountsList
- AccountCanIResponse
- AccountCreateTokenRequest
- AccountCreateTokenResponse
- AccountToken
- AccountUpdatePasswordRequest
- ApplicationApplicationPatchRequest
- ApplicationApplicationResourceResponse
- ApplicationApplicationRollbackRequest
- ApplicationApplicationSyncRequest
- ApplicationApplicationSyncWindow
- ApplicationApplicationSyncWindowsResponse
- ApplicationLogEntry
- ApplicationManagedResourcesResponse
- ApplicationResourceActionsListResponse
- ClusterConnector
- ClusterDexConfig
- ClusterGoogleAnalyticsConfig
- ClusterHelp
- ClusterOIDCConfig
- ClusterPlugin
- ClusterSettings
- GpgkeyGnuPGPublicKeyCreateResponse
- OidcClaim
- ProjectProjectCreateRequest
- ProjectProjectTokenCreateRequest
- ProjectProjectTokenResponse
- ProjectProjectUpdateRequest
- ProjectSyncWindowsResponse
- ProtobufAny
- RepositoryAppInfo
- RepositoryHelmAppSpec
- RepositoryHelmChart
- RepositoryHelmChartsResponse
- RepositoryKsonnetAppSpec
- RepositoryKsonnetEnvironment
- RepositoryKsonnetEnvironmentDestination
- RepositoryKustomizeAppSpec
- RepositoryManifestResponse
- RepositoryRepoAppDetailsQuery
- RepositoryRepoAppDetailsResponse
- RepositoryRepoAppsResponse
- RuntimeStreamError
- SessionGetUserInfoResponse
- SessionSessionCreateRequest
- SessionSessionResponse
- V1Event
- V1EventList
- V1EventSeries
- V1EventSource
- V1FieldsV1
- V1GroupKind
- V1ListMeta
- V1LoadBalancerIngress
- V1ManagedFieldsEntry
- V1MicroTime
- V1ObjectMeta
- V1ObjectReference
- V1OwnerReference
- V1Time
- V1alpha1AWSAuthConfig
- V1alpha1AppProject
- V1alpha1AppProjectList
- V1alpha1AppProjectSpec
- V1alpha1AppProjectStatus
- V1alpha1Application
- V1alpha1ApplicationCondition
- V1alpha1ApplicationDestination
- V1alpha1ApplicationList
- V1alpha1ApplicationSource
- V1alpha1ApplicationSourceDirectory
- V1alpha1ApplicationSourceHelm
- V1alpha1ApplicationSourceJsonnet
- V1alpha1ApplicationSourceKsonnet
- V1alpha1ApplicationSourceKustomize
- V1alpha1ApplicationSourcePlugin
- V1alpha1ApplicationSpec
- V1alpha1ApplicationStatus
- V1alpha1ApplicationSummary
- V1alpha1ApplicationTree
- V1alpha1ApplicationWatchEvent
- V1alpha1Backoff
- V1alpha1Cluster
- V1alpha1ClusterCacheInfo
- V1alpha1ClusterConfig
- V1alpha1ClusterInfo
- V1alpha1ClusterList
- V1alpha1Command
- V1alpha1ComparedTo
- V1alpha1ConfigManagementPlugin
- V1alpha1ConnectionState
- V1alpha1EnvEntry
- V1alpha1GnuPGPublicKey
- V1alpha1GnuPGPublicKeyList
- V1alpha1HealthStatus
- V1alpha1HelmFileParameter
- V1alpha1HelmParameter
- V1alpha1Info
- V1alpha1InfoItem
- V1alpha1JWTToken
- V1alpha1JWTTokens
- V1alpha1JsonnetVar
- V1alpha1KnownTypeField
- V1alpha1KsonnetParameter
- V1alpha1KustomizeOptions
- V1alpha1Operation
- V1alpha1OperationInitiator
- V1alpha1OperationState
- V1alpha1OrphanedResourceKey
- V1alpha1OrphanedResourcesMonitorSettings
- V1alpha1OverrideIgnoreDiff
- V1alpha1ProjectRole
- V1alpha1RepoCreds
- V1alpha1RepoCredsList
- V1alpha1Repository
- V1alpha1RepositoryCertificate
- V1alpha1RepositoryCertificateList
- V1alpha1RepositoryList
- V1alpha1ResourceAction
- V1alpha1ResourceActionParam
- V1alpha1ResourceDiff
- V1alpha1ResourceIgnoreDifferences
- V1alpha1ResourceNetworkingInfo
- V1alpha1ResourceNode
- V1alpha1ResourceOverride
- V1alpha1ResourceRef
- V1alpha1ResourceResult
- V1alpha1ResourceStatus
- V1alpha1RetryStrategy
- V1alpha1RevisionHistory
- V1alpha1RevisionMetadata
- V1alpha1SignatureKey
- V1alpha1SyncOperation
- V1alpha1SyncOperationResource
- V1alpha1SyncOperationResult
- V1alpha1SyncPolicy
- V1alpha1SyncPolicyAutomated
- V1alpha1SyncStatus
- V1alpha1SyncStrategy
- V1alpha1SyncStrategyApply
- V1alpha1SyncStrategyHook
- V1alpha1SyncWindow
- V1alpha1TLSClientConfig
- VersionVersionMessage
All endpoints do not require authorization.