argo-cd

Форк
0
/
openapi_generated.go 
8014 строк · 288.0 Кб
1
//go:build !ignore_autogenerated
2
// +build !ignore_autogenerated
3

4
// Code generated by openapi-gen. DO NOT EDIT.
5

6
// This file was autogenerated by openapi-gen. Do not edit it manually!
7

8
package v1alpha1
9

10
import (
11
	common "k8s.io/kube-openapi/pkg/common"
12
	spec "k8s.io/kube-openapi/pkg/validation/spec"
13
)
14

15
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
16
	return map[string]common.OpenAPIDefinition{
17
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AWSAuthConfig":                           schema_pkg_apis_application_v1alpha1_AWSAuthConfig(ref),
18
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject":                              schema_pkg_apis_application_v1alpha1_AppProject(ref),
19
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectList":                          schema_pkg_apis_application_v1alpha1_AppProjectList(ref),
20
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectSpec":                          schema_pkg_apis_application_v1alpha1_AppProjectSpec(ref),
21
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectStatus":                        schema_pkg_apis_application_v1alpha1_AppProjectStatus(ref),
22
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application":                             schema_pkg_apis_application_v1alpha1_Application(ref),
23
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationCondition":                    schema_pkg_apis_application_v1alpha1_ApplicationCondition(ref),
24
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination":                  schema_pkg_apis_application_v1alpha1_ApplicationDestination(ref),
25
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationList":                         schema_pkg_apis_application_v1alpha1_ApplicationList(ref),
26
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationMatchExpression":              schema_pkg_apis_application_v1alpha1_ApplicationMatchExpression(ref),
27
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationPreservedFields":              schema_pkg_apis_application_v1alpha1_ApplicationPreservedFields(ref),
28
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet":                          schema_pkg_apis_application_v1alpha1_ApplicationSet(ref),
29
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetApplicationStatus":         schema_pkg_apis_application_v1alpha1_ApplicationSetApplicationStatus(ref),
30
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetCondition":                 schema_pkg_apis_application_v1alpha1_ApplicationSetCondition(ref),
31
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetGenerator":                 schema_pkg_apis_application_v1alpha1_ApplicationSetGenerator(ref),
32
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetList":                      schema_pkg_apis_application_v1alpha1_ApplicationSetList(ref),
33
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator":           schema_pkg_apis_application_v1alpha1_ApplicationSetNestedGenerator(ref),
34
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetResourceIgnoreDifferences": schema_pkg_apis_application_v1alpha1_ApplicationSetResourceIgnoreDifferences(ref),
35
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStep":               schema_pkg_apis_application_v1alpha1_ApplicationSetRolloutStep(ref),
36
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStrategy":           schema_pkg_apis_application_v1alpha1_ApplicationSetRolloutStrategy(ref),
37
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSpec":                      schema_pkg_apis_application_v1alpha1_ApplicationSetSpec(ref),
38
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStatus":                    schema_pkg_apis_application_v1alpha1_ApplicationSetStatus(ref),
39
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStrategy":                  schema_pkg_apis_application_v1alpha1_ApplicationSetStrategy(ref),
40
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSyncPolicy":                schema_pkg_apis_application_v1alpha1_ApplicationSetSyncPolicy(ref),
41
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate":                  schema_pkg_apis_application_v1alpha1_ApplicationSetTemplate(ref),
42
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplateMeta":              schema_pkg_apis_application_v1alpha1_ApplicationSetTemplateMeta(ref),
43
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator":         schema_pkg_apis_application_v1alpha1_ApplicationSetTerminalGenerator(ref),
44
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource":                       schema_pkg_apis_application_v1alpha1_ApplicationSource(ref),
45
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceDirectory":              schema_pkg_apis_application_v1alpha1_ApplicationSourceDirectory(ref),
46
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceHelm":                   schema_pkg_apis_application_v1alpha1_ApplicationSourceHelm(ref),
47
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet":                schema_pkg_apis_application_v1alpha1_ApplicationSourceJsonnet(ref),
48
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceKustomize":              schema_pkg_apis_application_v1alpha1_ApplicationSourceKustomize(ref),
49
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePlugin":                 schema_pkg_apis_application_v1alpha1_ApplicationSourcePlugin(ref),
50
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePluginParameter":        schema_pkg_apis_application_v1alpha1_ApplicationSourcePluginParameter(ref),
51
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec":                         schema_pkg_apis_application_v1alpha1_ApplicationSpec(ref),
52
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationStatus":                       schema_pkg_apis_application_v1alpha1_ApplicationStatus(ref),
53
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSummary":                      schema_pkg_apis_application_v1alpha1_ApplicationSummary(ref),
54
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationTree":                         schema_pkg_apis_application_v1alpha1_ApplicationTree(ref),
55
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationWatchEvent":                   schema_pkg_apis_application_v1alpha1_ApplicationWatchEvent(ref),
56
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff":                                 schema_pkg_apis_application_v1alpha1_Backoff(ref),
57
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer":                schema_pkg_apis_application_v1alpha1_BasicAuthBitbucketServer(ref),
58
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BearerTokenBitbucketCloud":               schema_pkg_apis_application_v1alpha1_BearerTokenBitbucketCloud(ref),
59
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ChartDetails":                            schema_pkg_apis_application_v1alpha1_ChartDetails(ref),
60
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster":                                 schema_pkg_apis_application_v1alpha1_Cluster(ref),
61
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterCacheInfo":                        schema_pkg_apis_application_v1alpha1_ClusterCacheInfo(ref),
62
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterConfig":                           schema_pkg_apis_application_v1alpha1_ClusterConfig(ref),
63
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator":                        schema_pkg_apis_application_v1alpha1_ClusterGenerator(ref),
64
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterInfo":                             schema_pkg_apis_application_v1alpha1_ClusterInfo(ref),
65
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterList":                             schema_pkg_apis_application_v1alpha1_ClusterList(ref),
66
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command":                                 schema_pkg_apis_application_v1alpha1_Command(ref),
67
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo":                              schema_pkg_apis_application_v1alpha1_ComparedTo(ref),
68
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComponentParameter":                      schema_pkg_apis_application_v1alpha1_ComponentParameter(ref),
69
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConfigManagementPlugin":                  schema_pkg_apis_application_v1alpha1_ConfigManagementPlugin(ref),
70
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState":                         schema_pkg_apis_application_v1alpha1_ConnectionState(ref),
71
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator":                       schema_pkg_apis_application_v1alpha1_DuckTypeGenerator(ref),
72
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.EnvEntry":                                schema_pkg_apis_application_v1alpha1_EnvEntry(ref),
73
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ExecProviderConfig":                      schema_pkg_apis_application_v1alpha1_ExecProviderConfig(ref),
74
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitDirectoryGeneratorItem":               schema_pkg_apis_application_v1alpha1_GitDirectoryGeneratorItem(ref),
75
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitFileGeneratorItem":                    schema_pkg_apis_application_v1alpha1_GitFileGeneratorItem(ref),
76
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator":                            schema_pkg_apis_application_v1alpha1_GitGenerator(ref),
77
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey":                          schema_pkg_apis_application_v1alpha1_GnuPGPublicKey(ref),
78
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKeyList":                      schema_pkg_apis_application_v1alpha1_GnuPGPublicKeyList(ref),
79
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus":                            schema_pkg_apis_application_v1alpha1_HealthStatus(ref),
80
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmFileParameter":                       schema_pkg_apis_application_v1alpha1_HelmFileParameter(ref),
81
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmOptions":                             schema_pkg_apis_application_v1alpha1_HelmOptions(ref),
82
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmParameter":                           schema_pkg_apis_application_v1alpha1_HelmParameter(ref),
83
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostInfo":                                schema_pkg_apis_application_v1alpha1_HostInfo(ref),
84
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo":                        schema_pkg_apis_application_v1alpha1_HostResourceInfo(ref),
85
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info":                                    schema_pkg_apis_application_v1alpha1_Info(ref),
86
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.InfoItem":                                schema_pkg_apis_application_v1alpha1_InfoItem(ref),
87
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken":                                schema_pkg_apis_application_v1alpha1_JWTToken(ref),
88
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens":                               schema_pkg_apis_application_v1alpha1_JWTTokens(ref),
89
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar":                              schema_pkg_apis_application_v1alpha1_JsonnetVar(ref),
90
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField":                          schema_pkg_apis_application_v1alpha1_KnownTypeField(ref),
91
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeGvk":                            schema_pkg_apis_application_v1alpha1_KustomizeGvk(ref),
92
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeOptions":                        schema_pkg_apis_application_v1alpha1_KustomizeOptions(ref),
93
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizePatch":                          schema_pkg_apis_application_v1alpha1_KustomizePatch(ref),
94
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeReplica":                        schema_pkg_apis_application_v1alpha1_KustomizeReplica(ref),
95
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeResId":                          schema_pkg_apis_application_v1alpha1_KustomizeResId(ref),
96
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeSelector":                       schema_pkg_apis_application_v1alpha1_KustomizeSelector(ref),
97
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator":                           schema_pkg_apis_application_v1alpha1_ListGenerator(ref),
98
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata":                schema_pkg_apis_application_v1alpha1_ManagedNamespaceMetadata(ref),
99
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MatrixGenerator":                         schema_pkg_apis_application_v1alpha1_MatrixGenerator(ref),
100
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MergeGenerator":                          schema_pkg_apis_application_v1alpha1_MergeGenerator(ref),
101
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.NestedMatrixGenerator":                   schema_pkg_apis_application_v1alpha1_NestedMatrixGenerator(ref),
102
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.NestedMergeGenerator":                    schema_pkg_apis_application_v1alpha1_NestedMergeGenerator(ref),
103
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation":                               schema_pkg_apis_application_v1alpha1_Operation(ref),
104
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator":                      schema_pkg_apis_application_v1alpha1_OperationInitiator(ref),
105
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationState":                          schema_pkg_apis_application_v1alpha1_OperationState(ref),
106
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OptionalArray":                           schema_pkg_apis_application_v1alpha1_OptionalArray(ref),
107
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OptionalMap":                             schema_pkg_apis_application_v1alpha1_OptionalMap(ref),
108
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey":                     schema_pkg_apis_application_v1alpha1_OrphanedResourceKey(ref),
109
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings":        schema_pkg_apis_application_v1alpha1_OrphanedResourcesMonitorSettings(ref),
110
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff":                      schema_pkg_apis_application_v1alpha1_OverrideIgnoreDiff(ref),
111
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginConfigMapRef":                      schema_pkg_apis_application_v1alpha1_PluginConfigMapRef(ref),
112
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator":                         schema_pkg_apis_application_v1alpha1_PluginGenerator(ref),
113
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginInput":                             schema_pkg_apis_application_v1alpha1_PluginInput(ref),
114
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ProjectRole":                             schema_pkg_apis_application_v1alpha1_ProjectRole(ref),
115
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator":                    schema_pkg_apis_application_v1alpha1_PullRequestGenerator(ref),
116
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorAzureDevOps":         schema_pkg_apis_application_v1alpha1_PullRequestGeneratorAzureDevOps(ref),
117
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucket":           schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucket(ref),
118
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucketServer":     schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucketServer(ref),
119
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorFilter":              schema_pkg_apis_application_v1alpha1_PullRequestGeneratorFilter(ref),
120
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitLab":              schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitLab(ref),
121
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitea":               schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitea(ref),
122
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGithub":              schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGithub(ref),
123
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RefTarget":                               schema_pkg_apis_application_v1alpha1_RefTarget(ref),
124
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds":                               schema_pkg_apis_application_v1alpha1_RepoCreds(ref),
125
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCredsList":                           schema_pkg_apis_application_v1alpha1_RepoCredsList(ref),
126
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository":                              schema_pkg_apis_application_v1alpha1_Repository(ref),
127
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate":                   schema_pkg_apis_application_v1alpha1_RepositoryCertificate(ref),
128
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificateList":               schema_pkg_apis_application_v1alpha1_RepositoryCertificateList(ref),
129
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryList":                          schema_pkg_apis_application_v1alpha1_RepositoryList(ref),
130
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceAction":                          schema_pkg_apis_application_v1alpha1_ResourceAction(ref),
131
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition":                schema_pkg_apis_application_v1alpha1_ResourceActionDefinition(ref),
132
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam":                     schema_pkg_apis_application_v1alpha1_ResourceActionParam(ref),
133
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActions":                         schema_pkg_apis_application_v1alpha1_ResourceActions(ref),
134
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceDiff":                            schema_pkg_apis_application_v1alpha1_ResourceDiff(ref),
135
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences":               schema_pkg_apis_application_v1alpha1_ResourceIgnoreDifferences(ref),
136
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNetworkingInfo":                  schema_pkg_apis_application_v1alpha1_ResourceNetworkingInfo(ref),
137
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode":                            schema_pkg_apis_application_v1alpha1_ResourceNode(ref),
138
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceOverride":                        schema_pkg_apis_application_v1alpha1_ResourceOverride(ref),
139
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef":                             schema_pkg_apis_application_v1alpha1_ResourceRef(ref),
140
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceResult":                          schema_pkg_apis_application_v1alpha1_ResourceResult(ref),
141
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceStatus":                          schema_pkg_apis_application_v1alpha1_ResourceStatus(ref),
142
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy":                           schema_pkg_apis_application_v1alpha1_RetryStrategy(ref),
143
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionHistory":                         schema_pkg_apis_application_v1alpha1_RevisionHistory(ref),
144
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionMetadata":                        schema_pkg_apis_application_v1alpha1_RevisionMetadata(ref),
145
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator":                    schema_pkg_apis_application_v1alpha1_SCMProviderGenerator(ref),
146
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAWSCodeCommit":       schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAWSCodeCommit(ref),
147
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAzureDevOps":         schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAzureDevOps(ref),
148
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucket":           schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucket(ref),
149
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucketServer":     schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucketServer(ref),
150
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorFilter":              schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorFilter(ref),
151
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitea":               schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitea(ref),
152
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGithub":              schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGithub(ref),
153
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitlab":              schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitlab(ref),
154
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef":                               schema_pkg_apis_application_v1alpha1_SecretRef(ref),
155
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SignatureKey":                            schema_pkg_apis_application_v1alpha1_SignatureKey(ref),
156
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperation":                           schema_pkg_apis_application_v1alpha1_SyncOperation(ref),
157
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResource":                   schema_pkg_apis_application_v1alpha1_SyncOperationResource(ref),
158
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResult":                     schema_pkg_apis_application_v1alpha1_SyncOperationResult(ref),
159
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicy":                              schema_pkg_apis_application_v1alpha1_SyncPolicy(ref),
160
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicyAutomated":                     schema_pkg_apis_application_v1alpha1_SyncPolicyAutomated(ref),
161
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStatus":                              schema_pkg_apis_application_v1alpha1_SyncStatus(ref),
162
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategy":                            schema_pkg_apis_application_v1alpha1_SyncStrategy(ref),
163
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyApply":                       schema_pkg_apis_application_v1alpha1_SyncStrategyApply(ref),
164
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyHook":                        schema_pkg_apis_application_v1alpha1_SyncStrategyHook(ref),
165
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncWindow":                              schema_pkg_apis_application_v1alpha1_SyncWindow(ref),
166
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TLSClientConfig":                         schema_pkg_apis_application_v1alpha1_TLSClientConfig(ref),
167
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TagFilter":                               schema_pkg_apis_application_v1alpha1_TagFilter(ref),
168
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.objectMeta":                              schema_pkg_apis_application_v1alpha1_objectMeta(ref),
169
		"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.rawResourceOverride":                     schema_pkg_apis_application_v1alpha1_rawResourceOverride(ref),
170
	}
171
}
172

173
func schema_pkg_apis_application_v1alpha1_AWSAuthConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
174
	return common.OpenAPIDefinition{
175
		Schema: spec.Schema{
176
			SchemaProps: spec.SchemaProps{
177
				Description: "AWSAuthConfig is an AWS IAM authentication configuration",
178
				Type:        []string{"object"},
179
				Properties: map[string]spec.Schema{
180
					"clusterName": {
181
						SchemaProps: spec.SchemaProps{
182
							Description: "ClusterName contains AWS cluster name",
183
							Type:        []string{"string"},
184
							Format:      "",
185
						},
186
					},
187
					"roleARN": {
188
						SchemaProps: spec.SchemaProps{
189
							Description: "RoleARN contains optional role ARN. If set then AWS IAM Authenticator assume a role to perform cluster operations instead of the default AWS credential provider chain.",
190
							Type:        []string{"string"},
191
							Format:      "",
192
						},
193
					},
194
					"profile": {
195
						SchemaProps: spec.SchemaProps{
196
							Description: "Profile contains optional role ARN. If set then AWS IAM Authenticator uses the profile to perform cluster operations instead of the default AWS credential provider chain.",
197
							Type:        []string{"string"},
198
							Format:      "",
199
						},
200
					},
201
				},
202
			},
203
		},
204
	}
205
}
206

