Skip to content

feat: [CDS-106713]: appset gen code #657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,446 changes: 1,446 additions & 0 deletions harness/nextgen/api_application_set.go

Large diffs are not rendered by default.

384 changes: 384 additions & 0 deletions harness/nextgen/docs/ApplicationSetApi.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ApplicationSetGeneratorGetQueryApplicationSetGeneratorType

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

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

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

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

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ApplicationSetQueryApplicationSetSortByOptions

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[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/ApplicationsApplicationSet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApplicationsApplicationSet

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Metadata** | [***V1ObjectMeta**](v1ObjectMeta.md) | | [optional] [default to null]
**Spec** | [***ApplicationsApplicationSetSpec**](applicationsApplicationSetSpec.md) | | [optional] [default to null]
**Status** | [***ApplicationsApplicationSetStatus**](applicationsApplicationSetStatus.md) | | [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)

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# ApplicationsApplicationSetApplicationStatus

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Application** | **string** | | [optional] [default to null]
**LastTransitionTime** | [***V1Time**](v1Time.md) | | [optional] [default to null]
**Message** | **string** | | [optional] [default to null]
**Status** | **string** | | [optional] [default to null]
**Step** | **string** | | [optional] [default to null]
**Targetrevisions** | **[]string** | TargetRevision tracks the desired revisions the Application should be synced to. | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type_** | **string** | | [optional] [default to null]
**Message** | **string** | | [optional] [default to null]
**LastTransitionTime** | [***V1Time**](v1Time.md) | | [optional] [default to null]
**Status** | **string** | | [optional] [default to null]
**Reason** | **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/ApplicationsApplicationSetCreateRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApplicationsApplicationSetCreateRequest

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Applicationset** | [***ApplicationsApplicationSet**](applicationsApplicationSet.md) | | [optional] [default to null]
**Upsert** | **bool** | | [optional] [default to null]
**DryRun** | **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)

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ApplicationsApplicationSetGenerateRequest

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Applicationset** | [***ApplicationsApplicationSet**](applicationsApplicationSet.md) | | [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)

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ApplicationsApplicationSetGenerateResponse

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Applications** | [**[]ApplicationsApplication**](applicationsApplication.md) | | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**List** | [***ApplicationsListGenerator**](applicationsListGenerator.md) | | [optional] [default to null]
**Clusters** | [***ApplicationsClusterGenerator**](applicationsClusterGenerator.md) | | [optional] [default to null]
**Git** | [***ApplicationsGitGenerator**](applicationsGitGenerator.md) | | [optional] [default to null]
**ScmProvider** | [***ApplicationsScmProviderGenerator**](applicationsSCMProviderGenerator.md) | | [optional] [default to null]
**ClusterDecisionResource** | [***ApplicationsDuckTypeGenerator**](applicationsDuckTypeGenerator.md) | | [optional] [default to null]
**PullRequest** | [***ApplicationsPullRequestGenerator**](applicationsPullRequestGenerator.md) | | [optional] [default to null]
**Matrix** | [***ApplicationsMatrixGenerator**](applicationsMatrixGenerator.md) | | [optional] [default to null]
**Merge** | [***ApplicationsMergeGenerator**](applicationsMergeGenerator.md) | | [optional] [default to null]
**Selector** | [***V1LabelSelector**](v1LabelSelector.md) | | [optional] [default to null]
**Plugin** | [***ApplicationsPluginGenerator**](applicationsPluginGenerator.md) | | [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)

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# ApplicationsApplicationSetNestedGenerator

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**List** | [***ApplicationsListGenerator**](applicationsListGenerator.md) | | [optional] [default to null]
**Clusters** | [***ApplicationsClusterGenerator**](applicationsClusterGenerator.md) | | [optional] [default to null]
**Git** | [***ApplicationsGitGenerator**](applicationsGitGenerator.md) | | [optional] [default to null]
**ScmProvider** | [***ApplicationsScmProviderGenerator**](applicationsSCMProviderGenerator.md) | | [optional] [default to null]
**ClusterDecisionResource** | [***ApplicationsDuckTypeGenerator**](applicationsDuckTypeGenerator.md) | | [optional] [default to null]
**PullRequest** | [***ApplicationsPullRequestGenerator**](applicationsPullRequestGenerator.md) | | [optional] [default to null]
**Matrix** | [***V1Json**](v1JSON.md) | | [optional] [default to null]
**Merge** | [***V1Json**](v1JSON.md) | | [optional] [default to null]
**Selector** | [***V1LabelSelector**](v1LabelSelector.md) | | [optional] [default to null]
**Plugin** | [***ApplicationsPluginGenerator**](applicationsPluginGenerator.md) | | [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)

Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApplicationsApplicationSetResourceIgnoreDifferences

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | Name is the name of the application to ignore differences for. If not specified, the rule applies to all applications. | [optional] [default to null]
**JsonPointers** | **[]string** | JSONPointers is a list of JSON pointers to fields to ignore differences for. | [optional] [default to null]
**JqPathExpressions** | **[]string** | JQPathExpressions is a list of JQ path expressions to fields to ignore differences for. | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Project** | **string** | | [optional] [default to null]
**Applicationset** | [***ApplicationsApplicationSet**](applicationsApplicationSet.md) | | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**MatchExpressions** | [**[]ApplicationsApplicationMatchExpression**](applicationsApplicationMatchExpression.md) | | [optional] [default to null]
**MaxUpdate** | [***IntstrIntOrString**](intstrIntOrString.md) | | [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)

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ApplicationsApplicationSetRolloutStrategy

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Steps** | [**[]ApplicationsApplicationSetRolloutStep**](applicationsApplicationSetRolloutStep.md) | | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**GoTemplate** | **bool** | | [optional] [default to null]
**Generators** | [**[]ApplicationsApplicationSetGenerator**](applicationsApplicationSetGenerator.md) | | [optional] [default to null]
**Template** | [***ApplicationsApplicationSetTemplate**](applicationsApplicationSetTemplate.md) | | [optional] [default to null]
**SyncPolicy** | [***ApplicationsApplicationSetSyncPolicy**](applicationsApplicationSetSyncPolicy.md) | | [optional] [default to null]
**Strategy** | [***ApplicationsApplicationSetStrategy**](applicationsApplicationSetStrategy.md) | | [optional] [default to null]
**PreservedFields** | [***ApplicationsApplicationPreservedFields**](applicationsApplicationPreservedFields.md) | | [optional] [default to null]
**GoTemplateOptions** | **[]string** | | [optional] [default to null]
**ApplyNestedSelectors** | **bool** | | [optional] [default to null]
**IgnoreApplicationDifferences** | [**[]ApplicationsApplicationSetResourceIgnoreDifferences**](applicationsApplicationSetResourceIgnoreDifferences.md) | | [optional] [default to null]
**TemplatePatch** | **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/ApplicationsApplicationSetStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ApplicationsApplicationSetStatus

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Conditions** | [**[]ApplicationsApplicationSetCondition**](applicationsApplicationSetCondition.md) | | [optional] [default to null]
**ApplicationStatus** | [**[]ApplicationsApplicationSetApplicationStatus**](applicationsApplicationSetApplicationStatus.md) | | [optional] [default to null]
**Resources** | [**[]ApplicationsResourceStatus**](applicationsResourceStatus.md) | Resources is a list of Applications resources managed by this application set. | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Type_** | **string** | | [optional] [default to null]
**RollingSync** | [***ApplicationsApplicationSetRolloutStrategy**](applicationsApplicationSetRolloutStrategy.md) | | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**PreserveResourcesOnDeletion** | **bool** | PreserveResourcesOnDeletion will preserve resources on deletion. If PreserveResourcesOnDeletion is set to true, these Applications will not be deleted. | [optional] [default to null]
**ApplicationsSync** | **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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Metadata** | [***ApplicationsApplicationSetTemplateMeta**](applicationsApplicationSetTemplateMeta.md) | | [optional] [default to null]
**Spec** | [***ApplicationsApplicationSpec**](applicationsApplicationSpec.md) | | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | | [optional] [default to null]
**Namespace** | **string** | | [optional] [default to null]
**Labels** | **map[string]string** | | [optional] [default to null]
**Annotations** | **map[string]string** | | [optional] [default to null]
**Finalizers** | **[]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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Nodes** | [**[]ApplicationsResourceNode**](applicationsResourceNode.md) | | [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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Name** | **string** | | [optional] [default to null]
**AppsetNamespace** | **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)

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**PassCredentials** | **bool** | | [optional] [default to null]
**IgnoreMissingValueFiles** | **bool** | | [optional] [default to null]
**SkipCrds** | **bool** | | [optional] [default to null]
**ValuesObject** | [***RuntimeRawExtension**](runtimeRawExtension.md) | | [optional] [default to null]
**ValuesObject** | [***interface{}**](interface{}.md) | | [optional] [default to null]
**Namespace** | **string** | Namespace is an optional namespace to template with. If left empty, defaults to the app's destination namespace. | [optional] [default to null]
**KubeVersion** | **string** | KubeVersion specifies the Kubernetes API version to pass to Helm when templating manifests. By default, Argo CD uses the Kubernetes version of the target cluster. | [optional] [default to null]
**ApiVersions** | **[]string** | APIVersions specifies the Kubernetes resource API versions to pass to Helm when templating manifests. By default, Argo CD uses the API versions of the target cluster. The format is [group/]version/kind. | [optional] [default to null]
Expand Down
12 changes: 12 additions & 0 deletions harness/nextgen/docs/ApplicationsClusterGenerator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# ApplicationsClusterGenerator

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Selector** | [***V1LabelSelector**](v1LabelSelector.md) | | [optional] [default to null]
**Template** | [***ApplicationsApplicationSetTemplate**](applicationsApplicationSetTemplate.md) | | [optional] [default to null]
**Values** | **map[string]string** | | [optional] [default to null]
**FlatList** | **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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ConfigMapName** | **string** | | [optional] [default to null]
**Key** | **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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ConfigMapRef** | **string** | | [optional] [default to null]
**Name** | **string** | | [optional] [default to null]
**RequeueAfterSeconds** | **string** | | [optional] [default to null]
**LabelSelector** | [***V1LabelSelector**](v1LabelSelector.md) | | [optional] [default to null]
**Template** | [***ApplicationsApplicationSetTemplate**](applicationsApplicationSetTemplate.md) | | [optional] [default to null]
**Values** | **map[string]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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Path** | **string** | | [optional] [default to null]
**Exclude** | **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)

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

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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)

Loading