Skip to content

Commit

Permalink
Merge pull request #194 from harness/CDS-44311-gitops-repositories-api
Browse files Browse the repository at this point in the history
Cds 44311 gitops repositories api
  • Loading branch information
manavjot-harness authored Oct 21, 2022
2 parents c0b7452 + 4dd6d18 commit 8362004
Show file tree
Hide file tree
Showing 53 changed files with 3,099 additions and 16 deletions.
1,805 changes: 1,805 additions & 0 deletions harness/nextgen/api_repositories.go

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions harness/nextgen/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ type APIClient struct {

ProjectApi *ProjectApiService

RepositoriesApiService *RepositoriesApiService

RoleAssignmentsApi *RoleAssignmentsApiService

RolesApi *RolesApiService
Expand Down Expand Up @@ -251,6 +253,7 @@ func NewAPIClient(cfg *Configuration) *APIClient {
c.PipelinesApi = (*PipelinesApiService)(&c.common)
c.PipelinesDashboardApi = (*PipelinesDashboardApiService)(&c.common)
c.ProjectApi = (*ProjectApiService)(&c.common)
c.RepositoriesApiService = (*RepositoriesApiService)(&c.common)
c.RoleAssignmentsApi = (*RoleAssignmentsApiService)(&c.common)
c.RolesApi = (*RolesApiService)(&c.common)
c.SCIMApi = (*SCIMApiService)(&c.common)
Expand Down
16 changes: 8 additions & 8 deletions harness/nextgen/docs/AgentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ All URIs are relative to *https://app.harness.io/gateway*

Method | HTTP request | Description
------------- | ------------- | -------------
[**AgentServiceForServerCreate**](AgentsApi.md#AgentServiceForServerCreate) | **Post** /gitops/api/api/v1/agents |
[**AgentServiceForServerDelete**](AgentsApi.md#AgentServiceForServerDelete) | **Delete** /gitops/api/api/v1/agents/{identifier} |
[**AgentServiceForServerGet**](AgentsApi.md#AgentServiceForServerGet) | **Get** /gitops/api/api/v1/agents/{identifier} |
[**AgentServiceForServerGetDeployYaml**](AgentsApi.md#AgentServiceForServerGetDeployYaml) | **Get** /gitops/api/api/v1/agents/{agentIdentifier}/deploy.yaml |
[**AgentServiceForServerList**](AgentsApi.md#AgentServiceForServerList) | **Get** /gitops/api/api/v1/agents |
[**AgentServiceForServerRegenerateCredentials**](AgentsApi.md#AgentServiceForServerRegenerateCredentials) | **Post** /gitops/api/api/v1/agents/{identifier}/credentials |
[**AgentServiceForServerUnique**](AgentsApi.md#AgentServiceForServerUnique) | **Get** /gitops/api/api/v1/agents/{identifier}/unique |
[**AgentServiceForServerUpdate**](AgentsApi.md#AgentServiceForServerUpdate) | **Put** /gitops/api/api/v1/agents/{agent.identifier} |
[**AgentServiceForServerCreate**](AgentsApi.md#AgentServiceForServerCreate) | **Post** /gitops/api/v1/agents |
[**AgentServiceForServerDelete**](AgentsApi.md#AgentServiceForServerDelete) | **Delete** /gitops/api/v1/agents/{identifier} |
[**AgentServiceForServerGet**](AgentsApi.md#AgentServiceForServerGet) | **Get** /gitops/api/v1/agents/{identifier} |
[**AgentServiceForServerGetDeployYaml**](AgentsApi.md#AgentServiceForServerGetDeployYaml) | **Get** /gitops/api/v1/agents/{agentIdentifier}/deploy.yaml |
[**AgentServiceForServerList**](AgentsApi.md#AgentServiceForServerList) | **Get** /gitops/api/v1/agents |
[**AgentServiceForServerRegenerateCredentials**](AgentsApi.md#AgentServiceForServerRegenerateCredentials) | **Post** /gitops/api/v1/agents/{identifier}/credentials |
[**AgentServiceForServerUnique**](AgentsApi.md#AgentServiceForServerUnique) | **Get** /gitops/api/v1/agents/{identifier}/unique |
[**AgentServiceForServerUpdate**](AgentsApi.md#AgentServiceForServerUpdate) | **Put** /gitops/api/v1/agents/{agent.identifier} |

# **AgentServiceForServerCreate**
> V1Agent AgentServiceForServerCreate(ctx, body)
Expand Down
10 changes: 10 additions & 0 deletions harness/nextgen/docs/ApplicationsHelmFileParameter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# ApplicationsHelmFileParameter

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | | [optional] [default to null]
**Path** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

11 changes: 11 additions & 0 deletions harness/nextgen/docs/ApplicationsHelmParameter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApplicationsHelmParameter

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | | [optional] [default to null]
**Value** | **string** | | [optional] [default to null]
**ForceString** | **bool** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

11 changes: 11 additions & 0 deletions harness/nextgen/docs/ApplicationsKsonnetParameter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApplicationsKsonnetParameter

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Component** | **string** | | [optional] [default to null]
**Name** | **string** | | [optional] [default to null]
**Value** | **string** | | [optional] [default to null]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

16 changes: 8 additions & 8 deletions harness/nextgen/docs/ClustersApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ All URIs are relative to *https://app.harness.io/gateway*

Method | HTTP request | Description
------------- | ------------- | -------------
[**AgentClusterServiceCreate**](ClustersApi.md#AgentClusterServiceCreate) | **Post** /gitops/api/api/v1/agents/{agentIdentifier}/clusters | Create creates a cluster
[**AgentClusterServiceDelete**](ClustersApi.md#AgentClusterServiceDelete) | **Delete** /gitops/api/api/v1/agents/{agentIdentifier}/clusters/{identifier} | Delete deletes a cluster
[**AgentClusterServiceGet**](ClustersApi.md#AgentClusterServiceGet) | **Get** /gitops/api/api/v1/agents/{agentIdentifier}/clusters/{identifier} | Get returns a cluster by identifier
[**AgentClusterServiceList**](ClustersApi.md#AgentClusterServiceList) | **Get** /gitops/api/api/v1/agents/{agentIdentifier}/clusters | List returns list of clusters
[**AgentClusterServiceUpdate**](ClustersApi.md#AgentClusterServiceUpdate) | **Put** /gitops/api/api/v1/agents/{agentIdentifier}/clusters/{identifier} | Update updates a cluster
[**AgentGPGKeyServiceList**](ClustersApi.md#AgentGPGKeyServiceList) | **Get** /gitops/api/api/v1/agents/{agentIdentifier}/gpgkeys | List all available repository certificates
[**ClusterServiceExists**](ClustersApi.md#ClusterServiceExists) | **Get** /gitops/api/api/v1/clusters/exists | Checks for whether the cluster exists
[**ClusterServiceListClusters**](ClustersApi.md#ClusterServiceListClusters) | **Post** /gitops/api/api/v1/clusters | List returns list of Clusters
[**AgentClusterServiceCreate**](ClustersApi.md#AgentClusterServiceCreate) | **Post** /gitops/api/v1/agents/{agentIdentifier}/clusters | Create creates a cluster
[**AgentClusterServiceDelete**](ClustersApi.md#AgentClusterServiceDelete) | **Delete** /gitops/api/v1/agents/{agentIdentifier}/clusters/{identifier} | Delete deletes a cluster
[**AgentClusterServiceGet**](ClustersApi.md#AgentClusterServiceGet) | **Get** /gitops/api/v1/agents/{agentIdentifier}/clusters/{identifier} | Get returns a cluster by identifier
[**AgentClusterServiceList**](ClustersApi.md#AgentClusterServiceList) | **Get** /gitops/api/v1/agents/{agentIdentifier}/clusters | List returns list of clusters
[**AgentClusterServiceUpdate**](ClustersApi.md#AgentClusterServiceUpdate) | **Put** /gitops/api/v1/agents/{agentIdentifier}/clusters/{identifier} | Update updates a cluster
[**AgentGPGKeyServiceList**](ClustersApi.md#AgentGPGKeyServiceList) | **Get** /gitops/api/v1/agents/{agentIdentifier}/gpgkeys | List all available repository certificates
[**ClusterServiceExists**](ClustersApi.md#ClusterServiceExists) | **Get** /gitops/api/v1/clusters/exists | Checks for whether the cluster exists
[**ClusterServiceListClusters**](ClustersApi.md#ClusterServiceListClusters) | **Post** /gitops/api/v1/clusters | List returns list of Clusters
[**DeleteCluster**](ClustersApi.md#DeleteCluster) | **Delete** /ng/api/gitops/clusters/{identifier} | Delete a Cluster by identifier
[**GetCluster**](ClustersApi.md#GetCluster) | **Get** /ng/api/gitops/clusters/{identifier} | Gets a Cluster by identifier
[**GetClusterList**](ClustersApi.md#GetClusterList) | **Get** /ng/api/gitops/clusters | Gets cluster list
Expand Down
Loading

0 comments on commit 8362004

Please sign in to comment.