207
func schema_pkg_apis_application_v1alpha1_AppProject(ref common.ReferenceCallback) common.OpenAPIDefinition {
208
	return common.OpenAPIDefinition{
209
		Schema: spec.Schema{
210
			SchemaProps: spec.SchemaProps{
211
				Description: "AppProject provides a logical grouping of applications, providing controls for: * where the apps may deploy to (cluster whitelist) * what may be deployed (repository whitelist, resource whitelist/blacklist) * who can access these applications (roles, OIDC group claims bindings) * and what they can do (RBAC policies) * automation access to these roles (JWT tokens)",
212
				Type:        []string{"object"},
213
				Properties: map[string]spec.Schema{
214
					"kind": {
215
						SchemaProps: spec.SchemaProps{
216
							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
217
							Type:        []string{"string"},
218
							Format:      "",
219
						},
220
					},
221
					"apiVersion": {
222
						SchemaProps: spec.SchemaProps{
223
							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
224
							Type:        []string{"string"},
225
							Format:      "",
226
						},
227
					},
228
					"metadata": {
229
						SchemaProps: spec.SchemaProps{
230
							Default: map[string]interface{}{},
231
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
232
						},
233
					},
234
					"spec": {
235
						SchemaProps: spec.SchemaProps{
236
							Default: map[string]interface{}{},
237
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectSpec"),
238
						},
239
					},
240
					"status": {
241
						SchemaProps: spec.SchemaProps{
242
							Default: map[string]interface{}{},
243
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectStatus"),
244
						},
245
					},
246
				},
247
				Required: []string{"metadata", "spec"},
248
			},
249
		},
250
		Dependencies: []string{
251
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectSpec", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
252
	}
253
}
254

255
func schema_pkg_apis_application_v1alpha1_AppProjectList(ref common.ReferenceCallback) common.OpenAPIDefinition {
256
	return common.OpenAPIDefinition{
257
		Schema: spec.Schema{
258
			SchemaProps: spec.SchemaProps{
259
				Description: "AppProjectList is list of AppProject resources",
260
				Type:        []string{"object"},
261
				Properties: map[string]spec.Schema{
262
					"kind": {
263
						SchemaProps: spec.SchemaProps{
264
							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
265
							Type:        []string{"string"},
266
							Format:      "",
267
						},
268
					},
269
					"apiVersion": {
270
						SchemaProps: spec.SchemaProps{
271
							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
272
							Type:        []string{"string"},
273
							Format:      "",
274
						},
275
					},
276
					"metadata": {
277
						SchemaProps: spec.SchemaProps{
278
							Default: map[string]interface{}{},
279
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
280
						},
281
					},
282
					"items": {
283
						SchemaProps: spec.SchemaProps{
284
							Type: []string{"array"},
285
							Items: &spec.SchemaOrArray{
286
								Schema: &spec.Schema{
287
									SchemaProps: spec.SchemaProps{
288
										Default: map[string]interface{}{},
289
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject"),
290
									},
291
								},
292
							},
293
						},
294
					},
295
				},
296
				Required: []string{"metadata", "items"},
297
			},
298
		},
299
		Dependencies: []string{
300
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
301
	}
302
}
303

304
func schema_pkg_apis_application_v1alpha1_AppProjectSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
305
	return common.OpenAPIDefinition{
306
		Schema: spec.Schema{
307
			SchemaProps: spec.SchemaProps{
308
				Description: "AppProjectSpec is the specification of an AppProject",
309
				Type:        []string{"object"},
310
				Properties: map[string]spec.Schema{
311
					"sourceRepos": {
312
						SchemaProps: spec.SchemaProps{
313
							Description: "SourceRepos contains list of repository URLs which can be used for deployment",
314
							Type:        []string{"array"},
315
							Items: &spec.SchemaOrArray{
316
								Schema: &spec.Schema{
317
									SchemaProps: spec.SchemaProps{
318
										Default: "",
319
										Type:    []string{"string"},
320
										Format:  "",
321
									},
322
								},
323
							},
324
						},
325
					},
326
					"destinations": {
327
						SchemaProps: spec.SchemaProps{
328
							Description: "Destinations contains list of destinations available for deployment",
329
							Type:        []string{"array"},
330
							Items: &spec.SchemaOrArray{
331
								Schema: &spec.Schema{
332
									SchemaProps: spec.SchemaProps{
333
										Default: map[string]interface{}{},
334
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
335
									},
336
								},
337
							},
338
						},
339
					},
340
					"description": {
341
						SchemaProps: spec.SchemaProps{
342
							Description: "Description contains optional project description",
343
							Type:        []string{"string"},
344
							Format:      "",
345
						},
346
					},
347
					"roles": {
348
						SchemaProps: spec.SchemaProps{
349
							Description: "Roles are user defined RBAC roles associated with this project",
350
							Type:        []string{"array"},
351
							Items: &spec.SchemaOrArray{
352
								Schema: &spec.Schema{
353
									SchemaProps: spec.SchemaProps{
354
										Default: map[string]interface{}{},
355
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ProjectRole"),
356
									},
357
								},
358
							},
359
						},
360
					},
361
					"clusterResourceWhitelist": {
362
						SchemaProps: spec.SchemaProps{
363
							Description: "ClusterResourceWhitelist contains list of whitelisted cluster level resources",
364
							Type:        []string{"array"},
365
							Items: &spec.SchemaOrArray{
366
								Schema: &spec.Schema{
367
									SchemaProps: spec.SchemaProps{
368
										Default: map[string]interface{}{},
369
										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
370
									},
371
								},
372
							},
373
						},
374
					},
375
					"namespaceResourceBlacklist": {
376
						SchemaProps: spec.SchemaProps{
377
							Description: "NamespaceResourceBlacklist contains list of blacklisted namespace level resources",
378
							Type:        []string{"array"},
379
							Items: &spec.SchemaOrArray{
380
								Schema: &spec.Schema{
381
									SchemaProps: spec.SchemaProps{
382
										Default: map[string]interface{}{},
383
										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
384
									},
385
								},
386
							},
387
						},
388
					},
389
					"orphanedResources": {
390
						SchemaProps: spec.SchemaProps{
391
							Description: "OrphanedResources specifies if controller should monitor orphaned resources of apps in this project",
392
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings"),
393
						},
394
					},
395
					"syncWindows": {
396
						SchemaProps: spec.SchemaProps{
397
							Description: "SyncWindows controls when syncs can be run for apps in this project",
398
							Type:        []string{"array"},
399
							Items: &spec.SchemaOrArray{
400
								Schema: &spec.Schema{
401
									SchemaProps: spec.SchemaProps{
402
										Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncWindow"),
403
									},
404
								},
405
							},
406
						},
407
					},
408
					"namespaceResourceWhitelist": {
409
						SchemaProps: spec.SchemaProps{
410
							Description: "NamespaceResourceWhitelist contains list of whitelisted namespace level resources",
411
							Type:        []string{"array"},
412
							Items: &spec.SchemaOrArray{
413
								Schema: &spec.Schema{
414
									SchemaProps: spec.SchemaProps{
415
										Default: map[string]interface{}{},
416
										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
417
									},
418
								},
419
							},
420
						},
421
					},
422
					"signatureKeys": {
423
						SchemaProps: spec.SchemaProps{
424
							Description: "SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync",
425
							Type:        []string{"array"},
426
							Items: &spec.SchemaOrArray{
427
								Schema: &spec.Schema{
428
									SchemaProps: spec.SchemaProps{
429
										Default: map[string]interface{}{},
430
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SignatureKey"),
431
									},
432
								},
433
							},
434
						},
435
					},
436
					"clusterResourceBlacklist": {
437
						SchemaProps: spec.SchemaProps{
438
							Description: "ClusterResourceBlacklist contains list of blacklisted cluster level resources",
439
							Type:        []string{"array"},
440
							Items: &spec.SchemaOrArray{
441
								Schema: &spec.Schema{
442
									SchemaProps: spec.SchemaProps{
443
										Default: map[string]interface{}{},
444
										Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
445
									},
446
								},
447
							},
448
						},
449
					},
450
					"sourceNamespaces": {
451
						SchemaProps: spec.SchemaProps{
452
							Description: "SourceNamespaces defines the namespaces application resources are allowed to be created in",
453
							Type:        []string{"array"},
454
							Items: &spec.SchemaOrArray{
455
								Schema: &spec.Schema{
456
									SchemaProps: spec.SchemaProps{
457
										Default: "",
458
										Type:    []string{"string"},
459
										Format:  "",
460
									},
461
								},
462
							},
463
						},
464
					},
465
					"permitOnlyProjectScopedClusters": {
466
						SchemaProps: spec.SchemaProps{
467
							Description: "PermitOnlyProjectScopedClusters determines whether destinations can only reference clusters which are project-scoped",
468
							Type:        []string{"boolean"},
469
							Format:      "",
470
						},
471
					},
472
				},
473
			},
474
		},
475
		Dependencies: []string{
476
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ProjectRole", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SignatureKey", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncWindow", "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"},
477
	}
478
}
479

480
func schema_pkg_apis_application_v1alpha1_AppProjectStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
481
	return common.OpenAPIDefinition{
482
		Schema: spec.Schema{
483
			SchemaProps: spec.SchemaProps{
484
				Description: "AppProjectStatus contains status information for AppProject CRs",
485
				Type:        []string{"object"},
486
				Properties: map[string]spec.Schema{
487
					"jwtTokensByRole": {
488
						SchemaProps: spec.SchemaProps{
489
							Description: "JWTTokensByRole contains a list of JWT tokens issued for a given role",
490
							Type:        []string{"object"},
491
							AdditionalProperties: &spec.SchemaOrBool{
492
								Allows: true,
493
								Schema: &spec.Schema{
494
									SchemaProps: spec.SchemaProps{
495
										Default: map[string]interface{}{},
496
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens"),
497
									},
498
								},
499
							},
500
						},
501
					},
502
				},
503
			},
504
		},
505
		Dependencies: []string{
506
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens"},
507
	}
508
}
509

510
func schema_pkg_apis_application_v1alpha1_Application(ref common.ReferenceCallback) common.OpenAPIDefinition {
511
	return common.OpenAPIDefinition{
512
		Schema: spec.Schema{
513
			SchemaProps: spec.SchemaProps{
514
				Description: "Application is a definition of Application resource.",
515
				Type:        []string{"object"},
516
				Properties: map[string]spec.Schema{
517
					"kind": {
518
						SchemaProps: spec.SchemaProps{
519
							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
520
							Type:        []string{"string"},
521
							Format:      "",
522
						},
523
					},
524
					"apiVersion": {
525
						SchemaProps: spec.SchemaProps{
526
							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
527
							Type:        []string{"string"},
528
							Format:      "",
529
						},
530
					},
531
					"metadata": {
532
						SchemaProps: spec.SchemaProps{
533
							Default: map[string]interface{}{},
534
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
535
						},
536
					},
537
					"spec": {
538
						SchemaProps: spec.SchemaProps{
539
							Default: map[string]interface{}{},
540
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"),
541
						},
542
					},
543
					"status": {
544
						SchemaProps: spec.SchemaProps{
545
							Default: map[string]interface{}{},
546
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationStatus"),
547
						},
548
					},
549
					"operation": {
550
						SchemaProps: spec.SchemaProps{
551
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation"),
552
						},
553
					},
554
				},
555
				Required: []string{"metadata", "spec"},
556
			},
557
		},
558
		Dependencies: []string{
559
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
560
	}
561
}
562

563
func schema_pkg_apis_application_v1alpha1_ApplicationCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
564
	return common.OpenAPIDefinition{
565
		Schema: spec.Schema{
566
			SchemaProps: spec.SchemaProps{
567
				Description: "ApplicationCondition contains details about an application condition, which is usually an error or warning",
568
				Type:        []string{"object"},
569
				Properties: map[string]spec.Schema{
570
					"type": {
571
						SchemaProps: spec.SchemaProps{
572
							Description: "Type is an application condition type",
573
							Default:     "",
574
							Type:        []string{"string"},
575
							Format:      "",
576
						},
577
					},
578
					"message": {
579
						SchemaProps: spec.SchemaProps{
580
							Description: "Message contains human-readable message indicating details about condition",
581
							Default:     "",
582
							Type:        []string{"string"},
583
							Format:      "",
584
						},
585
					},
586
					"lastTransitionTime": {
587
						SchemaProps: spec.SchemaProps{
588
							Description: "LastTransitionTime is the time the condition was last observed",
589
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
590
						},
591
					},
592
				},
593
				Required: []string{"type", "message"},
594
			},
595
		},
596
		Dependencies: []string{
597
			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
598
	}
599
}
600

601
func schema_pkg_apis_application_v1alpha1_ApplicationDestination(ref common.ReferenceCallback) common.OpenAPIDefinition {
602
	return common.OpenAPIDefinition{
603
		Schema: spec.Schema{
604
			SchemaProps: spec.SchemaProps{
605
				Description: "ApplicationDestination holds information about the application's destination",
606
				Type:        []string{"object"},
607
				Properties: map[string]spec.Schema{
608
					"server": {
609
						SchemaProps: spec.SchemaProps{
610
							Description: "Server specifies the URL of the target cluster's Kubernetes control plane API. This must be set if Name is not set.",
611
							Type:        []string{"string"},
612
							Format:      "",
613
						},
614
					},
615
					"namespace": {
616
						SchemaProps: spec.SchemaProps{
617
							Description: "Namespace specifies the target namespace for the application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace",
618
							Type:        []string{"string"},
619
							Format:      "",
620
						},
621
					},
622
					"name": {
623
						SchemaProps: spec.SchemaProps{
624
							Description: "Name is an alternate way of specifying the target cluster by its symbolic name. This must be set if Server is not set.",
625
							Type:        []string{"string"},
626
							Format:      "",
627
						},
628
					},
629
				},
630
			},
631
		},
632
	}
633
}
634

635
func schema_pkg_apis_application_v1alpha1_ApplicationList(ref common.ReferenceCallback) common.OpenAPIDefinition {
636
	return common.OpenAPIDefinition{
637
		Schema: spec.Schema{
638
			SchemaProps: spec.SchemaProps{
639
				Description: "ApplicationList is list of Application resources",
640
				Type:        []string{"object"},
641
				Properties: map[string]spec.Schema{
642
					"kind": {
643
						SchemaProps: spec.SchemaProps{
644
							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
645
							Type:        []string{"string"},
646
							Format:      "",
647
						},
648
					},
649
					"apiVersion": {
650
						SchemaProps: spec.SchemaProps{
651
							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
652
							Type:        []string{"string"},
653
							Format:      "",
654
						},
655
					},
656
					"metadata": {
657
						SchemaProps: spec.SchemaProps{
658
							Default: map[string]interface{}{},
659
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
660
						},
661
					},
662
					"items": {
663
						SchemaProps: spec.SchemaProps{
664
							Type: []string{"array"},
665
							Items: &spec.SchemaOrArray{
666
								Schema: &spec.Schema{
667
									SchemaProps: spec.SchemaProps{
668
										Default: map[string]interface{}{},
669
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"),
670
									},
671
								},
672
							},
673
						},
674
					},
675
				},
676
				Required: []string{"metadata", "items"},
677
			},
678
		},
679
		Dependencies: []string{
680
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
681
	}
682
}
683

684
func schema_pkg_apis_application_v1alpha1_ApplicationMatchExpression(ref common.ReferenceCallback) common.OpenAPIDefinition {
685
	return common.OpenAPIDefinition{
686
		Schema: spec.Schema{
687
			SchemaProps: spec.SchemaProps{
688
				Type: []string{"object"},
689
				Properties: map[string]spec.Schema{
690
					"key": {
691
						SchemaProps: spec.SchemaProps{
692
							Type:   []string{"string"},
693
							Format: "",
694
						},
695
					},
696
					"operator": {
697
						SchemaProps: spec.SchemaProps{
698
							Type:   []string{"string"},
699
							Format: "",
700
						},
701
					},
702
					"values": {
703
						SchemaProps: spec.SchemaProps{
704
							Type: []string{"array"},
705
							Items: &spec.SchemaOrArray{
706
								Schema: &spec.Schema{
707
									SchemaProps: spec.SchemaProps{
708
										Default: "",
709
										Type:    []string{"string"},
710
										Format:  "",
711
									},
712
								},
713
							},
714
						},
715
					},
716
				},
717
			},
718
		},
719
	}
720
}
721

722
func schema_pkg_apis_application_v1alpha1_ApplicationPreservedFields(ref common.ReferenceCallback) common.OpenAPIDefinition {
723
	return common.OpenAPIDefinition{
724
		Schema: spec.Schema{
725
			SchemaProps: spec.SchemaProps{
726
				Type: []string{"object"},
727
				Properties: map[string]spec.Schema{
728
					"annotations": {
729
						SchemaProps: spec.SchemaProps{
730
							Type: []string{"array"},
731
							Items: &spec.SchemaOrArray{
732
								Schema: &spec.Schema{
733
									SchemaProps: spec.SchemaProps{
734
										Default: "",
735
										Type:    []string{"string"},
736
										Format:  "",
737
									},
738
								},
739
							},
740
						},
741
					},
742
					"labels": {
743
						SchemaProps: spec.SchemaProps{
744
							Type: []string{"array"},
745
							Items: &spec.SchemaOrArray{
746
								Schema: &spec.Schema{
747
									SchemaProps: spec.SchemaProps{
748
										Default: "",
749
										Type:    []string{"string"},
750
										Format:  "",
751
									},
752
								},
753
							},
754
						},
755
					},
756
				},
757
			},
758
		},
759
	}
760
}
761

762
func schema_pkg_apis_application_v1alpha1_ApplicationSet(ref common.ReferenceCallback) common.OpenAPIDefinition {
763
	return common.OpenAPIDefinition{
764
		Schema: spec.Schema{
765
			SchemaProps: spec.SchemaProps{
766
				Description: "ApplicationSet is a set of Application resources",
767
				Type:        []string{"object"},
768
				Properties: map[string]spec.Schema{
769
					"kind": {
770
						SchemaProps: spec.SchemaProps{
771
							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
772
							Type:        []string{"string"},
773
							Format:      "",
774
						},
775
					},
776
					"apiVersion": {
777
						SchemaProps: spec.SchemaProps{
778
							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
779
							Type:        []string{"string"},
780
							Format:      "",
781
						},
782
					},
783
					"metadata": {
784
						SchemaProps: spec.SchemaProps{
785
							Default: map[string]interface{}{},
786
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
787
						},
788
					},
789
					"spec": {
790
						SchemaProps: spec.SchemaProps{
791
							Default: map[string]interface{}{},
792
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSpec"),
793
						},
794
					},
795
					"status": {
796
						SchemaProps: spec.SchemaProps{
797
							Default: map[string]interface{}{},
798
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStatus"),
799
						},
800
					},
801
				},
802
				Required: []string{"metadata", "spec"},
803
			},
804
		},
805
		Dependencies: []string{
806
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSpec", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
807
	}
808
}
809

810
func schema_pkg_apis_application_v1alpha1_ApplicationSetApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
811
	return common.OpenAPIDefinition{
812
		Schema: spec.Schema{
813
			SchemaProps: spec.SchemaProps{
814
				Description: "ApplicationSetApplicationStatus contains details about each Application managed by the ApplicationSet",
815
				Type:        []string{"object"},
816
				Properties: map[string]spec.Schema{
817
					"application": {
818
						SchemaProps: spec.SchemaProps{
819
							Description: "Application contains the name of the Application resource",
820
							Default:     "",
821
							Type:        []string{"string"},
822
							Format:      "",
823
						},
824
					},
825
					"lastTransitionTime": {
826
						SchemaProps: spec.SchemaProps{
827
							Description: "LastTransitionTime is the time the status was last updated",
828
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
829
						},
830
					},
831
					"message": {
832
						SchemaProps: spec.SchemaProps{
833
							Description: "Message contains human-readable message indicating details about the status",
834
							Default:     "",
835
							Type:        []string{"string"},
836
							Format:      "",
837
						},
838
					},
839
					"status": {
840
						SchemaProps: spec.SchemaProps{
841
							Description: "Status contains the AppSet's perceived status of the managed Application resource: (Waiting, Pending, Progressing, Healthy)",
842
							Default:     "",
843
							Type:        []string{"string"},
844
							Format:      "",
845
						},
846
					},
847
					"step": {
848
						SchemaProps: spec.SchemaProps{
849
							Description: "Step tracks which step this Application should be updated in",
850
							Default:     "",
851
							Type:        []string{"string"},
852
							Format:      "",
853
						},
854
					},
855
				},
856
				Required: []string{"application", "message", "status", "step"},
857
			},
858
		},
859
		Dependencies: []string{
860
			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
861
	}
862
}
863

864
func schema_pkg_apis_application_v1alpha1_ApplicationSetCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
865
	return common.OpenAPIDefinition{
866
		Schema: spec.Schema{
867
			SchemaProps: spec.SchemaProps{
868
				Description: "ApplicationSetCondition contains details about an applicationset condition, which is usally an error or warning",
869
				Type:        []string{"object"},
870
				Properties: map[string]spec.Schema{
871
					"type": {
872
						SchemaProps: spec.SchemaProps{
873
							Description: "Type is an applicationset condition type",
874
							Default:     "",
875
							Type:        []string{"string"},
876
							Format:      "",
877
						},
878
					},
879
					"message": {
880
						SchemaProps: spec.SchemaProps{
881
							Description: "Message contains human-readable message indicating details about condition",
882
							Default:     "",
883
							Type:        []string{"string"},
884
							Format:      "",
885
						},
886
					},
887
					"lastTransitionTime": {
888
						SchemaProps: spec.SchemaProps{
889
							Description: "LastTransitionTime is the time the condition was last observed",
890
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
891
						},
892
					},
893
					"status": {
894
						SchemaProps: spec.SchemaProps{
895
							Description: "True/False/Unknown",
896
							Default:     "",
897
							Type:        []string{"string"},
898
							Format:      "",
899
						},
900
					},
901
					"reason": {
902
						SchemaProps: spec.SchemaProps{
903
							Description: "Single word camelcase representing the reason for the status eg ErrorOccurred",
904
							Default:     "",
905
							Type:        []string{"string"},
906
							Format:      "",
907
						},
908
					},
909
				},
910
				Required: []string{"type", "message", "status", "reason"},
911
			},
912
		},
913
		Dependencies: []string{
914
			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
915
	}
916
}
917

918
func schema_pkg_apis_application_v1alpha1_ApplicationSetGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
919
	return common.OpenAPIDefinition{
920
		Schema: spec.Schema{
921
			SchemaProps: spec.SchemaProps{
922
				Description: "ApplicationSetGenerator represents a generator at the top level of an ApplicationSet.",
923
				Type:        []string{"object"},
924
				Properties: map[string]spec.Schema{
925
					"list": {
926
						SchemaProps: spec.SchemaProps{
927
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
928
						},
929
					},
930
					"clusters": {
931
						SchemaProps: spec.SchemaProps{
932
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
933
						},
934
					},
935
					"git": {
936
						SchemaProps: spec.SchemaProps{
937
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
938
						},
939
					},
940
					"scmProvider": {
941
						SchemaProps: spec.SchemaProps{
942
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
943
						},
944
					},
945
					"clusterDecisionResource": {
946
						SchemaProps: spec.SchemaProps{
947
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
948
						},
949
					},
950
					"pullRequest": {
951
						SchemaProps: spec.SchemaProps{
952
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
953
						},
954
					},
955
					"matrix": {
956
						SchemaProps: spec.SchemaProps{
957
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MatrixGenerator"),
958
						},
959
					},
960
					"merge": {
961
						SchemaProps: spec.SchemaProps{
962
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MergeGenerator"),
963
						},
964
					},
965
					"selector": {
966
						SchemaProps: spec.SchemaProps{
967
							Description: "Selector allows to post-filter all generator.",
968
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
969
						},
970
					},
971
					"plugin": {
972
						SchemaProps: spec.SchemaProps{
973
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator"),
974
						},
975
					},
976
				},
977
			},
978
		},
979
		Dependencies: []string{
980
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MatrixGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MergeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
981
	}
982
}
983

984
func schema_pkg_apis_application_v1alpha1_ApplicationSetList(ref common.ReferenceCallback) common.OpenAPIDefinition {
985
	return common.OpenAPIDefinition{
986
		Schema: spec.Schema{
987
			SchemaProps: spec.SchemaProps{
988
				Description: "ApplicationSetList contains a list of ApplicationSet",
989
				Type:        []string{"object"},
990
				Properties: map[string]spec.Schema{
991
					"kind": {
992
						SchemaProps: spec.SchemaProps{
993
							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
994
							Type:        []string{"string"},
995
							Format:      "",
996
						},
997
					},
998
					"apiVersion": {
999
						SchemaProps: spec.SchemaProps{
1000
							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
1001
							Type:        []string{"string"},
1002
							Format:      "",
1003
						},
1004
					},
1005
					"metadata": {
1006
						SchemaProps: spec.SchemaProps{
1007
							Default: map[string]interface{}{},
1008
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
1009
						},
1010
					},
1011
					"items": {
1012
						SchemaProps: spec.SchemaProps{
1013
							Type: []string{"array"},
1014
							Items: &spec.SchemaOrArray{
1015
								Schema: &spec.Schema{
1016
									SchemaProps: spec.SchemaProps{
1017
										Default: map[string]interface{}{},
1018
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet"),
1019
									},
1020
								},
1021
							},
1022
						},
1023
					},
1024
				},
1025
				Required: []string{"items"},
1026
			},
1027
		},
1028
		Dependencies: []string{
1029
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
1030
	}
1031
}
1032

1033
func schema_pkg_apis_application_v1alpha1_ApplicationSetNestedGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
1034
	return common.OpenAPIDefinition{
1035
		Schema: spec.Schema{
1036
			SchemaProps: spec.SchemaProps{
1037
				Description: "ApplicationSetNestedGenerator represents a generator nested within a combination-type generator (MatrixGenerator or MergeGenerator).",
1038
				Type:        []string{"object"},
1039
				Properties: map[string]spec.Schema{
1040
					"list": {
1041
						SchemaProps: spec.SchemaProps{
1042
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
1043
						},
1044
					},
1045
					"clusters": {
1046
						SchemaProps: spec.SchemaProps{
1047
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
1048
						},
1049
					},
1050
					"git": {
1051
						SchemaProps: spec.SchemaProps{
1052
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
1053
						},
1054
					},
1055
					"scmProvider": {
1056
						SchemaProps: spec.SchemaProps{
1057
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
1058
						},
1059
					},
1060
					"clusterDecisionResource": {
1061
						SchemaProps: spec.SchemaProps{
1062
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
1063
						},
1064
					},
1065
					"pullRequest": {
1066
						SchemaProps: spec.SchemaProps{
1067
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
1068
						},
1069
					},
1070
					"matrix": {
1071
						SchemaProps: spec.SchemaProps{
1072
							Description: "Matrix should have the form of NestedMatrixGenerator",
1073
							Ref:         ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
1074
						},
1075
					},
1076
					"merge": {
1077
						SchemaProps: spec.SchemaProps{
1078
							Description: "Merge should have the form of NestedMergeGenerator",
1079
							Ref:         ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
1080
						},
1081
					},
1082
					"selector": {
1083
						SchemaProps: spec.SchemaProps{
1084
							Description: "Selector allows to post-filter all generator.",
1085
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1086
						},
1087
					},
1088
					"plugin": {
1089
						SchemaProps: spec.SchemaProps{
1090
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator"),
1091
						},
1092
					},
1093
				},
1094
			},
1095
		},
1096
		Dependencies: []string{
1097
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator", "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
1098
	}
1099
}
1100

1101
func schema_pkg_apis_application_v1alpha1_ApplicationSetResourceIgnoreDifferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
1102
	return common.OpenAPIDefinition{
1103
		Schema: spec.Schema{
1104
			SchemaProps: spec.SchemaProps{
1105
				Description: "ApplicationSetResourceIgnoreDifferences configures how the ApplicationSet controller will ignore differences in live applications when applying changes from generated applications.",
1106
				Type:        []string{"object"},
1107
				Properties: map[string]spec.Schema{
1108
					"name": {
1109
						SchemaProps: spec.SchemaProps{
1110
							Description: "Name is the name of the application to ignore differences for. If not specified, the rule applies to all applications.",
1111
							Type:        []string{"string"},
1112
							Format:      "",
1113
						},
1114
					},
1115
					"jsonPointers": {
1116
						SchemaProps: spec.SchemaProps{
1117
							Description: "JSONPointers is a list of JSON pointers to fields to ignore differences for.",
1118
							Type:        []string{"array"},
1119
							Items: &spec.SchemaOrArray{
1120
								Schema: &spec.Schema{
1121
									SchemaProps: spec.SchemaProps{
1122
										Default: "",
1123
										Type:    []string{"string"},
1124
										Format:  "",
1125
									},
1126
								},
1127
							},
1128
						},
1129
					},
1130
					"jqPathExpressions": {
1131
						SchemaProps: spec.SchemaProps{
1132
							Description: "JQPathExpressions is a list of JQ path expressions to fields to ignore differences for.",
1133
							Type:        []string{"array"},
1134
							Items: &spec.SchemaOrArray{
1135
								Schema: &spec.Schema{
1136
									SchemaProps: spec.SchemaProps{
1137
										Default: "",
1138
										Type:    []string{"string"},
1139
										Format:  "",
1140
									},
1141
								},
1142
							},
1143
						},
1144
					},
1145
				},
1146
			},
1147
		},
1148
	}
1149
}
1150

1151
func schema_pkg_apis_application_v1alpha1_ApplicationSetRolloutStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
1152
	return common.OpenAPIDefinition{
1153
		Schema: spec.Schema{
1154
			SchemaProps: spec.SchemaProps{
1155
				Type: []string{"object"},
1156
				Properties: map[string]spec.Schema{
1157
					"matchExpressions": {
1158
						SchemaProps: spec.SchemaProps{
1159
							Type: []string{"array"},
1160
							Items: &spec.SchemaOrArray{
1161
								Schema: &spec.Schema{
1162
									SchemaProps: spec.SchemaProps{
1163
										Default: map[string]interface{}{},
1164
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationMatchExpression"),
1165
									},
1166
								},
1167
							},
1168
						},
1169
					},
1170
					"maxUpdate": {
1171
						SchemaProps: spec.SchemaProps{
1172
							Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
1173
						},
1174
					},
1175
				},
1176
			},
1177
		},
1178
		Dependencies: []string{
1179
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationMatchExpression", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
1180
	}
1181
}
1182

1183
func schema_pkg_apis_application_v1alpha1_ApplicationSetRolloutStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
1184
	return common.OpenAPIDefinition{
1185
		Schema: spec.Schema{
1186
			SchemaProps: spec.SchemaProps{
1187
				Type: []string{"object"},
1188
				Properties: map[string]spec.Schema{
1189
					"steps": {
1190
						SchemaProps: spec.SchemaProps{
1191
							Type: []string{"array"},
1192
							Items: &spec.SchemaOrArray{
1193
								Schema: &spec.Schema{
1194
									SchemaProps: spec.SchemaProps{
1195
										Default: map[string]interface{}{},
1196
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStep"),
1197
									},
1198
								},
1199
							},
1200
						},
1201
					},
1202
				},
1203
			},
1204
		},
1205
		Dependencies: []string{
1206
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStep"},
1207
	}
1208
}
1209

1210
func schema_pkg_apis_application_v1alpha1_ApplicationSetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
1211
	return common.OpenAPIDefinition{
1212
		Schema: spec.Schema{
1213
			SchemaProps: spec.SchemaProps{
1214
				Description: "ApplicationSetSpec represents a class of application set state.",
1215
				Type:        []string{"object"},
1216
				Properties: map[string]spec.Schema{
1217
					"goTemplate": {
1218
						SchemaProps: spec.SchemaProps{
1219
							Type:   []string{"boolean"},
1220
							Format: "",
1221
						},
1222
					},
1223
					"generators": {
1224
						SchemaProps: spec.SchemaProps{
1225
							Type: []string{"array"},
1226
							Items: &spec.SchemaOrArray{
1227
								Schema: &spec.Schema{
1228
									SchemaProps: spec.SchemaProps{
1229
										Default: map[string]interface{}{},
1230
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetGenerator"),
1231
									},
1232
								},
1233
							},
1234
						},
1235
					},
1236
					"template": {
1237
						SchemaProps: spec.SchemaProps{
1238
							Default: map[string]interface{}{},
1239
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
1240
						},
1241
					},
1242
					"syncPolicy": {
1243
						SchemaProps: spec.SchemaProps{
1244
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSyncPolicy"),
1245
						},
1246
					},
1247
					"strategy": {
1248
						SchemaProps: spec.SchemaProps{
1249
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStrategy"),
1250
						},
1251
					},
1252
					"preservedFields": {
1253
						SchemaProps: spec.SchemaProps{
1254
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationPreservedFields"),
1255
						},
1256
					},
1257
					"goTemplateOptions": {
1258
						SchemaProps: spec.SchemaProps{
1259
							Type: []string{"array"},
1260
							Items: &spec.SchemaOrArray{
1261
								Schema: &spec.Schema{
1262
									SchemaProps: spec.SchemaProps{
1263
										Default: "",
1264
										Type:    []string{"string"},
1265
										Format:  "",
1266
									},
1267
								},
1268
							},
1269
						},
1270
					},
1271
					"applyNestedSelectors": {
1272
						SchemaProps: spec.SchemaProps{
1273
							Description: "ApplyNestedSelectors enables selectors defined within the generators of two level-nested matrix or merge generators",
1274
							Type:        []string{"boolean"},
1275
							Format:      "",
1276
						},
1277
					},
1278
					"ignoreApplicationDifferences": {
1279
						SchemaProps: spec.SchemaProps{
1280
							Type: []string{"array"},
1281
							Items: &spec.SchemaOrArray{
1282
								Schema: &spec.Schema{
1283
									SchemaProps: spec.SchemaProps{
1284
										Default: map[string]interface{}{},
1285
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetResourceIgnoreDifferences"),
1286
									},
1287
								},
1288
							},
1289
						},
1290
					},
1291
					"templatePatch": {
1292
						SchemaProps: spec.SchemaProps{
1293
							Type:   []string{"string"},
1294
							Format: "",
1295
						},
1296
					},
1297
				},
1298
				Required: []string{"generators", "template"},
1299
			},
1300
		},
1301
		Dependencies: []string{
1302
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationPreservedFields", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetResourceIgnoreDifferences", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStrategy", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSyncPolicy", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"},
1303
	}
1304
}
1305

1306
func schema_pkg_apis_application_v1alpha1_ApplicationSetStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
1307
	return common.OpenAPIDefinition{
1308
		Schema: spec.Schema{
1309
			SchemaProps: spec.SchemaProps{
1310
				Description: "ApplicationSetStatus defines the observed state of ApplicationSet",
1311
				Type:        []string{"object"},
1312
				Properties: map[string]spec.Schema{
1313
					"conditions": {
1314
						SchemaProps: spec.SchemaProps{
1315
							Description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"make\" to regenerate code after modifying this file",
1316
							Type:        []string{"array"},
1317
							Items: &spec.SchemaOrArray{
1318
								Schema: &spec.Schema{
1319
									SchemaProps: spec.SchemaProps{
1320
										Default: map[string]interface{}{},
1321
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetCondition"),
1322
									},
1323
								},
1324
							},
1325
						},
1326
					},
1327
					"applicationStatus": {
1328
						SchemaProps: spec.SchemaProps{
1329
							Type: []string{"array"},
1330
							Items: &spec.SchemaOrArray{
1331
								Schema: &spec.Schema{
1332
									SchemaProps: spec.SchemaProps{
1333
										Default: map[string]interface{}{},
1334
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetApplicationStatus"),
1335
									},
1336
								},
1337
							},
1338
						},
1339
					},
1340
				},
1341
			},
1342
		},
1343
		Dependencies: []string{
1344
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetApplicationStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetCondition"},
1345
	}
1346
}
1347

1348
func schema_pkg_apis_application_v1alpha1_ApplicationSetStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
1349
	return common.OpenAPIDefinition{
1350
		Schema: spec.Schema{
1351
			SchemaProps: spec.SchemaProps{
1352
				Description: "ApplicationSetStrategy configures how generated Applications are updated in sequence.",
1353
				Type:        []string{"object"},
1354
				Properties: map[string]spec.Schema{
1355
					"type": {
1356
						SchemaProps: spec.SchemaProps{
1357
							Type:   []string{"string"},
1358
							Format: "",
1359
						},
1360
					},
1361
					"rollingSync": {
1362
						SchemaProps: spec.SchemaProps{
1363
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStrategy"),
1364
						},
1365
					},
1366
				},
1367
			},
1368
		},
1369
		Dependencies: []string{
1370
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStrategy"},
1371
	}
1372
}
1373

1374
func schema_pkg_apis_application_v1alpha1_ApplicationSetSyncPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
1375
	return common.OpenAPIDefinition{
1376
		Schema: spec.Schema{
1377
			SchemaProps: spec.SchemaProps{
1378
				Description: "ApplicationSetSyncPolicy configures how generated Applications will relate to their ApplicationSet.",
1379
				Type:        []string{"object"},
1380
				Properties: map[string]spec.Schema{
1381
					"preserveResourcesOnDeletion": {
1382
						SchemaProps: spec.SchemaProps{
1383
							Description: "PreserveResourcesOnDeletion will preserve resources on deletion. If PreserveResourcesOnDeletion is set to true, these Applications will not be deleted.",
1384
							Type:        []string{"boolean"},
1385
							Format:      "",
1386
						},
1387
					},
1388
					"applicationsSync": {
1389
						SchemaProps: spec.SchemaProps{
1390
							Description: "ApplicationsSync represents the policy applied on the generated applications. Possible values are create-only, create-update, create-delete, sync",
1391
							Type:        []string{"string"},
1392
							Format:      "",
1393
						},
1394
					},
1395
				},
1396
			},
1397
		},
1398
	}
1399
}
1400

1401
func schema_pkg_apis_application_v1alpha1_ApplicationSetTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition {
1402
	return common.OpenAPIDefinition{
1403
		Schema: spec.Schema{
1404
			SchemaProps: spec.SchemaProps{
1405
				Description: "ApplicationSetTemplate represents argocd ApplicationSpec",
1406
				Type:        []string{"object"},
1407
				Properties: map[string]spec.Schema{
1408
					"metadata": {
1409
						SchemaProps: spec.SchemaProps{
1410
							Default: map[string]interface{}{},
1411
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplateMeta"),
1412
						},
1413
					},
1414
					"spec": {
1415
						SchemaProps: spec.SchemaProps{
1416
							Default: map[string]interface{}{},
1417
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"),
1418
						},
1419
					},
1420
				},
1421
				Required: []string{"metadata", "spec"},
1422
			},
1423
		},
1424
		Dependencies: []string{
1425
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplateMeta", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"},
1426
	}
1427
}
1428

1429
func schema_pkg_apis_application_v1alpha1_ApplicationSetTemplateMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
1430
	return common.OpenAPIDefinition{
1431
		Schema: spec.Schema{
1432
			SchemaProps: spec.SchemaProps{
1433
				Description: "ApplicationSetTemplateMeta represents the Argo CD application fields that may be used for Applications generated from the ApplicationSet (based on metav1.ObjectMeta)",
1434
				Type:        []string{"object"},
1435
				Properties: map[string]spec.Schema{
1436
					"name": {
1437
						SchemaProps: spec.SchemaProps{
1438
							Type:   []string{"string"},
1439
							Format: "",
1440
						},
1441
					},
1442
					"namespace": {
1443
						SchemaProps: spec.SchemaProps{
1444
							Type:   []string{"string"},
1445
							Format: "",
1446
						},
1447
					},
1448
					"labels": {
1449
						SchemaProps: spec.SchemaProps{
1450
							Type: []string{"object"},
1451
							AdditionalProperties: &spec.SchemaOrBool{
1452
								Allows: true,
1453
								Schema: &spec.Schema{
1454
									SchemaProps: spec.SchemaProps{
1455
										Default: "",
1456
										Type:    []string{"string"},
1457
										Format:  "",
1458
									},
1459
								},
1460
							},
1461
						},
1462
					},
1463
					"annotations": {
1464
						SchemaProps: spec.SchemaProps{
1465
							Type: []string{"object"},
1466
							AdditionalProperties: &spec.SchemaOrBool{
1467
								Allows: true,
1468
								Schema: &spec.Schema{
1469
									SchemaProps: spec.SchemaProps{
1470
										Default: "",
1471
										Type:    []string{"string"},
1472
										Format:  "",
1473
									},
1474
								},
1475
							},
1476
						},
1477
					},
1478
					"finalizers": {
1479
						SchemaProps: spec.SchemaProps{
1480
							Type: []string{"array"},
1481
							Items: &spec.SchemaOrArray{
1482
								Schema: &spec.Schema{
1483
									SchemaProps: spec.SchemaProps{
1484
										Default: "",
1485
										Type:    []string{"string"},
1486
										Format:  "",
1487
									},
1488
								},
1489
							},
1490
						},
1491
					},
1492
				},
1493
			},
1494
		},
1495
	}
1496
}
1497

1498
func schema_pkg_apis_application_v1alpha1_ApplicationSetTerminalGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
1499
	return common.OpenAPIDefinition{
1500
		Schema: spec.Schema{
1501
			SchemaProps: spec.SchemaProps{
1502
				Description: "ApplicationSetTerminalGenerator represents a generator nested within a nested generator (for example, a list within a merge within a matrix). A generator at this level may not be a combination-type generator (MatrixGenerator or MergeGenerator). ApplicationSet enforces this nesting depth limit because CRDs do not support recursive types. https://github.com/kubernetes-sigs/controller-tools/issues/477",
1503
				Type:        []string{"object"},
1504
				Properties: map[string]spec.Schema{
1505
					"list": {
1506
						SchemaProps: spec.SchemaProps{
1507
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
1508
						},
1509
					},
1510
					"clusters": {
1511
						SchemaProps: spec.SchemaProps{
1512
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
1513
						},
1514
					},
1515
					"git": {
1516
						SchemaProps: spec.SchemaProps{
1517
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
1518
						},
1519
					},
1520
					"scmProvider": {
1521
						SchemaProps: spec.SchemaProps{
1522
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
1523
						},
1524
					},
1525
					"clusterDecisionResource": {
1526
						SchemaProps: spec.SchemaProps{
1527
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
1528
						},
1529
					},
1530
					"pullRequest": {
1531
						SchemaProps: spec.SchemaProps{
1532
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
1533
						},
1534
					},
1535
					"plugin": {
1536
						SchemaProps: spec.SchemaProps{
1537
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator"),
1538
						},
1539
					},
1540
					"selector": {
1541
						SchemaProps: spec.SchemaProps{
1542
							Description: "Selector allows to post-filter all generator.",
1543
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1544
						},
1545
					},
1546
				},
1547
			},
1548
		},
1549
		Dependencies: []string{
1550
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
1551
	}
1552
}
1553

1554
func schema_pkg_apis_application_v1alpha1_ApplicationSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1555
	return common.OpenAPIDefinition{
1556
		Schema: spec.Schema{
1557
			SchemaProps: spec.SchemaProps{
1558
				Description: "ApplicationSource contains all required information about the source of an application",
1559
				Type:        []string{"object"},
1560
				Properties: map[string]spec.Schema{
1561
					"repoURL": {
1562
						SchemaProps: spec.SchemaProps{
1563
							Description: "RepoURL is the URL to the repository (Git or Helm) that contains the application manifests",
1564
							Default:     "",
1565
							Type:        []string{"string"},
1566
							Format:      "",
1567
						},
1568
					},
1569
					"path": {
1570
						SchemaProps: spec.SchemaProps{
1571
							Description: "Path is a directory path within the Git repository, and is only valid for applications sourced from Git.",
1572
							Type:        []string{"string"},
1573
							Format:      "",
1574
						},
1575
					},
1576
					"targetRevision": {
1577
						SchemaProps: spec.SchemaProps{
1578
							Description: "TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.",
1579
							Type:        []string{"string"},
1580
							Format:      "",
1581
						},
1582
					},
1583
					"helm": {
1584
						SchemaProps: spec.SchemaProps{
1585
							Description: "Helm holds helm specific options",
1586
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceHelm"),
1587
						},
1588
					},
1589
					"kustomize": {
1590
						SchemaProps: spec.SchemaProps{
1591
							Description: "Kustomize holds kustomize specific options",
1592
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceKustomize"),
1593
						},
1594
					},
1595
					"directory": {
1596
						SchemaProps: spec.SchemaProps{
1597
							Description: "Directory holds path/directory specific options",
1598
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceDirectory"),
1599
						},
1600
					},
1601
					"plugin": {
1602
						SchemaProps: spec.SchemaProps{
1603
							Description: "Plugin holds config management plugin specific options",
1604
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePlugin"),
1605
						},
1606
					},
1607
					"chart": {
1608
						SchemaProps: spec.SchemaProps{
1609
							Description: "Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.",
1610
							Type:        []string{"string"},
1611
							Format:      "",
1612
						},
1613
					},
1614
					"ref": {
1615
						SchemaProps: spec.SchemaProps{
1616
							Description: "Ref is reference to another source within sources field. This field will not be used if used with a `source` tag.",
1617
							Type:        []string{"string"},
1618
							Format:      "",
1619
						},
1620
					},
1621
				},
1622
				Required: []string{"repoURL"},
1623
			},
1624
		},
1625
		Dependencies: []string{
1626
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceDirectory", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceHelm", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceKustomize", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePlugin"},
1627
	}
1628
}
1629

1630
func schema_pkg_apis_application_v1alpha1_ApplicationSourceDirectory(ref common.ReferenceCallback) common.OpenAPIDefinition {
1631
	return common.OpenAPIDefinition{
1632
		Schema: spec.Schema{
1633
			SchemaProps: spec.SchemaProps{
1634
				Description: "ApplicationSourceDirectory holds options for applications of type plain YAML or Jsonnet",
1635
				Type:        []string{"object"},
1636
				Properties: map[string]spec.Schema{
1637
					"recurse": {
1638
						SchemaProps: spec.SchemaProps{
1639
							Description: "Recurse specifies whether to scan a directory recursively for manifests",
1640
							Type:        []string{"boolean"},
1641
							Format:      "",
1642
						},
1643
					},
1644
					"jsonnet": {
1645
						SchemaProps: spec.SchemaProps{
1646
							Description: "Jsonnet holds options specific to Jsonnet",
1647
							Default:     map[string]interface{}{},
1648
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"),
1649
						},
1650
					},
1651
					"exclude": {
1652
						SchemaProps: spec.SchemaProps{
1653
							Description: "Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation",
1654
							Type:        []string{"string"},
1655
							Format:      "",
1656
						},
1657
					},
1658
					"include": {
1659
						SchemaProps: spec.SchemaProps{
1660
							Description: "Include contains a glob pattern to match paths against that should be explicitly included during manifest generation",
1661
							Type:        []string{"string"},
1662
							Format:      "",
1663
						},
1664
					},
1665
				},
1666
			},
1667
		},
1668
		Dependencies: []string{
1669
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"},
1670
	}
1671
}
1672

1673
func schema_pkg_apis_application_v1alpha1_ApplicationSourceHelm(ref common.ReferenceCallback) common.OpenAPIDefinition {
1674
	return common.OpenAPIDefinition{
1675
		Schema: spec.Schema{
1676
			SchemaProps: spec.SchemaProps{
1677
				Description: "ApplicationSourceHelm holds helm specific options",
1678
				Type:        []string{"object"},
1679
				Properties: map[string]spec.Schema{
1680
					"valueFiles": {
1681
						SchemaProps: spec.SchemaProps{
1682
							Description: "ValuesFiles is a list of Helm value files to use when generating a template",
1683
							Type:        []string{"array"},
1684
							Items: &spec.SchemaOrArray{
1685
								Schema: &spec.Schema{
1686
									SchemaProps: spec.SchemaProps{
1687
										Default: "",
1688
										Type:    []string{"string"},
1689
										Format:  "",
1690
									},
1691
								},
1692
							},
1693
						},
1694
					},
1695
					"parameters": {
1696
						SchemaProps: spec.SchemaProps{
1697
							Description: "Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation",
1698
							Type:        []string{"array"},
1699
							Items: &spec.SchemaOrArray{
1700
								Schema: &spec.Schema{
1701
									SchemaProps: spec.SchemaProps{
1702
										Default: map[string]interface{}{},
1703
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmParameter"),
1704
									},
1705
								},
1706
							},
1707
						},
1708
					},
1709
					"releaseName": {
1710
						SchemaProps: spec.SchemaProps{
1711
							Description: "ReleaseName is the Helm release name to use. If omitted it will use the application name",
1712
							Type:        []string{"string"},
1713
							Format:      "",
1714
						},
1715
					},
1716
					"values": {
1717
						VendorExtensible: spec.VendorExtensible{
1718
							Extensions: spec.Extensions{
1719
								"x-kubernetes-patch-strategy": "replace",
1720
							},
1721
						},
1722
						SchemaProps: spec.SchemaProps{
1723
							Description: "Values specifies Helm values to be passed to helm template, typically defined as a block. ValuesObject takes precedence over Values, so use one or the other.",
1724
							Type:        []string{"string"},
1725
							Format:      "",
1726
						},
1727
					},
1728
					"fileParameters": {
1729
						SchemaProps: spec.SchemaProps{
1730
							Description: "FileParameters are file parameters to the helm template",
1731
							Type:        []string{"array"},
1732
							Items: &spec.SchemaOrArray{
1733
								Schema: &spec.Schema{
1734
									SchemaProps: spec.SchemaProps{
1735
										Default: map[string]interface{}{},
1736
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmFileParameter"),
1737
									},
1738
								},
1739
							},
1740
						},
1741
					},
1742
					"version": {
1743
						SchemaProps: spec.SchemaProps{
1744
							Description: "Version is the Helm version to use for templating (\"3\")",
1745
							Type:        []string{"string"},
1746
							Format:      "",
1747
						},
1748
					},
1749
					"passCredentials": {
1750
						SchemaProps: spec.SchemaProps{
1751
							Description: "PassCredentials pass credentials to all domains (Helm's --pass-credentials)",
1752
							Type:        []string{"boolean"},
1753
							Format:      "",
1754
						},
1755
					},
1756
					"ignoreMissingValueFiles": {
1757
						SchemaProps: spec.SchemaProps{
1758
							Description: "IgnoreMissingValueFiles prevents helm template from failing when valueFiles do not exist locally by not appending them to helm template --values",
1759
							Type:        []string{"boolean"},
1760
							Format:      "",
1761
						},
1762
					},
1763
					"skipCrds": {
1764
						SchemaProps: spec.SchemaProps{
1765
							Description: "SkipCrds skips custom resource definition installation step (Helm's --skip-crds)",
1766
							Type:        []string{"boolean"},
1767
							Format:      "",
1768
						},
1769
					},
1770
					"valuesObject": {
1771
						SchemaProps: spec.SchemaProps{
1772
							Description: "ValuesObject specifies Helm values to be passed to helm template, defined as a map. This takes precedence over Values.",
1773
							Ref:         ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
1774
						},
1775
					},
1776
				},
1777
			},
1778
		},
1779
		Dependencies: []string{
1780
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmFileParameter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmParameter", "k8s.io/apimachinery/pkg/runtime.RawExtension"},
1781
	}
1782
}
1783

1784
func schema_pkg_apis_application_v1alpha1_ApplicationSourceJsonnet(ref common.ReferenceCallback) common.OpenAPIDefinition {
1785
	return common.OpenAPIDefinition{
1786
		Schema: spec.Schema{
1787
			SchemaProps: spec.SchemaProps{
1788
				Description: "ApplicationSourceJsonnet holds options specific to applications of type Jsonnet",
1789
				Type:        []string{"object"},
1790
				Properties: map[string]spec.Schema{
1791
					"extVars": {
1792
						SchemaProps: spec.SchemaProps{
1793
							Description: "ExtVars is a list of Jsonnet External Variables",
1794
							Type:        []string{"array"},
1795
							Items: &spec.SchemaOrArray{
1796
								Schema: &spec.Schema{
1797
									SchemaProps: spec.SchemaProps{
1798
										Default: map[string]interface{}{},
1799
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"),
1800
									},
1801
								},
1802
							},
1803
						},
1804
					},
1805
					"tlas": {
1806
						SchemaProps: spec.SchemaProps{
1807
							Description: "TLAS is a list of Jsonnet Top-level Arguments",
1808
							Type:        []string{"array"},
1809
							Items: &spec.SchemaOrArray{
1810
								Schema: &spec.Schema{
1811
									SchemaProps: spec.SchemaProps{
1812
										Default: map[string]interface{}{},
1813
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"),
1814
									},
1815
								},
1816
							},
1817
						},
1818
					},
1819
					"libs": {
1820
						SchemaProps: spec.SchemaProps{
1821
							Description: "Additional library search dirs",
1822
							Type:        []string{"array"},
1823
							Items: &spec.SchemaOrArray{
1824
								Schema: &spec.Schema{
1825
									SchemaProps: spec.SchemaProps{
1826
										Default: "",
1827
										Type:    []string{"string"},
1828
										Format:  "",
1829
									},
1830
								},
1831
							},
1832
						},
1833
					},
1834
				},
1835
			},
1836
		},
1837
		Dependencies: []string{
1838
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"},
1839
	}
1840
}
1841

1842
func schema_pkg_apis_application_v1alpha1_ApplicationSourceKustomize(ref common.ReferenceCallback) common.OpenAPIDefinition {
1843
	return common.OpenAPIDefinition{
1844
		Schema: spec.Schema{
1845
			SchemaProps: spec.SchemaProps{
1846
				Description: "ApplicationSourceKustomize holds options specific to an Application source specific to Kustomize",
1847
				Type:        []string{"object"},
1848
				Properties: map[string]spec.Schema{
1849
					"namePrefix": {
1850
						SchemaProps: spec.SchemaProps{
1851
							Description: "NamePrefix is a prefix appended to resources for Kustomize apps",
1852
							Type:        []string{"string"},
1853
							Format:      "",
1854
						},
1855
					},
1856
					"nameSuffix": {
1857
						SchemaProps: spec.SchemaProps{
1858
							Description: "NameSuffix is a suffix appended to resources for Kustomize apps",
1859
							Type:        []string{"string"},
1860
							Format:      "",
1861
						},
1862
					},
1863
					"images": {
1864
						SchemaProps: spec.SchemaProps{
1865
							Description: "Images is a list of Kustomize image override specifications",
1866
							Type:        []string{"array"},
1867
							Items: &spec.SchemaOrArray{
1868
								Schema: &spec.Schema{
1869
									SchemaProps: spec.SchemaProps{
1870
										Default: "",
1871
										Type:    []string{"string"},
1872
										Format:  "",
1873
									},
1874
								},
1875
							},
1876
						},
1877
					},
1878
					"commonLabels": {
1879
						SchemaProps: spec.SchemaProps{
1880
							Description: "CommonLabels is a list of additional labels to add to rendered manifests",
1881
							Type:        []string{"object"},
1882
							AdditionalProperties: &spec.SchemaOrBool{
1883
								Allows: true,
1884
								Schema: &spec.Schema{
1885
									SchemaProps: spec.SchemaProps{
1886
										Default: "",
1887
										Type:    []string{"string"},
1888
										Format:  "",
1889
									},
1890
								},
1891
							},
1892
						},
1893
					},
1894
					"version": {
1895
						SchemaProps: spec.SchemaProps{
1896
							Description: "Version controls which version of Kustomize to use for rendering manifests",
1897
							Type:        []string{"string"},
1898
							Format:      "",
1899
						},
1900
					},
1901
					"commonAnnotations": {
1902
						SchemaProps: spec.SchemaProps{
1903
							Description: "CommonAnnotations is a list of additional annotations to add to rendered manifests",
1904
							Type:        []string{"object"},
1905
							AdditionalProperties: &spec.SchemaOrBool{
1906
								Allows: true,
1907
								Schema: &spec.Schema{
1908
									SchemaProps: spec.SchemaProps{
1909
										Default: "",
1910
										Type:    []string{"string"},
1911
										Format:  "",
1912
									},
1913
								},
1914
							},
1915
						},
1916
					},
1917
					"forceCommonLabels": {
1918
						SchemaProps: spec.SchemaProps{
1919
							Description: "ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps",
1920
							Type:        []string{"boolean"},
1921
							Format:      "",
1922
						},
1923
					},
1924
					"forceCommonAnnotations": {
1925
						SchemaProps: spec.SchemaProps{
1926
							Description: "ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps",
1927
							Type:        []string{"boolean"},
1928
							Format:      "",
1929
						},
1930
					},
1931
					"namespace": {
1932
						SchemaProps: spec.SchemaProps{
1933
							Description: "Namespace sets the namespace that Kustomize adds to all resources",
1934
							Type:        []string{"string"},
1935
							Format:      "",
1936
						},
1937
					},
1938
					"commonAnnotationsEnvsubst": {
1939
						SchemaProps: spec.SchemaProps{
1940
							Description: "CommonAnnotationsEnvsubst specifies whether to apply env variables substitution for annotation values",
1941
							Type:        []string{"boolean"},
1942
							Format:      "",
1943
						},
1944
					},
1945
					"replicas": {
1946
						SchemaProps: spec.SchemaProps{
1947
							Description: "Replicas is a list of Kustomize Replicas override specifications",
1948
							Type:        []string{"array"},
1949
							Items: &spec.SchemaOrArray{
1950
								Schema: &spec.Schema{
1951
									SchemaProps: spec.SchemaProps{
1952
										Default: map[string]interface{}{},
1953
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeReplica"),
1954
									},
1955
								},
1956
							},
1957
						},
1958
					},
1959
					"patches": {
1960
						SchemaProps: spec.SchemaProps{
1961
							Description: "Patches is a list of Kustomize patches",
1962
							Type:        []string{"array"},
1963
							Items: &spec.SchemaOrArray{
1964
								Schema: &spec.Schema{
1965
									SchemaProps: spec.SchemaProps{
1966
										Default: map[string]interface{}{},
1967
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizePatch"),
1968
									},
1969
								},
1970
							},
1971
						},
1972
					},
1973
					"components": {
1974
						SchemaProps: spec.SchemaProps{
1975
							Description: "Components specifies a list of kustomize components to add to the kustomization before building",
1976
							Type:        []string{"array"},
1977
							Items: &spec.SchemaOrArray{
1978
								Schema: &spec.Schema{
1979
									SchemaProps: spec.SchemaProps{
1980
										Default: "",
1981
										Type:    []string{"string"},
1982
										Format:  "",
1983
									},
1984
								},
1985
							},
1986
						},
1987
					},
1988
				},
1989
			},
1990
		},
1991
		Dependencies: []string{
1992
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizePatch", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeReplica"},
1993
	}
1994
}
1995

1996
func schema_pkg_apis_application_v1alpha1_ApplicationSourcePlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
1997
	return common.OpenAPIDefinition{
1998
		Schema: spec.Schema{
1999
			SchemaProps: spec.SchemaProps{
2000
				Description: "ApplicationSourcePlugin holds options specific to config management plugins",
2001
				Type:        []string{"object"},
2002
				Properties: map[string]spec.Schema{
2003
					"name": {
2004
						SchemaProps: spec.SchemaProps{
2005
							Type:   []string{"string"},
2006
							Format: "",
2007
						},
2008
					},
2009
					"env": {
2010
						SchemaProps: spec.SchemaProps{
2011
							Type: []string{"array"},
2012
							Items: &spec.SchemaOrArray{
2013
								Schema: &spec.Schema{
2014
									SchemaProps: spec.SchemaProps{
2015
										Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.EnvEntry"),
2016
									},
2017
								},
2018
							},
2019
						},
2020
					},
2021
					"parameters": {
2022
						SchemaProps: spec.SchemaProps{
2023
							Type: []string{"array"},
2024
							Items: &spec.SchemaOrArray{
2025
								Schema: &spec.Schema{
2026
									SchemaProps: spec.SchemaProps{
2027
										Default: map[string]interface{}{},
2028
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePluginParameter"),
2029
									},
2030
								},
2031
							},
2032
						},
2033
					},
2034
				},
2035
			},
2036
		},
2037
		Dependencies: []string{
2038
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePluginParameter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.EnvEntry"},
2039
	}
2040
}
2041

2042
func schema_pkg_apis_application_v1alpha1_ApplicationSourcePluginParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
2043
	return common.OpenAPIDefinition{
2044
		Schema: spec.Schema{
2045
			SchemaProps: spec.SchemaProps{
2046
				Type: []string{"object"},
2047
				Properties: map[string]spec.Schema{
2048
					"name": {
2049
						SchemaProps: spec.SchemaProps{
2050
							Description: "Name is the name identifying a parameter.",
2051
							Type:        []string{"string"},
2052
							Format:      "",
2053
						},
2054
					},
2055
					"string": {
2056
						SchemaProps: spec.SchemaProps{
2057
							Description: "String_ is the value of a string type parameter.",
2058
							Type:        []string{"string"},
2059
							Format:      "",
2060
						},
2061
					},
2062
				},
2063
			},
2064
		},
2065
	}
2066
}
2067

2068
func schema_pkg_apis_application_v1alpha1_ApplicationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
2069
	return common.OpenAPIDefinition{
2070
		Schema: spec.Schema{
2071
			SchemaProps: spec.SchemaProps{
2072
				Description: "ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.",
2073
				Type:        []string{"object"},
2074
				Properties: map[string]spec.Schema{
2075
					"source": {
2076
						SchemaProps: spec.SchemaProps{
2077
							Description: "Source is a reference to the location of the application's manifests or chart",
2078
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2079
						},
2080
					},
2081
					"destination": {
2082
						SchemaProps: spec.SchemaProps{
2083
							Description: "Destination is a reference to the target Kubernetes server and namespace",
2084
							Default:     map[string]interface{}{},
2085
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
2086
						},
2087
					},
2088
					"project": {
2089
						SchemaProps: spec.SchemaProps{
2090
							Description: "Project is a reference to the project this application belongs to. The empty string means that application belongs to the 'default' project.",
2091
							Default:     "",
2092
							Type:        []string{"string"},
2093
							Format:      "",
2094
						},
2095
					},
2096
					"syncPolicy": {
2097
						SchemaProps: spec.SchemaProps{
2098
							Description: "SyncPolicy controls when and how a sync will be performed",
2099
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicy"),
2100
						},
2101
					},
2102
					"ignoreDifferences": {
2103
						SchemaProps: spec.SchemaProps{
2104
							Description: "IgnoreDifferences is a list of resources and their fields which should be ignored during comparison",
2105
							Type:        []string{"array"},
2106
							Items: &spec.SchemaOrArray{
2107
								Schema: &spec.Schema{
2108
									SchemaProps: spec.SchemaProps{
2109
										Default: map[string]interface{}{},
2110
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences"),
2111
									},
2112
								},
2113
							},
2114
						},
2115
					},
2116
					"info": {
2117
						SchemaProps: spec.SchemaProps{
2118
							Description: "Info contains a list of information (URLs, email addresses, and plain text) that relates to the application",
2119
							Type:        []string{"array"},
2120
							Items: &spec.SchemaOrArray{
2121
								Schema: &spec.Schema{
2122
									SchemaProps: spec.SchemaProps{
2123
										Default: map[string]interface{}{},
2124
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info"),
2125
									},
2126
								},
2127
							},
2128
						},
2129
					},
2130
					"revisionHistoryLimit": {
2131
						SchemaProps: spec.SchemaProps{
2132
							Description: "RevisionHistoryLimit limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.",
2133
							Type:        []string{"integer"},
2134
							Format:      "int64",
2135
						},
2136
					},
2137
					"sources": {
2138
						SchemaProps: spec.SchemaProps{
2139
							Description: "Sources is a reference to the location of the application's manifests or chart",
2140
							Type:        []string{"array"},
2141
							Items: &spec.SchemaOrArray{
2142
								Schema: &spec.Schema{
2143
									SchemaProps: spec.SchemaProps{
2144
										Default: map[string]interface{}{},
2145
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2146
									},
2147
								},
2148
							},
2149
						},
2150
					},
2151
				},
2152
				Required: []string{"destination", "project"},
2153
			},
2154
		},
2155
		Dependencies: []string{
2156
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicy"},
2157
	}
2158
}
2159

2160
func schema_pkg_apis_application_v1alpha1_ApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
2161
	return common.OpenAPIDefinition{
2162
		Schema: spec.Schema{
2163
			SchemaProps: spec.SchemaProps{
2164
				Description: "ApplicationStatus contains status information for the application",
2165
				Type:        []string{"object"},
2166
				Properties: map[string]spec.Schema{
2167
					"resources": {
2168
						SchemaProps: spec.SchemaProps{
2169
							Description: "Resources is a list of Kubernetes resources managed by this application",
2170
							Type:        []string{"array"},
2171
							Items: &spec.SchemaOrArray{
2172
								Schema: &spec.Schema{
2173
									SchemaProps: spec.SchemaProps{
2174
										Default: map[string]interface{}{},
2175
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceStatus"),
2176
									},
2177
								},
2178
							},
2179
						},
2180
					},
2181
					"sync": {
2182
						SchemaProps: spec.SchemaProps{
2183
							Description: "Sync contains information about the application's current sync status",
2184
							Default:     map[string]interface{}{},
2185
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStatus"),
2186
						},
2187
					},
2188
					"health": {
2189
						SchemaProps: spec.SchemaProps{
2190
							Description: "Health contains information about the application's current health status",
2191
							Default:     map[string]interface{}{},
2192
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
2193
						},
2194
					},
2195
					"history": {
2196
						SchemaProps: spec.SchemaProps{
2197
							Description: "History contains information about the application's sync history",
2198
							Type:        []string{"array"},
2199
							Items: &spec.SchemaOrArray{
2200
								Schema: &spec.Schema{
2201
									SchemaProps: spec.SchemaProps{
2202
										Default: map[string]interface{}{},
2203
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionHistory"),
2204
									},
2205
								},
2206
							},
2207
						},
2208
					},
2209
					"conditions": {
2210
						SchemaProps: spec.SchemaProps{
2211
							Description: "Conditions is a list of currently observed application conditions",
2212
							Type:        []string{"array"},
2213
							Items: &spec.SchemaOrArray{
2214
								Schema: &spec.Schema{
2215
									SchemaProps: spec.SchemaProps{
2216
										Default: map[string]interface{}{},
2217
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationCondition"),
2218
									},
2219
								},
2220
							},
2221
						},
2222
					},
2223
					"reconciledAt": {
2224
						SchemaProps: spec.SchemaProps{
2225
							Description: "ReconciledAt indicates when the application state was reconciled using the latest git version",
2226
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2227
						},
2228
					},
2229
					"operationState": {
2230
						SchemaProps: spec.SchemaProps{
2231
							Description: "OperationState contains information about any ongoing operations, such as a sync",
2232
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationState"),
2233
						},
2234
					},
2235
					"observedAt": {
2236
						SchemaProps: spec.SchemaProps{
2237
							Description: "ObservedAt indicates when the application state was updated without querying latest git state Deprecated: controller no longer updates ObservedAt field",
2238
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2239
						},
2240
					},
2241
					"sourceType": {
2242
						SchemaProps: spec.SchemaProps{
2243
							Description: "SourceType specifies the type of this application",
2244
							Type:        []string{"string"},
2245
							Format:      "",
2246
						},
2247
					},
2248
					"summary": {
2249
						SchemaProps: spec.SchemaProps{
2250
							Description: "Summary contains a list of URLs and container images used by this application",
2251
							Default:     map[string]interface{}{},
2252
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSummary"),
2253
						},
2254
					},
2255
					"resourceHealthSource": {
2256
						SchemaProps: spec.SchemaProps{
2257
							Description: "ResourceHealthSource indicates where the resource health status is stored: inline if not set or appTree",
2258
							Type:        []string{"string"},
2259
							Format:      "",
2260
						},
2261
					},
2262
					"sourceTypes": {
2263
						SchemaProps: spec.SchemaProps{
2264
							Description: "SourceTypes specifies the type of the sources included in the application",
2265
							Type:        []string{"array"},
2266
							Items: &spec.SchemaOrArray{
2267
								Schema: &spec.Schema{
2268
									SchemaProps: spec.SchemaProps{
2269
										Default: "",
2270
										Type:    []string{"string"},
2271
										Format:  "",
2272
									},
2273
								},
2274
							},
2275
						},
2276
					},
2277
					"controllerNamespace": {
2278
						SchemaProps: spec.SchemaProps{
2279
							Description: "ControllerNamespace indicates the namespace in which the application controller is located",
2280
							Type:        []string{"string"},
2281
							Format:      "",
2282
						},
2283
					},
2284
				},
2285
			},
2286
		},
2287
		Dependencies: []string{
2288
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationCondition", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSummary", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationState", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionHistory", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
2289
	}
2290
}
2291

2292
func schema_pkg_apis_application_v1alpha1_ApplicationSummary(ref common.ReferenceCallback) common.OpenAPIDefinition {
2293
	return common.OpenAPIDefinition{
2294
		Schema: spec.Schema{
2295
			SchemaProps: spec.SchemaProps{
2296
				Description: "ApplicationSummary contains information about URLs and container images used by an application",
2297
				Type:        []string{"object"},
2298
				Properties: map[string]spec.Schema{
2299
					"externalURLs": {
2300
						SchemaProps: spec.SchemaProps{
2301
							Description: "ExternalURLs holds all external URLs of application child resources.",
2302
							Type:        []string{"array"},
2303
							Items: &spec.SchemaOrArray{
2304
								Schema: &spec.Schema{
2305
									SchemaProps: spec.SchemaProps{
2306
										Default: "",
2307
										Type:    []string{"string"},
2308
										Format:  "",
2309
									},
2310
								},
2311
							},
2312
						},
2313
					},
2314
					"images": {
2315
						SchemaProps: spec.SchemaProps{
2316
							Description: "Images holds all images of application child resources.",
2317
							Type:        []string{"array"},
2318
							Items: &spec.SchemaOrArray{
2319
								Schema: &spec.Schema{
2320
									SchemaProps: spec.SchemaProps{
2321
										Default: "",
2322
										Type:    []string{"string"},
2323
										Format:  "",
2324
									},
2325
								},
2326
							},
2327
						},
2328
					},
2329
				},
2330
			},
2331
		},
2332
	}
2333
}
2334

2335
func schema_pkg_apis_application_v1alpha1_ApplicationTree(ref common.ReferenceCallback) common.OpenAPIDefinition {
2336
	return common.OpenAPIDefinition{
2337
		Schema: spec.Schema{
2338
			SchemaProps: spec.SchemaProps{
2339
				Description: "ApplicationTree holds nodes which belongs to the application",
2340
				Type:        []string{"object"},
2341
				Properties: map[string]spec.Schema{
2342
					"nodes": {
2343
						SchemaProps: spec.SchemaProps{
2344
							Description: "Nodes contains list of nodes which either directly managed by the application and children of directly managed nodes.",
2345
							Type:        []string{"array"},
2346
							Items: &spec.SchemaOrArray{
2347
								Schema: &spec.Schema{
2348
									SchemaProps: spec.SchemaProps{
2349
										Default: map[string]interface{}{},
2350
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"),
2351
									},
2352
								},
2353
							},
2354
						},
2355
					},
2356
					"orphanedNodes": {
2357
						SchemaProps: spec.SchemaProps{
2358
							Description: "OrphanedNodes contains if or orphaned nodes: nodes which are not managed by the app but in the same namespace. List is populated only if orphaned resources enabled in app project.",
2359
							Type:        []string{"array"},
2360
							Items: &spec.SchemaOrArray{
2361
								Schema: &spec.Schema{
2362
									SchemaProps: spec.SchemaProps{
2363
										Default: map[string]interface{}{},
2364
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"),
2365
									},
2366
								},
2367
							},
2368
						},
2369
					},
2370
					"hosts": {
2371
						SchemaProps: spec.SchemaProps{
2372
							Description: "Hosts holds list of Kubernetes nodes that run application related pods",
2373
							Type:        []string{"array"},
2374
							Items: &spec.SchemaOrArray{
2375
								Schema: &spec.Schema{
2376
									SchemaProps: spec.SchemaProps{
2377
										Default: map[string]interface{}{},
2378
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostInfo"),
2379
									},
2380
								},
2381
							},
2382
						},
2383
					},
2384
				},
2385
			},
2386
		},
2387
		Dependencies: []string{
2388
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"},
2389
	}
2390
}
2391

2392
func schema_pkg_apis_application_v1alpha1_ApplicationWatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
2393
	return common.OpenAPIDefinition{
2394
		Schema: spec.Schema{
2395
			SchemaProps: spec.SchemaProps{
2396
				Description: "ApplicationWatchEvent contains information about application change.",
2397
				Type:        []string{"object"},
2398
				Properties: map[string]spec.Schema{
2399
					"type": {
2400
						SchemaProps: spec.SchemaProps{
2401
							Default: "",
2402
							Type:    []string{"string"},
2403
							Format:  "",
2404
						},
2405
					},
2406
					"application": {
2407
						SchemaProps: spec.SchemaProps{
2408
							Description: "Application is:\n * If Type is Added or Modified: the new state of the object.\n * If Type is Deleted: the state of the object immediately before deletion.\n * If Type is Error: *api.Status is recommended; other types may make sense\n   depending on context.",
2409
							Default:     map[string]interface{}{},
2410
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"),
2411
						},
2412
					},
2413
				},
2414
				Required: []string{"type", "application"},
2415
			},
2416
		},
2417
		Dependencies: []string{
2418
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"},
2419
	}
2420
}
2421

2422
func schema_pkg_apis_application_v1alpha1_Backoff(ref common.ReferenceCallback) common.OpenAPIDefinition {
2423
	return common.OpenAPIDefinition{
2424
		Schema: spec.Schema{
2425
			SchemaProps: spec.SchemaProps{
2426
				Description: "Backoff is the backoff strategy to use on subsequent retries for failing syncs",
2427
				Type:        []string{"object"},
2428
				Properties: map[string]spec.Schema{
2429
					"duration": {
2430
						SchemaProps: spec.SchemaProps{
2431
							Description: "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")",
2432
							Type:        []string{"string"},
2433
							Format:      "",
2434
						},
2435
					},
2436
					"factor": {
2437
						SchemaProps: spec.SchemaProps{
2438
							Description: "Factor is a factor to multiply the base duration after each failed retry",
2439
							Type:        []string{"integer"},
2440
							Format:      "int64",
2441
						},
2442
					},
2443
					"maxDuration": {
2444
						SchemaProps: spec.SchemaProps{
2445
							Description: "MaxDuration is the maximum amount of time allowed for the backoff strategy",
2446
							Type:        []string{"string"},
2447
							Format:      "",
2448
						},
2449
					},
2450
				},
2451
			},
2452
		},
2453
	}
2454
}
2455

2456
func schema_pkg_apis_application_v1alpha1_BasicAuthBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
2457
	return common.OpenAPIDefinition{
2458
		Schema: spec.Schema{
2459
			SchemaProps: spec.SchemaProps{
2460
				Description: "BasicAuthBitbucketServer defines the username/(password or personal access token) for Basic auth.",
2461
				Type:        []string{"object"},
2462
				Properties: map[string]spec.Schema{
2463
					"username": {
2464
						SchemaProps: spec.SchemaProps{
2465
							Description: "Username for Basic auth",
2466
							Default:     "",
2467
							Type:        []string{"string"},
2468
							Format:      "",
2469
						},
2470
					},
2471
					"passwordRef": {
2472
						SchemaProps: spec.SchemaProps{
2473
							Description: "Password (or personal access token) reference.",
2474
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
2475
						},
2476
					},
2477
				},
2478
				Required: []string{"username", "passwordRef"},
2479
			},
2480
		},
2481
		Dependencies: []string{
2482
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
2483
	}
2484
}
2485

2486
func schema_pkg_apis_application_v1alpha1_BearerTokenBitbucketCloud(ref common.ReferenceCallback) common.OpenAPIDefinition {
2487
	return common.OpenAPIDefinition{
2488
		Schema: spec.Schema{
2489
			SchemaProps: spec.SchemaProps{
2490
				Description: "BearerTokenBitbucketCloud defines the Bearer token for BitBucket AppToken auth.",
2491
				Type:        []string{"object"},
2492
				Properties: map[string]spec.Schema{
2493
					"tokenRef": {
2494
						SchemaProps: spec.SchemaProps{
2495
							Description: "Password (or personal access token) reference.",
2496
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
2497
						},
2498
					},
2499
				},
2500
				Required: []string{"tokenRef"},
2501
			},
2502
		},
2503
		Dependencies: []string{
2504
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
2505
	}
2506
}
2507

2508
func schema_pkg_apis_application_v1alpha1_ChartDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
2509
	return common.OpenAPIDefinition{
2510
		Schema: spec.Schema{
2511
			SchemaProps: spec.SchemaProps{
2512
				Description: "ChartDetails contains helm chart metadata for a specific version",
2513
				Type:        []string{"object"},
2514
				Properties: map[string]spec.Schema{
2515
					"description": {
2516
						SchemaProps: spec.SchemaProps{
2517
							Type:   []string{"string"},
2518
							Format: "",
2519
						},
2520
					},
2521
					"home": {
2522
						SchemaProps: spec.SchemaProps{
2523
							Description: "The URL of this projects home page, e.g. \"http://example.com\"",
2524
							Type:        []string{"string"},
2525
							Format:      "",
2526
						},
2527
					},
2528
					"maintainers": {
2529
						SchemaProps: spec.SchemaProps{
2530
							Description: "List of maintainer details, name and email, e.g. [\"John Doe <john_doe@my-company.com>\"]",
2531
							Type:        []string{"array"},
2532
							Items: &spec.SchemaOrArray{
2533
								Schema: &spec.Schema{
2534
									SchemaProps: spec.SchemaProps{
2535
										Default: "",
2536
										Type:    []string{"string"},
2537
										Format:  "",
2538
									},
2539
								},
2540
							},
2541
						},
2542
					},
2543
				},
2544
			},
2545
		},
2546
	}
2547
}
2548

2549
func schema_pkg_apis_application_v1alpha1_Cluster(ref common.ReferenceCallback) common.OpenAPIDefinition {
2550
	return common.OpenAPIDefinition{
2551
		Schema: spec.Schema{
2552
			SchemaProps: spec.SchemaProps{
2553
				Description: "Cluster is the definition of a cluster resource",
2554
				Type:        []string{"object"},
2555
				Properties: map[string]spec.Schema{
2556
					"server": {
2557
						SchemaProps: spec.SchemaProps{
2558
							Description: "Server is the API server URL of the Kubernetes cluster",
2559
							Default:     "",
2560
							Type:        []string{"string"},
2561
							Format:      "",
2562
						},
2563
					},
2564
					"name": {
2565
						SchemaProps: spec.SchemaProps{
2566
							Description: "Name of the cluster. If omitted, will use the server address",
2567
							Default:     "",
2568
							Type:        []string{"string"},
2569
							Format:      "",
2570
						},
2571
					},
2572
					"config": {
2573
						SchemaProps: spec.SchemaProps{
2574
							Description: "Config holds cluster information for connecting to a cluster",
2575
							Default:     map[string]interface{}{},
2576
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterConfig"),
2577
						},
2578
					},
2579
					"connectionState": {
2580
						SchemaProps: spec.SchemaProps{
2581
							Description: "DEPRECATED: use Info.ConnectionState field instead. ConnectionState contains information about cluster connection state",
2582
							Default:     map[string]interface{}{},
2583
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
2584
						},
2585
					},
2586
					"serverVersion": {
2587
						SchemaProps: spec.SchemaProps{
2588
							Description: "DEPRECATED: use Info.ServerVersion field instead. The server version",
2589
							Type:        []string{"string"},
2590
							Format:      "",
2591
						},
2592
					},
2593
					"namespaces": {
2594
						SchemaProps: spec.SchemaProps{
2595
							Description: "Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.",
2596
							Type:        []string{"array"},
2597
							Items: &spec.SchemaOrArray{
2598
								Schema: &spec.Schema{
2599
									SchemaProps: spec.SchemaProps{
2600
										Default: "",
2601
										Type:    []string{"string"},
2602
										Format:  "",
2603
									},
2604
								},
2605
							},
2606
						},
2607
					},
2608
					"refreshRequestedAt": {
2609
						SchemaProps: spec.SchemaProps{
2610
							Description: "RefreshRequestedAt holds time when cluster cache refresh has been requested",
2611
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2612
						},
2613
					},
2614
					"info": {
2615
						SchemaProps: spec.SchemaProps{
2616
							Description: "Info holds information about cluster cache and state",
2617
							Default:     map[string]interface{}{},
2618
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterInfo"),
2619
						},
2620
					},
2621
					"shard": {
2622
						SchemaProps: spec.SchemaProps{
2623
							Description: "Shard contains optional shard number. Calculated on the fly by the application controller if not specified.",
2624
							Type:        []string{"integer"},
2625
							Format:      "int64",
2626
						},
2627
					},
2628
					"clusterResources": {
2629
						SchemaProps: spec.SchemaProps{
2630
							Description: "Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.",
2631
							Type:        []string{"boolean"},
2632
							Format:      "",
2633
						},
2634
					},
2635
					"project": {
2636
						SchemaProps: spec.SchemaProps{
2637
							Description: "Reference between project and cluster that allow you automatically to be added as item inside Destinations project entity",
2638
							Type:        []string{"string"},
2639
							Format:      "",
2640
						},
2641
					},
2642
					"labels": {
2643
						SchemaProps: spec.SchemaProps{
2644
							Description: "Labels for cluster secret metadata",
2645
							Type:        []string{"object"},
2646
							AdditionalProperties: &spec.SchemaOrBool{
2647
								Allows: true,
2648
								Schema: &spec.Schema{
2649
									SchemaProps: spec.SchemaProps{
2650
										Default: "",
2651
										Type:    []string{"string"},
2652
										Format:  "",
2653
									},
2654
								},
2655
							},
2656
						},
2657
					},
2658
					"annotations": {
2659
						SchemaProps: spec.SchemaProps{
2660
							Description: "Annotations for cluster secret metadata",
2661
							Type:        []string{"object"},
2662
							AdditionalProperties: &spec.SchemaOrBool{
2663
								Allows: true,
2664
								Schema: &spec.Schema{
2665
									SchemaProps: spec.SchemaProps{
2666
										Default: "",
2667
										Type:    []string{"string"},
2668
										Format:  "",
2669
									},
2670
								},
2671
							},
2672
						},
2673
					},
2674
				},
2675
				Required: []string{"server", "name", "config"},
2676
			},
2677
		},
2678
		Dependencies: []string{
2679
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterConfig", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
2680
	}
2681
}
2682

2683
func schema_pkg_apis_application_v1alpha1_ClusterCacheInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
2684
	return common.OpenAPIDefinition{
2685
		Schema: spec.Schema{
2686
			SchemaProps: spec.SchemaProps{
2687
				Description: "ClusterCacheInfo contains information about the cluster cache",
2688
				Type:        []string{"object"},
2689
				Properties: map[string]spec.Schema{
2690
					"resourcesCount": {
2691
						SchemaProps: spec.SchemaProps{
2692
							Description: "ResourcesCount holds number of observed Kubernetes resources",
2693
							Type:        []string{"integer"},
2694
							Format:      "int64",
2695
						},
2696
					},
2697
					"apisCount": {
2698
						SchemaProps: spec.SchemaProps{
2699
							Description: "APIsCount holds number of observed Kubernetes API count",
2700
							Type:        []string{"integer"},
2701
							Format:      "int64",
2702
						},
2703
					},
2704
					"lastCacheSyncTime": {
2705
						SchemaProps: spec.SchemaProps{
2706
							Description: "LastCacheSyncTime holds time of most recent cache synchronization",
2707
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2708
						},
2709
					},
2710
				},
2711
			},
2712
		},
2713
		Dependencies: []string{
2714
			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
2715
	}
2716
}
2717

2718
func schema_pkg_apis_application_v1alpha1_ClusterConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
2719
	return common.OpenAPIDefinition{
2720
		Schema: spec.Schema{
2721
			SchemaProps: spec.SchemaProps{
2722
				Description: "ClusterConfig is the configuration attributes. This structure is subset of the go-client rest.Config with annotations added for marshalling.",
2723
				Type:        []string{"object"},
2724
				Properties: map[string]spec.Schema{
2725
					"username": {
2726
						SchemaProps: spec.SchemaProps{
2727
							Description: "Server requires Basic authentication",
2728
							Type:        []string{"string"},
2729
							Format:      "",
2730
						},
2731
					},
2732
					"password": {
2733
						SchemaProps: spec.SchemaProps{
2734
							Type:   []string{"string"},
2735
							Format: "",
2736
						},
2737
					},
2738
					"bearerToken": {
2739
						SchemaProps: spec.SchemaProps{
2740
							Description: "Server requires Bearer authentication. This client will not attempt to use refresh tokens for an OAuth2 flow.",
2741
							Type:        []string{"string"},
2742
							Format:      "",
2743
						},
2744
					},
2745
					"tlsClientConfig": {
2746
						SchemaProps: spec.SchemaProps{
2747
							Description: "TLSClientConfig contains settings to enable transport layer security",
2748
							Default:     map[string]interface{}{},
2749
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TLSClientConfig"),
2750
						},
2751
					},
2752
					"awsAuthConfig": {
2753
						SchemaProps: spec.SchemaProps{
2754
							Description: "AWSAuthConfig contains IAM authentication configuration",
2755
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AWSAuthConfig"),
2756
						},
2757
					},
2758
					"execProviderConfig": {
2759
						SchemaProps: spec.SchemaProps{
2760
							Description: "ExecProviderConfig contains configuration for an exec provider",
2761
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ExecProviderConfig"),
2762
						},
2763
					},
2764
				},
2765
				Required: []string{"tlsClientConfig"},
2766
			},
2767
		},
2768
		Dependencies: []string{
2769
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AWSAuthConfig", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ExecProviderConfig", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TLSClientConfig"},
2770
	}
2771
}
2772

2773
func schema_pkg_apis_application_v1alpha1_ClusterGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
2774
	return common.OpenAPIDefinition{
2775
		Schema: spec.Schema{
2776
			SchemaProps: spec.SchemaProps{
2777
				Description: "ClusterGenerator defines a generator to match against clusters registered with ArgoCD.",
2778
				Type:        []string{"object"},
2779
				Properties: map[string]spec.Schema{
2780
					"selector": {
2781
						SchemaProps: spec.SchemaProps{
2782
							Description: "Selector defines a label selector to match against all clusters registered with ArgoCD. Clusters today are stored as Kubernetes Secrets, thus the Secret labels will be used for matching the selector.",
2783
							Default:     map[string]interface{}{},
2784
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
2785
						},
2786
					},
2787
					"template": {
2788
						SchemaProps: spec.SchemaProps{
2789
							Default: map[string]interface{}{},
2790
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
2791
						},
2792
					},
2793
					"values": {
2794
						SchemaProps: spec.SchemaProps{
2795
							Description: "Values contains key/value pairs which are passed directly as parameters to the template",
2796
							Type:        []string{"object"},
2797
							AdditionalProperties: &spec.SchemaOrBool{
2798
								Allows: true,
2799
								Schema: &spec.Schema{
2800
									SchemaProps: spec.SchemaProps{
2801
										Default: "",
2802
										Type:    []string{"string"},
2803
										Format:  "",
2804
									},
2805
								},
2806
							},
2807
						},
2808
					},
2809
				},
2810
			},
2811
		},
2812
		Dependencies: []string{
2813
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
2814
	}
2815
}
2816

2817
func schema_pkg_apis_application_v1alpha1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
2818
	return common.OpenAPIDefinition{
2819
		Schema: spec.Schema{
2820
			SchemaProps: spec.SchemaProps{
2821
				Description: "ClusterInfo contains information about the cluster",
2822
				Type:        []string{"object"},
2823
				Properties: map[string]spec.Schema{
2824
					"connectionState": {
2825
						SchemaProps: spec.SchemaProps{
2826
							Description: "ConnectionState contains information about the connection to the cluster",
2827
							Default:     map[string]interface{}{},
2828
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
2829
						},
2830
					},
2831
					"serverVersion": {
2832
						SchemaProps: spec.SchemaProps{
2833
							Description: "ServerVersion contains information about the Kubernetes version of the cluster",
2834
							Type:        []string{"string"},
2835
							Format:      "",
2836
						},
2837
					},
2838
					"cacheInfo": {
2839
						SchemaProps: spec.SchemaProps{
2840
							Description: "CacheInfo contains information about the cluster cache",
2841
							Default:     map[string]interface{}{},
2842
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterCacheInfo"),
2843
						},
2844
					},
2845
					"applicationsCount": {
2846
						SchemaProps: spec.SchemaProps{
2847
							Description: "ApplicationsCount is the number of applications managed by Argo CD on the cluster",
2848
							Default:     0,
2849
							Type:        []string{"integer"},
2850
							Format:      "int64",
2851
						},
2852
					},
2853
					"apiVersions": {
2854
						SchemaProps: spec.SchemaProps{
2855
							Description: "APIVersions contains list of API versions supported by the cluster",
2856
							Type:        []string{"array"},
2857
							Items: &spec.SchemaOrArray{
2858
								Schema: &spec.Schema{
2859
									SchemaProps: spec.SchemaProps{
2860
										Default: "",
2861
										Type:    []string{"string"},
2862
										Format:  "",
2863
									},
2864
								},
2865
							},
2866
						},
2867
					},
2868
				},
2869
				Required: []string{"applicationsCount"},
2870
			},
2871
		},
2872
		Dependencies: []string{
2873
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterCacheInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"},
2874
	}
2875
}
2876

2877
func schema_pkg_apis_application_v1alpha1_ClusterList(ref common.ReferenceCallback) common.OpenAPIDefinition {
2878
	return common.OpenAPIDefinition{
2879
		Schema: spec.Schema{
2880
			SchemaProps: spec.SchemaProps{
2881
				Description: "ClusterList is a collection of Clusters.",
2882
				Type:        []string{"object"},
2883
				Properties: map[string]spec.Schema{
2884
					"metadata": {
2885
						SchemaProps: spec.SchemaProps{
2886
							Default: map[string]interface{}{},
2887
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
2888
						},
2889
					},
2890
					"items": {
2891
						SchemaProps: spec.SchemaProps{
2892
							Type: []string{"array"},
2893
							Items: &spec.SchemaOrArray{
2894
								Schema: &spec.Schema{
2895
									SchemaProps: spec.SchemaProps{
2896
										Default: map[string]interface{}{},
2897
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster"),
2898
									},
2899
								},
2900
							},
2901
						},
2902
					},
2903
				},
2904
				Required: []string{"items"},
2905
			},
2906
		},
2907
		Dependencies: []string{
2908
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
2909
	}
2910
}
2911

2912
func schema_pkg_apis_application_v1alpha1_Command(ref common.ReferenceCallback) common.OpenAPIDefinition {
2913
	return common.OpenAPIDefinition{
2914
		Schema: spec.Schema{
2915
			SchemaProps: spec.SchemaProps{
2916
				Description: "Command holds binary path and arguments list",
2917
				Type:        []string{"object"},
2918
				Properties: map[string]spec.Schema{
2919
					"command": {
2920
						SchemaProps: spec.SchemaProps{
2921
							Type: []string{"array"},
2922
							Items: &spec.SchemaOrArray{
2923
								Schema: &spec.Schema{
2924
									SchemaProps: spec.SchemaProps{
2925
										Default: "",
2926
										Type:    []string{"string"},
2927
										Format:  "",
2928
									},
2929
								},
2930
							},
2931
						},
2932
					},
2933
					"args": {
2934
						SchemaProps: spec.SchemaProps{
2935
							Type: []string{"array"},
2936
							Items: &spec.SchemaOrArray{
2937
								Schema: &spec.Schema{
2938
									SchemaProps: spec.SchemaProps{
2939
										Default: "",
2940
										Type:    []string{"string"},
2941
										Format:  "",
2942
									},
2943
								},
2944
							},
2945
						},
2946
					},
2947
				},
2948
			},
2949
		},
2950
	}
2951
}
2952

2953
func schema_pkg_apis_application_v1alpha1_ComparedTo(ref common.ReferenceCallback) common.OpenAPIDefinition {
2954
	return common.OpenAPIDefinition{
2955
		Schema: spec.Schema{
2956
			SchemaProps: spec.SchemaProps{
2957
				Description: "ComparedTo contains application source and target which was used for resources comparison",
2958
				Type:        []string{"object"},
2959
				Properties: map[string]spec.Schema{
2960
					"source": {
2961
						SchemaProps: spec.SchemaProps{
2962
							Description: "Source is a reference to the application's source used for comparison",
2963
							Default:     map[string]interface{}{},
2964
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2965
						},
2966
					},
2967
					"destination": {
2968
						SchemaProps: spec.SchemaProps{
2969
							Description: "Destination is a reference to the application's destination used for comparison",
2970
							Default:     map[string]interface{}{},
2971
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
2972
						},
2973
					},
2974
					"sources": {
2975
						SchemaProps: spec.SchemaProps{
2976
							Description: "Sources is a reference to the application's multiple sources used for comparison",
2977
							Type:        []string{"array"},
2978
							Items: &spec.SchemaOrArray{
2979
								Schema: &spec.Schema{
2980
									SchemaProps: spec.SchemaProps{
2981
										Default: map[string]interface{}{},
2982
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2983
									},
2984
								},
2985
							},
2986
						},
2987
					},
2988
					"ignoreDifferences": {
2989
						SchemaProps: spec.SchemaProps{
2990
							Description: "IgnoreDifferences is a reference to the application's ignored differences used for comparison",
2991
							Type:        []string{"array"},
2992
							Items: &spec.SchemaOrArray{
2993
								Schema: &spec.Schema{
2994
									SchemaProps: spec.SchemaProps{
2995
										Default: map[string]interface{}{},
2996
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences"),
2997
									},
2998
								},
2999
							},
3000
						},
3001
					},
3002
				},
3003
				Required: []string{"destination"},
3004
			},
3005
		},
3006
		Dependencies: []string{
3007
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences"},
3008
	}
3009
}
3010

3011
func schema_pkg_apis_application_v1alpha1_ComponentParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
3012
	return common.OpenAPIDefinition{
3013
		Schema: spec.Schema{
3014
			SchemaProps: spec.SchemaProps{
3015
				Description: "ComponentParameter contains information about component parameter value",
3016
				Type:        []string{"object"},
3017
				Properties: map[string]spec.Schema{
3018
					"component": {
3019
						SchemaProps: spec.SchemaProps{
3020
							Type:   []string{"string"},
3021
							Format: "",
3022
						},
3023
					},
3024
					"name": {
3025
						SchemaProps: spec.SchemaProps{
3026
							Default: "",
3027
							Type:    []string{"string"},
3028
							Format:  "",
3029
						},
3030
					},
3031
					"value": {
3032
						SchemaProps: spec.SchemaProps{
3033
							Default: "",
3034
							Type:    []string{"string"},
3035
							Format:  "",
3036
						},
3037
					},
3038
				},
3039
				Required: []string{"name", "value"},
3040
			},
3041
		},
3042
	}
3043
}
3044

3045
func schema_pkg_apis_application_v1alpha1_ConfigManagementPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
3046
	return common.OpenAPIDefinition{
3047
		Schema: spec.Schema{
3048
			SchemaProps: spec.SchemaProps{
3049
				Description: "ConfigManagementPlugin contains config management plugin configuration",
3050
				Type:        []string{"object"},
3051
				Properties: map[string]spec.Schema{
3052
					"name": {
3053
						SchemaProps: spec.SchemaProps{
3054
							Default: "",
3055
							Type:    []string{"string"},
3056
							Format:  "",
3057
						},
3058
					},
3059
					"init": {
3060
						SchemaProps: spec.SchemaProps{
3061
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"),
3062
						},
3063
					},
3064
					"generate": {
3065
						SchemaProps: spec.SchemaProps{
3066
							Default: map[string]interface{}{},
3067
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"),
3068
						},
3069
					},
3070
					"lockRepo": {
3071
						SchemaProps: spec.SchemaProps{
3072
							Type:   []string{"boolean"},
3073
							Format: "",
3074
						},
3075
					},
3076
				},
3077
				Required: []string{"name", "generate"},
3078
			},
3079
		},
3080
		Dependencies: []string{
3081
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"},
3082
	}
3083
}
3084

3085
func schema_pkg_apis_application_v1alpha1_ConnectionState(ref common.ReferenceCallback) common.OpenAPIDefinition {
3086
	return common.OpenAPIDefinition{
3087
		Schema: spec.Schema{
3088
			SchemaProps: spec.SchemaProps{
3089
				Description: "ConnectionState contains information about remote resource connection state, currently used for clusters and repositories",
3090
				Type:        []string{"object"},
3091
				Properties: map[string]spec.Schema{
3092
					"status": {
3093
						SchemaProps: spec.SchemaProps{
3094
							Description: "Status contains the current status indicator for the connection",
3095
							Default:     "",
3096
							Type:        []string{"string"},
3097
							Format:      "",
3098
						},
3099
					},
3100
					"message": {
3101
						SchemaProps: spec.SchemaProps{
3102
							Description: "Message contains human readable information about the connection status",
3103
							Default:     "",
3104
							Type:        []string{"string"},
3105
							Format:      "",
3106
						},
3107
					},
3108
					"attemptedAt": {
3109
						SchemaProps: spec.SchemaProps{
3110
							Description: "ModifiedAt contains the timestamp when this connection status has been determined",
3111
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
3112
						},
3113
					},
3114
				},
3115
				Required: []string{"status", "message", "attemptedAt"},
3116
			},
3117
		},
3118
		Dependencies: []string{
3119
			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
3120
	}
3121
}
3122

3123
func schema_pkg_apis_application_v1alpha1_DuckTypeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
3124
	return common.OpenAPIDefinition{
3125
		Schema: spec.Schema{
3126
			SchemaProps: spec.SchemaProps{
3127
				Description: "DuckType defines a generator to match against clusters registered with ArgoCD.",
3128
				Type:        []string{"object"},
3129
				Properties: map[string]spec.Schema{
3130
					"configMapRef": {
3131
						SchemaProps: spec.SchemaProps{
3132
							Description: "ConfigMapRef is a ConfigMap with the duck type definitions needed to retrieve the data\n             this includes apiVersion(group/version), kind, matchKey and validation settings\nName is the resource name of the kind, group and version, defined in the ConfigMapRef RequeueAfterSeconds is how long before the duckType will be rechecked for a change",
3133
							Default:     "",
3134
							Type:        []string{"string"},
3135
							Format:      "",
3136
						},
3137
					},
3138
					"name": {
3139
						SchemaProps: spec.SchemaProps{
3140
							Type:   []string{"string"},
3141
							Format: "",
3142
						},
3143
					},
3144
					"requeueAfterSeconds": {
3145
						SchemaProps: spec.SchemaProps{
3146
							Type:   []string{"integer"},
3147
							Format: "int64",
3148
						},
3149
					},
3150
					"labelSelector": {
3151
						SchemaProps: spec.SchemaProps{
3152
							Default: map[string]interface{}{},
3153
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
3154
						},
3155
					},
3156
					"template": {
3157
						SchemaProps: spec.SchemaProps{
3158
							Default: map[string]interface{}{},
3159
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
3160
						},
3161
					},
3162
					"values": {
3163
						SchemaProps: spec.SchemaProps{
3164
							Description: "Values contains key/value pairs which are passed directly as parameters to the template",
3165
							Type:        []string{"object"},
3166
							AdditionalProperties: &spec.SchemaOrBool{
3167
								Allows: true,
3168
								Schema: &spec.Schema{
3169
									SchemaProps: spec.SchemaProps{
3170
										Default: "",
3171
										Type:    []string{"string"},
3172
										Format:  "",
3173
									},
3174
								},
3175
							},
3176
						},
3177
					},
3178
				},
3179
				Required: []string{"configMapRef"},
3180
			},
3181
		},
3182
		Dependencies: []string{
3183
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
3184
	}
3185
}
3186

3187
func schema_pkg_apis_application_v1alpha1_EnvEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
3188
	return common.OpenAPIDefinition{
3189
		Schema: spec.Schema{
3190
			SchemaProps: spec.SchemaProps{
3191
				Description: "EnvEntry represents an entry in the application's environment",
3192
				Type:        []string{"object"},
3193
				Properties: map[string]spec.Schema{
3194
					"name": {
3195
						SchemaProps: spec.SchemaProps{
3196
							Description: "Name is the name of the variable, usually expressed in uppercase",
3197
							Default:     "",
3198
							Type:        []string{"string"},
3199
							Format:      "",
3200
						},
3201
					},
3202
					"value": {
3203
						SchemaProps: spec.SchemaProps{
3204
							Description: "Value is the value of the variable",
3205
							Default:     "",
3206
							Type:        []string{"string"},
3207
							Format:      "",
3208
						},
3209
					},
3210
				},
3211
				Required: []string{"name", "value"},
3212
			},
3213
		},
3214
	}
3215
}
3216

3217
func schema_pkg_apis_application_v1alpha1_ExecProviderConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
3218
	return common.OpenAPIDefinition{
3219
		Schema: spec.Schema{
3220
			SchemaProps: spec.SchemaProps{
3221
				Description: "ExecProviderConfig is config used to call an external command to perform cluster authentication See: https://godoc.org/k8s.io/client-go/tools/clientcmd/api#ExecConfig",
3222
				Type:        []string{"object"},
3223
				Properties: map[string]spec.Schema{
3224
					"command": {
3225
						SchemaProps: spec.SchemaProps{
3226
							Description: "Command to execute",
3227
							Type:        []string{"string"},
3228
							Format:      "",
3229
						},
3230
					},
3231
					"args": {
3232
						SchemaProps: spec.SchemaProps{
3233
							Description: "Arguments to pass to the command when executing it",
3234
							Type:        []string{"array"},
3235
							Items: &spec.SchemaOrArray{
3236
								Schema: &spec.Schema{
3237
									SchemaProps: spec.SchemaProps{
3238
										Default: "",
3239
										Type:    []string{"string"},
3240
										Format:  "",
3241
									},
3242
								},
3243
							},
3244
						},
3245
					},
3246
					"env": {
3247
						SchemaProps: spec.SchemaProps{
3248
							Description: "Env defines additional environment variables to expose to the process",
3249
							Type:        []string{"object"},
3250
							AdditionalProperties: &spec.SchemaOrBool{
3251
								Allows: true,
3252
								Schema: &spec.Schema{
3253
									SchemaProps: spec.SchemaProps{
3254
										Default: "",
3255
										Type:    []string{"string"},
3256
										Format:  "",
3257
									},
3258
								},
3259
							},
3260
						},
3261
					},
3262
					"apiVersion": {
3263
						SchemaProps: spec.SchemaProps{
3264
							Description: "Preferred input version of the ExecInfo",
3265
							Type:        []string{"string"},
3266
							Format:      "",
3267
						},
3268
					},
3269
					"installHint": {
3270
						SchemaProps: spec.SchemaProps{
3271
							Description: "This text is shown to the user when the executable doesn't seem to be present",
3272
							Type:        []string{"string"},
3273
							Format:      "",
3274
						},
3275
					},
3276
				},
3277
			},
3278
		},
3279
	}
3280
}
3281

3282
func schema_pkg_apis_application_v1alpha1_GitDirectoryGeneratorItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
3283
	return common.OpenAPIDefinition{
3284
		Schema: spec.Schema{
3285
			SchemaProps: spec.SchemaProps{
3286
				Type: []string{"object"},
3287
				Properties: map[string]spec.Schema{
3288
					"path": {
3289
						SchemaProps: spec.SchemaProps{
3290
							Default: "",
3291
							Type:    []string{"string"},
3292
							Format:  "",
3293
						},
3294
					},
3295
					"exclude": {
3296
						SchemaProps: spec.SchemaProps{
3297
							Type:   []string{"boolean"},
3298
							Format: "",
3299
						},
3300
					},
3301
				},
3302
				Required: []string{"path"},
3303
			},
3304
		},
3305
	}
3306
}
3307

3308
func schema_pkg_apis_application_v1alpha1_GitFileGeneratorItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
3309
	return common.OpenAPIDefinition{
3310
		Schema: spec.Schema{
3311
			SchemaProps: spec.SchemaProps{
3312
				Type: []string{"object"},
3313
				Properties: map[string]spec.Schema{
3314
					"path": {
3315
						SchemaProps: spec.SchemaProps{
3316
							Default: "",
3317
							Type:    []string{"string"},
3318
							Format:  "",
3319
						},
3320
					},
3321
				},
3322
				Required: []string{"path"},
3323
			},
3324
		},
3325
	}
3326
}
3327

3328
func schema_pkg_apis_application_v1alpha1_GitGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
3329
	return common.OpenAPIDefinition{
3330
		Schema: spec.Schema{
3331
			SchemaProps: spec.SchemaProps{
3332
				Type: []string{"object"},
3333
				Properties: map[string]spec.Schema{
3334
					"repoURL": {
3335
						SchemaProps: spec.SchemaProps{
3336
							Default: "",
3337
							Type:    []string{"string"},
3338
							Format:  "",
3339
						},
3340
					},
3341
					"directories": {
3342
						SchemaProps: spec.SchemaProps{
3343
							Type: []string{"array"},
3344
							Items: &spec.SchemaOrArray{
3345
								Schema: &spec.Schema{
3346
									SchemaProps: spec.SchemaProps{
3347
										Default: map[string]interface{}{},
3348
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitDirectoryGeneratorItem"),
3349
									},
3350
								},
3351
							},
3352
						},
3353
					},
3354
					"files": {
3355
						SchemaProps: spec.SchemaProps{
3356
							Type: []string{"array"},
3357
							Items: &spec.SchemaOrArray{
3358
								Schema: &spec.Schema{
3359
									SchemaProps: spec.SchemaProps{
3360
										Default: map[string]interface{}{},
3361
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitFileGeneratorItem"),
3362
									},
3363
								},
3364
							},
3365
						},
3366
					},
3367
					"revision": {
3368
						SchemaProps: spec.SchemaProps{
3369
							Default: "",
3370
							Type:    []string{"string"},
3371
							Format:  "",
3372
						},
3373
					},
3374
					"requeueAfterSeconds": {
3375
						SchemaProps: spec.SchemaProps{
3376
							Type:   []string{"integer"},
3377
							Format: "int64",
3378
						},
3379
					},
3380
					"template": {
3381
						SchemaProps: spec.SchemaProps{
3382
							Default: map[string]interface{}{},
3383
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
3384
						},
3385
					},
3386
					"pathParamPrefix": {
3387
						SchemaProps: spec.SchemaProps{
3388
							Type:   []string{"string"},
3389
							Format: "",
3390
						},
3391
					},
3392
					"values": {
3393
						SchemaProps: spec.SchemaProps{
3394
							Description: "Values contains key/value pairs which are passed directly as parameters to the template",
3395
							Type:        []string{"object"},
3396
							AdditionalProperties: &spec.SchemaOrBool{
3397
								Allows: true,
3398
								Schema: &spec.Schema{
3399
									SchemaProps: spec.SchemaProps{
3400
										Default: "",
3401
										Type:    []string{"string"},
3402
										Format:  "",
3403
									},
3404
								},
3405
							},
3406
						},
3407
					},
3408
				},
3409
				Required: []string{"repoURL", "revision"},
3410
			},
3411
		},
3412
		Dependencies: []string{
3413
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitDirectoryGeneratorItem", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitFileGeneratorItem"},
3414
	}
3415
}
3416

3417
func schema_pkg_apis_application_v1alpha1_GnuPGPublicKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
3418
	return common.OpenAPIDefinition{
3419
		Schema: spec.Schema{
3420
			SchemaProps: spec.SchemaProps{
3421
				Description: "GnuPGPublicKey is a representation of a GnuPG public key",
3422
				Type:        []string{"object"},
3423
				Properties: map[string]spec.Schema{
3424
					"keyID": {
3425
						SchemaProps: spec.SchemaProps{
3426
							Description: "KeyID specifies the key ID, in hexadecimal string format",
3427
							Default:     "",
3428
							Type:        []string{"string"},
3429
							Format:      "",
3430
						},
3431
					},
3432
					"fingerprint": {
3433
						SchemaProps: spec.SchemaProps{
3434
							Description: "Fingerprint is the fingerprint of the key",
3435
							Type:        []string{"string"},
3436
							Format:      "",
3437
						},
3438
					},
3439
					"owner": {
3440
						SchemaProps: spec.SchemaProps{
3441
							Description: "Owner holds the owner identification, e.g. a name and e-mail address",
3442
							Type:        []string{"string"},
3443
							Format:      "",
3444
						},
3445
					},
3446
					"trust": {
3447
						SchemaProps: spec.SchemaProps{
3448
							Description: "Trust holds the level of trust assigned to this key",
3449
							Type:        []string{"string"},
3450
							Format:      "",
3451
						},
3452
					},
3453
					"subType": {
3454
						SchemaProps: spec.SchemaProps{
3455
							Description: "SubType holds the key's sub type (e.g. rsa4096)",
3456
							Type:        []string{"string"},
3457
							Format:      "",
3458
						},
3459
					},
3460
					"keyData": {
3461
						SchemaProps: spec.SchemaProps{
3462
							Description: "KeyData holds the raw key data, in base64 encoded format",
3463
							Type:        []string{"string"},
3464
							Format:      "",
3465
						},
3466
					},
3467
				},
3468
				Required: []string{"keyID"},
3469
			},
3470
		},
3471
	}
3472
}
3473

3474
func schema_pkg_apis_application_v1alpha1_GnuPGPublicKeyList(ref common.ReferenceCallback) common.OpenAPIDefinition {
3475
	return common.OpenAPIDefinition{
3476
		Schema: spec.Schema{
3477
			SchemaProps: spec.SchemaProps{
3478
				Description: "GnuPGPublicKeyList is a collection of GnuPGPublicKey objects",
3479
				Type:        []string{"object"},
3480
				Properties: map[string]spec.Schema{
3481
					"metadata": {
3482
						SchemaProps: spec.SchemaProps{
3483
							Default: map[string]interface{}{},
3484
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
3485
						},
3486
					},
3487
					"items": {
3488
						SchemaProps: spec.SchemaProps{
3489
							Type: []string{"array"},
3490
							Items: &spec.SchemaOrArray{
3491
								Schema: &spec.Schema{
3492
									SchemaProps: spec.SchemaProps{
3493
										Default: map[string]interface{}{},
3494
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey"),
3495
									},
3496
								},
3497
							},
3498
						},
3499
					},
3500
				},
3501
				Required: []string{"items"},
3502
			},
3503
		},
3504
		Dependencies: []string{
3505
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
3506
	}
3507
}
3508

3509
func schema_pkg_apis_application_v1alpha1_HealthStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
3510
	return common.OpenAPIDefinition{
3511
		Schema: spec.Schema{
3512
			SchemaProps: spec.SchemaProps{
3513
				Description: "HealthStatus contains information about the currently observed health state of an application or resource",
3514
				Type:        []string{"object"},
3515
				Properties: map[string]spec.Schema{
3516
					"status": {
3517
						SchemaProps: spec.SchemaProps{
3518
							Description: "Status holds the status code of the application or resource",
3519
							Type:        []string{"string"},
3520
							Format:      "",
3521
						},
3522
					},
3523
					"message": {
3524
						SchemaProps: spec.SchemaProps{
3525
							Description: "Message is a human-readable informational message describing the health status",
3526
							Type:        []string{"string"},
3527
							Format:      "",
3528
						},
3529
					},
3530
				},
3531
			},
3532
		},
3533
	}
3534
}
3535

3536
func schema_pkg_apis_application_v1alpha1_HelmFileParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
3537
	return common.OpenAPIDefinition{
3538
		Schema: spec.Schema{
3539
			SchemaProps: spec.SchemaProps{
3540
				Description: "HelmFileParameter is a file parameter that's passed to helm template during manifest generation",
3541
				Type:        []string{"object"},
3542
				Properties: map[string]spec.Schema{
3543
					"name": {
3544
						SchemaProps: spec.SchemaProps{
3545
							Description: "Name is the name of the Helm parameter",
3546
							Type:        []string{"string"},
3547
							Format:      "",
3548
						},
3549
					},
3550
					"path": {
3551
						SchemaProps: spec.SchemaProps{
3552
							Description: "Path is the path to the file containing the values for the Helm parameter",
3553
							Type:        []string{"string"},
3554
							Format:      "",
3555
						},
3556
					},
3557
				},
3558
			},
3559
		},
3560
	}
3561
}
3562

3563
func schema_pkg_apis_application_v1alpha1_HelmOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
3564
	return common.OpenAPIDefinition{
3565
		Schema: spec.Schema{
3566
			SchemaProps: spec.SchemaProps{
3567
				Description: "HelmOptions holds helm options",
3568
				Type:        []string{"object"},
3569
				Properties: map[string]spec.Schema{
3570
					"ValuesFileSchemes": {
3571
						SchemaProps: spec.SchemaProps{
3572
							Type: []string{"array"},
3573
							Items: &spec.SchemaOrArray{
3574
								Schema: &spec.Schema{
3575
									SchemaProps: spec.SchemaProps{
3576
										Default: "",
3577
										Type:    []string{"string"},
3578
										Format:  "",
3579
									},
3580
								},
3581
							},
3582
						},
3583
					},
3584
				},
3585
				Required: []string{"ValuesFileSchemes"},
3586
			},
3587
		},
3588
	}
3589
}
3590

3591
func schema_pkg_apis_application_v1alpha1_HelmParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
3592
	return common.OpenAPIDefinition{
3593
		Schema: spec.Schema{
3594
			SchemaProps: spec.SchemaProps{
3595
				Description: "HelmParameter is a parameter that's passed to helm template during manifest generation",
3596
				Type:        []string{"object"},
3597
				Properties: map[string]spec.Schema{
3598
					"name": {
3599
						SchemaProps: spec.SchemaProps{
3600
							Description: "Name is the name of the Helm parameter",
3601
							Type:        []string{"string"},
3602
							Format:      "",
3603
						},
3604
					},
3605
					"value": {
3606
						SchemaProps: spec.SchemaProps{
3607
							Description: "Value is the value for the Helm parameter",
3608
							Type:        []string{"string"},
3609
							Format:      "",
3610
						},
3611
					},
3612
					"forceString": {
3613
						SchemaProps: spec.SchemaProps{
3614
							Description: "ForceString determines whether to tell Helm to interpret booleans and numbers as strings",
3615
							Type:        []string{"boolean"},
3616
							Format:      "",
3617
						},
3618
					},
3619
				},
3620
			},
3621
		},
3622
	}
3623
}
3624

3625
func schema_pkg_apis_application_v1alpha1_HostInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
3626
	return common.OpenAPIDefinition{
3627
		Schema: spec.Schema{
3628
			SchemaProps: spec.SchemaProps{
3629
				Description: "HostInfo holds host name and resources metrics",
3630
				Type:        []string{"object"},
3631
				Properties: map[string]spec.Schema{
3632
					"name": {
3633
						SchemaProps: spec.SchemaProps{
3634
							Type:   []string{"string"},
3635
							Format: "",
3636
						},
3637
					},
3638
					"resourcesInfo": {
3639
						SchemaProps: spec.SchemaProps{
3640
							Type: []string{"array"},
3641
							Items: &spec.SchemaOrArray{
3642
								Schema: &spec.Schema{
3643
									SchemaProps: spec.SchemaProps{
3644
										Default: map[string]interface{}{},
3645
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo"),
3646
									},
3647
								},
3648
							},
3649
						},
3650
					},
3651
					"systemInfo": {
3652
						SchemaProps: spec.SchemaProps{
3653
							Default: map[string]interface{}{},
3654
							Ref:     ref("k8s.io/api/core/v1.NodeSystemInfo"),
3655
						},
3656
					},
3657
				},
3658
			},
3659
		},
3660
		Dependencies: []string{
3661
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo", "k8s.io/api/core/v1.NodeSystemInfo"},
3662
	}
3663
}
3664

3665
func schema_pkg_apis_application_v1alpha1_HostResourceInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
3666
	return common.OpenAPIDefinition{
3667
		Schema: spec.Schema{
3668
			SchemaProps: spec.SchemaProps{
3669
				Type: []string{"object"},
3670
				Properties: map[string]spec.Schema{
3671
					"resourceName": {
3672
						SchemaProps: spec.SchemaProps{
3673
							Type:   []string{"string"},
3674
							Format: "",
3675
						},
3676
					},
3677
					"requestedByApp": {
3678
						SchemaProps: spec.SchemaProps{
3679
							Type:   []string{"integer"},
3680
							Format: "int64",
3681
						},
3682
					},
3683
					"requestedByNeighbors": {
3684
						SchemaProps: spec.SchemaProps{
3685
							Type:   []string{"integer"},
3686
							Format: "int64",
3687
						},
3688
					},
3689
					"capacity": {
3690
						SchemaProps: spec.SchemaProps{
3691
							Type:   []string{"integer"},
3692
							Format: "int64",
3693
						},
3694
					},
3695
				},
3696
			},
3697
		},
3698
	}
3699
}
3700

3701
func schema_pkg_apis_application_v1alpha1_Info(ref common.ReferenceCallback) common.OpenAPIDefinition {
3702
	return common.OpenAPIDefinition{
3703
		Schema: spec.Schema{
3704
			SchemaProps: spec.SchemaProps{
3705
				Type: []string{"object"},
3706
				Properties: map[string]spec.Schema{
3707
					"name": {
3708
						SchemaProps: spec.SchemaProps{
3709
							Default: "",
3710
							Type:    []string{"string"},
3711
							Format:  "",
3712
						},
3713
					},
3714
					"value": {
3715
						SchemaProps: spec.SchemaProps{
3716
							Default: "",
3717
							Type:    []string{"string"},
3718
							Format:  "",
3719
						},
3720
					},
3721
				},
3722
				Required: []string{"name", "value"},
3723
			},
3724
		},
3725
	}
3726
}
3727

3728
func schema_pkg_apis_application_v1alpha1_InfoItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
3729
	return common.OpenAPIDefinition{
3730
		Schema: spec.Schema{
3731
			SchemaProps: spec.SchemaProps{
3732
				Description: "InfoItem contains arbitrary, human readable information about an application",
3733
				Type:        []string{"object"},
3734
				Properties: map[string]spec.Schema{
3735
					"name": {
3736
						SchemaProps: spec.SchemaProps{
3737
							Description: "Name is a human readable title for this piece of information.",
3738
							Type:        []string{"string"},
3739
							Format:      "",
3740
						},
3741
					},
3742
					"value": {
3743
						SchemaProps: spec.SchemaProps{
3744
							Description: "Value is human readable content.",
3745
							Type:        []string{"string"},
3746
							Format:      "",
3747
						},
3748
					},
3749
				},
3750
			},
3751
		},
3752
	}
3753
}
3754

3755
func schema_pkg_apis_application_v1alpha1_JWTToken(ref common.ReferenceCallback) common.OpenAPIDefinition {
3756
	return common.OpenAPIDefinition{
3757
		Schema: spec.Schema{
3758
			SchemaProps: spec.SchemaProps{
3759
				Description: "JWTToken holds the issuedAt and expiresAt values of a token",
3760
				Type:        []string{"object"},
3761
				Properties: map[string]spec.Schema{
3762
					"iat": {
3763
						SchemaProps: spec.SchemaProps{
3764
							Default: 0,
3765
							Type:    []string{"integer"},
3766
							Format:  "int64",
3767
						},
3768
					},
3769
					"exp": {
3770
						SchemaProps: spec.SchemaProps{
3771
							Type:   []string{"integer"},
3772
							Format: "int64",
3773
						},
3774
					},
3775
					"id": {
3776
						SchemaProps: spec.SchemaProps{
3777
							Type:   []string{"string"},
3778
							Format: "",
3779
						},
3780
					},
3781
				},
3782
				Required: []string{"iat"},
3783
			},
3784
		},
3785
	}
3786
}
3787

3788
func schema_pkg_apis_application_v1alpha1_JWTTokens(ref common.ReferenceCallback) common.OpenAPIDefinition {
3789
	return common.OpenAPIDefinition{
3790
		Schema: spec.Schema{
3791
			SchemaProps: spec.SchemaProps{
3792
				Description: "JWTTokens represents a list of JWT tokens",
3793
				Type:        []string{"object"},
3794
				Properties: map[string]spec.Schema{
3795
					"items": {
3796
						SchemaProps: spec.SchemaProps{
3797
							Type: []string{"array"},
3798
							Items: &spec.SchemaOrArray{
3799
								Schema: &spec.Schema{
3800
									SchemaProps: spec.SchemaProps{
3801
										Default: map[string]interface{}{},
3802
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"),
3803
									},
3804
								},
3805
							},
3806
						},
3807
					},
3808
				},
3809
			},
3810
		},
3811
		Dependencies: []string{
3812
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"},
3813
	}
3814
}
3815

3816
func schema_pkg_apis_application_v1alpha1_JsonnetVar(ref common.ReferenceCallback) common.OpenAPIDefinition {
3817
	return common.OpenAPIDefinition{
3818
		Schema: spec.Schema{
3819
			SchemaProps: spec.SchemaProps{
3820
				Description: "JsonnetVar represents a variable to be passed to jsonnet during manifest generation",
3821
				Type:        []string{"object"},
3822
				Properties: map[string]spec.Schema{
3823
					"name": {
3824
						SchemaProps: spec.SchemaProps{
3825
							Default: "",
3826
							Type:    []string{"string"},
3827
							Format:  "",
3828
						},
3829
					},
3830
					"value": {
3831
						SchemaProps: spec.SchemaProps{
3832
							Default: "",
3833
							Type:    []string{"string"},
3834
							Format:  "",
3835
						},
3836
					},
3837
					"code": {
3838
						SchemaProps: spec.SchemaProps{
3839
							Type:   []string{"boolean"},
3840
							Format: "",
3841
						},
3842
					},
3843
				},
3844
				Required: []string{"name", "value"},
3845
			},
3846
		},
3847
	}
3848
}
3849

3850
func schema_pkg_apis_application_v1alpha1_KnownTypeField(ref common.ReferenceCallback) common.OpenAPIDefinition {
3851
	return common.OpenAPIDefinition{
3852
		Schema: spec.Schema{
3853
			SchemaProps: spec.SchemaProps{
3854
				Description: "KnownTypeField contains mapping between CRD field and known Kubernetes type. This is mainly used for unit conversion in unknown resources (e.g. 0.1 == 100mi)",
3855
				Type:        []string{"object"},
3856
				Properties: map[string]spec.Schema{
3857
					"field": {
3858
						SchemaProps: spec.SchemaProps{
3859
							Type:   []string{"string"},
3860
							Format: "",
3861
						},
3862
					},
3863
					"type": {
3864
						SchemaProps: spec.SchemaProps{
3865
							Type:   []string{"string"},
3866
							Format: "",
3867
						},
3868
					},
3869
				},
3870
			},
3871
		},
3872
	}
3873
}
3874

3875
func schema_pkg_apis_application_v1alpha1_KustomizeGvk(ref common.ReferenceCallback) common.OpenAPIDefinition {
3876
	return common.OpenAPIDefinition{
3877
		Schema: spec.Schema{
3878
			SchemaProps: spec.SchemaProps{
3879
				Type: []string{"object"},
3880
				Properties: map[string]spec.Schema{
3881
					"group": {
3882
						SchemaProps: spec.SchemaProps{
3883
							Type:   []string{"string"},
3884
							Format: "",
3885
						},
3886
					},
3887
					"version": {
3888
						SchemaProps: spec.SchemaProps{
3889
							Type:   []string{"string"},
3890
							Format: "",
3891
						},
3892
					},
3893
					"kind": {
3894
						SchemaProps: spec.SchemaProps{
3895
							Type:   []string{"string"},
3896
							Format: "",
3897
						},
3898
					},
3899
				},
3900
			},
3901
		},
3902
	}
3903
}
3904

3905
func schema_pkg_apis_application_v1alpha1_KustomizeOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
3906
	return common.OpenAPIDefinition{
3907
		Schema: spec.Schema{
3908
			SchemaProps: spec.SchemaProps{
3909
				Description: "KustomizeOptions are options for kustomize to use when building manifests",
3910
				Type:        []string{"object"},
3911
				Properties: map[string]spec.Schema{
3912
					"BuildOptions": {
3913
						SchemaProps: spec.SchemaProps{
3914
							Description: "BuildOptions is a string of build parameters to use when calling `kustomize build`",
3915
							Default:     "",
3916
							Type:        []string{"string"},
3917
							Format:      "",
3918
						},
3919
					},
3920
					"BinaryPath": {
3921
						SchemaProps: spec.SchemaProps{
3922
							Description: "BinaryPath holds optional path to kustomize binary",
3923
							Default:     "",
3924
							Type:        []string{"string"},
3925
							Format:      "",
3926
						},
3927
					},
3928
				},
3929
				Required: []string{"BuildOptions", "BinaryPath"},
3930
			},
3931
		},
3932
	}
3933
}
3934

3935
func schema_pkg_apis_application_v1alpha1_KustomizePatch(ref common.ReferenceCallback) common.OpenAPIDefinition {
3936
	return common.OpenAPIDefinition{
3937
		Schema: spec.Schema{
3938
			SchemaProps: spec.SchemaProps{
3939
				Type: []string{"object"},
3940
				Properties: map[string]spec.Schema{
3941
					"path": {
3942
						SchemaProps: spec.SchemaProps{
3943
							Type:   []string{"string"},
3944
							Format: "",
3945
						},
3946
					},
3947
					"patch": {
3948
						SchemaProps: spec.SchemaProps{
3949
							Type:   []string{"string"},
3950
							Format: "",
3951
						},
3952
					},
3953
					"target": {
3954
						SchemaProps: spec.SchemaProps{
3955
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeSelector"),
3956
						},
3957
					},
3958
					"options": {
3959
						SchemaProps: spec.SchemaProps{
3960
							Type: []string{"object"},
3961
							AdditionalProperties: &spec.SchemaOrBool{
3962
								Allows: true,
3963
								Schema: &spec.Schema{
3964
									SchemaProps: spec.SchemaProps{
3965
										Default: false,
3966
										Type:    []string{"boolean"},
3967
										Format:  "",
3968
									},
3969
								},
3970
							},
3971
						},
3972
					},
3973
				},
3974
			},
3975
		},
3976
		Dependencies: []string{
3977
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeSelector"},
3978
	}
3979
}
3980

3981
func schema_pkg_apis_application_v1alpha1_KustomizeReplica(ref common.ReferenceCallback) common.OpenAPIDefinition {
3982
	return common.OpenAPIDefinition{
3983
		Schema: spec.Schema{
3984
			SchemaProps: spec.SchemaProps{
3985
				Type: []string{"object"},
3986
				Properties: map[string]spec.Schema{
3987
					"name": {
3988
						SchemaProps: spec.SchemaProps{
3989
							Description: "Name of Deployment or StatefulSet",
3990
							Default:     "",
3991
							Type:        []string{"string"},
3992
							Format:      "",
3993
						},
3994
					},
3995
					"count": {
3996
						SchemaProps: spec.SchemaProps{
3997
							Description: "Number of replicas",
3998
							Default:     map[string]interface{}{},
3999
							Ref:         ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
4000
						},
4001
					},
4002
				},
4003
				Required: []string{"name", "count"},
4004
			},
4005
		},
4006
		Dependencies: []string{
4007
			"k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
4008
	}
4009
}
4010

4011
func schema_pkg_apis_application_v1alpha1_KustomizeResId(ref common.ReferenceCallback) common.OpenAPIDefinition {
4012
	return common.OpenAPIDefinition{
4013
		Schema: spec.Schema{
4014
			SchemaProps: spec.SchemaProps{
4015
				Type: []string{"object"},
4016
				Properties: map[string]spec.Schema{
4017
					"group": {
4018
						SchemaProps: spec.SchemaProps{
4019
							Type:   []string{"string"},
4020
							Format: "",
4021
						},
4022
					},
4023
					"version": {
4024
						SchemaProps: spec.SchemaProps{
4025
							Type:   []string{"string"},
4026
							Format: "",
4027
						},
4028
					},
4029
					"kind": {
4030
						SchemaProps: spec.SchemaProps{
4031
							Type:   []string{"string"},
4032
							Format: "",
4033
						},
4034
					},
4035
					"name": {
4036
						SchemaProps: spec.SchemaProps{
4037
							Type:   []string{"string"},
4038
							Format: "",
4039
						},
4040
					},
4041
					"namespace": {
4042
						SchemaProps: spec.SchemaProps{
4043
							Type:   []string{"string"},
4044
							Format: "",
4045
						},
4046
					},
4047
				},
4048
			},
4049
		},
4050
	}
4051
}
4052

4053
func schema_pkg_apis_application_v1alpha1_KustomizeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
4054
	return common.OpenAPIDefinition{
4055
		Schema: spec.Schema{
4056
			SchemaProps: spec.SchemaProps{
4057
				Type: []string{"object"},
4058
				Properties: map[string]spec.Schema{
4059
					"group": {
4060
						SchemaProps: spec.SchemaProps{
4061
							Type:   []string{"string"},
4062
							Format: "",
4063
						},
4064
					},
4065
					"version": {
4066
						SchemaProps: spec.SchemaProps{
4067
							Type:   []string{"string"},
4068
							Format: "",
4069
						},
4070
					},
4071
					"kind": {
4072
						SchemaProps: spec.SchemaProps{
4073
							Type:   []string{"string"},
4074
							Format: "",
4075
						},
4076
					},
4077
					"name": {
4078
						SchemaProps: spec.SchemaProps{
4079
							Type:   []string{"string"},
4080
							Format: "",
4081
						},
4082
					},
4083
					"namespace": {
4084
						SchemaProps: spec.SchemaProps{
4085
							Type:   []string{"string"},
4086
							Format: "",
4087
						},
4088
					},
4089
					"annotationSelector": {
4090
						SchemaProps: spec.SchemaProps{
4091
							Type:   []string{"string"},
4092
							Format: "",
4093
						},
4094
					},
4095
					"labelSelector": {
4096
						SchemaProps: spec.SchemaProps{
4097
							Type:   []string{"string"},
4098
							Format: "",
4099
						},
4100
					},
4101
				},
4102
			},
4103
		},
4104
	}
4105
}
4106

4107
func schema_pkg_apis_application_v1alpha1_ListGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4108
	return common.OpenAPIDefinition{
4109
		Schema: spec.Schema{
4110
			SchemaProps: spec.SchemaProps{
4111
				Description: "ListGenerator include items info",
4112
				Type:        []string{"object"},
4113
				Properties: map[string]spec.Schema{
4114
					"elements": {
4115
						SchemaProps: spec.SchemaProps{
4116
							Type: []string{"array"},
4117
							Items: &spec.SchemaOrArray{
4118
								Schema: &spec.Schema{
4119
									SchemaProps: spec.SchemaProps{
4120
										Default: map[string]interface{}{},
4121
										Ref:     ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
4122
									},
4123
								},
4124
							},
4125
						},
4126
					},
4127
					"template": {
4128
						SchemaProps: spec.SchemaProps{
4129
							Default: map[string]interface{}{},
4130
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4131
						},
4132
					},
4133
					"elementsYaml": {
4134
						SchemaProps: spec.SchemaProps{
4135
							Type:   []string{"string"},
4136
							Format: "",
4137
						},
4138
					},
4139
				},
4140
				Required: []string{"elements"},
4141
			},
4142
		},
4143
		Dependencies: []string{
4144
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"},
4145
	}
4146
}
4147

4148
func schema_pkg_apis_application_v1alpha1_ManagedNamespaceMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
4149
	return common.OpenAPIDefinition{
4150
		Schema: spec.Schema{
4151
			SchemaProps: spec.SchemaProps{
4152
				Type: []string{"object"},
4153
				Properties: map[string]spec.Schema{
4154
					"labels": {
4155
						SchemaProps: spec.SchemaProps{
4156
							Type: []string{"object"},
4157
							AdditionalProperties: &spec.SchemaOrBool{
4158
								Allows: true,
4159
								Schema: &spec.Schema{
4160
									SchemaProps: spec.SchemaProps{
4161
										Default: "",
4162
										Type:    []string{"string"},
4163
										Format:  "",
4164
									},
4165
								},
4166
							},
4167
						},
4168
					},
4169
					"annotations": {
4170
						SchemaProps: spec.SchemaProps{
4171
							Type: []string{"object"},
4172
							AdditionalProperties: &spec.SchemaOrBool{
4173
								Allows: true,
4174
								Schema: &spec.Schema{
4175
									SchemaProps: spec.SchemaProps{
4176
										Default: "",
4177
										Type:    []string{"string"},
4178
										Format:  "",
4179
									},
4180
								},
4181
							},
4182
						},
4183
					},
4184
				},
4185
			},
4186
		},
4187
	}
4188
}
4189

4190
func schema_pkg_apis_application_v1alpha1_MatrixGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4191
	return common.OpenAPIDefinition{
4192
		Schema: spec.Schema{
4193
			SchemaProps: spec.SchemaProps{
4194
				Description: "MatrixGenerator generates the cartesian product of two sets of parameters. The parameters are defined by two nested generators.",
4195
				Type:        []string{"object"},
4196
				Properties: map[string]spec.Schema{
4197
					"generators": {
4198
						SchemaProps: spec.SchemaProps{
4199
							Type: []string{"array"},
4200
							Items: &spec.SchemaOrArray{
4201
								Schema: &spec.Schema{
4202
									SchemaProps: spec.SchemaProps{
4203
										Default: map[string]interface{}{},
4204
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator"),
4205
									},
4206
								},
4207
							},
4208
						},
4209
					},
4210
					"template": {
4211
						SchemaProps: spec.SchemaProps{
4212
							Default: map[string]interface{}{},
4213
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4214
						},
4215
					},
4216
				},
4217
				Required: []string{"generators"},
4218
			},
4219
		},
4220
		Dependencies: []string{
4221
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"},
4222
	}
4223
}
4224

4225
func schema_pkg_apis_application_v1alpha1_MergeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4226
	return common.OpenAPIDefinition{
4227
		Schema: spec.Schema{
4228
			SchemaProps: spec.SchemaProps{
4229
				Description: "MergeGenerator merges the output of two or more generators. Where the values for all specified merge keys are equal between two sets of generated parameters, the parameter sets will be merged with the parameters from the latter generator taking precedence. Parameter sets with merge keys not present in the base generator's params will be ignored. For example, if the first generator produced [{a: '1', b: '2'}, {c: '1', d: '1'}] and the second generator produced [{'a': 'override'}], the united parameters for merge keys = ['a'] would be [{a: 'override', b: '1'}, {c: '1', d: '1'}].\n\nMergeGenerator supports template overriding. If a MergeGenerator is one of multiple top-level generators, its template will be merged with the top-level generator before the parameters are applied.",
4230
				Type:        []string{"object"},
4231
				Properties: map[string]spec.Schema{
4232
					"generators": {
4233
						SchemaProps: spec.SchemaProps{
4234
							Type: []string{"array"},
4235
							Items: &spec.SchemaOrArray{
4236
								Schema: &spec.Schema{
4237
									SchemaProps: spec.SchemaProps{
4238
										Default: map[string]interface{}{},
4239
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator"),
4240
									},
4241
								},
4242
							},
4243
						},
4244
					},
4245
					"mergeKeys": {
4246
						SchemaProps: spec.SchemaProps{
4247
							Type: []string{"array"},
4248
							Items: &spec.SchemaOrArray{
4249
								Schema: &spec.Schema{
4250
									SchemaProps: spec.SchemaProps{
4251
										Default: "",
4252
										Type:    []string{"string"},
4253
										Format:  "",
4254
									},
4255
								},
4256
							},
4257
						},
4258
					},
4259
					"template": {
4260
						SchemaProps: spec.SchemaProps{
4261
							Default: map[string]interface{}{},
4262
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4263
						},
4264
					},
4265
				},
4266
				Required: []string{"generators", "mergeKeys"},
4267
			},
4268
		},
4269
		Dependencies: []string{
4270
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"},
4271
	}
4272
}
4273

4274
func schema_pkg_apis_application_v1alpha1_NestedMatrixGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4275
	return common.OpenAPIDefinition{
4276
		Schema: spec.Schema{
4277
			SchemaProps: spec.SchemaProps{
4278
				Description: "NestedMatrixGenerator is a MatrixGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator). NestedMatrixGenerator does not have an override template, because template overriding has no meaning within the constituent generators of combination-type generators.\n\nNOTE: Nested matrix generator is not included directly in the CRD struct, instead it is included as a generic 'apiextensionsv1.JSON' object, and then marshalled into a NestedMatrixGenerator when processed.",
4279
				Type:        []string{"object"},
4280
				Properties: map[string]spec.Schema{
4281
					"generators": {
4282
						SchemaProps: spec.SchemaProps{
4283
							Type: []string{"array"},
4284
							Items: &spec.SchemaOrArray{
4285
								Schema: &spec.Schema{
4286
									SchemaProps: spec.SchemaProps{
4287
										Default: map[string]interface{}{},
4288
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"),
4289
									},
4290
								},
4291
							},
4292
						},
4293
					},
4294
				},
4295
				Required: []string{"generators"},
4296
			},
4297
		},
4298
		Dependencies: []string{
4299
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"},
4300
	}
4301
}
4302

4303
func schema_pkg_apis_application_v1alpha1_NestedMergeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4304
	return common.OpenAPIDefinition{
4305
		Schema: spec.Schema{
4306
			SchemaProps: spec.SchemaProps{
4307
				Description: "NestedMergeGenerator is a MergeGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator). NestedMergeGenerator does not have an override template, because template overriding has no meaning within the constituent generators of combination-type generators.\n\nNOTE: Nested merge generator is not included directly in the CRD struct, instead it is included as a generic 'apiextensionsv1.JSON' object, and then marshalled into a NestedMergeGenerator when processed.",
4308
				Type:        []string{"object"},
4309
				Properties: map[string]spec.Schema{
4310
					"generators": {
4311
						SchemaProps: spec.SchemaProps{
4312
							Type: []string{"array"},
4313
							Items: &spec.SchemaOrArray{
4314
								Schema: &spec.Schema{
4315
									SchemaProps: spec.SchemaProps{
4316
										Default: map[string]interface{}{},
4317
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"),
4318
									},
4319
								},
4320
							},
4321
						},
4322
					},
4323
					"mergeKeys": {
4324
						SchemaProps: spec.SchemaProps{
4325
							Type: []string{"array"},
4326
							Items: &spec.SchemaOrArray{
4327
								Schema: &spec.Schema{
4328
									SchemaProps: spec.SchemaProps{
4329
										Default: "",
4330
										Type:    []string{"string"},
4331
										Format:  "",
4332
									},
4333
								},
4334
							},
4335
						},
4336
					},
4337
				},
4338
				Required: []string{"generators", "mergeKeys"},
4339
			},
4340
		},
4341
		Dependencies: []string{
4342
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"},
4343
	}
4344
}
4345

4346
func schema_pkg_apis_application_v1alpha1_Operation(ref common.ReferenceCallback) common.OpenAPIDefinition {
4347
	return common.OpenAPIDefinition{
4348
		Schema: spec.Schema{
4349
			SchemaProps: spec.SchemaProps{
4350
				Description: "Operation contains information about a requested or running operation",
4351
				Type:        []string{"object"},
4352
				Properties: map[string]spec.Schema{
4353
					"sync": {
4354
						SchemaProps: spec.SchemaProps{
4355
							Description: "Sync contains parameters for the operation",
4356
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperation"),
4357
						},
4358
					},
4359
					"initiatedBy": {
4360
						SchemaProps: spec.SchemaProps{
4361
							Description: "InitiatedBy contains information about who initiated the operations",
4362
							Default:     map[string]interface{}{},
4363
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator"),
4364
						},
4365
					},
4366
					"info": {
4367
						SchemaProps: spec.SchemaProps{
4368
							Description: "Info is a list of informational items for this operation",
4369
							Type:        []string{"array"},
4370
							Items: &spec.SchemaOrArray{
4371
								Schema: &spec.Schema{
4372
									SchemaProps: spec.SchemaProps{
4373
										Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info"),
4374
									},
4375
								},
4376
							},
4377
						},
4378
					},
4379
					"retry": {
4380
						SchemaProps: spec.SchemaProps{
4381
							Description: "Retry controls the strategy to apply if a sync fails",
4382
							Default:     map[string]interface{}{},
4383
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy"),
4384
						},
4385
					},
4386
				},
4387
			},
4388
		},
4389
		Dependencies: []string{
4390
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperation"},
4391
	}
4392
}
4393

4394
func schema_pkg_apis_application_v1alpha1_OperationInitiator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4395
	return common.OpenAPIDefinition{
4396
		Schema: spec.Schema{
4397
			SchemaProps: spec.SchemaProps{
4398
				Description: "OperationInitiator contains information about the initiator of an operation",
4399
				Type:        []string{"object"},
4400
				Properties: map[string]spec.Schema{
4401
					"username": {
4402
						SchemaProps: spec.SchemaProps{
4403
							Description: "Username contains the name of a user who started operation",
4404
							Type:        []string{"string"},
4405
							Format:      "",
4406
						},
4407
					},
4408
					"automated": {
4409
						SchemaProps: spec.SchemaProps{
4410
							Description: "Automated is set to true if operation was initiated automatically by the application controller.",
4411
							Type:        []string{"boolean"},
4412
							Format:      "",
4413
						},
4414
					},
4415
				},
4416
			},
4417
		},
4418
	}
4419
}
4420

4421
func schema_pkg_apis_application_v1alpha1_OperationState(ref common.ReferenceCallback) common.OpenAPIDefinition {
4422
	return common.OpenAPIDefinition{
4423
		Schema: spec.Schema{
4424
			SchemaProps: spec.SchemaProps{
4425
				Description: "OperationState contains information about state of a running operation",
4426
				Type:        []string{"object"},
4427
				Properties: map[string]spec.Schema{
4428
					"operation": {
4429
						SchemaProps: spec.SchemaProps{
4430
							Description: "Operation is the original requested operation",
4431
							Default:     map[string]interface{}{},
4432
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation"),
4433
						},
4434
					},
4435
					"phase": {
4436
						SchemaProps: spec.SchemaProps{
4437
							Description: "Phase is the current phase of the operation",
4438
							Default:     "",
4439
							Type:        []string{"string"},
4440
							Format:      "",
4441
						},
4442
					},
4443
					"message": {
4444
						SchemaProps: spec.SchemaProps{
4445
							Description: "Message holds any pertinent messages when attempting to perform operation (typically errors).",
4446
							Type:        []string{"string"},
4447
							Format:      "",
4448
						},
4449
					},
4450
					"syncResult": {
4451
						SchemaProps: spec.SchemaProps{
4452
							Description: "SyncResult is the result of a Sync operation",
4453
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResult"),
4454
						},
4455
					},
4456
					"startedAt": {
4457
						SchemaProps: spec.SchemaProps{
4458
							Description: "StartedAt contains time of operation start",
4459
							Default:     map[string]interface{}{},
4460
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4461
						},
4462
					},
4463
					"finishedAt": {
4464
						SchemaProps: spec.SchemaProps{
4465
							Description: "FinishedAt contains time of operation completion",
4466
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4467
						},
4468
					},
4469
					"retryCount": {
4470
						SchemaProps: spec.SchemaProps{
4471
							Description: "RetryCount contains time of operation retries",
4472
							Type:        []string{"integer"},
4473
							Format:      "int64",
4474
						},
4475
					},
4476
				},
4477
				Required: []string{"operation", "phase", "startedAt"},
4478
			},
4479
		},
4480
		Dependencies: []string{
4481
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResult", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
4482
	}
4483
}
4484

4485
func schema_pkg_apis_application_v1alpha1_OptionalArray(ref common.ReferenceCallback) common.OpenAPIDefinition {
4486
	return common.OpenAPIDefinition{
4487
		Schema: spec.Schema{
4488
			SchemaProps: spec.SchemaProps{
4489
				Type: []string{"object"},
4490
				Properties: map[string]spec.Schema{
4491
					"array": {
4492
						SchemaProps: spec.SchemaProps{
4493
							Description: "Array is the value of an array type parameter.",
4494
							Type:        []string{"array"},
4495
							Items: &spec.SchemaOrArray{
4496
								Schema: &spec.Schema{
4497
									SchemaProps: spec.SchemaProps{
4498
										Default: "",
4499
										Type:    []string{"string"},
4500
										Format:  "",
4501
									},
4502
								},
4503
							},
4504
						},
4505
					},
4506
				},
4507
			},
4508
		},
4509
	}
4510
}
4511

4512
func schema_pkg_apis_application_v1alpha1_OptionalMap(ref common.ReferenceCallback) common.OpenAPIDefinition {
4513
	return common.OpenAPIDefinition{
4514
		Schema: spec.Schema{
4515
			SchemaProps: spec.SchemaProps{
4516
				Type: []string{"object"},
4517
				Properties: map[string]spec.Schema{
4518
					"map": {
4519
						SchemaProps: spec.SchemaProps{
4520
							Description: "Map is the value of a map type parameter.",
4521
							Type:        []string{"object"},
4522
							AdditionalProperties: &spec.SchemaOrBool{
4523
								Allows: true,
4524
								Schema: &spec.Schema{
4525
									SchemaProps: spec.SchemaProps{
4526
										Default: "",
4527
										Type:    []string{"string"},
4528
										Format:  "",
4529
									},
4530
								},
4531
							},
4532
						},
4533
					},
4534
				},
4535
			},
4536
		},
4537
	}
4538
}
4539

4540
func schema_pkg_apis_application_v1alpha1_OrphanedResourceKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
4541
	return common.OpenAPIDefinition{
4542
		Schema: spec.Schema{
4543
			SchemaProps: spec.SchemaProps{
4544
				Description: "OrphanedResourceKey is a reference to a resource to be ignored from",
4545
				Type:        []string{"object"},
4546
				Properties: map[string]spec.Schema{
4547
					"group": {
4548
						SchemaProps: spec.SchemaProps{
4549
							Type:   []string{"string"},
4550
							Format: "",
4551
						},
4552
					},
4553
					"kind": {
4554
						SchemaProps: spec.SchemaProps{
4555
							Type:   []string{"string"},
4556
							Format: "",
4557
						},
4558
					},
4559
					"name": {
4560
						SchemaProps: spec.SchemaProps{
4561
							Type:   []string{"string"},
4562
							Format: "",
4563
						},
4564
					},
4565
				},
4566
			},
4567
		},
4568
	}
4569
}
4570

4571
func schema_pkg_apis_application_v1alpha1_OrphanedResourcesMonitorSettings(ref common.ReferenceCallback) common.OpenAPIDefinition {
4572
	return common.OpenAPIDefinition{
4573
		Schema: spec.Schema{
4574
			SchemaProps: spec.SchemaProps{
4575
				Description: "OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring",
4576
				Type:        []string{"object"},
4577
				Properties: map[string]spec.Schema{
4578
					"warn": {
4579
						SchemaProps: spec.SchemaProps{
4580
							Description: "Warn indicates if warning condition should be created for apps which have orphaned resources",
4581
							Type:        []string{"boolean"},
4582
							Format:      "",
4583
						},
4584
					},
4585
					"ignore": {
4586
						SchemaProps: spec.SchemaProps{
4587
							Description: "Ignore contains a list of resources that are to be excluded from orphaned resources monitoring",
4588
							Type:        []string{"array"},
4589
							Items: &spec.SchemaOrArray{
4590
								Schema: &spec.Schema{
4591
									SchemaProps: spec.SchemaProps{
4592
										Default: map[string]interface{}{},
4593
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey"),
4594
									},
4595
								},
4596
							},
4597
						},
4598
					},
4599
				},
4600
			},
4601
		},
4602
		Dependencies: []string{
4603
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey"},
4604
	}
4605
}
4606

4607
func schema_pkg_apis_application_v1alpha1_OverrideIgnoreDiff(ref common.ReferenceCallback) common.OpenAPIDefinition {
4608
	return common.OpenAPIDefinition{
4609
		Schema: spec.Schema{
4610
			SchemaProps: spec.SchemaProps{
4611
				Description: "OverrideIgnoreDiff contains configurations about how fields should be ignored during diffs between the desired state and live state",
4612
				Type:        []string{"object"},
4613
				Properties: map[string]spec.Schema{
4614
					"jsonPointers": {
4615
						SchemaProps: spec.SchemaProps{
4616
							Description: "JSONPointers is a JSON path list following the format defined in RFC4627 (https://datatracker.ietf.org/doc/html/rfc6902#section-3)",
4617
							Type:        []string{"array"},
4618
							Items: &spec.SchemaOrArray{
4619
								Schema: &spec.Schema{
4620
									SchemaProps: spec.SchemaProps{
4621
										Default: "",
4622
										Type:    []string{"string"},
4623
										Format:  "",
4624
									},
4625
								},
4626
							},
4627
						},
4628
					},
4629
					"jqPathExpressions": {
4630
						SchemaProps: spec.SchemaProps{
4631
							Description: "JQPathExpressions is a JQ path list that will be evaludated during the diff process",
4632
							Type:        []string{"array"},
4633
							Items: &spec.SchemaOrArray{
4634
								Schema: &spec.Schema{
4635
									SchemaProps: spec.SchemaProps{
4636
										Default: "",
4637
										Type:    []string{"string"},
4638
										Format:  "",
4639
									},
4640
								},
4641
							},
4642
						},
4643
					},
4644
					"managedFieldsManagers": {
4645
						SchemaProps: spec.SchemaProps{
4646
							Description: "ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the desired state defined in the SCM and won't be displayed in diffs",
4647
							Type:        []string{"array"},
4648
							Items: &spec.SchemaOrArray{
4649
								Schema: &spec.Schema{
4650
									SchemaProps: spec.SchemaProps{
4651
										Default: "",
4652
										Type:    []string{"string"},
4653
										Format:  "",
4654
									},
4655
								},
4656
							},
4657
						},
4658
					},
4659
				},
4660
				Required: []string{"jsonPointers", "jqPathExpressions", "managedFieldsManagers"},
4661
			},
4662
		},
4663
	}
4664
}
4665

4666
func schema_pkg_apis_application_v1alpha1_PluginConfigMapRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
4667
	return common.OpenAPIDefinition{
4668
		Schema: spec.Schema{
4669
			SchemaProps: spec.SchemaProps{
4670
				Type: []string{"object"},
4671
				Properties: map[string]spec.Schema{
4672
					"name": {
4673
						SchemaProps: spec.SchemaProps{
4674
							Description: "Name of the ConfigMap",
4675
							Default:     "",
4676
							Type:        []string{"string"},
4677
							Format:      "",
4678
						},
4679
					},
4680
				},
4681
				Required: []string{"name"},
4682
			},
4683
		},
4684
	}
4685
}
4686

4687
func schema_pkg_apis_application_v1alpha1_PluginGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4688
	return common.OpenAPIDefinition{
4689
		Schema: spec.Schema{
4690
			SchemaProps: spec.SchemaProps{
4691
				Description: "PluginGenerator defines connection info specific to Plugin.",
4692
				Type:        []string{"object"},
4693
				Properties: map[string]spec.Schema{
4694
					"configMapRef": {
4695
						SchemaProps: spec.SchemaProps{
4696
							Default: map[string]interface{}{},
4697
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginConfigMapRef"),
4698
						},
4699
					},
4700
					"input": {
4701
						SchemaProps: spec.SchemaProps{
4702
							Default: map[string]interface{}{},
4703
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginInput"),
4704
						},
4705
					},
4706
					"requeueAfterSeconds": {
4707
						SchemaProps: spec.SchemaProps{
4708
							Description: "RequeueAfterSeconds determines how long the ApplicationSet controller will wait before reconciling the ApplicationSet again.",
4709
							Type:        []string{"integer"},
4710
							Format:      "int64",
4711
						},
4712
					},
4713
					"template": {
4714
						SchemaProps: spec.SchemaProps{
4715
							Default: map[string]interface{}{},
4716
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4717
						},
4718
					},
4719
					"values": {
4720
						SchemaProps: spec.SchemaProps{
4721
							Description: "Values contains key/value pairs which are passed directly as parameters to the template. These values will not be sent as parameters to the plugin.",
4722
							Type:        []string{"object"},
4723
							AdditionalProperties: &spec.SchemaOrBool{
4724
								Allows: true,
4725
								Schema: &spec.Schema{
4726
									SchemaProps: spec.SchemaProps{
4727
										Default: "",
4728
										Type:    []string{"string"},
4729
										Format:  "",
4730
									},
4731
								},
4732
							},
4733
						},
4734
					},
4735
				},
4736
				Required: []string{"configMapRef"},
4737
			},
4738
		},
4739
		Dependencies: []string{
4740
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginConfigMapRef", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginInput"},
4741
	}
4742
}
4743

4744
func schema_pkg_apis_application_v1alpha1_PluginInput(ref common.ReferenceCallback) common.OpenAPIDefinition {
4745
	return common.OpenAPIDefinition{
4746
		Schema: spec.Schema{
4747
			SchemaProps: spec.SchemaProps{
4748
				Type: []string{"object"},
4749
				Properties: map[string]spec.Schema{
4750
					"parameters": {
4751
						SchemaProps: spec.SchemaProps{
4752
							Description: "Parameters contains the information to pass to the plugin. It is a map. The keys must be strings, and the values can be any type.",
4753
							Type:        []string{"object"},
4754
							AdditionalProperties: &spec.SchemaOrBool{
4755
								Allows: true,
4756
								Schema: &spec.Schema{
4757
									SchemaProps: spec.SchemaProps{
4758
										Default: map[string]interface{}{},
4759
										Ref:     ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
4760
									},
4761
								},
4762
							},
4763
						},
4764
					},
4765
				},
4766
			},
4767
		},
4768
		Dependencies: []string{
4769
			"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"},
4770
	}
4771
}
4772

4773
func schema_pkg_apis_application_v1alpha1_ProjectRole(ref common.ReferenceCallback) common.OpenAPIDefinition {
4774
	return common.OpenAPIDefinition{
4775
		Schema: spec.Schema{
4776
			SchemaProps: spec.SchemaProps{
4777
				Description: "ProjectRole represents a role that has access to a project",
4778
				Type:        []string{"object"},
4779
				Properties: map[string]spec.Schema{
4780
					"name": {
4781
						SchemaProps: spec.SchemaProps{
4782
							Description: "Name is a name for this role",
4783
							Default:     "",
4784
							Type:        []string{"string"},
4785
							Format:      "",
4786
						},
4787
					},
4788
					"description": {
4789
						SchemaProps: spec.SchemaProps{
4790
							Description: "Description is a description of the role",
4791
							Type:        []string{"string"},
4792
							Format:      "",
4793
						},
4794
					},
4795
					"policies": {
4796
						SchemaProps: spec.SchemaProps{
4797
							Description: "Policies Stores a list of casbin formatted strings that define access policies for the role in the project",
4798
							Type:        []string{"array"},
4799
							Items: &spec.SchemaOrArray{
4800
								Schema: &spec.Schema{
4801
									SchemaProps: spec.SchemaProps{
4802
										Default: "",
4803
										Type:    []string{"string"},
4804
										Format:  "",
4805
									},
4806
								},
4807
							},
4808
						},
4809
					},
4810
					"jwtTokens": {
4811
						SchemaProps: spec.SchemaProps{
4812
							Description: "JWTTokens are a list of generated JWT tokens bound to this role",
4813
							Type:        []string{"array"},
4814
							Items: &spec.SchemaOrArray{
4815
								Schema: &spec.Schema{
4816
									SchemaProps: spec.SchemaProps{
4817
										Default: map[string]interface{}{},
4818
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"),
4819
									},
4820
								},
4821
							},
4822
						},
4823
					},
4824
					"groups": {
4825
						SchemaProps: spec.SchemaProps{
4826
							Description: "Groups are a list of OIDC group claims bound to this role",
4827
							Type:        []string{"array"},
4828
							Items: &spec.SchemaOrArray{
4829
								Schema: &spec.Schema{
4830
									SchemaProps: spec.SchemaProps{
4831
										Default: "",
4832
										Type:    []string{"string"},
4833
										Format:  "",
4834
									},
4835
								},
4836
							},
4837
						},
4838
					},
4839
				},
4840
				Required: []string{"name"},
4841
			},
4842
		},
4843
		Dependencies: []string{
4844
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"},
4845
	}
4846
}
4847

4848
func schema_pkg_apis_application_v1alpha1_PullRequestGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4849
	return common.OpenAPIDefinition{
4850
		Schema: spec.Schema{
4851
			SchemaProps: spec.SchemaProps{
4852
				Description: "PullRequestGenerator defines a generator that scrapes a PullRequest API to find candidate pull requests.",
4853
				Type:        []string{"object"},
4854
				Properties: map[string]spec.Schema{
4855
					"github": {
4856
						SchemaProps: spec.SchemaProps{
4857
							Description: "Which provider to use and config for it.",
4858
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGithub"),
4859
						},
4860
					},
4861
					"gitlab": {
4862
						SchemaProps: spec.SchemaProps{
4863
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitLab"),
4864
						},
4865
					},
4866
					"gitea": {
4867
						SchemaProps: spec.SchemaProps{
4868
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitea"),
4869
						},
4870
					},
4871
					"bitbucketServer": {
4872
						SchemaProps: spec.SchemaProps{
4873
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucketServer"),
4874
						},
4875
					},
4876
					"filters": {
4877
						SchemaProps: spec.SchemaProps{
4878
							Description: "Filters for which pull requests should be considered.",
4879
							Type:        []string{"array"},
4880
							Items: &spec.SchemaOrArray{
4881
								Schema: &spec.Schema{
4882
									SchemaProps: spec.SchemaProps{
4883
										Default: map[string]interface{}{},
4884
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorFilter"),
4885
									},
4886
								},
4887
							},
4888
						},
4889
					},
4890
					"requeueAfterSeconds": {
4891
						SchemaProps: spec.SchemaProps{
4892
							Description: "Standard parameters.",
4893
							Type:        []string{"integer"},
4894
							Format:      "int64",
4895
						},
4896
					},
4897
					"template": {
4898
						SchemaProps: spec.SchemaProps{
4899
							Default: map[string]interface{}{},
4900
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4901
						},
4902
					},
4903
					"bitbucket": {
4904
						SchemaProps: spec.SchemaProps{
4905
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucket"),
4906
						},
4907
					},
4908
					"azuredevops": {
4909
						SchemaProps: spec.SchemaProps{
4910
							Description: "Additional provider to use and config for it.",
4911
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorAzureDevOps"),
4912
						},
4913
					},
4914
				},
4915
			},
4916
		},
4917
		Dependencies: []string{
4918
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorAzureDevOps", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucket", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucketServer", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorFilter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitLab", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitea", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGithub"},
4919
	}
4920
}
4921

4922
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorAzureDevOps(ref common.ReferenceCallback) common.OpenAPIDefinition {
4923
	return common.OpenAPIDefinition{
4924
		Schema: spec.Schema{
4925
			SchemaProps: spec.SchemaProps{
4926
				Description: "PullRequestGeneratorAzureDevOps defines connection info specific to AzureDevOps.",
4927
				Type:        []string{"object"},
4928
				Properties: map[string]spec.Schema{
4929
					"organization": {
4930
						SchemaProps: spec.SchemaProps{
4931
							Description: "Azure DevOps org to scan. Required.",
4932
							Default:     "",
4933
							Type:        []string{"string"},
4934
							Format:      "",
4935
						},
4936
					},
4937
					"project": {
4938
						SchemaProps: spec.SchemaProps{
4939
							Description: "Azure DevOps project name to scan. Required.",
4940
							Default:     "",
4941
							Type:        []string{"string"},
4942
							Format:      "",
4943
						},
4944
					},
4945
					"repo": {
4946
						SchemaProps: spec.SchemaProps{
4947
							Description: "Azure DevOps repo name to scan. Required.",
4948
							Default:     "",
4949
							Type:        []string{"string"},
4950
							Format:      "",
4951
						},
4952
					},
4953
					"api": {
4954
						SchemaProps: spec.SchemaProps{
4955
							Description: "The Azure DevOps API URL to talk to. If blank, use https://dev.azure.com/.",
4956
							Type:        []string{"string"},
4957
							Format:      "",
4958
						},
4959
					},
4960
					"tokenRef": {
4961
						SchemaProps: spec.SchemaProps{
4962
							Description: "Authentication token reference.",
4963
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
4964
						},
4965
					},
4966
					"labels": {
4967
						SchemaProps: spec.SchemaProps{
4968
							Description: "Labels is used to filter the PRs that you want to target",
4969
							Type:        []string{"array"},
4970
							Items: &spec.SchemaOrArray{
4971
								Schema: &spec.Schema{
4972
									SchemaProps: spec.SchemaProps{
4973
										Default: "",
4974
										Type:    []string{"string"},
4975
										Format:  "",
4976
									},
4977
								},
4978
							},
4979
						},
4980
					},
4981
				},
4982
				Required: []string{"organization", "project", "repo"},
4983
			},
4984
		},
4985
		Dependencies: []string{
4986
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
4987
	}
4988
}
4989

4990
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucket(ref common.ReferenceCallback) common.OpenAPIDefinition {
4991
	return common.OpenAPIDefinition{
4992
		Schema: spec.Schema{
4993
			SchemaProps: spec.SchemaProps{
4994
				Description: "PullRequestGeneratorBitbucket defines connection info specific to Bitbucket.",
4995
				Type:        []string{"object"},
4996
				Properties: map[string]spec.Schema{
4997
					"owner": {
4998
						SchemaProps: spec.SchemaProps{
4999
							Description: "Workspace to scan. Required.",
5000
							Default:     "",
5001
							Type:        []string{"string"},
5002
							Format:      "",
5003
						},
5004
					},
5005
					"repo": {
5006
						SchemaProps: spec.SchemaProps{
5007
							Description: "Repo name to scan. Required.",
5008
							Default:     "",
5009
							Type:        []string{"string"},
5010
							Format:      "",
5011
						},
5012
					},
5013
					"api": {
5014
						SchemaProps: spec.SchemaProps{
5015
							Description: "The Bitbucket REST API URL to talk to. If blank, uses https://api.bitbucket.org/2.0.",
5016
							Type:        []string{"string"},
5017
							Format:      "",
5018
						},
5019
					},
5020
					"basicAuth": {
5021
						SchemaProps: spec.SchemaProps{
5022
							Description: "Credentials for Basic auth",
5023
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
5024
						},
5025
					},
5026
					"bearerToken": {
5027
						SchemaProps: spec.SchemaProps{
5028
							Description: "Credentials for AppToken (Bearer auth)",
5029
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BearerTokenBitbucketCloud"),
5030
						},
5031
					},
5032
				},
5033
				Required: []string{"owner", "repo"},
5034
			},
5035
		},
5036
		Dependencies: []string{
5037
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BearerTokenBitbucketCloud"},
5038
	}
5039
}
5040

5041
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
5042
	return common.OpenAPIDefinition{
5043
		Schema: spec.Schema{
5044
			SchemaProps: spec.SchemaProps{
5045
				Description: "PullRequestGeneratorBitbucketServer defines connection info specific to BitbucketServer.",
5046
				Type:        []string{"object"},
5047
				Properties: map[string]spec.Schema{
5048
					"project": {
5049
						SchemaProps: spec.SchemaProps{
5050
							Description: "Project to scan. Required.",
5051
							Default:     "",
5052
							Type:        []string{"string"},
5053
							Format:      "",
5054
						},
5055
					},
5056
					"repo": {
5057
						SchemaProps: spec.SchemaProps{
5058
							Description: "Repo name to scan. Required.",
5059
							Default:     "",
5060
							Type:        []string{"string"},
5061
							Format:      "",
5062
						},
5063
					},
5064
					"api": {
5065
						SchemaProps: spec.SchemaProps{
5066
							Description: "The Bitbucket REST API URL to talk to e.g. https://bitbucket.org/rest Required.",
5067
							Default:     "",
5068
							Type:        []string{"string"},
5069
							Format:      "",
5070
						},
5071
					},
5072
					"basicAuth": {
5073
						SchemaProps: spec.SchemaProps{
5074
							Description: "Credentials for Basic auth",
5075
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
5076
						},
5077
					},
5078
				},
5079
				Required: []string{"project", "repo", "api"},
5080
			},
5081
		},
5082
		Dependencies: []string{
5083
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"},
5084
	}
5085
}
5086

5087
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
5088
	return common.OpenAPIDefinition{
5089
		Schema: spec.Schema{
5090
			SchemaProps: spec.SchemaProps{
5091
				Description: "PullRequestGeneratorFilter is a single pull request filter. If multiple filter types are set on a single struct, they will be AND'd together. All filters must pass for a pull request to be included.",
5092
				Type:        []string{"object"},
5093
				Properties: map[string]spec.Schema{
5094
					"branchMatch": {
5095
						SchemaProps: spec.SchemaProps{
5096
							Type:   []string{"string"},
5097
							Format: "",
5098
						},
5099
					},
5100
					"targetBranchMatch": {
5101
						SchemaProps: spec.SchemaProps{
5102
							Type:   []string{"string"},
5103
							Format: "",
5104
						},
5105
					},
5106
				},
5107
			},
5108
		},
5109
	}
5110
}
5111

5112
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitLab(ref common.ReferenceCallback) common.OpenAPIDefinition {
5113
	return common.OpenAPIDefinition{
5114
		Schema: spec.Schema{
5115
			SchemaProps: spec.SchemaProps{
5116
				Description: "PullRequestGeneratorGitLab defines connection info specific to GitLab.",
5117
				Type:        []string{"object"},
5118
				Properties: map[string]spec.Schema{
5119
					"project": {
5120
						SchemaProps: spec.SchemaProps{
5121
							Description: "GitLab project to scan. Required.",
5122
							Default:     "",
5123
							Type:        []string{"string"},
5124
							Format:      "",
5125
						},
5126
					},
5127
					"api": {
5128
						SchemaProps: spec.SchemaProps{
5129
							Description: "The GitLab API URL to talk to. If blank, uses https://gitlab.com/.",
5130
							Type:        []string{"string"},
5131
							Format:      "",
5132
						},
5133
					},
5134
					"tokenRef": {
5135
						SchemaProps: spec.SchemaProps{
5136
							Description: "Authentication token reference.",
5137
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
5138
						},
5139
					},
5140
					"labels": {
5141
						SchemaProps: spec.SchemaProps{
5142
							Description: "Labels is used to filter the MRs that you want to target",
5143
							Type:        []string{"array"},
5144
							Items: &spec.SchemaOrArray{
5145
								Schema: &spec.Schema{
5146
									SchemaProps: spec.SchemaProps{
5147
										Default: "",
5148
										Type:    []string{"string"},
5149
										Format:  "",
5150
									},
5151
								},
5152
							},
5153
						},
5154
					},
5155
					"pullRequestState": {
5156
						SchemaProps: spec.SchemaProps{
5157
							Description: "PullRequestState is an additional MRs filter to get only those with a certain state. Default: \"\" (all states)",
5158
							Type:        []string{"string"},
5159
							Format:      "",
5160
						},
5161
					},
5162
					"insecure": {
5163
						SchemaProps: spec.SchemaProps{
5164
							Description: "Skips validating the SCM provider's TLS certificate - useful for self-signed certificates.; default: false",
5165
							Type:        []string{"boolean"},
5166
							Format:      "",
5167
						},
5168
					},
5169
				},
5170
				Required: []string{"project"},
5171
			},
5172
		},
5173
		Dependencies: []string{
5174
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
5175
	}
5176
}
5177

5178
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitea(ref common.ReferenceCallback) common.OpenAPIDefinition {
5179
	return common.OpenAPIDefinition{
5180
		Schema: spec.Schema{
5181
			SchemaProps: spec.SchemaProps{
5182
				Description: "PullRequestGeneratorGitea defines connection info specific to Gitea.",
5183
				Type:        []string{"object"},
5184
				Properties: map[string]spec.Schema{
5185
					"owner": {
5186
						SchemaProps: spec.SchemaProps{
5187
							Description: "Gitea org or user to scan. Required.",
5188
							Default:     "",
5189
							Type:        []string{"string"},
5190
							Format:      "",
5191
						},
5192
					},
5193
					"repo": {
5194
						SchemaProps: spec.SchemaProps{
5195
							Description: "Gitea repo name to scan. Required.",
5196
							Default:     "",
5197
							Type:        []string{"string"},
5198
							Format:      "",
5199
						},
5200
					},
5201
					"api": {
5202
						SchemaProps: spec.SchemaProps{
5203
							Description: "The Gitea API URL to talk to. Required",
5204
							Default:     "",
5205
							Type:        []string{"string"},
5206
							Format:      "",
5207
						},
5208
					},
5209
					"tokenRef": {
5210
						SchemaProps: spec.SchemaProps{
5211
							Description: "Authentication token reference.",
5212
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
5213
						},
5214
					},
5215
					"insecure": {
5216
						SchemaProps: spec.SchemaProps{
5217
							Description: "Allow insecure tls, for self-signed certificates; default: false.",
5218
							Type:        []string{"boolean"},
5219
							Format:      "",
5220
						},
5221
					},
5222
				},
5223
				Required: []string{"owner", "repo", "api"},
5224
			},
5225
		},
5226
		Dependencies: []string{
5227
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
5228
	}
5229
}
5230

5231
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGithub(ref common.ReferenceCallback) common.OpenAPIDefinition {
5232
	return common.OpenAPIDefinition{
5233
		Schema: spec.Schema{
5234
			SchemaProps: spec.SchemaProps{
5235
				Description: "PullRequestGenerator defines connection info specific to GitHub.",
5236
				Type:        []string{"object"},
5237
				Properties: map[string]spec.Schema{
5238
					"owner": {
5239
						SchemaProps: spec.SchemaProps{
5240
							Description: "GitHub org or user to scan. Required.",
5241
							Default:     "",
5242
							Type:        []string{"string"},
5243
							Format:      "",
5244
						},
5245
					},
5246
					"repo": {
5247
						SchemaProps: spec.SchemaProps{
5248
							Description: "GitHub repo name to scan. Required.",
5249
							Default:     "",
5250
							Type:        []string{"string"},
5251
							Format:      "",
5252
						},
5253
					},
5254
					"api": {
5255
						SchemaProps: spec.SchemaProps{
5256
							Description: "The GitHub API URL to talk to. If blank, use https://api.github.com/.",
5257
							Type:        []string{"string"},
5258
							Format:      "",
5259
						},
5260
					},
5261
					"tokenRef": {
5262
						SchemaProps: spec.SchemaProps{
5263
							Description: "Authentication token reference.",
5264
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
5265
						},
5266
					},
5267
					"appSecretName": {
5268
						SchemaProps: spec.SchemaProps{
5269
							Description: "AppSecretName is a reference to a GitHub App repo-creds secret with permission to access pull requests.",
5270
							Type:        []string{"string"},
5271
							Format:      "",
5272
						},
5273
					},
5274
					"labels": {
5275
						SchemaProps: spec.SchemaProps{
5276
							Description: "Labels is used to filter the PRs that you want to target",
5277
							Type:        []string{"array"},
5278
							Items: &spec.SchemaOrArray{
5279
								Schema: &spec.Schema{
5280
									SchemaProps: spec.SchemaProps{
5281
										Default: "",
5282
										Type:    []string{"string"},
5283
										Format:  "",
5284
									},
5285
								},
5286
							},
5287
						},
5288
					},
5289
				},
5290
				Required: []string{"owner", "repo"},
5291
			},
5292
		},
5293
		Dependencies: []string{
5294
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
5295
	}
5296
}
5297

5298
func schema_pkg_apis_application_v1alpha1_RefTarget(ref common.ReferenceCallback) common.OpenAPIDefinition {
5299
	return common.OpenAPIDefinition{
5300
		Schema: spec.Schema{
5301
			SchemaProps: spec.SchemaProps{
5302
				Type: []string{"object"},
5303
				Properties: map[string]spec.Schema{
5304
					"Repo": {
5305
						SchemaProps: spec.SchemaProps{
5306
							Default: map[string]interface{}{},
5307
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"),
5308
						},
5309
					},
5310
					"TargetRevision": {
5311
						SchemaProps: spec.SchemaProps{
5312
							Default: "",
5313
							Type:    []string{"string"},
5314
							Format:  "",
5315
						},
5316
					},
5317
					"Chart": {
5318
						SchemaProps: spec.SchemaProps{
5319
							Default: "",
5320
							Type:    []string{"string"},
5321
							Format:  "",
5322
						},
5323
					},
5324
				},
5325
				Required: []string{"Repo", "TargetRevision", "Chart"},
5326
			},
5327
		},
5328
		Dependencies: []string{
5329
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"},
5330
	}
5331
}
5332

5333
func schema_pkg_apis_application_v1alpha1_RepoCreds(ref common.ReferenceCallback) common.OpenAPIDefinition {
5334
	return common.OpenAPIDefinition{
5335
		Schema: spec.Schema{
5336
			SchemaProps: spec.SchemaProps{
5337
				Description: "RepoCreds holds the definition for repository credentials",
5338
				Type:        []string{"object"},
5339
				Properties: map[string]spec.Schema{
5340
					"url": {
5341
						SchemaProps: spec.SchemaProps{
5342
							Description: "URL is the URL that this credentials matches to",
5343
							Default:     "",
5344
							Type:        []string{"string"},
5345
							Format:      "",
5346
						},
5347
					},
5348
					"username": {
5349
						SchemaProps: spec.SchemaProps{
5350
							Description: "Username for authenticating at the repo server",
5351
							Type:        []string{"string"},
5352
							Format:      "",
5353
						},
5354
					},
5355
					"password": {
5356
						SchemaProps: spec.SchemaProps{
5357
							Description: "Password for authenticating at the repo server",
5358
							Type:        []string{"string"},
5359
							Format:      "",
5360
						},
5361
					},
5362
					"sshPrivateKey": {
5363
						SchemaProps: spec.SchemaProps{
5364
							Description: "SSHPrivateKey contains the private key data for authenticating at the repo server using SSH (only Git repos)",
5365
							Type:        []string{"string"},
5366
							Format:      "",
5367
						},
5368
					},
5369
					"tlsClientCertData": {
5370
						SchemaProps: spec.SchemaProps{
5371
							Description: "TLSClientCertData specifies the TLS client cert data for authenticating at the repo server",
5372
							Type:        []string{"string"},
5373
							Format:      "",
5374
						},
5375
					},
5376
					"tlsClientCertKey": {
5377
						SchemaProps: spec.SchemaProps{
5378
							Description: "TLSClientCertKey specifies the TLS client cert key for authenticating at the repo server",
5379
							Type:        []string{"string"},
5380
							Format:      "",
5381
						},
5382
					},
5383
					"githubAppPrivateKey": {
5384
						SchemaProps: spec.SchemaProps{
5385
							Description: "GithubAppPrivateKey specifies the private key PEM data for authentication via GitHub app",
5386
							Type:        []string{"string"},
5387
							Format:      "",
5388
						},
5389
					},
5390
					"githubAppID": {
5391
						SchemaProps: spec.SchemaProps{
5392
							Description: "GithubAppId specifies the Github App ID of the app used to access the repo for GitHub app authentication",
5393
							Type:        []string{"integer"},
5394
							Format:      "int64",
5395
						},
5396
					},
5397
					"githubAppInstallationID": {
5398
						SchemaProps: spec.SchemaProps{
5399
							Description: "GithubAppInstallationId specifies the ID of the installed GitHub App for GitHub app authentication",
5400
							Type:        []string{"integer"},
5401
							Format:      "int64",
5402
						},
5403
					},
5404
					"githubAppEnterpriseBaseUrl": {
5405
						SchemaProps: spec.SchemaProps{
5406
							Description: "GithubAppEnterpriseBaseURL specifies the GitHub API URL for GitHub app authentication. If empty will default to https://api.github.com",
5407
							Type:        []string{"string"},
5408
							Format:      "",
5409
						},
5410
					},
5411
					"enableOCI": {
5412
						SchemaProps: spec.SchemaProps{
5413
							Description: "EnableOCI specifies whether helm-oci support should be enabled for this repo",
5414
							Type:        []string{"boolean"},
5415
							Format:      "",
5416
						},
5417
					},
5418
					"type": {
5419
						SchemaProps: spec.SchemaProps{
5420
							Description: "Type specifies the type of the repoCreds. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent.",
5421
							Type:        []string{"string"},
5422
							Format:      "",
5423
						},
5424
					},
5425
					"gcpServiceAccountKey": {
5426
						SchemaProps: spec.SchemaProps{
5427
							Description: "GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos",
5428
							Type:        []string{"string"},
5429
							Format:      "",
5430
						},
5431
					},
5432
					"proxy": {
5433
						SchemaProps: spec.SchemaProps{
5434
							Description: "Proxy specifies the HTTP/HTTPS proxy used to access repos at the repo server",
5435
							Type:        []string{"string"},
5436
							Format:      "",
5437
						},
5438
					},
5439
					"forceHttpBasicAuth": {
5440
						SchemaProps: spec.SchemaProps{
5441
							Description: "ForceHttpBasicAuth specifies whether Argo CD should attempt to force basic auth for HTTP connections",
5442
							Type:        []string{"boolean"},
5443
							Format:      "",
5444
						},
5445
					},
5446
				},
5447
				Required: []string{"url"},
5448
			},
5449
		},
5450
	}
5451
}
5452

5453
func schema_pkg_apis_application_v1alpha1_RepoCredsList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5454
	return common.OpenAPIDefinition{
5455
		Schema: spec.Schema{
5456
			SchemaProps: spec.SchemaProps{
5457
				Description: "RepositoryList is a collection of Repositories.",
5458
				Type:        []string{"object"},
5459
				Properties: map[string]spec.Schema{
5460
					"metadata": {
5461
						SchemaProps: spec.SchemaProps{
5462
							Default: map[string]interface{}{},
5463
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5464
						},
5465
					},
5466
					"items": {
5467
						SchemaProps: spec.SchemaProps{
5468
							Type: []string{"array"},
5469
							Items: &spec.SchemaOrArray{
5470
								Schema: &spec.Schema{
5471
									SchemaProps: spec.SchemaProps{
5472
										Default: map[string]interface{}{},
5473
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds"),
5474
									},
5475
								},
5476
							},
5477
						},
5478
					},
5479
				},
5480
				Required: []string{"items"},
5481
			},
5482
		},
5483
		Dependencies: []string{
5484
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5485
	}
5486
}
5487

5488
func schema_pkg_apis_application_v1alpha1_Repository(ref common.ReferenceCallback) common.OpenAPIDefinition {
5489
	return common.OpenAPIDefinition{
5490
		Schema: spec.Schema{
5491
			SchemaProps: spec.SchemaProps{
5492
				Description: "Repository is a repository holding application configurations",
5493
				Type:        []string{"object"},
5494
				Properties: map[string]spec.Schema{
5495
					"repo": {
5496
						SchemaProps: spec.SchemaProps{
5497
							Description: "Repo contains the URL to the remote repository",
5498
							Default:     "",
5499
							Type:        []string{"string"},
5500
							Format:      "",
5501
						},
5502
					},
5503
					"username": {
5504
						SchemaProps: spec.SchemaProps{
5505
							Description: "Username contains the user name used for authenticating at the remote repository",
5506
							Type:        []string{"string"},
5507
							Format:      "",
5508
						},
5509
					},
5510
					"password": {
5511
						SchemaProps: spec.SchemaProps{
5512
							Description: "Password contains the password or PAT used for authenticating at the remote repository",
5513
							Type:        []string{"string"},
5514
							Format:      "",
5515
						},
5516
					},
5517
					"sshPrivateKey": {
5518
						SchemaProps: spec.SchemaProps{
5519
							Description: "SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.",
5520
							Type:        []string{"string"},
5521
							Format:      "",
5522
						},
5523
					},
5524
					"connectionState": {
5525
						SchemaProps: spec.SchemaProps{
5526
							Description: "ConnectionState contains information about the current state of connection to the repository server",
5527
							Default:     map[string]interface{}{},
5528
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
5529
						},
5530
					},
5531
					"insecureIgnoreHostKey": {
5532
						SchemaProps: spec.SchemaProps{
5533
							Description: "InsecureIgnoreHostKey should not be used anymore, Insecure is favoured Used only for Git repos",
5534
							Type:        []string{"boolean"},
5535
							Format:      "",
5536
						},
5537
					},
5538
					"insecure": {
5539
						SchemaProps: spec.SchemaProps{
5540
							Description: "Insecure specifies whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys",
5541
							Type:        []string{"boolean"},
5542
							Format:      "",
5543
						},
5544
					},
5545
					"enableLfs": {
5546
						SchemaProps: spec.SchemaProps{
5547
							Description: "EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.",
5548
							Type:        []string{"boolean"},
5549
							Format:      "",
5550
						},
5551
					},
5552
					"tlsClientCertData": {
5553
						SchemaProps: spec.SchemaProps{
5554
							Description: "TLSClientCertData contains a certificate in PEM format for authenticating at the repo server",
5555
							Type:        []string{"string"},
5556
							Format:      "",
5557
						},
5558
					},
5559
					"tlsClientCertKey": {
5560
						SchemaProps: spec.SchemaProps{
5561
							Description: "TLSClientCertKey contains a private key in PEM format for authenticating at the repo server",
5562
							Type:        []string{"string"},
5563
							Format:      "",
5564
						},
5565
					},
5566
					"type": {
5567
						SchemaProps: spec.SchemaProps{
5568
							Description: "Type specifies the type of the repo. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent.",
5569
							Type:        []string{"string"},
5570
							Format:      "",
5571
						},
5572
					},
5573
					"name": {
5574
						SchemaProps: spec.SchemaProps{
5575
							Description: "Name specifies a name to be used for this repo. Only used with Helm repos",
5576
							Type:        []string{"string"},
5577
							Format:      "",
5578
						},
5579
					},
5580
					"inheritedCreds": {
5581
						SchemaProps: spec.SchemaProps{
5582
							Description: "Whether credentials were inherited from a credential set",
5583
							Type:        []string{"boolean"},
5584
							Format:      "",
5585
						},
5586
					},
5587
					"enableOCI": {
5588
						SchemaProps: spec.SchemaProps{
5589
							Description: "EnableOCI specifies whether helm-oci support should be enabled for this repo",
5590
							Type:        []string{"boolean"},
5591
							Format:      "",
5592
						},
5593
					},
5594
					"githubAppPrivateKey": {
5595
						SchemaProps: spec.SchemaProps{
5596
							Description: "Github App Private Key PEM data",
5597
							Type:        []string{"string"},
5598
							Format:      "",
5599
						},
5600
					},
5601
					"githubAppID": {
5602
						SchemaProps: spec.SchemaProps{
5603
							Description: "GithubAppId specifies the ID of the GitHub app used to access the repo",
5604
							Type:        []string{"integer"},
5605
							Format:      "int64",
5606
						},
5607
					},
5608
					"githubAppInstallationID": {
5609
						SchemaProps: spec.SchemaProps{
5610
							Description: "GithubAppInstallationId specifies the installation ID of the GitHub App used to access the repo",
5611
							Type:        []string{"integer"},
5612
							Format:      "int64",
5613
						},
5614
					},
5615
					"githubAppEnterpriseBaseUrl": {
5616
						SchemaProps: spec.SchemaProps{
5617
							Description: "GithubAppEnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com",
5618
							Type:        []string{"string"},
5619
							Format:      "",
5620
						},
5621
					},
5622
					"proxy": {
5623
						SchemaProps: spec.SchemaProps{
5624
							Description: "Proxy specifies the HTTP/HTTPS proxy used to access the repo",
5625
							Type:        []string{"string"},
5626
							Format:      "",
5627
						},
5628
					},
5629
					"project": {
5630
						SchemaProps: spec.SchemaProps{
5631
							Description: "Reference between project and repository that allow you automatically to be added as item inside SourceRepos project entity",
5632
							Type:        []string{"string"},
5633
							Format:      "",
5634
						},
5635
					},
5636
					"gcpServiceAccountKey": {
5637
						SchemaProps: spec.SchemaProps{
5638
							Description: "GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos",
5639
							Type:        []string{"string"},
5640
							Format:      "",
5641
						},
5642
					},
5643
					"forceHttpBasicAuth": {
5644
						SchemaProps: spec.SchemaProps{
5645
							Description: "ForceHttpBasicAuth specifies whether Argo CD should attempt to force basic auth for HTTP connections",
5646
							Type:        []string{"boolean"},
5647
							Format:      "",
5648
						},
5649
					},
5650
				},
5651
				Required: []string{"repo"},
5652
			},
5653
		},
5654
		Dependencies: []string{
5655
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"},
5656
	}
5657
}
5658

5659
func schema_pkg_apis_application_v1alpha1_RepositoryCertificate(ref common.ReferenceCallback) common.OpenAPIDefinition {
5660
	return common.OpenAPIDefinition{
5661
		Schema: spec.Schema{
5662
			SchemaProps: spec.SchemaProps{
5663
				Description: "A RepositoryCertificate is either SSH known hosts entry or TLS certificate",
5664
				Type:        []string{"object"},
5665
				Properties: map[string]spec.Schema{
5666
					"serverName": {
5667
						SchemaProps: spec.SchemaProps{
5668
							Description: "ServerName specifies the DNS name of the server this certificate is intended for",
5669
							Default:     "",
5670
							Type:        []string{"string"},
5671
							Format:      "",
5672
						},
5673
					},
5674
					"certType": {
5675
						SchemaProps: spec.SchemaProps{
5676
							Description: "CertType specifies the type of the certificate - currently one of \"https\" or \"ssh\"",
5677
							Default:     "",
5678
							Type:        []string{"string"},
5679
							Format:      "",
5680
						},
5681
					},
5682
					"certSubType": {
5683
						SchemaProps: spec.SchemaProps{
5684
							Description: "CertSubType specifies the sub type of the cert, i.e. \"ssh-rsa\"",
5685
							Default:     "",
5686
							Type:        []string{"string"},
5687
							Format:      "",
5688
						},
5689
					},
5690
					"certData": {
5691
						SchemaProps: spec.SchemaProps{
5692
							Description: "CertData contains the actual certificate data, dependent on the certificate type",
5693
							Type:        []string{"string"},
5694
							Format:      "byte",
5695
						},
5696
					},
5697
					"certInfo": {
5698
						SchemaProps: spec.SchemaProps{
5699
							Description: "CertInfo will hold additional certificate info, depdendent on the certificate type (e.g. SSH fingerprint, X509 CommonName)",
5700
							Default:     "",
5701
							Type:        []string{"string"},
5702
							Format:      "",
5703
						},
5704
					},
5705
				},
5706
				Required: []string{"serverName", "certType", "certSubType", "certData", "certInfo"},
5707
			},
5708
		},
5709
	}
5710
}
5711

5712
func schema_pkg_apis_application_v1alpha1_RepositoryCertificateList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5713
	return common.OpenAPIDefinition{
5714
		Schema: spec.Schema{
5715
			SchemaProps: spec.SchemaProps{
5716
				Description: "RepositoryCertificateList is a collection of RepositoryCertificates",
5717
				Type:        []string{"object"},
5718
				Properties: map[string]spec.Schema{
5719
					"metadata": {
5720
						SchemaProps: spec.SchemaProps{
5721
							Default: map[string]interface{}{},
5722
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5723
						},
5724
					},
5725
					"items": {
5726
						SchemaProps: spec.SchemaProps{
5727
							Description: "List of certificates to be processed",
5728
							Type:        []string{"array"},
5729
							Items: &spec.SchemaOrArray{
5730
								Schema: &spec.Schema{
5731
									SchemaProps: spec.SchemaProps{
5732
										Default: map[string]interface{}{},
5733
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate"),
5734
									},
5735
								},
5736
							},
5737
						},
5738
					},
5739
				},
5740
				Required: []string{"items"},
5741
			},
5742
		},
5743
		Dependencies: []string{
5744
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5745
	}
5746
}
5747

5748
func schema_pkg_apis_application_v1alpha1_RepositoryList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5749
	return common.OpenAPIDefinition{
5750
		Schema: spec.Schema{
5751
			SchemaProps: spec.SchemaProps{
5752
				Description: "RepositoryList is a collection of Repositories.",
5753
				Type:        []string{"object"},
5754
				Properties: map[string]spec.Schema{
5755
					"metadata": {
5756
						SchemaProps: spec.SchemaProps{
5757
							Default: map[string]interface{}{},
5758
							Ref:     ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5759
						},
5760
					},
5761
					"items": {
5762
						SchemaProps: spec.SchemaProps{
5763
							Type: []string{"array"},
5764
							Items: &spec.SchemaOrArray{
5765
								Schema: &spec.Schema{
5766
									SchemaProps: spec.SchemaProps{
5767
										Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"),
5768
									},
5769
								},
5770
							},
5771
						},
5772
					},
5773
				},
5774
				Required: []string{"items"},
5775
			},
5776
		},
5777
		Dependencies: []string{
5778
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5779
	}
5780
}
5781

5782
func schema_pkg_apis_application_v1alpha1_ResourceAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
5783
	return common.OpenAPIDefinition{
5784
		Schema: spec.Schema{
5785
			SchemaProps: spec.SchemaProps{
5786
				Type: []string{"object"},
5787
				Properties: map[string]spec.Schema{
5788
					"name": {
5789
						SchemaProps: spec.SchemaProps{
5790
							Type:   []string{"string"},
5791
							Format: "",
5792
						},
5793
					},
5794
					"params": {
5795
						SchemaProps: spec.SchemaProps{
5796
							Type: []string{"array"},
5797
							Items: &spec.SchemaOrArray{
5798
								Schema: &spec.Schema{
5799
									SchemaProps: spec.SchemaProps{
5800
										Default: map[string]interface{}{},
5801
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam"),
5802
									},
5803
								},
5804
							},
5805
						},
5806
					},
5807
					"disabled": {
5808
						SchemaProps: spec.SchemaProps{
5809
							Type:   []string{"boolean"},
5810
							Format: "",
5811
						},
5812
					},
5813
					"iconClass": {
5814
						SchemaProps: spec.SchemaProps{
5815
							Type:   []string{"string"},
5816
							Format: "",
5817
						},
5818
					},
5819
					"displayName": {
5820
						SchemaProps: spec.SchemaProps{
5821
							Type:   []string{"string"},
5822
							Format: "",
5823
						},
5824
					},
5825
				},
5826
			},
5827
		},
5828
		Dependencies: []string{
5829
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam"},
5830
	}
5831
}
5832

5833
func schema_pkg_apis_application_v1alpha1_ResourceActionDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition {
5834
	return common.OpenAPIDefinition{
5835
		Schema: spec.Schema{
5836
			SchemaProps: spec.SchemaProps{
5837
				Type: []string{"object"},
5838
				Properties: map[string]spec.Schema{
5839
					"name": {
5840
						SchemaProps: spec.SchemaProps{
5841
							Default: "",
5842
							Type:    []string{"string"},
5843
							Format:  "",
5844
						},
5845
					},
5846
					"action.lua": {
5847
						SchemaProps: spec.SchemaProps{
5848
							Default: "",
5849
							Type:    []string{"string"},
5850
							Format:  "",
5851
						},
5852
					},
5853
				},
5854
				Required: []string{"name", "action.lua"},
5855
			},
5856
		},
5857
	}
5858
}
5859

5860
func schema_pkg_apis_application_v1alpha1_ResourceActionParam(ref common.ReferenceCallback) common.OpenAPIDefinition {
5861
	return common.OpenAPIDefinition{
5862
		Schema: spec.Schema{
5863
			SchemaProps: spec.SchemaProps{
5864
				Type: []string{"object"},
5865
				Properties: map[string]spec.Schema{
5866
					"name": {
5867
						SchemaProps: spec.SchemaProps{
5868
							Type:   []string{"string"},
5869
							Format: "",
5870
						},
5871
					},
5872
					"value": {
5873
						SchemaProps: spec.SchemaProps{
5874
							Type:   []string{"string"},
5875
							Format: "",
5876
						},
5877
					},
5878
					"type": {
5879
						SchemaProps: spec.SchemaProps{
5880
							Type:   []string{"string"},
5881
							Format: "",
5882
						},
5883
					},
5884
					"default": {
5885
						SchemaProps: spec.SchemaProps{
5886
							Type:   []string{"string"},
5887
							Format: "",
5888
						},
5889
					},
5890
				},
5891
			},
5892
		},
5893
	}
5894
}
5895

5896
func schema_pkg_apis_application_v1alpha1_ResourceActions(ref common.ReferenceCallback) common.OpenAPIDefinition {
5897
	return common.OpenAPIDefinition{
5898
		Schema: spec.Schema{
5899
			SchemaProps: spec.SchemaProps{
5900
				Type: []string{"object"},
5901
				Properties: map[string]spec.Schema{
5902
					"discovery.lua": {
5903
						SchemaProps: spec.SchemaProps{
5904
							Type:   []string{"string"},
5905
							Format: "",
5906
						},
5907
					},
5908
					"definitions": {
5909
						SchemaProps: spec.SchemaProps{
5910
							Type: []string{"array"},
5911
							Items: &spec.SchemaOrArray{
5912
								Schema: &spec.Schema{
5913
									SchemaProps: spec.SchemaProps{
5914
										Default: map[string]interface{}{},
5915
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition"),
5916
									},
5917
								},
5918
							},
5919
						},
5920
					},
5921
				},
5922
			},
5923
		},
5924
		Dependencies: []string{
5925
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition"},
5926
	}
5927
}
5928

5929
func schema_pkg_apis_application_v1alpha1_ResourceDiff(ref common.ReferenceCallback) common.OpenAPIDefinition {
5930
	return common.OpenAPIDefinition{
5931
		Schema: spec.Schema{
5932
			SchemaProps: spec.SchemaProps{
5933
				Description: "ResourceDiff holds the diff of a live and target resource object",
5934
				Type:        []string{"object"},
5935
				Properties: map[string]spec.Schema{
5936
					"group": {
5937
						SchemaProps: spec.SchemaProps{
5938
							Type:   []string{"string"},
5939
							Format: "",
5940
						},
5941
					},
5942
					"kind": {
5943
						SchemaProps: spec.SchemaProps{
5944
							Type:   []string{"string"},
5945
							Format: "",
5946
						},
5947
					},
5948
					"namespace": {
5949
						SchemaProps: spec.SchemaProps{
5950
							Type:   []string{"string"},
5951
							Format: "",
5952
						},
5953
					},
5954
					"name": {
5955
						SchemaProps: spec.SchemaProps{
5956
							Type:   []string{"string"},
5957
							Format: "",
5958
						},
5959
					},
5960
					"targetState": {
5961
						SchemaProps: spec.SchemaProps{
5962
							Description: "TargetState contains the JSON serialized resource manifest defined in the Git/Helm",
5963
							Type:        []string{"string"},
5964
							Format:      "",
5965
						},
5966
					},
5967
					"liveState": {
5968
						SchemaProps: spec.SchemaProps{
5969
							Description: "TargetState contains the JSON live resource manifest",
5970
							Type:        []string{"string"},
5971
							Format:      "",
5972
						},
5973
					},
5974
					"diff": {
5975
						SchemaProps: spec.SchemaProps{
5976
							Description: "Diff contains the JSON patch between target and live resource Deprecated: use NormalizedLiveState and PredictedLiveState to render the difference",
5977
							Type:        []string{"string"},
5978
							Format:      "",
5979
						},
5980
					},
5981
					"hook": {
5982
						SchemaProps: spec.SchemaProps{
5983
							Type:   []string{"boolean"},
5984
							Format: "",
5985
						},
5986
					},
5987
					"normalizedLiveState": {
5988
						SchemaProps: spec.SchemaProps{
5989
							Description: "NormalizedLiveState contains JSON serialized live resource state with applied normalizations",
5990
							Type:        []string{"string"},
5991
							Format:      "",
5992
						},
5993
					},
5994
					"predictedLiveState": {
5995
						SchemaProps: spec.SchemaProps{
5996
							Description: "PredictedLiveState contains JSON serialized resource state that is calculated based on normalized and target resource state",
5997
							Type:        []string{"string"},
5998
							Format:      "",
5999
						},
6000
					},
6001
					"resourceVersion": {
6002
						SchemaProps: spec.SchemaProps{
6003
							Type:   []string{"string"},
6004
							Format: "",
6005
						},
6006
					},
6007
					"modified": {
6008
						SchemaProps: spec.SchemaProps{
6009
							Type:   []string{"boolean"},
6010
							Format: "",
6011
						},
6012
					},
6013
				},
6014
			},
6015
		},
6016
	}
6017
}
6018

6019
func schema_pkg_apis_application_v1alpha1_ResourceIgnoreDifferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
6020
	return common.OpenAPIDefinition{
6021
		Schema: spec.Schema{
6022
			SchemaProps: spec.SchemaProps{
6023
				Description: "ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.",
6024
				Type:        []string{"object"},
6025
				Properties: map[string]spec.Schema{
6026
					"group": {
6027
						SchemaProps: spec.SchemaProps{
6028
							Type:   []string{"string"},
6029
							Format: "",
6030
						},
6031
					},
6032
					"kind": {
6033
						SchemaProps: spec.SchemaProps{
6034
							Default: "",
6035
							Type:    []string{"string"},
6036
							Format:  "",
6037
						},
6038
					},
6039
					"name": {
6040
						SchemaProps: spec.SchemaProps{
6041
							Type:   []string{"string"},
6042
							Format: "",
6043
						},
6044
					},
6045
					"namespace": {
6046
						SchemaProps: spec.SchemaProps{
6047
							Type:   []string{"string"},
6048
							Format: "",
6049
						},
6050
					},
6051
					"jsonPointers": {
6052
						SchemaProps: spec.SchemaProps{
6053
							Type: []string{"array"},
6054
							Items: &spec.SchemaOrArray{
6055
								Schema: &spec.Schema{
6056
									SchemaProps: spec.SchemaProps{
6057
										Default: "",
6058
										Type:    []string{"string"},
6059
										Format:  "",
6060
									},
6061
								},
6062
							},
6063
						},
6064
					},
6065
					"jqPathExpressions": {
6066
						SchemaProps: spec.SchemaProps{
6067
							Type: []string{"array"},
6068
							Items: &spec.SchemaOrArray{
6069
								Schema: &spec.Schema{
6070
									SchemaProps: spec.SchemaProps{
6071
										Default: "",
6072
										Type:    []string{"string"},
6073
										Format:  "",
6074
									},
6075
								},
6076
							},
6077
						},
6078
					},
6079
					"managedFieldsManagers": {
6080
						SchemaProps: spec.SchemaProps{
6081
							Description: "ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the desired state defined in the SCM and won't be displayed in diffs",
6082
							Type:        []string{"array"},
6083
							Items: &spec.SchemaOrArray{
6084
								Schema: &spec.Schema{
6085
									SchemaProps: spec.SchemaProps{
6086
										Default: "",
6087
										Type:    []string{"string"},
6088
										Format:  "",
6089
									},
6090
								},
6091
							},
6092
						},
6093
					},
6094
				},
6095
				Required: []string{"kind"},
6096
			},
6097
		},
6098
	}
6099
}
6100

6101
func schema_pkg_apis_application_v1alpha1_ResourceNetworkingInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
6102
	return common.OpenAPIDefinition{
6103
		Schema: spec.Schema{
6104
			SchemaProps: spec.SchemaProps{
6105
				Description: "ResourceNetworkingInfo holds networking resource related information",
6106
				Type:        []string{"object"},
6107
				Properties: map[string]spec.Schema{
6108
					"targetLabels": {
6109
						SchemaProps: spec.SchemaProps{
6110
							Type: []string{"object"},
6111
							AdditionalProperties: &spec.SchemaOrBool{
6112
								Allows: true,
6113
								Schema: &spec.Schema{
6114
									SchemaProps: spec.SchemaProps{
6115
										Default: "",
6116
										Type:    []string{"string"},
6117
										Format:  "",
6118
									},
6119
								},
6120
							},
6121
						},
6122
					},
6123
					"targetRefs": {
6124
						SchemaProps: spec.SchemaProps{
6125
							Type: []string{"array"},
6126
							Items: &spec.SchemaOrArray{
6127
								Schema: &spec.Schema{
6128
									SchemaProps: spec.SchemaProps{
6129
										Default: map[string]interface{}{},
6130
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef"),
6131
									},
6132
								},
6133
							},
6134
						},
6135
					},
6136
					"labels": {
6137
						SchemaProps: spec.SchemaProps{
6138
							Type: []string{"object"},
6139
							AdditionalProperties: &spec.SchemaOrBool{
6140
								Allows: true,
6141
								Schema: &spec.Schema{
6142
									SchemaProps: spec.SchemaProps{
6143
										Default: "",
6144
										Type:    []string{"string"},
6145
										Format:  "",
6146
									},
6147
								},
6148
							},
6149
						},
6150
					},
6151
					"ingress": {
6152
						SchemaProps: spec.SchemaProps{
6153
							Type: []string{"array"},
6154
							Items: &spec.SchemaOrArray{
6155
								Schema: &spec.Schema{
6156
									SchemaProps: spec.SchemaProps{
6157
										Default: map[string]interface{}{},
6158
										Ref:     ref("k8s.io/api/core/v1.LoadBalancerIngress"),
6159
									},
6160
								},
6161
							},
6162
						},
6163
					},
6164
					"externalURLs": {
6165
						SchemaProps: spec.SchemaProps{
6166
							Description: "ExternalURLs holds list of URLs which should be available externally. List is populated for ingress resources using rules hostnames.",
6167
							Type:        []string{"array"},
6168
							Items: &spec.SchemaOrArray{
6169
								Schema: &spec.Schema{
6170
									SchemaProps: spec.SchemaProps{
6171
										Default: "",
6172
										Type:    []string{"string"},
6173
										Format:  "",
6174
									},
6175
								},
6176
							},
6177
						},
6178
					},
6179
				},
6180
			},
6181
		},
6182
		Dependencies: []string{
6183
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef", "k8s.io/api/core/v1.LoadBalancerIngress"},
6184
	}
6185
}
6186

6187
func schema_pkg_apis_application_v1alpha1_ResourceNode(ref common.ReferenceCallback) common.OpenAPIDefinition {
6188
	return common.OpenAPIDefinition{
6189
		Schema: spec.Schema{
6190
			SchemaProps: spec.SchemaProps{
6191
				Description: "ResourceNode contains information about live resource and its children",
6192
				Type:        []string{"object"},
6193
				Properties: map[string]spec.Schema{
6194
					"group": {
6195
						SchemaProps: spec.SchemaProps{
6196
							Type:   []string{"string"},
6197
							Format: "",
6198
						},
6199
					},
6200
					"version": {
6201
						SchemaProps: spec.SchemaProps{
6202
							Type:   []string{"string"},
6203
							Format: "",
6204
						},
6205
					},
6206
					"kind": {
6207
						SchemaProps: spec.SchemaProps{
6208
							Type:   []string{"string"},
6209
							Format: "",
6210
						},
6211
					},
6212
					"namespace": {
6213
						SchemaProps: spec.SchemaProps{
6214
							Type:   []string{"string"},
6215
							Format: "",
6216
						},
6217
					},
6218
					"name": {
6219
						SchemaProps: spec.SchemaProps{
6220
							Type:   []string{"string"},
6221
							Format: "",
6222
						},
6223
					},
6224
					"uid": {
6225
						SchemaProps: spec.SchemaProps{
6226
							Type:   []string{"string"},
6227
							Format: "",
6228
						},
6229
					},
6230
					"parentRefs": {
6231
						SchemaProps: spec.SchemaProps{
6232
							Type: []string{"array"},
6233
							Items: &spec.SchemaOrArray{
6234
								Schema: &spec.Schema{
6235
									SchemaProps: spec.SchemaProps{
6236
										Default: map[string]interface{}{},
6237
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef"),
6238
									},
6239
								},
6240
							},
6241
						},
6242
					},
6243
					"info": {
6244
						SchemaProps: spec.SchemaProps{
6245
							Type: []string{"array"},
6246
							Items: &spec.SchemaOrArray{
6247
								Schema: &spec.Schema{
6248
									SchemaProps: spec.SchemaProps{
6249
										Default: map[string]interface{}{},
6250
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.InfoItem"),
6251
									},
6252
								},
6253
							},
6254
						},
6255
					},
6256
					"networkingInfo": {
6257
						SchemaProps: spec.SchemaProps{
6258
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNetworkingInfo"),
6259
						},
6260
					},
6261
					"resourceVersion": {
6262
						SchemaProps: spec.SchemaProps{
6263
							Type:   []string{"string"},
6264
							Format: "",
6265
						},
6266
					},
6267
					"images": {
6268
						SchemaProps: spec.SchemaProps{
6269
							Type: []string{"array"},
6270
							Items: &spec.SchemaOrArray{
6271
								Schema: &spec.Schema{
6272
									SchemaProps: spec.SchemaProps{
6273
										Default: "",
6274
										Type:    []string{"string"},
6275
										Format:  "",
6276
									},
6277
								},
6278
							},
6279
						},
6280
					},
6281
					"health": {
6282
						SchemaProps: spec.SchemaProps{
6283
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
6284
						},
6285
					},
6286
					"createdAt": {
6287
						SchemaProps: spec.SchemaProps{
6288
							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6289
						},
6290
					},
6291
				},
6292
			},
6293
		},
6294
		Dependencies: []string{
6295
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.InfoItem", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNetworkingInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
6296
	}
6297
}
6298

6299
func schema_pkg_apis_application_v1alpha1_ResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition {
6300
	return common.OpenAPIDefinition{
6301
		Schema: spec.Schema{
6302
			SchemaProps: spec.SchemaProps{
6303
				Description: "ResourceOverride holds configuration to customize resource diffing and health assessment",
6304
				Type:        []string{"object"},
6305
				Properties: map[string]spec.Schema{
6306
					"HealthLua": {
6307
						SchemaProps: spec.SchemaProps{
6308
							Default: "",
6309
							Type:    []string{"string"},
6310
							Format:  "",
6311
						},
6312
					},
6313
					"UseOpenLibs": {
6314
						SchemaProps: spec.SchemaProps{
6315
							Default: false,
6316
							Type:    []string{"boolean"},
6317
							Format:  "",
6318
						},
6319
					},
6320
					"Actions": {
6321
						SchemaProps: spec.SchemaProps{
6322
							Default: "",
6323
							Type:    []string{"string"},
6324
							Format:  "",
6325
						},
6326
					},
6327
					"IgnoreDifferences": {
6328
						SchemaProps: spec.SchemaProps{
6329
							Default: map[string]interface{}{},
6330
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"),
6331
						},
6332
					},
6333
					"IgnoreResourceUpdates": {
6334
						SchemaProps: spec.SchemaProps{
6335
							Default: map[string]interface{}{},
6336
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"),
6337
						},
6338
					},
6339
					"KnownTypeFields": {
6340
						SchemaProps: spec.SchemaProps{
6341
							Type: []string{"array"},
6342
							Items: &spec.SchemaOrArray{
6343
								Schema: &spec.Schema{
6344
									SchemaProps: spec.SchemaProps{
6345
										Default: map[string]interface{}{},
6346
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"),
6347
									},
6348
								},
6349
							},
6350
						},
6351
					},
6352
				},
6353
				Required: []string{"HealthLua", "UseOpenLibs", "Actions", "IgnoreDifferences", "IgnoreResourceUpdates", "KnownTypeFields"},
6354
			},
6355
		},
6356
		Dependencies: []string{
6357
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"},
6358
	}
6359
}
6360

6361
func schema_pkg_apis_application_v1alpha1_ResourceRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
6362
	return common.OpenAPIDefinition{
6363
		Schema: spec.Schema{
6364
			SchemaProps: spec.SchemaProps{
6365
				Description: "ResourceRef includes fields which uniquely identify a resource",
6366
				Type:        []string{"object"},
6367
				Properties: map[string]spec.Schema{
6368
					"group": {
6369
						SchemaProps: spec.SchemaProps{
6370
							Type:   []string{"string"},
6371
							Format: "",
6372
						},
6373
					},
6374
					"version": {
6375
						SchemaProps: spec.SchemaProps{
6376
							Type:   []string{"string"},
6377
							Format: "",
6378
						},
6379
					},
6380
					"kind": {
6381
						SchemaProps: spec.SchemaProps{
6382
							Type:   []string{"string"},
6383
							Format: "",
6384
						},
6385
					},
6386
					"namespace": {
6387
						SchemaProps: spec.SchemaProps{
6388
							Type:   []string{"string"},
6389
							Format: "",
6390
						},
6391
					},
6392
					"name": {
6393
						SchemaProps: spec.SchemaProps{
6394
							Type:   []string{"string"},
6395
							Format: "",
6396
						},
6397
					},
6398
					"uid": {
6399
						SchemaProps: spec.SchemaProps{
6400
							Type:   []string{"string"},
6401
							Format: "",
6402
						},
6403
					},
6404
				},
6405
			},
6406
		},
6407
	}
6408
}
6409

6410
func schema_pkg_apis_application_v1alpha1_ResourceResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
6411
	return common.OpenAPIDefinition{
6412
		Schema: spec.Schema{
6413
			SchemaProps: spec.SchemaProps{
6414
				Description: "ResourceResult holds the operation result details of a specific resource",
6415
				Type:        []string{"object"},
6416
				Properties: map[string]spec.Schema{
6417
					"group": {
6418
						SchemaProps: spec.SchemaProps{
6419
							Description: "Group specifies the API group of the resource",
6420
							Default:     "",
6421
							Type:        []string{"string"},
6422
							Format:      "",
6423
						},
6424
					},
6425
					"version": {
6426
						SchemaProps: spec.SchemaProps{
6427
							Description: "Version specifies the API version of the resource",
6428
							Default:     "",
6429
							Type:        []string{"string"},
6430
							Format:      "",
6431
						},
6432
					},
6433
					"kind": {
6434
						SchemaProps: spec.SchemaProps{
6435
							Description: "Kind specifies the API kind of the resource",
6436
							Default:     "",
6437
							Type:        []string{"string"},
6438
							Format:      "",
6439
						},
6440
					},
6441
					"namespace": {
6442
						SchemaProps: spec.SchemaProps{
6443
							Description: "Namespace specifies the target namespace of the resource",
6444
							Default:     "",
6445
							Type:        []string{"string"},
6446
							Format:      "",
6447
						},
6448
					},
6449
					"name": {
6450
						SchemaProps: spec.SchemaProps{
6451
							Description: "Name specifies the name of the resource",
6452
							Default:     "",
6453
							Type:        []string{"string"},
6454
							Format:      "",
6455
						},
6456
					},
6457
					"status": {
6458
						SchemaProps: spec.SchemaProps{
6459
							Description: "Status holds the final result of the sync. Will be empty if the resources is yet to be applied/pruned and is always zero-value for hooks",
6460
							Type:        []string{"string"},
6461
							Format:      "",
6462
						},
6463
					},
6464
					"message": {
6465
						SchemaProps: spec.SchemaProps{
6466
							Description: "Message contains an informational or error message for the last sync OR operation",
6467
							Type:        []string{"string"},
6468
							Format:      "",
6469
						},
6470
					},
6471
					"hookType": {
6472
						SchemaProps: spec.SchemaProps{
6473
							Description: "HookType specifies the type of the hook. Empty for non-hook resources",
6474
							Type:        []string{"string"},
6475
							Format:      "",
6476
						},
6477
					},
6478
					"hookPhase": {
6479
						SchemaProps: spec.SchemaProps{
6480
							Description: "HookPhase contains the state of any operation associated with this resource OR hook This can also contain values for non-hook resources.",
6481
							Type:        []string{"string"},
6482
							Format:      "",
6483
						},
6484
					},
6485
					"syncPhase": {
6486
						SchemaProps: spec.SchemaProps{
6487
							Description: "SyncPhase indicates the particular phase of the sync that this result was acquired in",
6488
							Type:        []string{"string"},
6489
							Format:      "",
6490
						},
6491
					},
6492
				},
6493
				Required: []string{"group", "version", "kind", "namespace", "name"},
6494
			},
6495
		},
6496
	}
6497
}
6498

6499
func schema_pkg_apis_application_v1alpha1_ResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
6500
	return common.OpenAPIDefinition{
6501
		Schema: spec.Schema{
6502
			SchemaProps: spec.SchemaProps{
6503
				Description: "ResourceStatus holds the current sync and health status of a resource",
6504
				Type:        []string{"object"},
6505
				Properties: map[string]spec.Schema{
6506
					"group": {
6507
						SchemaProps: spec.SchemaProps{
6508
							Type:   []string{"string"},
6509
							Format: "",
6510
						},
6511
					},
6512
					"version": {
6513
						SchemaProps: spec.SchemaProps{
6514
							Type:   []string{"string"},
6515
							Format: "",
6516
						},
6517
					},
6518
					"kind": {
6519
						SchemaProps: spec.SchemaProps{
6520
							Type:   []string{"string"},
6521
							Format: "",
6522
						},
6523
					},
6524
					"namespace": {
6525
						SchemaProps: spec.SchemaProps{
6526
							Type:   []string{"string"},
6527
							Format: "",
6528
						},
6529
					},
6530
					"name": {
6531
						SchemaProps: spec.SchemaProps{
6532
							Type:   []string{"string"},
6533
							Format: "",
6534
						},
6535
					},
6536
					"status": {
6537
						SchemaProps: spec.SchemaProps{
6538
							Type:   []string{"string"},
6539
							Format: "",
6540
						},
6541
					},
6542
					"health": {
6543
						SchemaProps: spec.SchemaProps{
6544
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
6545
						},
6546
					},
6547
					"hook": {
6548
						SchemaProps: spec.SchemaProps{
6549
							Type:   []string{"boolean"},
6550
							Format: "",
6551
						},
6552
					},
6553
					"requiresPruning": {
6554
						SchemaProps: spec.SchemaProps{
6555
							Type:   []string{"boolean"},
6556
							Format: "",
6557
						},
6558
					},
6559
					"syncWave": {
6560
						SchemaProps: spec.SchemaProps{
6561
							Type:   []string{"integer"},
6562
							Format: "int64",
6563
						},
6564
					},
6565
				},
6566
			},
6567
		},
6568
		Dependencies: []string{
6569
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"},
6570
	}
6571
}
6572

6573
func schema_pkg_apis_application_v1alpha1_RetryStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
6574
	return common.OpenAPIDefinition{
6575
		Schema: spec.Schema{
6576
			SchemaProps: spec.SchemaProps{
6577
				Description: "RetryStrategy contains information about the strategy to apply when a sync failed",
6578
				Type:        []string{"object"},
6579
				Properties: map[string]spec.Schema{
6580
					"limit": {
6581
						SchemaProps: spec.SchemaProps{
6582
							Description: "Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.",
6583
							Type:        []string{"integer"},
6584
							Format:      "int64",
6585
						},
6586
					},
6587
					"backoff": {
6588
						SchemaProps: spec.SchemaProps{
6589
							Description: "Backoff controls how to backoff on subsequent retries of failed syncs",
6590
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff"),
6591
						},
6592
					},
6593
				},
6594
			},
6595
		},
6596
		Dependencies: []string{
6597
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff"},
6598
	}
6599
}
6600

6601
func schema_pkg_apis_application_v1alpha1_RevisionHistory(ref common.ReferenceCallback) common.OpenAPIDefinition {
6602
	return common.OpenAPIDefinition{
6603
		Schema: spec.Schema{
6604
			SchemaProps: spec.SchemaProps{
6605
				Description: "RevisionHistory contains history information about a previous sync",
6606
				Type:        []string{"object"},
6607
				Properties: map[string]spec.Schema{
6608
					"revision": {
6609
						SchemaProps: spec.SchemaProps{
6610
							Description: "Revision holds the revision the sync was performed against",
6611
							Type:        []string{"string"},
6612
							Format:      "",
6613
						},
6614
					},
6615
					"deployedAt": {
6616
						SchemaProps: spec.SchemaProps{
6617
							Description: "DeployedAt holds the time the sync operation completed",
6618
							Default:     map[string]interface{}{},
6619
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6620
						},
6621
					},
6622
					"id": {
6623
						SchemaProps: spec.SchemaProps{
6624
							Description: "ID is an auto incrementing identifier of the RevisionHistory",
6625
							Default:     0,
6626
							Type:        []string{"integer"},
6627
							Format:      "int64",
6628
						},
6629
					},
6630
					"source": {
6631
						SchemaProps: spec.SchemaProps{
6632
							Description: "Source is a reference to the application source used for the sync operation",
6633
							Default:     map[string]interface{}{},
6634
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
6635
						},
6636
					},
6637
					"deployStartedAt": {
6638
						SchemaProps: spec.SchemaProps{
6639
							Description: "DeployStartedAt holds the time the sync operation started",
6640
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6641
						},
6642
					},
6643
					"sources": {
6644
						SchemaProps: spec.SchemaProps{
6645
							Description: "Sources is a reference to the application sources used for the sync operation",
6646
							Type:        []string{"array"},
6647
							Items: &spec.SchemaOrArray{
6648
								Schema: &spec.Schema{
6649
									SchemaProps: spec.SchemaProps{
6650
										Default: map[string]interface{}{},
6651
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
6652
									},
6653
								},
6654
							},
6655
						},
6656
					},
6657
					"revisions": {
6658
						SchemaProps: spec.SchemaProps{
6659
							Description: "Revisions holds the revision of each source in sources field the sync was performed against",
6660
							Type:        []string{"array"},
6661
							Items: &spec.SchemaOrArray{
6662
								Schema: &spec.Schema{
6663
									SchemaProps: spec.SchemaProps{
6664
										Default: "",
6665
										Type:    []string{"string"},
6666
										Format:  "",
6667
									},
6668
								},
6669
							},
6670
						},
6671
					},
6672
					"initiatedBy": {
6673
						SchemaProps: spec.SchemaProps{
6674
							Description: "InitiatedBy contains information about who initiated the operations",
6675
							Default:     map[string]interface{}{},
6676
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator"),
6677
						},
6678
					},
6679
				},
6680
				Required: []string{"deployedAt", "id"},
6681
			},
6682
		},
6683
		Dependencies: []string{
6684
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
6685
	}
6686
}
6687

6688
func schema_pkg_apis_application_v1alpha1_RevisionMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
6689
	return common.OpenAPIDefinition{
6690
		Schema: spec.Schema{
6691
			SchemaProps: spec.SchemaProps{
6692
				Description: "RevisionMetadata contains metadata for a specific revision in a Git repository",
6693
				Type:        []string{"object"},
6694
				Properties: map[string]spec.Schema{
6695
					"author": {
6696
						SchemaProps: spec.SchemaProps{
6697
							Description: "who authored this revision, typically their name and email, e.g. \"John Doe <john_doe@my-company.com>\", but might not match this example",
6698
							Type:        []string{"string"},
6699
							Format:      "",
6700
						},
6701
					},
6702
					"date": {
6703
						SchemaProps: spec.SchemaProps{
6704
							Description: "Date specifies when the revision was authored",
6705
							Default:     map[string]interface{}{},
6706
							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6707
						},
6708
					},
6709
					"tags": {
6710
						SchemaProps: spec.SchemaProps{
6711
							Description: "Tags specifies any tags currently attached to the revision Floating tags can move from one revision to another",
6712
							Type:        []string{"array"},
6713
							Items: &spec.SchemaOrArray{
6714
								Schema: &spec.Schema{
6715
									SchemaProps: spec.SchemaProps{
6716
										Default: "",
6717
										Type:    []string{"string"},
6718
										Format:  "",
6719
									},
6720
								},
6721
							},
6722
						},
6723
					},
6724
					"message": {
6725
						SchemaProps: spec.SchemaProps{
6726
							Description: "Message contains the message associated with the revision, most likely the commit message.",
6727
							Type:        []string{"string"},
6728
							Format:      "",
6729
						},
6730
					},
6731
					"signatureInfo": {
6732
						SchemaProps: spec.SchemaProps{
6733
							Description: "SignatureInfo contains a hint on the signer if the revision was signed with GPG, and signature verification is enabled.",
6734
							Type:        []string{"string"},
6735
							Format:      "",
6736
						},
6737
					},
6738
				},
6739
				Required: []string{"date"},
6740
			},
6741
		},
6742
		Dependencies: []string{
6743
			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
6744
	}
6745
}
6746

6747
func schema_pkg_apis_application_v1alpha1_SCMProviderGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
6748
	return common.OpenAPIDefinition{
6749
		Schema: spec.Schema{
6750
			SchemaProps: spec.SchemaProps{
6751
				Description: "SCMProviderGenerator defines a generator that scrapes a SCMaaS API to find candidate repos.",
6752
				Type:        []string{"object"},
6753
				Properties: map[string]spec.Schema{
6754
					"github": {
6755
						SchemaProps: spec.SchemaProps{
6756
							Description: "Which provider to use and config for it.",
6757
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGithub"),
6758
						},
6759
					},
6760
					"gitlab": {
6761
						SchemaProps: spec.SchemaProps{
6762
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitlab"),
6763
						},
6764
					},
6765
					"bitbucket": {
6766
						SchemaProps: spec.SchemaProps{
6767
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucket"),
6768
						},
6769
					},
6770
					"bitbucketServer": {
6771
						SchemaProps: spec.SchemaProps{
6772
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucketServer"),
6773
						},
6774
					},
6775
					"gitea": {
6776
						SchemaProps: spec.SchemaProps{
6777
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitea"),
6778
						},
6779
					},
6780
					"azureDevOps": {
6781
						SchemaProps: spec.SchemaProps{
6782
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAzureDevOps"),
6783
						},
6784
					},
6785
					"filters": {
6786
						SchemaProps: spec.SchemaProps{
6787
							Description: "Filters for which repos should be considered.",
6788
							Type:        []string{"array"},
6789
							Items: &spec.SchemaOrArray{
6790
								Schema: &spec.Schema{
6791
									SchemaProps: spec.SchemaProps{
6792
										Default: map[string]interface{}{},
6793
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorFilter"),
6794
									},
6795
								},
6796
							},
6797
						},
6798
					},
6799
					"cloneProtocol": {
6800
						SchemaProps: spec.SchemaProps{
6801
							Description: "Which protocol to use for the SCM URL. Default is provider-specific but ssh if possible. Not all providers necessarily support all protocols.",
6802
							Type:        []string{"string"},
6803
							Format:      "",
6804
						},
6805
					},
6806
					"requeueAfterSeconds": {
6807
						SchemaProps: spec.SchemaProps{
6808
							Description: "Standard parameters.",
6809
							Type:        []string{"integer"},
6810
							Format:      "int64",
6811
						},
6812
					},
6813
					"template": {
6814
						SchemaProps: spec.SchemaProps{
6815
							Default: map[string]interface{}{},
6816
							Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
6817
						},
6818
					},
6819
					"values": {
6820
						SchemaProps: spec.SchemaProps{
6821
							Description: "Values contains key/value pairs which are passed directly as parameters to the template",
6822
							Type:        []string{"object"},
6823
							AdditionalProperties: &spec.SchemaOrBool{
6824
								Allows: true,
6825
								Schema: &spec.Schema{
6826
									SchemaProps: spec.SchemaProps{
6827
										Default: "",
6828
										Type:    []string{"string"},
6829
										Format:  "",
6830
									},
6831
								},
6832
							},
6833
						},
6834
					},
6835
					"awsCodeCommit": {
6836
						SchemaProps: spec.SchemaProps{
6837
							Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAWSCodeCommit"),
6838
						},
6839
					},
6840
				},
6841
			},
6842
		},
6843
		Dependencies: []string{
6844
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAWSCodeCommit", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAzureDevOps", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucket", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucketServer", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorFilter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitea", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGithub", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitlab"},
6845
	}
6846
}
6847

6848
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAWSCodeCommit(ref common.ReferenceCallback) common.OpenAPIDefinition {
6849
	return common.OpenAPIDefinition{
6850
		Schema: spec.Schema{
6851
			SchemaProps: spec.SchemaProps{
6852
				Description: "SCMProviderGeneratorAWSCodeCommit defines connection info specific to AWS CodeCommit.",
6853
				Type:        []string{"object"},
6854
				Properties: map[string]spec.Schema{
6855
					"tagFilters": {
6856
						SchemaProps: spec.SchemaProps{
6857
							Description: "TagFilters provides the tag filter(s) for repo discovery",
6858
							Type:        []string{"array"},
6859
							Items: &spec.SchemaOrArray{
6860
								Schema: &spec.Schema{
6861
									SchemaProps: spec.SchemaProps{
6862
										Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TagFilter"),
6863
									},
6864
								},
6865
							},
6866
						},
6867
					},
6868
					"role": {
6869
						SchemaProps: spec.SchemaProps{
6870
							Description: "Role provides the AWS IAM role to assume, for cross-account repo discovery if not provided, AppSet controller will use its pod/node identity to discover.",
6871
							Type:        []string{"string"},
6872
							Format:      "",
6873
						},
6874
					},
6875
					"region": {
6876
						SchemaProps: spec.SchemaProps{
6877
							Description: "Region provides the AWS region to discover repos. if not provided, AppSet controller will infer the current region from environment.",
6878
							Type:        []string{"string"},
6879
							Format:      "",
6880
						},
6881
					},
6882
					"allBranches": {
6883
						SchemaProps: spec.SchemaProps{
6884
							Description: "Scan all branches instead of just the default branch.",
6885
							Type:        []string{"boolean"},
6886
							Format:      "",
6887
						},
6888
					},
6889
				},
6890
			},
6891
		},
6892
		Dependencies: []string{
6893
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TagFilter"},
6894
	}
6895
}
6896

6897
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAzureDevOps(ref common.ReferenceCallback) common.OpenAPIDefinition {
6898
	return common.OpenAPIDefinition{
6899
		Schema: spec.Schema{
6900
			SchemaProps: spec.SchemaProps{
6901
				Description: "SCMProviderGeneratorAzureDevOps defines connection info specific to Azure DevOps.",
6902
				Type:        []string{"object"},
6903
				Properties: map[string]spec.Schema{
6904
					"organization": {
6905
						SchemaProps: spec.SchemaProps{
6906
							Description: "Azure Devops organization. Required. E.g. \"my-organization\".",
6907
							Default:     "",
6908
							Type:        []string{"string"},
6909
							Format:      "",
6910
						},
6911
					},
6912
					"api": {
6913
						SchemaProps: spec.SchemaProps{
6914
							Description: "The URL to Azure DevOps. If blank, use https://dev.azure.com.",
6915
							Type:        []string{"string"},
6916
							Format:      "",
6917
						},
6918
					},
6919
					"teamProject": {
6920
						SchemaProps: spec.SchemaProps{
6921
							Description: "Azure Devops team project. Required. E.g. \"my-team\".",
6922
							Default:     "",
6923
							Type:        []string{"string"},
6924
							Format:      "",
6925
						},
6926
					},
6927
					"accessTokenRef": {
6928
						SchemaProps: spec.SchemaProps{
6929
							Description: "The Personal Access Token (PAT) to use when connecting. Required.",
6930
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
6931
						},
6932
					},
6933
					"allBranches": {
6934
						SchemaProps: spec.SchemaProps{
6935
							Description: "Scan all branches instead of just the default branch.",
6936
							Type:        []string{"boolean"},
6937
							Format:      "",
6938
						},
6939
					},
6940
				},
6941
				Required: []string{"organization", "teamProject", "accessTokenRef"},
6942
			},
6943
		},
6944
		Dependencies: []string{
6945
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
6946
	}
6947
}
6948

6949
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucket(ref common.ReferenceCallback) common.OpenAPIDefinition {
6950
	return common.OpenAPIDefinition{
6951
		Schema: spec.Schema{
6952
			SchemaProps: spec.SchemaProps{
6953
				Description: "SCMProviderGeneratorBitbucket defines connection info specific to Bitbucket Cloud (API version 2).",
6954
				Type:        []string{"object"},
6955
				Properties: map[string]spec.Schema{
6956
					"owner": {
6957
						SchemaProps: spec.SchemaProps{
6958
							Description: "Bitbucket workspace to scan. Required.",
6959
							Default:     "",
6960
							Type:        []string{"string"},
6961
							Format:      "",
6962
						},
6963
					},
6964
					"user": {
6965
						SchemaProps: spec.SchemaProps{
6966
							Description: "Bitbucket user to use when authenticating.  Should have a \"member\" role to be able to read all repositories and branches.  Required",
6967
							Default:     "",
6968
							Type:        []string{"string"},
6969
							Format:      "",
6970
						},
6971
					},
6972
					"appPasswordRef": {
6973
						SchemaProps: spec.SchemaProps{
6974
							Description: "The app password to use for the user.  Required. See: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/",
6975
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
6976
						},
6977
					},
6978
					"allBranches": {
6979
						SchemaProps: spec.SchemaProps{
6980
							Description: "Scan all branches instead of just the main branch.",
6981
							Type:        []string{"boolean"},
6982
							Format:      "",
6983
						},
6984
					},
6985
				},
6986
				Required: []string{"owner", "user", "appPasswordRef"},
6987
			},
6988
		},
6989
		Dependencies: []string{
6990
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
6991
	}
6992
}
6993

6994
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
6995
	return common.OpenAPIDefinition{
6996
		Schema: spec.Schema{
6997
			SchemaProps: spec.SchemaProps{
6998
				Description: "SCMProviderGeneratorBitbucketServer defines connection info specific to Bitbucket Server.",
6999
				Type:        []string{"object"},
7000
				Properties: map[string]spec.Schema{
7001
					"project": {
7002
						SchemaProps: spec.SchemaProps{
7003
							Description: "Project to scan. Required.",
7004
							Default:     "",
7005
							Type:        []string{"string"},
7006
							Format:      "",
7007
						},
7008
					},
7009
					"api": {
7010
						SchemaProps: spec.SchemaProps{
7011
							Description: "The Bitbucket Server REST API URL to talk to. Required.",
7012
							Default:     "",
7013
							Type:        []string{"string"},
7014
							Format:      "",
7015
						},
7016
					},
7017
					"basicAuth": {
7018
						SchemaProps: spec.SchemaProps{
7019
							Description: "Credentials for Basic auth",
7020
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
7021
						},
7022
					},
7023
					"allBranches": {
7024
						SchemaProps: spec.SchemaProps{
7025
							Description: "Scan all branches instead of just the default branch.",
7026
							Type:        []string{"boolean"},
7027
							Format:      "",
7028
						},
7029
					},
7030
				},
7031
				Required: []string{"project", "api"},
7032
			},
7033
		},
7034
		Dependencies: []string{
7035
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"},
7036
	}
7037
}
7038

7039
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
7040
	return common.OpenAPIDefinition{
7041
		Schema: spec.Schema{
7042
			SchemaProps: spec.SchemaProps{
7043
				Description: "SCMProviderGeneratorFilter is a single repository filter. If multiple filter types are set on a single struct, they will be AND'd together. All filters must pass for a repo to be included.",
7044
				Type:        []string{"object"},
7045
				Properties: map[string]spec.Schema{
7046
					"repositoryMatch": {
7047
						SchemaProps: spec.SchemaProps{
7048
							Description: "A regex for repo names.",
7049
							Type:        []string{"string"},
7050
							Format:      "",
7051
						},
7052
					},
7053
					"pathsExist": {
7054
						SchemaProps: spec.SchemaProps{
7055
							Description: "An array of paths, all of which must exist.",
7056
							Type:        []string{"array"},
7057
							Items: &spec.SchemaOrArray{
7058
								Schema: &spec.Schema{
7059
									SchemaProps: spec.SchemaProps{
7060
										Default: "",
7061
										Type:    []string{"string"},
7062
										Format:  "",
7063
									},
7064
								},
7065
							},
7066
						},
7067
					},
7068
					"pathsDoNotExist": {
7069
						SchemaProps: spec.SchemaProps{
7070
							Description: "An array of paths, all of which must not exist.",
7071
							Type:        []string{"array"},
7072
							Items: &spec.SchemaOrArray{
7073
								Schema: &spec.Schema{
7074
									SchemaProps: spec.SchemaProps{
7075
										Default: "",
7076
										Type:    []string{"string"},
7077
										Format:  "",
7078
									},
7079
								},
7080
							},
7081
						},
7082
					},
7083
					"labelMatch": {
7084
						SchemaProps: spec.SchemaProps{
7085
							Description: "A regex which must match at least one label.",
7086
							Type:        []string{"string"},
7087
							Format:      "",
7088
						},
7089
					},
7090
					"branchMatch": {
7091
						SchemaProps: spec.SchemaProps{
7092
							Description: "A regex which must match the branch name.",
7093
							Type:        []string{"string"},
7094
							Format:      "",
7095
						},
7096
					},
7097
				},
7098
			},
7099
		},
7100
	}
7101
}
7102

7103
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitea(ref common.ReferenceCallback) common.OpenAPIDefinition {
7104
	return common.OpenAPIDefinition{
7105
		Schema: spec.Schema{
7106
			SchemaProps: spec.SchemaProps{
7107
				Description: "SCMProviderGeneratorGitea defines a connection info specific to Gitea.",
7108
				Type:        []string{"object"},
7109
				Properties: map[string]spec.Schema{
7110
					"owner": {
7111
						SchemaProps: spec.SchemaProps{
7112
							Description: "Gitea organization or user to scan. Required.",
7113
							Default:     "",
7114
							Type:        []string{"string"},
7115
							Format:      "",
7116
						},
7117
					},
7118
					"api": {
7119
						SchemaProps: spec.SchemaProps{
7120
							Description: "The Gitea URL to talk to. For example https://gitea.mydomain.com/.",
7121
							Default:     "",
7122
							Type:        []string{"string"},
7123
							Format:      "",
7124
						},
7125
					},
7126
					"tokenRef": {
7127
						SchemaProps: spec.SchemaProps{
7128
							Description: "Authentication token reference.",
7129
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
7130
						},
7131
					},
7132
					"allBranches": {
7133
						SchemaProps: spec.SchemaProps{
7134
							Description: "Scan all branches instead of just the default branch.",
7135
							Type:        []string{"boolean"},
7136
							Format:      "",
7137
						},
7138
					},
7139
					"insecure": {
7140
						SchemaProps: spec.SchemaProps{
7141
							Description: "Allow self-signed TLS / Certificates; default: false",
7142
							Type:        []string{"boolean"},
7143
							Format:      "",
7144
						},
7145
					},
7146
				},
7147
				Required: []string{"owner", "api"},
7148
			},
7149
		},
7150
		Dependencies: []string{
7151
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
7152
	}
7153
}
7154

7155
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGithub(ref common.ReferenceCallback) common.OpenAPIDefinition {
7156
	return common.OpenAPIDefinition{
7157
		Schema: spec.Schema{
7158
			SchemaProps: spec.SchemaProps{
7159
				Description: "SCMProviderGeneratorGithub defines connection info specific to GitHub.",
7160
				Type:        []string{"object"},
7161
				Properties: map[string]spec.Schema{
7162
					"organization": {
7163
						SchemaProps: spec.SchemaProps{
7164
							Description: "GitHub org to scan. Required.",
7165
							Default:     "",
7166
							Type:        []string{"string"},
7167
							Format:      "",
7168
						},
7169
					},
7170
					"api": {
7171
						SchemaProps: spec.SchemaProps{
7172
							Description: "The GitHub API URL to talk to. If blank, use https://api.github.com/.",
7173
							Type:        []string{"string"},
7174
							Format:      "",
7175
						},
7176
					},
7177
					"tokenRef": {
7178
						SchemaProps: spec.SchemaProps{
7179
							Description: "Authentication token reference.",
7180
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
7181
						},
7182
					},
7183
					"appSecretName": {
7184
						SchemaProps: spec.SchemaProps{
7185
							Description: "AppSecretName is a reference to a GitHub App repo-creds secret.",
7186
							Type:        []string{"string"},
7187
							Format:      "",
7188
						},
7189
					},
7190
					"allBranches": {
7191
						SchemaProps: spec.SchemaProps{
7192
							Description: "Scan all branches instead of just the default branch.",
7193
							Type:        []string{"boolean"},
7194
							Format:      "",
7195
						},
7196
					},
7197
				},
7198
				Required: []string{"organization"},
7199
			},
7200
		},
7201
		Dependencies: []string{
7202
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
7203
	}
7204
}
7205

7206
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitlab(ref common.ReferenceCallback) common.OpenAPIDefinition {
7207
	return common.OpenAPIDefinition{
7208
		Schema: spec.Schema{
7209
			SchemaProps: spec.SchemaProps{
7210
				Description: "SCMProviderGeneratorGitlab defines connection info specific to Gitlab.",
7211
				Type:        []string{"object"},
7212
				Properties: map[string]spec.Schema{
7213
					"group": {
7214
						SchemaProps: spec.SchemaProps{
7215
							Description: "Gitlab group to scan. Required.  You can use either the project id (recommended) or the full namespaced path.",
7216
							Default:     "",
7217
							Type:        []string{"string"},
7218
							Format:      "",
7219
						},
7220
					},
7221
					"includeSubgroups": {
7222
						SchemaProps: spec.SchemaProps{
7223
							Description: "Recurse through subgroups (true) or scan only the base group (false).  Defaults to \"false\"",
7224
							Type:        []string{"boolean"},
7225
							Format:      "",
7226
						},
7227
					},
7228
					"api": {
7229
						SchemaProps: spec.SchemaProps{
7230
							Description: "The Gitlab API URL to talk to.",
7231
							Type:        []string{"string"},
7232
							Format:      "",
7233
						},
7234
					},
7235
					"tokenRef": {
7236
						SchemaProps: spec.SchemaProps{
7237
							Description: "Authentication token reference.",
7238
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
7239
						},
7240
					},
7241
					"allBranches": {
7242
						SchemaProps: spec.SchemaProps{
7243
							Description: "Scan all branches instead of just the default branch.",
7244
							Type:        []string{"boolean"},
7245
							Format:      "",
7246
						},
7247
					},
7248
					"insecure": {
7249
						SchemaProps: spec.SchemaProps{
7250
							Description: "Skips validating the SCM provider's TLS certificate - useful for self-signed certificates.; default: false",
7251
							Type:        []string{"boolean"},
7252
							Format:      "",
7253
						},
7254
					},
7255
					"includeSharedProjects": {
7256
						SchemaProps: spec.SchemaProps{
7257
							Description: "When recursing through subgroups, also include shared Projects (true) or scan only the subgroups under same path (false).  Defaults to \"true\"",
7258
							Type:        []string{"boolean"},
7259
							Format:      "",
7260
						},
7261
					},
7262
					"topic": {
7263
						SchemaProps: spec.SchemaProps{
7264
							Description: "Filter repos list based on Gitlab Topic.",
7265
							Type:        []string{"string"},
7266
							Format:      "",
7267
						},
7268
					},
7269
				},
7270
				Required: []string{"group"},
7271
			},
7272
		},
7273
		Dependencies: []string{
7274
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
7275
	}
7276
}
7277

7278
func schema_pkg_apis_application_v1alpha1_SecretRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
7279
	return common.OpenAPIDefinition{
7280
		Schema: spec.Schema{
7281
			SchemaProps: spec.SchemaProps{
7282
				Description: "Utility struct for a reference to a secret key.",
7283
				Type:        []string{"object"},
7284
				Properties: map[string]spec.Schema{
7285
					"secretName": {
7286
						SchemaProps: spec.SchemaProps{
7287
							Default: "",
7288
							Type:    []string{"string"},
7289
							Format:  "",
7290
						},
7291
					},
7292
					"key": {
7293
						SchemaProps: spec.SchemaProps{
7294
							Default: "",
7295
							Type:    []string{"string"},
7296
							Format:  "",
7297
						},
7298
					},
7299
				},
7300
				Required: []string{"secretName", "key"},
7301
			},
7302
		},
7303
	}
7304
}
7305

7306
func schema_pkg_apis_application_v1alpha1_SignatureKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
7307
	return common.OpenAPIDefinition{
7308
		Schema: spec.Schema{
7309
			SchemaProps: spec.SchemaProps{
7310
				Description: "SignatureKey is the specification of a key required to verify commit signatures with",
7311
				Type:        []string{"object"},
7312
				Properties: map[string]spec.Schema{
7313
					"keyID": {
7314
						SchemaProps: spec.SchemaProps{
7315
							Description: "The ID of the key in hexadecimal notation",
7316
							Default:     "",
7317
							Type:        []string{"string"},
7318
							Format:      "",
7319
						},
7320
					},
7321
				},
7322
				Required: []string{"keyID"},
7323
			},
7324
		},
7325
	}
7326
}
7327

7328
func schema_pkg_apis_application_v1alpha1_SyncOperation(ref common.ReferenceCallback) common.OpenAPIDefinition {
7329
	return common.OpenAPIDefinition{
7330
		Schema: spec.Schema{
7331
			SchemaProps: spec.SchemaProps{
7332
				Description: "SyncOperation contains details about a sync operation.",
7333
				Type:        []string{"object"},
7334
				Properties: map[string]spec.Schema{
7335
					"revision": {
7336
						SchemaProps: spec.SchemaProps{
7337
							Description: "Revision is the revision (Git) or chart version (Helm) which to sync the application to If omitted, will use the revision specified in app spec.",
7338
							Type:        []string{"string"},
7339
							Format:      "",
7340
						},
7341
					},
7342
					"prune": {
7343
						SchemaProps: spec.SchemaProps{
7344
							Description: "Prune specifies to delete resources from the cluster that are no longer tracked in git",
7345
							Type:        []string{"boolean"},
7346
							Format:      "",
7347
						},
7348
					},
7349
					"dryRun": {
7350
						SchemaProps: spec.SchemaProps{
7351
							Description: "DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync",
7352
							Type:        []string{"boolean"},
7353
							Format:      "",
7354
						},
7355
					},
7356
					"syncStrategy": {
7357
						SchemaProps: spec.SchemaProps{
7358
							Description: "SyncStrategy describes how to perform the sync",
7359
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategy"),
7360
						},
7361
					},
7362
					"resources": {
7363
						SchemaProps: spec.SchemaProps{
7364
							Description: "Resources describes which resources shall be part of the sync",
7365
							Type:        []string{"array"},
7366
							Items: &spec.SchemaOrArray{
7367
								Schema: &spec.Schema{
7368
									SchemaProps: spec.SchemaProps{
7369
										Default: map[string]interface{}{},
7370
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResource"),
7371
									},
7372
								},
7373
							},
7374
						},
7375
					},
7376
					"source": {
7377
						SchemaProps: spec.SchemaProps{
7378
							Description: "Source overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation",
7379
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7380
						},
7381
					},
7382
					"manifests": {
7383
						SchemaProps: spec.SchemaProps{
7384
							Description: "Manifests is an optional field that overrides sync source with a local directory for development",
7385
							Type:        []string{"array"},
7386
							Items: &spec.SchemaOrArray{
7387
								Schema: &spec.Schema{
7388
									SchemaProps: spec.SchemaProps{
7389
										Default: "",
7390
										Type:    []string{"string"},
7391
										Format:  "",
7392
									},
7393
								},
7394
							},
7395
						},
7396
					},
7397
					"syncOptions": {
7398
						SchemaProps: spec.SchemaProps{
7399
							Description: "SyncOptions provide per-sync sync-options, e.g. Validate=false",
7400
							Type:        []string{"array"},
7401
							Items: &spec.SchemaOrArray{
7402
								Schema: &spec.Schema{
7403
									SchemaProps: spec.SchemaProps{
7404
										Default: "",
7405
										Type:    []string{"string"},
7406
										Format:  "",
7407
									},
7408
								},
7409
							},
7410
						},
7411
					},
7412
					"sources": {
7413
						SchemaProps: spec.SchemaProps{
7414
							Description: "Sources overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation",
7415
							Type:        []string{"array"},
7416
							Items: &spec.SchemaOrArray{
7417
								Schema: &spec.Schema{
7418
									SchemaProps: spec.SchemaProps{
7419
										Default: map[string]interface{}{},
7420
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7421
									},
7422
								},
7423
							},
7424
						},
7425
					},
7426
					"revisions": {
7427
						SchemaProps: spec.SchemaProps{
7428
							Description: "Revisions is the list of revision (Git) or chart version (Helm) which to sync each source in sources field for the application to If omitted, will use the revision specified in app spec.",
7429
							Type:        []string{"array"},
7430
							Items: &spec.SchemaOrArray{
7431
								Schema: &spec.Schema{
7432
									SchemaProps: spec.SchemaProps{
7433
										Default: "",
7434
										Type:    []string{"string"},
7435
										Format:  "",
7436
									},
7437
								},
7438
							},
7439
						},
7440
					},
7441
				},
7442
			},
7443
		},
7444
		Dependencies: []string{
7445
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategy"},
7446
	}
7447
}
7448

7449
func schema_pkg_apis_application_v1alpha1_SyncOperationResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7450
	return common.OpenAPIDefinition{
7451
		Schema: spec.Schema{
7452
			SchemaProps: spec.SchemaProps{
7453
				Description: "SyncOperationResource contains resources to sync.",
7454
				Type:        []string{"object"},
7455
				Properties: map[string]spec.Schema{
7456
					"group": {
7457
						SchemaProps: spec.SchemaProps{
7458
							Type:   []string{"string"},
7459
							Format: "",
7460
						},
7461
					},
7462
					"kind": {
7463
						SchemaProps: spec.SchemaProps{
7464
							Default: "",
7465
							Type:    []string{"string"},
7466
							Format:  "",
7467
						},
7468
					},
7469
					"name": {
7470
						SchemaProps: spec.SchemaProps{
7471
							Default: "",
7472
							Type:    []string{"string"},
7473
							Format:  "",
7474
						},
7475
					},
7476
					"namespace": {
7477
						SchemaProps: spec.SchemaProps{
7478
							Type:   []string{"string"},
7479
							Format: "",
7480
						},
7481
					},
7482
				},
7483
				Required: []string{"kind", "name"},
7484
			},
7485
		},
7486
	}
7487
}
7488

7489
func schema_pkg_apis_application_v1alpha1_SyncOperationResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
7490
	return common.OpenAPIDefinition{
7491
		Schema: spec.Schema{
7492
			SchemaProps: spec.SchemaProps{
7493
				Description: "SyncOperationResult represent result of sync operation",
7494
				Type:        []string{"object"},
7495
				Properties: map[string]spec.Schema{
7496
					"resources": {
7497
						SchemaProps: spec.SchemaProps{
7498
							Description: "Resources contains a list of sync result items for each individual resource in a sync operation",
7499
							Type:        []string{"array"},
7500
							Items: &spec.SchemaOrArray{
7501
								Schema: &spec.Schema{
7502
									SchemaProps: spec.SchemaProps{
7503
										Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceResult"),
7504
									},
7505
								},
7506
							},
7507
						},
7508
					},
7509
					"revision": {
7510
						SchemaProps: spec.SchemaProps{
7511
							Description: "Revision holds the revision this sync operation was performed to",
7512
							Default:     "",
7513
							Type:        []string{"string"},
7514
							Format:      "",
7515
						},
7516
					},
7517
					"source": {
7518
						SchemaProps: spec.SchemaProps{
7519
							Description: "Source records the application source information of the sync, used for comparing auto-sync",
7520
							Default:     map[string]interface{}{},
7521
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7522
						},
7523
					},
7524
					"sources": {
7525
						SchemaProps: spec.SchemaProps{
7526
							Description: "Source records the application source information of the sync, used for comparing auto-sync",
7527
							Type:        []string{"array"},
7528
							Items: &spec.SchemaOrArray{
7529
								Schema: &spec.Schema{
7530
									SchemaProps: spec.SchemaProps{
7531
										Default: map[string]interface{}{},
7532
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7533
									},
7534
								},
7535
							},
7536
						},
7537
					},
7538
					"revisions": {
7539
						SchemaProps: spec.SchemaProps{
7540
							Description: "Revisions holds the revision this sync operation was performed for respective indexed source in sources field",
7541
							Type:        []string{"array"},
7542
							Items: &spec.SchemaOrArray{
7543
								Schema: &spec.Schema{
7544
									SchemaProps: spec.SchemaProps{
7545
										Default: "",
7546
										Type:    []string{"string"},
7547
										Format:  "",
7548
									},
7549
								},
7550
							},
7551
						},
7552
					},
7553
					"managedNamespaceMetadata": {
7554
						SchemaProps: spec.SchemaProps{
7555
							Description: "ManagedNamespaceMetadata contains the current sync state of managed namespace metadata",
7556
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata"),
7557
						},
7558
					},
7559
				},
7560
				Required: []string{"revision"},
7561
			},
7562
		},
7563
		Dependencies: []string{
7564
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceResult"},
7565
	}
7566
}
7567

7568
func schema_pkg_apis_application_v1alpha1_SyncPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
7569
	return common.OpenAPIDefinition{
7570
		Schema: spec.Schema{
7571
			SchemaProps: spec.SchemaProps{
7572
				Description: "SyncPolicy controls when a sync will be performed in response to updates in git",
7573
				Type:        []string{"object"},
7574
				Properties: map[string]spec.Schema{
7575
					"automated": {
7576
						SchemaProps: spec.SchemaProps{
7577
							Description: "Automated will keep an application synced to the target revision",
7578
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicyAutomated"),
7579
						},
7580
					},
7581
					"syncOptions": {
7582
						SchemaProps: spec.SchemaProps{
7583
							Description: "Options allow you to specify whole app sync-options",
7584
							Type:        []string{"array"},
7585
							Items: &spec.SchemaOrArray{
7586
								Schema: &spec.Schema{
7587
									SchemaProps: spec.SchemaProps{
7588
										Default: "",
7589
										Type:    []string{"string"},
7590
										Format:  "",
7591
									},
7592
								},
7593
							},
7594
						},
7595
					},
7596
					"retry": {
7597
						SchemaProps: spec.SchemaProps{
7598
							Description: "Retry controls failed sync retry behavior",
7599
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy"),
7600
						},
7601
					},
7602
					"managedNamespaceMetadata": {
7603
						SchemaProps: spec.SchemaProps{
7604
							Description: "ManagedNamespaceMetadata controls metadata in the given namespace (if CreateNamespace=true)",
7605
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata"),
7606
						},
7607
					},
7608
				},
7609
			},
7610
		},
7611
		Dependencies: []string{
7612
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicyAutomated"},
7613
	}
7614
}
7615

7616
func schema_pkg_apis_application_v1alpha1_SyncPolicyAutomated(ref common.ReferenceCallback) common.OpenAPIDefinition {
7617
	return common.OpenAPIDefinition{
7618
		Schema: spec.Schema{
7619
			SchemaProps: spec.SchemaProps{
7620
				Description: "SyncPolicyAutomated controls the behavior of an automated sync",
7621
				Type:        []string{"object"},
7622
				Properties: map[string]spec.Schema{
7623
					"prune": {
7624
						SchemaProps: spec.SchemaProps{
7625
							Description: "Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)",
7626
							Type:        []string{"boolean"},
7627
							Format:      "",
7628
						},
7629
					},
7630
					"selfHeal": {
7631
						SchemaProps: spec.SchemaProps{
7632
							Description: "SelfHeal specifies whether to revert resources back to their desired state upon modification in the cluster (default: false)",
7633
							Type:        []string{"boolean"},
7634
							Format:      "",
7635
						},
7636
					},
7637
					"allowEmpty": {
7638
						SchemaProps: spec.SchemaProps{
7639
							Description: "AllowEmpty allows apps have zero live resources (default: false)",
7640
							Type:        []string{"boolean"},
7641
							Format:      "",
7642
						},
7643
					},
7644
				},
7645
			},
7646
		},
7647
	}
7648
}
7649

7650
func schema_pkg_apis_application_v1alpha1_SyncStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
7651
	return common.OpenAPIDefinition{
7652
		Schema: spec.Schema{
7653
			SchemaProps: spec.SchemaProps{
7654
				Description: "SyncStatus contains information about the currently observed live and desired states of an application",
7655
				Type:        []string{"object"},
7656
				Properties: map[string]spec.Schema{
7657
					"status": {
7658
						SchemaProps: spec.SchemaProps{
7659
							Description: "Status is the sync state of the comparison",
7660
							Default:     "",
7661
							Type:        []string{"string"},
7662
							Format:      "",
7663
						},
7664
					},
7665
					"comparedTo": {
7666
						SchemaProps: spec.SchemaProps{
7667
							Description: "ComparedTo contains information about what has been compared",
7668
							Default:     map[string]interface{}{},
7669
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo"),
7670
						},
7671
					},
7672
					"revision": {
7673
						SchemaProps: spec.SchemaProps{
7674
							Description: "Revision contains information about the revision the comparison has been performed to",
7675
							Type:        []string{"string"},
7676
							Format:      "",
7677
						},
7678
					},
7679
					"revisions": {
7680
						SchemaProps: spec.SchemaProps{
7681
							Description: "Revisions contains information about the revisions of multiple sources the comparison has been performed to",
7682
							Type:        []string{"array"},
7683
							Items: &spec.SchemaOrArray{
7684
								Schema: &spec.Schema{
7685
									SchemaProps: spec.SchemaProps{
7686
										Default: "",
7687
										Type:    []string{"string"},
7688
										Format:  "",
7689
									},
7690
								},
7691
							},
7692
						},
7693
					},
7694
				},
7695
				Required: []string{"status"},
7696
			},
7697
		},
7698
		Dependencies: []string{
7699
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo"},
7700
	}
7701
}
7702

7703
func schema_pkg_apis_application_v1alpha1_SyncStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
7704
	return common.OpenAPIDefinition{
7705
		Schema: spec.Schema{
7706
			SchemaProps: spec.SchemaProps{
7707
				Description: "SyncStrategy controls the manner in which a sync is performed",
7708
				Type:        []string{"object"},
7709
				Properties: map[string]spec.Schema{
7710
					"apply": {
7711
						SchemaProps: spec.SchemaProps{
7712
							Description: "Apply will perform a `kubectl apply` to perform the sync.",
7713
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyApply"),
7714
						},
7715
					},
7716
					"hook": {
7717
						SchemaProps: spec.SchemaProps{
7718
							Description: "Hook will submit any referenced resources to perform the sync. This is the default strategy",
7719
							Ref:         ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyHook"),
7720
						},
7721
					},
7722
				},
7723
			},
7724
		},
7725
		Dependencies: []string{
7726
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyApply", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyHook"},
7727
	}
7728
}
7729

7730
func schema_pkg_apis_application_v1alpha1_SyncStrategyApply(ref common.ReferenceCallback) common.OpenAPIDefinition {
7731
	return common.OpenAPIDefinition{
7732
		Schema: spec.Schema{
7733
			SchemaProps: spec.SchemaProps{
7734
				Description: "SyncStrategyApply uses `kubectl apply` to perform the apply",
7735
				Type:        []string{"object"},
7736
				Properties: map[string]spec.Schema{
7737
					"force": {
7738
						SchemaProps: spec.SchemaProps{
7739
							Description: "Force indicates whether or not to supply the --force flag to `kubectl apply`. The --force flag deletes and re-create the resource, when PATCH encounters conflict and has retried for 5 times.",
7740
							Type:        []string{"boolean"},
7741
							Format:      "",
7742
						},
7743
					},
7744
				},
7745
			},
7746
		},
7747
	}
7748
}
7749

7750
func schema_pkg_apis_application_v1alpha1_SyncStrategyHook(ref common.ReferenceCallback) common.OpenAPIDefinition {
7751
	return common.OpenAPIDefinition{
7752
		Schema: spec.Schema{
7753
			SchemaProps: spec.SchemaProps{
7754
				Description: "SyncStrategyHook will perform a sync using hooks annotations. If no hook annotation is specified falls back to `kubectl apply`.",
7755
				Type:        []string{"object"},
7756
				Properties: map[string]spec.Schema{
7757
					"force": {
7758
						SchemaProps: spec.SchemaProps{
7759
							Description: "Force indicates whether or not to supply the --force flag to `kubectl apply`. The --force flag deletes and re-create the resource, when PATCH encounters conflict and has retried for 5 times.",
7760
							Type:        []string{"boolean"},
7761
							Format:      "",
7762
						},
7763
					},
7764
				},
7765
			},
7766
		},
7767
	}
7768
}
7769

7770
func schema_pkg_apis_application_v1alpha1_SyncWindow(ref common.ReferenceCallback) common.OpenAPIDefinition {
7771
	return common.OpenAPIDefinition{
7772
		Schema: spec.Schema{
7773
			SchemaProps: spec.SchemaProps{
7774
				Description: "SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps",
7775
				Type:        []string{"object"},
7776
				Properties: map[string]spec.Schema{
7777
					"kind": {
7778
						SchemaProps: spec.SchemaProps{
7779
							Description: "Kind defines if the window allows or blocks syncs",
7780
							Type:        []string{"string"},
7781
							Format:      "",
7782
						},
7783
					},
7784
					"schedule": {
7785
						SchemaProps: spec.SchemaProps{
7786
							Description: "Schedule is the time the window will begin, specified in cron format",
7787
							Type:        []string{"string"},
7788
							Format:      "",
7789
						},
7790
					},
7791
					"duration": {
7792
						SchemaProps: spec.SchemaProps{
7793
							Description: "Duration is the amount of time the sync window will be open",
7794
							Type:        []string{"string"},
7795
							Format:      "",
7796
						},
7797
					},
7798
					"applications": {
7799
						SchemaProps: spec.SchemaProps{
7800
							Description: "Applications contains a list of applications that the window will apply to",
7801
							Type:        []string{"array"},
7802
							Items: &spec.SchemaOrArray{
7803
								Schema: &spec.Schema{
7804
									SchemaProps: spec.SchemaProps{
7805
										Default: "",
7806
										Type:    []string{"string"},
7807
										Format:  "",
7808
									},
7809
								},
7810
							},
7811
						},
7812
					},
7813
					"namespaces": {
7814
						SchemaProps: spec.SchemaProps{
7815
							Description: "Namespaces contains a list of namespaces that the window will apply to",
7816
							Type:        []string{"array"},
7817
							Items: &spec.SchemaOrArray{
7818
								Schema: &spec.Schema{
7819
									SchemaProps: spec.SchemaProps{
7820
										Default: "",
7821
										Type:    []string{"string"},
7822
										Format:  "",
7823
									},
7824
								},
7825
							},
7826
						},
7827
					},
7828
					"clusters": {
7829
						SchemaProps: spec.SchemaProps{
7830
							Description: "Clusters contains a list of clusters that the window will apply to",
7831
							Type:        []string{"array"},
7832
							Items: &spec.SchemaOrArray{
7833
								Schema: &spec.Schema{
7834
									SchemaProps: spec.SchemaProps{
7835
										Default: "",
7836
										Type:    []string{"string"},
7837
										Format:  "",
7838
									},
7839
								},
7840
							},
7841
						},
7842
					},
7843
					"manualSync": {
7844
						SchemaProps: spec.SchemaProps{
7845
							Description: "ManualSync enables manual syncs when they would otherwise be blocked",
7846
							Type:        []string{"boolean"},
7847
							Format:      "",
7848
						},
7849
					},
7850
					"timeZone": {
7851
						SchemaProps: spec.SchemaProps{
7852
							Description: "TimeZone of the sync that will be applied to the schedule",
7853
							Type:        []string{"string"},
7854
							Format:      "",
7855
						},
7856
					},
7857
				},
7858
			},
7859
		},
7860
	}
7861
}
7862

7863
func schema_pkg_apis_application_v1alpha1_TLSClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
7864
	return common.OpenAPIDefinition{
7865
		Schema: spec.Schema{
7866
			SchemaProps: spec.SchemaProps{
7867
				Description: "TLSClientConfig contains settings to enable transport layer security",
7868
				Type:        []string{"object"},
7869
				Properties: map[string]spec.Schema{
7870
					"insecure": {
7871
						SchemaProps: spec.SchemaProps{
7872
							Description: "Insecure specifies that the server should be accessed without verifying the TLS certificate. For testing only.",
7873
							Default:     false,
7874
							Type:        []string{"boolean"},
7875
							Format:      "",
7876
						},
7877
					},
7878
					"serverName": {
7879
						SchemaProps: spec.SchemaProps{
7880
							Description: "ServerName is passed to the server for SNI and is used in the client to check server certificates against. If ServerName is empty, the hostname used to contact the server is used.",
7881
							Type:        []string{"string"},
7882
							Format:      "",
7883
						},
7884
					},
7885
					"certData": {
7886
						SchemaProps: spec.SchemaProps{
7887
							Description: "CertData holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile",
7888
							Type:        []string{"string"},
7889
							Format:      "byte",
7890
						},
7891
					},
7892
					"keyData": {
7893
						SchemaProps: spec.SchemaProps{
7894
							Description: "KeyData holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile",
7895
							Type:        []string{"string"},
7896
							Format:      "byte",
7897
						},
7898
					},
7899
					"caData": {
7900
						SchemaProps: spec.SchemaProps{
7901
							Description: "CAData holds PEM-encoded bytes (typically read from a root certificates bundle). CAData takes precedence over CAFile",
7902
							Type:        []string{"string"},
7903
							Format:      "byte",
7904
						},
7905
					},
7906
				},
7907
				Required: []string{"insecure"},
7908
			},
7909
		},
7910
	}
7911
}
7912

7913
func schema_pkg_apis_application_v1alpha1_TagFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
7914
	return common.OpenAPIDefinition{
7915
		Schema: spec.Schema{
7916
			SchemaProps: spec.SchemaProps{
7917
				Type: []string{"object"},
7918
				Properties: map[string]spec.Schema{
7919
					"key": {
7920
						SchemaProps: spec.SchemaProps{
7921
							Default: "",
7922
							Type:    []string{"string"},
7923
							Format:  "",
7924
						},
7925
					},
7926
					"value": {
7927
						SchemaProps: spec.SchemaProps{
7928
							Type:   []string{"string"},
7929
							Format: "",
7930
						},
7931
					},
7932
				},
7933
				Required: []string{"key"},
7934
			},
7935
		},
7936
	}
7937
}
7938

7939
func schema_pkg_apis_application_v1alpha1_objectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
7940
	return common.OpenAPIDefinition{
7941
		Schema: spec.Schema{
7942
			SchemaProps: spec.SchemaProps{
7943
				Description: "objectMeta and corresponding GetMetadata() methods is a hack to allow us to use grpc-gateway side-by-side with k8s protobuf codegen. The grpc-gateway generated .gw.pb.go files expect a GetMetadata() method to be generated because it assumes the .proto files were generated from protoc --go_out=plugins=grpc. Instead, kubernetes uses go-to-protobuf to generate .proto files from go types, and this method is not auto-generated (presumably since ObjectMeta is embedded but is nested in the 'metadata' field in JSON form).",
7944
				Type:        []string{"object"},
7945
				Properties: map[string]spec.Schema{
7946
					"Name": {
7947
						SchemaProps: spec.SchemaProps{
7948
							Type:   []string{"string"},
7949
							Format: "",
7950
						},
7951
					},
7952
				},
7953
				Required: []string{"Name"},
7954
			},
7955
		},
7956
	}
7957
}
7958

7959
func schema_pkg_apis_application_v1alpha1_rawResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition {
7960
	return common.OpenAPIDefinition{
7961
		Schema: spec.Schema{
7962
			SchemaProps: spec.SchemaProps{
7963
				Type: []string{"object"},
7964
				Properties: map[string]spec.Schema{
7965
					"health.lua": {
7966
						SchemaProps: spec.SchemaProps{
7967
							Type:   []string{"string"},
7968
							Format: "",
7969
						},
7970
					},
7971
					"health.lua.useOpenLibs": {
7972
						SchemaProps: spec.SchemaProps{
7973
							Type:   []string{"boolean"},
7974
							Format: "",
7975
						},
7976
					},
7977
					"actions": {
7978
						SchemaProps: spec.SchemaProps{
7979
							Type:   []string{"string"},
7980
							Format: "",
7981
						},
7982
					},
7983
					"ignoreDifferences": {
7984
						SchemaProps: spec.SchemaProps{
7985
							Type:   []string{"string"},
7986
							Format: "",
7987
						},
7988
					},
7989
					"ignoreResourceUpdates": {
7990
						SchemaProps: spec.SchemaProps{
7991
							Type:   []string{"string"},
7992
							Format: "",
7993
						},
7994
					},
7995
					"knownTypeFields": {
7996
						SchemaProps: spec.SchemaProps{
7997
							Type: []string{"array"},
7998
							Items: &spec.SchemaOrArray{
7999
								Schema: &spec.Schema{
8000
									SchemaProps: spec.SchemaProps{
8001
										Default: map[string]interface{}{},
8002
										Ref:     ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"),
8003
									},
8004
								},
8005
							},
8006
						},
8007
					},
8008
				},
8009
			},
8010
		},
8011
		Dependencies: []string{
8012
			"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"},
8013
	}
8014
}
8015

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.