argo-cd
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
8package v1alpha1
9
10import (
11common "k8s.io/kube-openapi/pkg/common"
12spec "k8s.io/kube-openapi/pkg/validation/spec"
13)
14
15func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
16return 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
173func schema_pkg_apis_application_v1alpha1_AWSAuthConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
174return common.OpenAPIDefinition{
175Schema: spec.Schema{
176SchemaProps: spec.SchemaProps{
177Description: "AWSAuthConfig is an AWS IAM authentication configuration",
178Type: []string{"object"},
179Properties: map[string]spec.Schema{
180"clusterName": {
181SchemaProps: spec.SchemaProps{
182Description: "ClusterName contains AWS cluster name",
183Type: []string{"string"},
184Format: "",
185},
186},
187"roleARN": {
188SchemaProps: spec.SchemaProps{
189Description: "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.",
190Type: []string{"string"},
191Format: "",
192},
193},
194"profile": {
195SchemaProps: spec.SchemaProps{
196Description: "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.",
197Type: []string{"string"},
198Format: "",
199},
200},
201},
202},
203},
204}
205}
206
207func schema_pkg_apis_application_v1alpha1_AppProject(ref common.ReferenceCallback) common.OpenAPIDefinition {
208return common.OpenAPIDefinition{
209Schema: spec.Schema{
210SchemaProps: spec.SchemaProps{
211Description: "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)",
212Type: []string{"object"},
213Properties: map[string]spec.Schema{
214"kind": {
215SchemaProps: spec.SchemaProps{
216Description: "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",
217Type: []string{"string"},
218Format: "",
219},
220},
221"apiVersion": {
222SchemaProps: spec.SchemaProps{
223Description: "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",
224Type: []string{"string"},
225Format: "",
226},
227},
228"metadata": {
229SchemaProps: spec.SchemaProps{
230Default: map[string]interface{}{},
231Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
232},
233},
234"spec": {
235SchemaProps: spec.SchemaProps{
236Default: map[string]interface{}{},
237Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectSpec"),
238},
239},
240"status": {
241SchemaProps: spec.SchemaProps{
242Default: map[string]interface{}{},
243Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectStatus"),
244},
245},
246},
247Required: []string{"metadata", "spec"},
248},
249},
250Dependencies: []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
255func schema_pkg_apis_application_v1alpha1_AppProjectList(ref common.ReferenceCallback) common.OpenAPIDefinition {
256return common.OpenAPIDefinition{
257Schema: spec.Schema{
258SchemaProps: spec.SchemaProps{
259Description: "AppProjectList is list of AppProject resources",
260Type: []string{"object"},
261Properties: map[string]spec.Schema{
262"kind": {
263SchemaProps: spec.SchemaProps{
264Description: "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",
265Type: []string{"string"},
266Format: "",
267},
268},
269"apiVersion": {
270SchemaProps: spec.SchemaProps{
271Description: "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",
272Type: []string{"string"},
273Format: "",
274},
275},
276"metadata": {
277SchemaProps: spec.SchemaProps{
278Default: map[string]interface{}{},
279Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
280},
281},
282"items": {
283SchemaProps: spec.SchemaProps{
284Type: []string{"array"},
285Items: &spec.SchemaOrArray{
286Schema: &spec.Schema{
287SchemaProps: spec.SchemaProps{
288Default: map[string]interface{}{},
289Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject"),
290},
291},
292},
293},
294},
295},
296Required: []string{"metadata", "items"},
297},
298},
299Dependencies: []string{
300"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
301}
302}
303
304func schema_pkg_apis_application_v1alpha1_AppProjectSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
305return common.OpenAPIDefinition{
306Schema: spec.Schema{
307SchemaProps: spec.SchemaProps{
308Description: "AppProjectSpec is the specification of an AppProject",
309Type: []string{"object"},
310Properties: map[string]spec.Schema{
311"sourceRepos": {
312SchemaProps: spec.SchemaProps{
313Description: "SourceRepos contains list of repository URLs which can be used for deployment",
314Type: []string{"array"},
315Items: &spec.SchemaOrArray{
316Schema: &spec.Schema{
317SchemaProps: spec.SchemaProps{
318Default: "",
319Type: []string{"string"},
320Format: "",
321},
322},
323},
324},
325},
326"destinations": {
327SchemaProps: spec.SchemaProps{
328Description: "Destinations contains list of destinations available for deployment",
329Type: []string{"array"},
330Items: &spec.SchemaOrArray{
331Schema: &spec.Schema{
332SchemaProps: spec.SchemaProps{
333Default: map[string]interface{}{},
334Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
335},
336},
337},
338},
339},
340"description": {
341SchemaProps: spec.SchemaProps{
342Description: "Description contains optional project description",
343Type: []string{"string"},
344Format: "",
345},
346},
347"roles": {
348SchemaProps: spec.SchemaProps{
349Description: "Roles are user defined RBAC roles associated with this project",
350Type: []string{"array"},
351Items: &spec.SchemaOrArray{
352Schema: &spec.Schema{
353SchemaProps: spec.SchemaProps{
354Default: map[string]interface{}{},
355Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ProjectRole"),
356},
357},
358},
359},
360},
361"clusterResourceWhitelist": {
362SchemaProps: spec.SchemaProps{
363Description: "ClusterResourceWhitelist contains list of whitelisted cluster level resources",
364Type: []string{"array"},
365Items: &spec.SchemaOrArray{
366Schema: &spec.Schema{
367SchemaProps: spec.SchemaProps{
368Default: map[string]interface{}{},
369Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
370},
371},
372},
373},
374},
375"namespaceResourceBlacklist": {
376SchemaProps: spec.SchemaProps{
377Description: "NamespaceResourceBlacklist contains list of blacklisted namespace level resources",
378Type: []string{"array"},
379Items: &spec.SchemaOrArray{
380Schema: &spec.Schema{
381SchemaProps: spec.SchemaProps{
382Default: map[string]interface{}{},
383Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
384},
385},
386},
387},
388},
389"orphanedResources": {
390SchemaProps: spec.SchemaProps{
391Description: "OrphanedResources specifies if controller should monitor orphaned resources of apps in this project",
392Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings"),
393},
394},
395"syncWindows": {
396SchemaProps: spec.SchemaProps{
397Description: "SyncWindows controls when syncs can be run for apps in this project",
398Type: []string{"array"},
399Items: &spec.SchemaOrArray{
400Schema: &spec.Schema{
401SchemaProps: spec.SchemaProps{
402Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncWindow"),
403},
404},
405},
406},
407},
408"namespaceResourceWhitelist": {
409SchemaProps: spec.SchemaProps{
410Description: "NamespaceResourceWhitelist contains list of whitelisted namespace level resources",
411Type: []string{"array"},
412Items: &spec.SchemaOrArray{
413Schema: &spec.Schema{
414SchemaProps: spec.SchemaProps{
415Default: map[string]interface{}{},
416Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
417},
418},
419},
420},
421},
422"signatureKeys": {
423SchemaProps: spec.SchemaProps{
424Description: "SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync",
425Type: []string{"array"},
426Items: &spec.SchemaOrArray{
427Schema: &spec.Schema{
428SchemaProps: spec.SchemaProps{
429Default: map[string]interface{}{},
430Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SignatureKey"),
431},
432},
433},
434},
435},
436"clusterResourceBlacklist": {
437SchemaProps: spec.SchemaProps{
438Description: "ClusterResourceBlacklist contains list of blacklisted cluster level resources",
439Type: []string{"array"},
440Items: &spec.SchemaOrArray{
441Schema: &spec.Schema{
442SchemaProps: spec.SchemaProps{
443Default: map[string]interface{}{},
444Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
445},
446},
447},
448},
449},
450"sourceNamespaces": {
451SchemaProps: spec.SchemaProps{
452Description: "SourceNamespaces defines the namespaces application resources are allowed to be created in",
453Type: []string{"array"},
454Items: &spec.SchemaOrArray{
455Schema: &spec.Schema{
456SchemaProps: spec.SchemaProps{
457Default: "",
458Type: []string{"string"},
459Format: "",
460},
461},
462},
463},
464},
465"permitOnlyProjectScopedClusters": {
466SchemaProps: spec.SchemaProps{
467Description: "PermitOnlyProjectScopedClusters determines whether destinations can only reference clusters which are project-scoped",
468Type: []string{"boolean"},
469Format: "",
470},
471},
472},
473},
474},
475Dependencies: []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
480func schema_pkg_apis_application_v1alpha1_AppProjectStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
481return common.OpenAPIDefinition{
482Schema: spec.Schema{
483SchemaProps: spec.SchemaProps{
484Description: "AppProjectStatus contains status information for AppProject CRs",
485Type: []string{"object"},
486Properties: map[string]spec.Schema{
487"jwtTokensByRole": {
488SchemaProps: spec.SchemaProps{
489Description: "JWTTokensByRole contains a list of JWT tokens issued for a given role",
490Type: []string{"object"},
491AdditionalProperties: &spec.SchemaOrBool{
492Allows: true,
493Schema: &spec.Schema{
494SchemaProps: spec.SchemaProps{
495Default: map[string]interface{}{},
496Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens"),
497},
498},
499},
500},
501},
502},
503},
504},
505Dependencies: []string{
506"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens"},
507}
508}
509
510func schema_pkg_apis_application_v1alpha1_Application(ref common.ReferenceCallback) common.OpenAPIDefinition {
511return common.OpenAPIDefinition{
512Schema: spec.Schema{
513SchemaProps: spec.SchemaProps{
514Description: "Application is a definition of Application resource.",
515Type: []string{"object"},
516Properties: map[string]spec.Schema{
517"kind": {
518SchemaProps: spec.SchemaProps{
519Description: "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",
520Type: []string{"string"},
521Format: "",
522},
523},
524"apiVersion": {
525SchemaProps: spec.SchemaProps{
526Description: "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",
527Type: []string{"string"},
528Format: "",
529},
530},
531"metadata": {
532SchemaProps: spec.SchemaProps{
533Default: map[string]interface{}{},
534Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
535},
536},
537"spec": {
538SchemaProps: spec.SchemaProps{
539Default: map[string]interface{}{},
540Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"),
541},
542},
543"status": {
544SchemaProps: spec.SchemaProps{
545Default: map[string]interface{}{},
546Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationStatus"),
547},
548},
549"operation": {
550SchemaProps: spec.SchemaProps{
551Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation"),
552},
553},
554},
555Required: []string{"metadata", "spec"},
556},
557},
558Dependencies: []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
563func schema_pkg_apis_application_v1alpha1_ApplicationCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
564return common.OpenAPIDefinition{
565Schema: spec.Schema{
566SchemaProps: spec.SchemaProps{
567Description: "ApplicationCondition contains details about an application condition, which is usually an error or warning",
568Type: []string{"object"},
569Properties: map[string]spec.Schema{
570"type": {
571SchemaProps: spec.SchemaProps{
572Description: "Type is an application condition type",
573Default: "",
574Type: []string{"string"},
575Format: "",
576},
577},
578"message": {
579SchemaProps: spec.SchemaProps{
580Description: "Message contains human-readable message indicating details about condition",
581Default: "",
582Type: []string{"string"},
583Format: "",
584},
585},
586"lastTransitionTime": {
587SchemaProps: spec.SchemaProps{
588Description: "LastTransitionTime is the time the condition was last observed",
589Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
590},
591},
592},
593Required: []string{"type", "message"},
594},
595},
596Dependencies: []string{
597"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
598}
599}
600
601func schema_pkg_apis_application_v1alpha1_ApplicationDestination(ref common.ReferenceCallback) common.OpenAPIDefinition {
602return common.OpenAPIDefinition{
603Schema: spec.Schema{
604SchemaProps: spec.SchemaProps{
605Description: "ApplicationDestination holds information about the application's destination",
606Type: []string{"object"},
607Properties: map[string]spec.Schema{
608"server": {
609SchemaProps: spec.SchemaProps{
610Description: "Server specifies the URL of the target cluster's Kubernetes control plane API. This must be set if Name is not set.",
611Type: []string{"string"},
612Format: "",
613},
614},
615"namespace": {
616SchemaProps: spec.SchemaProps{
617Description: "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",
618Type: []string{"string"},
619Format: "",
620},
621},
622"name": {
623SchemaProps: spec.SchemaProps{
624Description: "Name is an alternate way of specifying the target cluster by its symbolic name. This must be set if Server is not set.",
625Type: []string{"string"},
626Format: "",
627},
628},
629},
630},
631},
632}
633}
634
635func schema_pkg_apis_application_v1alpha1_ApplicationList(ref common.ReferenceCallback) common.OpenAPIDefinition {
636return common.OpenAPIDefinition{
637Schema: spec.Schema{
638SchemaProps: spec.SchemaProps{
639Description: "ApplicationList is list of Application resources",
640Type: []string{"object"},
641Properties: map[string]spec.Schema{
642"kind": {
643SchemaProps: spec.SchemaProps{
644Description: "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",
645Type: []string{"string"},
646Format: "",
647},
648},
649"apiVersion": {
650SchemaProps: spec.SchemaProps{
651Description: "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",
652Type: []string{"string"},
653Format: "",
654},
655},
656"metadata": {
657SchemaProps: spec.SchemaProps{
658Default: map[string]interface{}{},
659Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
660},
661},
662"items": {
663SchemaProps: spec.SchemaProps{
664Type: []string{"array"},
665Items: &spec.SchemaOrArray{
666Schema: &spec.Schema{
667SchemaProps: spec.SchemaProps{
668Default: map[string]interface{}{},
669Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"),
670},
671},
672},
673},
674},
675},
676Required: []string{"metadata", "items"},
677},
678},
679Dependencies: []string{
680"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
681}
682}
683
684func schema_pkg_apis_application_v1alpha1_ApplicationMatchExpression(ref common.ReferenceCallback) common.OpenAPIDefinition {
685return common.OpenAPIDefinition{
686Schema: spec.Schema{
687SchemaProps: spec.SchemaProps{
688Type: []string{"object"},
689Properties: map[string]spec.Schema{
690"key": {
691SchemaProps: spec.SchemaProps{
692Type: []string{"string"},
693Format: "",
694},
695},
696"operator": {
697SchemaProps: spec.SchemaProps{
698Type: []string{"string"},
699Format: "",
700},
701},
702"values": {
703SchemaProps: spec.SchemaProps{
704Type: []string{"array"},
705Items: &spec.SchemaOrArray{
706Schema: &spec.Schema{
707SchemaProps: spec.SchemaProps{
708Default: "",
709Type: []string{"string"},
710Format: "",
711},
712},
713},
714},
715},
716},
717},
718},
719}
720}
721
722func schema_pkg_apis_application_v1alpha1_ApplicationPreservedFields(ref common.ReferenceCallback) common.OpenAPIDefinition {
723return common.OpenAPIDefinition{
724Schema: spec.Schema{
725SchemaProps: spec.SchemaProps{
726Type: []string{"object"},
727Properties: map[string]spec.Schema{
728"annotations": {
729SchemaProps: spec.SchemaProps{
730Type: []string{"array"},
731Items: &spec.SchemaOrArray{
732Schema: &spec.Schema{
733SchemaProps: spec.SchemaProps{
734Default: "",
735Type: []string{"string"},
736Format: "",
737},
738},
739},
740},
741},
742"labels": {
743SchemaProps: spec.SchemaProps{
744Type: []string{"array"},
745Items: &spec.SchemaOrArray{
746Schema: &spec.Schema{
747SchemaProps: spec.SchemaProps{
748Default: "",
749Type: []string{"string"},
750Format: "",
751},
752},
753},
754},
755},
756},
757},
758},
759}
760}
761
762func schema_pkg_apis_application_v1alpha1_ApplicationSet(ref common.ReferenceCallback) common.OpenAPIDefinition {
763return common.OpenAPIDefinition{
764Schema: spec.Schema{
765SchemaProps: spec.SchemaProps{
766Description: "ApplicationSet is a set of Application resources",
767Type: []string{"object"},
768Properties: map[string]spec.Schema{
769"kind": {
770SchemaProps: spec.SchemaProps{
771Description: "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",
772Type: []string{"string"},
773Format: "",
774},
775},
776"apiVersion": {
777SchemaProps: spec.SchemaProps{
778Description: "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",
779Type: []string{"string"},
780Format: "",
781},
782},
783"metadata": {
784SchemaProps: spec.SchemaProps{
785Default: map[string]interface{}{},
786Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
787},
788},
789"spec": {
790SchemaProps: spec.SchemaProps{
791Default: map[string]interface{}{},
792Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSpec"),
793},
794},
795"status": {
796SchemaProps: spec.SchemaProps{
797Default: map[string]interface{}{},
798Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStatus"),
799},
800},
801},
802Required: []string{"metadata", "spec"},
803},
804},
805Dependencies: []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
810func schema_pkg_apis_application_v1alpha1_ApplicationSetApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
811return common.OpenAPIDefinition{
812Schema: spec.Schema{
813SchemaProps: spec.SchemaProps{
814Description: "ApplicationSetApplicationStatus contains details about each Application managed by the ApplicationSet",
815Type: []string{"object"},
816Properties: map[string]spec.Schema{
817"application": {
818SchemaProps: spec.SchemaProps{
819Description: "Application contains the name of the Application resource",
820Default: "",
821Type: []string{"string"},
822Format: "",
823},
824},
825"lastTransitionTime": {
826SchemaProps: spec.SchemaProps{
827Description: "LastTransitionTime is the time the status was last updated",
828Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
829},
830},
831"message": {
832SchemaProps: spec.SchemaProps{
833Description: "Message contains human-readable message indicating details about the status",
834Default: "",
835Type: []string{"string"},
836Format: "",
837},
838},
839"status": {
840SchemaProps: spec.SchemaProps{
841Description: "Status contains the AppSet's perceived status of the managed Application resource: (Waiting, Pending, Progressing, Healthy)",
842Default: "",
843Type: []string{"string"},
844Format: "",
845},
846},
847"step": {
848SchemaProps: spec.SchemaProps{
849Description: "Step tracks which step this Application should be updated in",
850Default: "",
851Type: []string{"string"},
852Format: "",
853},
854},
855},
856Required: []string{"application", "message", "status", "step"},
857},
858},
859Dependencies: []string{
860"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
861}
862}
863
864func schema_pkg_apis_application_v1alpha1_ApplicationSetCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
865return common.OpenAPIDefinition{
866Schema: spec.Schema{
867SchemaProps: spec.SchemaProps{
868Description: "ApplicationSetCondition contains details about an applicationset condition, which is usally an error or warning",
869Type: []string{"object"},
870Properties: map[string]spec.Schema{
871"type": {
872SchemaProps: spec.SchemaProps{
873Description: "Type is an applicationset condition type",
874Default: "",
875Type: []string{"string"},
876Format: "",
877},
878},
879"message": {
880SchemaProps: spec.SchemaProps{
881Description: "Message contains human-readable message indicating details about condition",
882Default: "",
883Type: []string{"string"},
884Format: "",
885},
886},
887"lastTransitionTime": {
888SchemaProps: spec.SchemaProps{
889Description: "LastTransitionTime is the time the condition was last observed",
890Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
891},
892},
893"status": {
894SchemaProps: spec.SchemaProps{
895Description: "True/False/Unknown",
896Default: "",
897Type: []string{"string"},
898Format: "",
899},
900},
901"reason": {
902SchemaProps: spec.SchemaProps{
903Description: "Single word camelcase representing the reason for the status eg ErrorOccurred",
904Default: "",
905Type: []string{"string"},
906Format: "",
907},
908},
909},
910Required: []string{"type", "message", "status", "reason"},
911},
912},
913Dependencies: []string{
914"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
915}
916}
917
918func schema_pkg_apis_application_v1alpha1_ApplicationSetGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
919return common.OpenAPIDefinition{
920Schema: spec.Schema{
921SchemaProps: spec.SchemaProps{
922Description: "ApplicationSetGenerator represents a generator at the top level of an ApplicationSet.",
923Type: []string{"object"},
924Properties: map[string]spec.Schema{
925"list": {
926SchemaProps: spec.SchemaProps{
927Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
928},
929},
930"clusters": {
931SchemaProps: spec.SchemaProps{
932Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
933},
934},
935"git": {
936SchemaProps: spec.SchemaProps{
937Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
938},
939},
940"scmProvider": {
941SchemaProps: spec.SchemaProps{
942Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
943},
944},
945"clusterDecisionResource": {
946SchemaProps: spec.SchemaProps{
947Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
948},
949},
950"pullRequest": {
951SchemaProps: spec.SchemaProps{
952Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
953},
954},
955"matrix": {
956SchemaProps: spec.SchemaProps{
957Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MatrixGenerator"),
958},
959},
960"merge": {
961SchemaProps: spec.SchemaProps{
962Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MergeGenerator"),
963},
964},
965"selector": {
966SchemaProps: spec.SchemaProps{
967Description: "Selector allows to post-filter all generator.",
968Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
969},
970},
971"plugin": {
972SchemaProps: spec.SchemaProps{
973Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator"),
974},
975},
976},
977},
978},
979Dependencies: []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
984func schema_pkg_apis_application_v1alpha1_ApplicationSetList(ref common.ReferenceCallback) common.OpenAPIDefinition {
985return common.OpenAPIDefinition{
986Schema: spec.Schema{
987SchemaProps: spec.SchemaProps{
988Description: "ApplicationSetList contains a list of ApplicationSet",
989Type: []string{"object"},
990Properties: map[string]spec.Schema{
991"kind": {
992SchemaProps: spec.SchemaProps{
993Description: "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",
994Type: []string{"string"},
995Format: "",
996},
997},
998"apiVersion": {
999SchemaProps: spec.SchemaProps{
1000Description: "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",
1001Type: []string{"string"},
1002Format: "",
1003},
1004},
1005"metadata": {
1006SchemaProps: spec.SchemaProps{
1007Default: map[string]interface{}{},
1008Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
1009},
1010},
1011"items": {
1012SchemaProps: spec.SchemaProps{
1013Type: []string{"array"},
1014Items: &spec.SchemaOrArray{
1015Schema: &spec.Schema{
1016SchemaProps: spec.SchemaProps{
1017Default: map[string]interface{}{},
1018Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet"),
1019},
1020},
1021},
1022},
1023},
1024},
1025Required: []string{"items"},
1026},
1027},
1028Dependencies: []string{
1029"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
1030}
1031}
1032
1033func schema_pkg_apis_application_v1alpha1_ApplicationSetNestedGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
1034return common.OpenAPIDefinition{
1035Schema: spec.Schema{
1036SchemaProps: spec.SchemaProps{
1037Description: "ApplicationSetNestedGenerator represents a generator nested within a combination-type generator (MatrixGenerator or MergeGenerator).",
1038Type: []string{"object"},
1039Properties: map[string]spec.Schema{
1040"list": {
1041SchemaProps: spec.SchemaProps{
1042Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
1043},
1044},
1045"clusters": {
1046SchemaProps: spec.SchemaProps{
1047Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
1048},
1049},
1050"git": {
1051SchemaProps: spec.SchemaProps{
1052Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
1053},
1054},
1055"scmProvider": {
1056SchemaProps: spec.SchemaProps{
1057Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
1058},
1059},
1060"clusterDecisionResource": {
1061SchemaProps: spec.SchemaProps{
1062Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
1063},
1064},
1065"pullRequest": {
1066SchemaProps: spec.SchemaProps{
1067Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
1068},
1069},
1070"matrix": {
1071SchemaProps: spec.SchemaProps{
1072Description: "Matrix should have the form of NestedMatrixGenerator",
1073Ref: ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
1074},
1075},
1076"merge": {
1077SchemaProps: spec.SchemaProps{
1078Description: "Merge should have the form of NestedMergeGenerator",
1079Ref: ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
1080},
1081},
1082"selector": {
1083SchemaProps: spec.SchemaProps{
1084Description: "Selector allows to post-filter all generator.",
1085Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1086},
1087},
1088"plugin": {
1089SchemaProps: spec.SchemaProps{
1090Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator"),
1091},
1092},
1093},
1094},
1095},
1096Dependencies: []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
1101func schema_pkg_apis_application_v1alpha1_ApplicationSetResourceIgnoreDifferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
1102return common.OpenAPIDefinition{
1103Schema: spec.Schema{
1104SchemaProps: spec.SchemaProps{
1105Description: "ApplicationSetResourceIgnoreDifferences configures how the ApplicationSet controller will ignore differences in live applications when applying changes from generated applications.",
1106Type: []string{"object"},
1107Properties: map[string]spec.Schema{
1108"name": {
1109SchemaProps: spec.SchemaProps{
1110Description: "Name is the name of the application to ignore differences for. If not specified, the rule applies to all applications.",
1111Type: []string{"string"},
1112Format: "",
1113},
1114},
1115"jsonPointers": {
1116SchemaProps: spec.SchemaProps{
1117Description: "JSONPointers is a list of JSON pointers to fields to ignore differences for.",
1118Type: []string{"array"},
1119Items: &spec.SchemaOrArray{
1120Schema: &spec.Schema{
1121SchemaProps: spec.SchemaProps{
1122Default: "",
1123Type: []string{"string"},
1124Format: "",
1125},
1126},
1127},
1128},
1129},
1130"jqPathExpressions": {
1131SchemaProps: spec.SchemaProps{
1132Description: "JQPathExpressions is a list of JQ path expressions to fields to ignore differences for.",
1133Type: []string{"array"},
1134Items: &spec.SchemaOrArray{
1135Schema: &spec.Schema{
1136SchemaProps: spec.SchemaProps{
1137Default: "",
1138Type: []string{"string"},
1139Format: "",
1140},
1141},
1142},
1143},
1144},
1145},
1146},
1147},
1148}
1149}
1150
1151func schema_pkg_apis_application_v1alpha1_ApplicationSetRolloutStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
1152return common.OpenAPIDefinition{
1153Schema: spec.Schema{
1154SchemaProps: spec.SchemaProps{
1155Type: []string{"object"},
1156Properties: map[string]spec.Schema{
1157"matchExpressions": {
1158SchemaProps: spec.SchemaProps{
1159Type: []string{"array"},
1160Items: &spec.SchemaOrArray{
1161Schema: &spec.Schema{
1162SchemaProps: spec.SchemaProps{
1163Default: map[string]interface{}{},
1164Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationMatchExpression"),
1165},
1166},
1167},
1168},
1169},
1170"maxUpdate": {
1171SchemaProps: spec.SchemaProps{
1172Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
1173},
1174},
1175},
1176},
1177},
1178Dependencies: []string{
1179"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationMatchExpression", "k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
1180}
1181}
1182
1183func schema_pkg_apis_application_v1alpha1_ApplicationSetRolloutStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
1184return common.OpenAPIDefinition{
1185Schema: spec.Schema{
1186SchemaProps: spec.SchemaProps{
1187Type: []string{"object"},
1188Properties: map[string]spec.Schema{
1189"steps": {
1190SchemaProps: spec.SchemaProps{
1191Type: []string{"array"},
1192Items: &spec.SchemaOrArray{
1193Schema: &spec.Schema{
1194SchemaProps: spec.SchemaProps{
1195Default: map[string]interface{}{},
1196Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStep"),
1197},
1198},
1199},
1200},
1201},
1202},
1203},
1204},
1205Dependencies: []string{
1206"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStep"},
1207}
1208}
1209
1210func schema_pkg_apis_application_v1alpha1_ApplicationSetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
1211return common.OpenAPIDefinition{
1212Schema: spec.Schema{
1213SchemaProps: spec.SchemaProps{
1214Description: "ApplicationSetSpec represents a class of application set state.",
1215Type: []string{"object"},
1216Properties: map[string]spec.Schema{
1217"goTemplate": {
1218SchemaProps: spec.SchemaProps{
1219Type: []string{"boolean"},
1220Format: "",
1221},
1222},
1223"generators": {
1224SchemaProps: spec.SchemaProps{
1225Type: []string{"array"},
1226Items: &spec.SchemaOrArray{
1227Schema: &spec.Schema{
1228SchemaProps: spec.SchemaProps{
1229Default: map[string]interface{}{},
1230Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetGenerator"),
1231},
1232},
1233},
1234},
1235},
1236"template": {
1237SchemaProps: spec.SchemaProps{
1238Default: map[string]interface{}{},
1239Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
1240},
1241},
1242"syncPolicy": {
1243SchemaProps: spec.SchemaProps{
1244Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSyncPolicy"),
1245},
1246},
1247"strategy": {
1248SchemaProps: spec.SchemaProps{
1249Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStrategy"),
1250},
1251},
1252"preservedFields": {
1253SchemaProps: spec.SchemaProps{
1254Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationPreservedFields"),
1255},
1256},
1257"goTemplateOptions": {
1258SchemaProps: spec.SchemaProps{
1259Type: []string{"array"},
1260Items: &spec.SchemaOrArray{
1261Schema: &spec.Schema{
1262SchemaProps: spec.SchemaProps{
1263Default: "",
1264Type: []string{"string"},
1265Format: "",
1266},
1267},
1268},
1269},
1270},
1271"applyNestedSelectors": {
1272SchemaProps: spec.SchemaProps{
1273Description: "ApplyNestedSelectors enables selectors defined within the generators of two level-nested matrix or merge generators",
1274Type: []string{"boolean"},
1275Format: "",
1276},
1277},
1278"ignoreApplicationDifferences": {
1279SchemaProps: spec.SchemaProps{
1280Type: []string{"array"},
1281Items: &spec.SchemaOrArray{
1282Schema: &spec.Schema{
1283SchemaProps: spec.SchemaProps{
1284Default: map[string]interface{}{},
1285Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetResourceIgnoreDifferences"),
1286},
1287},
1288},
1289},
1290},
1291"templatePatch": {
1292SchemaProps: spec.SchemaProps{
1293Type: []string{"string"},
1294Format: "",
1295},
1296},
1297},
1298Required: []string{"generators", "template"},
1299},
1300},
1301Dependencies: []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
1306func schema_pkg_apis_application_v1alpha1_ApplicationSetStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
1307return common.OpenAPIDefinition{
1308Schema: spec.Schema{
1309SchemaProps: spec.SchemaProps{
1310Description: "ApplicationSetStatus defines the observed state of ApplicationSet",
1311Type: []string{"object"},
1312Properties: map[string]spec.Schema{
1313"conditions": {
1314SchemaProps: spec.SchemaProps{
1315Description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"make\" to regenerate code after modifying this file",
1316Type: []string{"array"},
1317Items: &spec.SchemaOrArray{
1318Schema: &spec.Schema{
1319SchemaProps: spec.SchemaProps{
1320Default: map[string]interface{}{},
1321Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetCondition"),
1322},
1323},
1324},
1325},
1326},
1327"applicationStatus": {
1328SchemaProps: spec.SchemaProps{
1329Type: []string{"array"},
1330Items: &spec.SchemaOrArray{
1331Schema: &spec.Schema{
1332SchemaProps: spec.SchemaProps{
1333Default: map[string]interface{}{},
1334Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetApplicationStatus"),
1335},
1336},
1337},
1338},
1339},
1340},
1341},
1342},
1343Dependencies: []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
1348func schema_pkg_apis_application_v1alpha1_ApplicationSetStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
1349return common.OpenAPIDefinition{
1350Schema: spec.Schema{
1351SchemaProps: spec.SchemaProps{
1352Description: "ApplicationSetStrategy configures how generated Applications are updated in sequence.",
1353Type: []string{"object"},
1354Properties: map[string]spec.Schema{
1355"type": {
1356SchemaProps: spec.SchemaProps{
1357Type: []string{"string"},
1358Format: "",
1359},
1360},
1361"rollingSync": {
1362SchemaProps: spec.SchemaProps{
1363Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStrategy"),
1364},
1365},
1366},
1367},
1368},
1369Dependencies: []string{
1370"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetRolloutStrategy"},
1371}
1372}
1373
1374func schema_pkg_apis_application_v1alpha1_ApplicationSetSyncPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
1375return common.OpenAPIDefinition{
1376Schema: spec.Schema{
1377SchemaProps: spec.SchemaProps{
1378Description: "ApplicationSetSyncPolicy configures how generated Applications will relate to their ApplicationSet.",
1379Type: []string{"object"},
1380Properties: map[string]spec.Schema{
1381"preserveResourcesOnDeletion": {
1382SchemaProps: spec.SchemaProps{
1383Description: "PreserveResourcesOnDeletion will preserve resources on deletion. If PreserveResourcesOnDeletion is set to true, these Applications will not be deleted.",
1384Type: []string{"boolean"},
1385Format: "",
1386},
1387},
1388"applicationsSync": {
1389SchemaProps: spec.SchemaProps{
1390Description: "ApplicationsSync represents the policy applied on the generated applications. Possible values are create-only, create-update, create-delete, sync",
1391Type: []string{"string"},
1392Format: "",
1393},
1394},
1395},
1396},
1397},
1398}
1399}
1400
1401func schema_pkg_apis_application_v1alpha1_ApplicationSetTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition {
1402return common.OpenAPIDefinition{
1403Schema: spec.Schema{
1404SchemaProps: spec.SchemaProps{
1405Description: "ApplicationSetTemplate represents argocd ApplicationSpec",
1406Type: []string{"object"},
1407Properties: map[string]spec.Schema{
1408"metadata": {
1409SchemaProps: spec.SchemaProps{
1410Default: map[string]interface{}{},
1411Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplateMeta"),
1412},
1413},
1414"spec": {
1415SchemaProps: spec.SchemaProps{
1416Default: map[string]interface{}{},
1417Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"),
1418},
1419},
1420},
1421Required: []string{"metadata", "spec"},
1422},
1423},
1424Dependencies: []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
1429func schema_pkg_apis_application_v1alpha1_ApplicationSetTemplateMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
1430return common.OpenAPIDefinition{
1431Schema: spec.Schema{
1432SchemaProps: spec.SchemaProps{
1433Description: "ApplicationSetTemplateMeta represents the Argo CD application fields that may be used for Applications generated from the ApplicationSet (based on metav1.ObjectMeta)",
1434Type: []string{"object"},
1435Properties: map[string]spec.Schema{
1436"name": {
1437SchemaProps: spec.SchemaProps{
1438Type: []string{"string"},
1439Format: "",
1440},
1441},
1442"namespace": {
1443SchemaProps: spec.SchemaProps{
1444Type: []string{"string"},
1445Format: "",
1446},
1447},
1448"labels": {
1449SchemaProps: spec.SchemaProps{
1450Type: []string{"object"},
1451AdditionalProperties: &spec.SchemaOrBool{
1452Allows: true,
1453Schema: &spec.Schema{
1454SchemaProps: spec.SchemaProps{
1455Default: "",
1456Type: []string{"string"},
1457Format: "",
1458},
1459},
1460},
1461},
1462},
1463"annotations": {
1464SchemaProps: spec.SchemaProps{
1465Type: []string{"object"},
1466AdditionalProperties: &spec.SchemaOrBool{
1467Allows: true,
1468Schema: &spec.Schema{
1469SchemaProps: spec.SchemaProps{
1470Default: "",
1471Type: []string{"string"},
1472Format: "",
1473},
1474},
1475},
1476},
1477},
1478"finalizers": {
1479SchemaProps: spec.SchemaProps{
1480Type: []string{"array"},
1481Items: &spec.SchemaOrArray{
1482Schema: &spec.Schema{
1483SchemaProps: spec.SchemaProps{
1484Default: "",
1485Type: []string{"string"},
1486Format: "",
1487},
1488},
1489},
1490},
1491},
1492},
1493},
1494},
1495}
1496}
1497
1498func schema_pkg_apis_application_v1alpha1_ApplicationSetTerminalGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
1499return common.OpenAPIDefinition{
1500Schema: spec.Schema{
1501SchemaProps: spec.SchemaProps{
1502Description: "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",
1503Type: []string{"object"},
1504Properties: map[string]spec.Schema{
1505"list": {
1506SchemaProps: spec.SchemaProps{
1507Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
1508},
1509},
1510"clusters": {
1511SchemaProps: spec.SchemaProps{
1512Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
1513},
1514},
1515"git": {
1516SchemaProps: spec.SchemaProps{
1517Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
1518},
1519},
1520"scmProvider": {
1521SchemaProps: spec.SchemaProps{
1522Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
1523},
1524},
1525"clusterDecisionResource": {
1526SchemaProps: spec.SchemaProps{
1527Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
1528},
1529},
1530"pullRequest": {
1531SchemaProps: spec.SchemaProps{
1532Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
1533},
1534},
1535"plugin": {
1536SchemaProps: spec.SchemaProps{
1537Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginGenerator"),
1538},
1539},
1540"selector": {
1541SchemaProps: spec.SchemaProps{
1542Description: "Selector allows to post-filter all generator.",
1543Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
1544},
1545},
1546},
1547},
1548},
1549Dependencies: []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
1554func schema_pkg_apis_application_v1alpha1_ApplicationSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
1555return common.OpenAPIDefinition{
1556Schema: spec.Schema{
1557SchemaProps: spec.SchemaProps{
1558Description: "ApplicationSource contains all required information about the source of an application",
1559Type: []string{"object"},
1560Properties: map[string]spec.Schema{
1561"repoURL": {
1562SchemaProps: spec.SchemaProps{
1563Description: "RepoURL is the URL to the repository (Git or Helm) that contains the application manifests",
1564Default: "",
1565Type: []string{"string"},
1566Format: "",
1567},
1568},
1569"path": {
1570SchemaProps: spec.SchemaProps{
1571Description: "Path is a directory path within the Git repository, and is only valid for applications sourced from Git.",
1572Type: []string{"string"},
1573Format: "",
1574},
1575},
1576"targetRevision": {
1577SchemaProps: spec.SchemaProps{
1578Description: "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.",
1579Type: []string{"string"},
1580Format: "",
1581},
1582},
1583"helm": {
1584SchemaProps: spec.SchemaProps{
1585Description: "Helm holds helm specific options",
1586Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceHelm"),
1587},
1588},
1589"kustomize": {
1590SchemaProps: spec.SchemaProps{
1591Description: "Kustomize holds kustomize specific options",
1592Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceKustomize"),
1593},
1594},
1595"directory": {
1596SchemaProps: spec.SchemaProps{
1597Description: "Directory holds path/directory specific options",
1598Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceDirectory"),
1599},
1600},
1601"plugin": {
1602SchemaProps: spec.SchemaProps{
1603Description: "Plugin holds config management plugin specific options",
1604Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePlugin"),
1605},
1606},
1607"chart": {
1608SchemaProps: spec.SchemaProps{
1609Description: "Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.",
1610Type: []string{"string"},
1611Format: "",
1612},
1613},
1614"ref": {
1615SchemaProps: spec.SchemaProps{
1616Description: "Ref is reference to another source within sources field. This field will not be used if used with a `source` tag.",
1617Type: []string{"string"},
1618Format: "",
1619},
1620},
1621},
1622Required: []string{"repoURL"},
1623},
1624},
1625Dependencies: []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
1630func schema_pkg_apis_application_v1alpha1_ApplicationSourceDirectory(ref common.ReferenceCallback) common.OpenAPIDefinition {
1631return common.OpenAPIDefinition{
1632Schema: spec.Schema{
1633SchemaProps: spec.SchemaProps{
1634Description: "ApplicationSourceDirectory holds options for applications of type plain YAML or Jsonnet",
1635Type: []string{"object"},
1636Properties: map[string]spec.Schema{
1637"recurse": {
1638SchemaProps: spec.SchemaProps{
1639Description: "Recurse specifies whether to scan a directory recursively for manifests",
1640Type: []string{"boolean"},
1641Format: "",
1642},
1643},
1644"jsonnet": {
1645SchemaProps: spec.SchemaProps{
1646Description: "Jsonnet holds options specific to Jsonnet",
1647Default: map[string]interface{}{},
1648Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"),
1649},
1650},
1651"exclude": {
1652SchemaProps: spec.SchemaProps{
1653Description: "Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation",
1654Type: []string{"string"},
1655Format: "",
1656},
1657},
1658"include": {
1659SchemaProps: spec.SchemaProps{
1660Description: "Include contains a glob pattern to match paths against that should be explicitly included during manifest generation",
1661Type: []string{"string"},
1662Format: "",
1663},
1664},
1665},
1666},
1667},
1668Dependencies: []string{
1669"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"},
1670}
1671}
1672
1673func schema_pkg_apis_application_v1alpha1_ApplicationSourceHelm(ref common.ReferenceCallback) common.OpenAPIDefinition {
1674return common.OpenAPIDefinition{
1675Schema: spec.Schema{
1676SchemaProps: spec.SchemaProps{
1677Description: "ApplicationSourceHelm holds helm specific options",
1678Type: []string{"object"},
1679Properties: map[string]spec.Schema{
1680"valueFiles": {
1681SchemaProps: spec.SchemaProps{
1682Description: "ValuesFiles is a list of Helm value files to use when generating a template",
1683Type: []string{"array"},
1684Items: &spec.SchemaOrArray{
1685Schema: &spec.Schema{
1686SchemaProps: spec.SchemaProps{
1687Default: "",
1688Type: []string{"string"},
1689Format: "",
1690},
1691},
1692},
1693},
1694},
1695"parameters": {
1696SchemaProps: spec.SchemaProps{
1697Description: "Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation",
1698Type: []string{"array"},
1699Items: &spec.SchemaOrArray{
1700Schema: &spec.Schema{
1701SchemaProps: spec.SchemaProps{
1702Default: map[string]interface{}{},
1703Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmParameter"),
1704},
1705},
1706},
1707},
1708},
1709"releaseName": {
1710SchemaProps: spec.SchemaProps{
1711Description: "ReleaseName is the Helm release name to use. If omitted it will use the application name",
1712Type: []string{"string"},
1713Format: "",
1714},
1715},
1716"values": {
1717VendorExtensible: spec.VendorExtensible{
1718Extensions: spec.Extensions{
1719"x-kubernetes-patch-strategy": "replace",
1720},
1721},
1722SchemaProps: spec.SchemaProps{
1723Description: "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.",
1724Type: []string{"string"},
1725Format: "",
1726},
1727},
1728"fileParameters": {
1729SchemaProps: spec.SchemaProps{
1730Description: "FileParameters are file parameters to the helm template",
1731Type: []string{"array"},
1732Items: &spec.SchemaOrArray{
1733Schema: &spec.Schema{
1734SchemaProps: spec.SchemaProps{
1735Default: map[string]interface{}{},
1736Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmFileParameter"),
1737},
1738},
1739},
1740},
1741},
1742"version": {
1743SchemaProps: spec.SchemaProps{
1744Description: "Version is the Helm version to use for templating (\"3\")",
1745Type: []string{"string"},
1746Format: "",
1747},
1748},
1749"passCredentials": {
1750SchemaProps: spec.SchemaProps{
1751Description: "PassCredentials pass credentials to all domains (Helm's --pass-credentials)",
1752Type: []string{"boolean"},
1753Format: "",
1754},
1755},
1756"ignoreMissingValueFiles": {
1757SchemaProps: spec.SchemaProps{
1758Description: "IgnoreMissingValueFiles prevents helm template from failing when valueFiles do not exist locally by not appending them to helm template --values",
1759Type: []string{"boolean"},
1760Format: "",
1761},
1762},
1763"skipCrds": {
1764SchemaProps: spec.SchemaProps{
1765Description: "SkipCrds skips custom resource definition installation step (Helm's --skip-crds)",
1766Type: []string{"boolean"},
1767Format: "",
1768},
1769},
1770"valuesObject": {
1771SchemaProps: spec.SchemaProps{
1772Description: "ValuesObject specifies Helm values to be passed to helm template, defined as a map. This takes precedence over Values.",
1773Ref: ref("k8s.io/apimachinery/pkg/runtime.RawExtension"),
1774},
1775},
1776},
1777},
1778},
1779Dependencies: []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
1784func schema_pkg_apis_application_v1alpha1_ApplicationSourceJsonnet(ref common.ReferenceCallback) common.OpenAPIDefinition {
1785return common.OpenAPIDefinition{
1786Schema: spec.Schema{
1787SchemaProps: spec.SchemaProps{
1788Description: "ApplicationSourceJsonnet holds options specific to applications of type Jsonnet",
1789Type: []string{"object"},
1790Properties: map[string]spec.Schema{
1791"extVars": {
1792SchemaProps: spec.SchemaProps{
1793Description: "ExtVars is a list of Jsonnet External Variables",
1794Type: []string{"array"},
1795Items: &spec.SchemaOrArray{
1796Schema: &spec.Schema{
1797SchemaProps: spec.SchemaProps{
1798Default: map[string]interface{}{},
1799Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"),
1800},
1801},
1802},
1803},
1804},
1805"tlas": {
1806SchemaProps: spec.SchemaProps{
1807Description: "TLAS is a list of Jsonnet Top-level Arguments",
1808Type: []string{"array"},
1809Items: &spec.SchemaOrArray{
1810Schema: &spec.Schema{
1811SchemaProps: spec.SchemaProps{
1812Default: map[string]interface{}{},
1813Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"),
1814},
1815},
1816},
1817},
1818},
1819"libs": {
1820SchemaProps: spec.SchemaProps{
1821Description: "Additional library search dirs",
1822Type: []string{"array"},
1823Items: &spec.SchemaOrArray{
1824Schema: &spec.Schema{
1825SchemaProps: spec.SchemaProps{
1826Default: "",
1827Type: []string{"string"},
1828Format: "",
1829},
1830},
1831},
1832},
1833},
1834},
1835},
1836},
1837Dependencies: []string{
1838"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"},
1839}
1840}
1841
1842func schema_pkg_apis_application_v1alpha1_ApplicationSourceKustomize(ref common.ReferenceCallback) common.OpenAPIDefinition {
1843return common.OpenAPIDefinition{
1844Schema: spec.Schema{
1845SchemaProps: spec.SchemaProps{
1846Description: "ApplicationSourceKustomize holds options specific to an Application source specific to Kustomize",
1847Type: []string{"object"},
1848Properties: map[string]spec.Schema{
1849"namePrefix": {
1850SchemaProps: spec.SchemaProps{
1851Description: "NamePrefix is a prefix appended to resources for Kustomize apps",
1852Type: []string{"string"},
1853Format: "",
1854},
1855},
1856"nameSuffix": {
1857SchemaProps: spec.SchemaProps{
1858Description: "NameSuffix is a suffix appended to resources for Kustomize apps",
1859Type: []string{"string"},
1860Format: "",
1861},
1862},
1863"images": {
1864SchemaProps: spec.SchemaProps{
1865Description: "Images is a list of Kustomize image override specifications",
1866Type: []string{"array"},
1867Items: &spec.SchemaOrArray{
1868Schema: &spec.Schema{
1869SchemaProps: spec.SchemaProps{
1870Default: "",
1871Type: []string{"string"},
1872Format: "",
1873},
1874},
1875},
1876},
1877},
1878"commonLabels": {
1879SchemaProps: spec.SchemaProps{
1880Description: "CommonLabels is a list of additional labels to add to rendered manifests",
1881Type: []string{"object"},
1882AdditionalProperties: &spec.SchemaOrBool{
1883Allows: true,
1884Schema: &spec.Schema{
1885SchemaProps: spec.SchemaProps{
1886Default: "",
1887Type: []string{"string"},
1888Format: "",
1889},
1890},
1891},
1892},
1893},
1894"version": {
1895SchemaProps: spec.SchemaProps{
1896Description: "Version controls which version of Kustomize to use for rendering manifests",
1897Type: []string{"string"},
1898Format: "",
1899},
1900},
1901"commonAnnotations": {
1902SchemaProps: spec.SchemaProps{
1903Description: "CommonAnnotations is a list of additional annotations to add to rendered manifests",
1904Type: []string{"object"},
1905AdditionalProperties: &spec.SchemaOrBool{
1906Allows: true,
1907Schema: &spec.Schema{
1908SchemaProps: spec.SchemaProps{
1909Default: "",
1910Type: []string{"string"},
1911Format: "",
1912},
1913},
1914},
1915},
1916},
1917"forceCommonLabels": {
1918SchemaProps: spec.SchemaProps{
1919Description: "ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps",
1920Type: []string{"boolean"},
1921Format: "",
1922},
1923},
1924"forceCommonAnnotations": {
1925SchemaProps: spec.SchemaProps{
1926Description: "ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps",
1927Type: []string{"boolean"},
1928Format: "",
1929},
1930},
1931"namespace": {
1932SchemaProps: spec.SchemaProps{
1933Description: "Namespace sets the namespace that Kustomize adds to all resources",
1934Type: []string{"string"},
1935Format: "",
1936},
1937},
1938"commonAnnotationsEnvsubst": {
1939SchemaProps: spec.SchemaProps{
1940Description: "CommonAnnotationsEnvsubst specifies whether to apply env variables substitution for annotation values",
1941Type: []string{"boolean"},
1942Format: "",
1943},
1944},
1945"replicas": {
1946SchemaProps: spec.SchemaProps{
1947Description: "Replicas is a list of Kustomize Replicas override specifications",
1948Type: []string{"array"},
1949Items: &spec.SchemaOrArray{
1950Schema: &spec.Schema{
1951SchemaProps: spec.SchemaProps{
1952Default: map[string]interface{}{},
1953Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeReplica"),
1954},
1955},
1956},
1957},
1958},
1959"patches": {
1960SchemaProps: spec.SchemaProps{
1961Description: "Patches is a list of Kustomize patches",
1962Type: []string{"array"},
1963Items: &spec.SchemaOrArray{
1964Schema: &spec.Schema{
1965SchemaProps: spec.SchemaProps{
1966Default: map[string]interface{}{},
1967Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizePatch"),
1968},
1969},
1970},
1971},
1972},
1973"components": {
1974SchemaProps: spec.SchemaProps{
1975Description: "Components specifies a list of kustomize components to add to the kustomization before building",
1976Type: []string{"array"},
1977Items: &spec.SchemaOrArray{
1978Schema: &spec.Schema{
1979SchemaProps: spec.SchemaProps{
1980Default: "",
1981Type: []string{"string"},
1982Format: "",
1983},
1984},
1985},
1986},
1987},
1988},
1989},
1990},
1991Dependencies: []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
1996func schema_pkg_apis_application_v1alpha1_ApplicationSourcePlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
1997return common.OpenAPIDefinition{
1998Schema: spec.Schema{
1999SchemaProps: spec.SchemaProps{
2000Description: "ApplicationSourcePlugin holds options specific to config management plugins",
2001Type: []string{"object"},
2002Properties: map[string]spec.Schema{
2003"name": {
2004SchemaProps: spec.SchemaProps{
2005Type: []string{"string"},
2006Format: "",
2007},
2008},
2009"env": {
2010SchemaProps: spec.SchemaProps{
2011Type: []string{"array"},
2012Items: &spec.SchemaOrArray{
2013Schema: &spec.Schema{
2014SchemaProps: spec.SchemaProps{
2015Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.EnvEntry"),
2016},
2017},
2018},
2019},
2020},
2021"parameters": {
2022SchemaProps: spec.SchemaProps{
2023Type: []string{"array"},
2024Items: &spec.SchemaOrArray{
2025Schema: &spec.Schema{
2026SchemaProps: spec.SchemaProps{
2027Default: map[string]interface{}{},
2028Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePluginParameter"),
2029},
2030},
2031},
2032},
2033},
2034},
2035},
2036},
2037Dependencies: []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
2042func schema_pkg_apis_application_v1alpha1_ApplicationSourcePluginParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
2043return common.OpenAPIDefinition{
2044Schema: spec.Schema{
2045SchemaProps: spec.SchemaProps{
2046Type: []string{"object"},
2047Properties: map[string]spec.Schema{
2048"name": {
2049SchemaProps: spec.SchemaProps{
2050Description: "Name is the name identifying a parameter.",
2051Type: []string{"string"},
2052Format: "",
2053},
2054},
2055"string": {
2056SchemaProps: spec.SchemaProps{
2057Description: "String_ is the value of a string type parameter.",
2058Type: []string{"string"},
2059Format: "",
2060},
2061},
2062},
2063},
2064},
2065}
2066}
2067
2068func schema_pkg_apis_application_v1alpha1_ApplicationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
2069return common.OpenAPIDefinition{
2070Schema: spec.Schema{
2071SchemaProps: spec.SchemaProps{
2072Description: "ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.",
2073Type: []string{"object"},
2074Properties: map[string]spec.Schema{
2075"source": {
2076SchemaProps: spec.SchemaProps{
2077Description: "Source is a reference to the location of the application's manifests or chart",
2078Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2079},
2080},
2081"destination": {
2082SchemaProps: spec.SchemaProps{
2083Description: "Destination is a reference to the target Kubernetes server and namespace",
2084Default: map[string]interface{}{},
2085Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
2086},
2087},
2088"project": {
2089SchemaProps: spec.SchemaProps{
2090Description: "Project is a reference to the project this application belongs to. The empty string means that application belongs to the 'default' project.",
2091Default: "",
2092Type: []string{"string"},
2093Format: "",
2094},
2095},
2096"syncPolicy": {
2097SchemaProps: spec.SchemaProps{
2098Description: "SyncPolicy controls when and how a sync will be performed",
2099Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicy"),
2100},
2101},
2102"ignoreDifferences": {
2103SchemaProps: spec.SchemaProps{
2104Description: "IgnoreDifferences is a list of resources and their fields which should be ignored during comparison",
2105Type: []string{"array"},
2106Items: &spec.SchemaOrArray{
2107Schema: &spec.Schema{
2108SchemaProps: spec.SchemaProps{
2109Default: map[string]interface{}{},
2110Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences"),
2111},
2112},
2113},
2114},
2115},
2116"info": {
2117SchemaProps: spec.SchemaProps{
2118Description: "Info contains a list of information (URLs, email addresses, and plain text) that relates to the application",
2119Type: []string{"array"},
2120Items: &spec.SchemaOrArray{
2121Schema: &spec.Schema{
2122SchemaProps: spec.SchemaProps{
2123Default: map[string]interface{}{},
2124Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info"),
2125},
2126},
2127},
2128},
2129},
2130"revisionHistoryLimit": {
2131SchemaProps: spec.SchemaProps{
2132Description: "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.",
2133Type: []string{"integer"},
2134Format: "int64",
2135},
2136},
2137"sources": {
2138SchemaProps: spec.SchemaProps{
2139Description: "Sources is a reference to the location of the application's manifests or chart",
2140Type: []string{"array"},
2141Items: &spec.SchemaOrArray{
2142Schema: &spec.Schema{
2143SchemaProps: spec.SchemaProps{
2144Default: map[string]interface{}{},
2145Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2146},
2147},
2148},
2149},
2150},
2151},
2152Required: []string{"destination", "project"},
2153},
2154},
2155Dependencies: []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
2160func schema_pkg_apis_application_v1alpha1_ApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
2161return common.OpenAPIDefinition{
2162Schema: spec.Schema{
2163SchemaProps: spec.SchemaProps{
2164Description: "ApplicationStatus contains status information for the application",
2165Type: []string{"object"},
2166Properties: map[string]spec.Schema{
2167"resources": {
2168SchemaProps: spec.SchemaProps{
2169Description: "Resources is a list of Kubernetes resources managed by this application",
2170Type: []string{"array"},
2171Items: &spec.SchemaOrArray{
2172Schema: &spec.Schema{
2173SchemaProps: spec.SchemaProps{
2174Default: map[string]interface{}{},
2175Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceStatus"),
2176},
2177},
2178},
2179},
2180},
2181"sync": {
2182SchemaProps: spec.SchemaProps{
2183Description: "Sync contains information about the application's current sync status",
2184Default: map[string]interface{}{},
2185Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStatus"),
2186},
2187},
2188"health": {
2189SchemaProps: spec.SchemaProps{
2190Description: "Health contains information about the application's current health status",
2191Default: map[string]interface{}{},
2192Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
2193},
2194},
2195"history": {
2196SchemaProps: spec.SchemaProps{
2197Description: "History contains information about the application's sync history",
2198Type: []string{"array"},
2199Items: &spec.SchemaOrArray{
2200Schema: &spec.Schema{
2201SchemaProps: spec.SchemaProps{
2202Default: map[string]interface{}{},
2203Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionHistory"),
2204},
2205},
2206},
2207},
2208},
2209"conditions": {
2210SchemaProps: spec.SchemaProps{
2211Description: "Conditions is a list of currently observed application conditions",
2212Type: []string{"array"},
2213Items: &spec.SchemaOrArray{
2214Schema: &spec.Schema{
2215SchemaProps: spec.SchemaProps{
2216Default: map[string]interface{}{},
2217Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationCondition"),
2218},
2219},
2220},
2221},
2222},
2223"reconciledAt": {
2224SchemaProps: spec.SchemaProps{
2225Description: "ReconciledAt indicates when the application state was reconciled using the latest git version",
2226Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2227},
2228},
2229"operationState": {
2230SchemaProps: spec.SchemaProps{
2231Description: "OperationState contains information about any ongoing operations, such as a sync",
2232Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationState"),
2233},
2234},
2235"observedAt": {
2236SchemaProps: spec.SchemaProps{
2237Description: "ObservedAt indicates when the application state was updated without querying latest git state Deprecated: controller no longer updates ObservedAt field",
2238Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2239},
2240},
2241"sourceType": {
2242SchemaProps: spec.SchemaProps{
2243Description: "SourceType specifies the type of this application",
2244Type: []string{"string"},
2245Format: "",
2246},
2247},
2248"summary": {
2249SchemaProps: spec.SchemaProps{
2250Description: "Summary contains a list of URLs and container images used by this application",
2251Default: map[string]interface{}{},
2252Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSummary"),
2253},
2254},
2255"resourceHealthSource": {
2256SchemaProps: spec.SchemaProps{
2257Description: "ResourceHealthSource indicates where the resource health status is stored: inline if not set or appTree",
2258Type: []string{"string"},
2259Format: "",
2260},
2261},
2262"sourceTypes": {
2263SchemaProps: spec.SchemaProps{
2264Description: "SourceTypes specifies the type of the sources included in the application",
2265Type: []string{"array"},
2266Items: &spec.SchemaOrArray{
2267Schema: &spec.Schema{
2268SchemaProps: spec.SchemaProps{
2269Default: "",
2270Type: []string{"string"},
2271Format: "",
2272},
2273},
2274},
2275},
2276},
2277"controllerNamespace": {
2278SchemaProps: spec.SchemaProps{
2279Description: "ControllerNamespace indicates the namespace in which the application controller is located",
2280Type: []string{"string"},
2281Format: "",
2282},
2283},
2284},
2285},
2286},
2287Dependencies: []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
2292func schema_pkg_apis_application_v1alpha1_ApplicationSummary(ref common.ReferenceCallback) common.OpenAPIDefinition {
2293return common.OpenAPIDefinition{
2294Schema: spec.Schema{
2295SchemaProps: spec.SchemaProps{
2296Description: "ApplicationSummary contains information about URLs and container images used by an application",
2297Type: []string{"object"},
2298Properties: map[string]spec.Schema{
2299"externalURLs": {
2300SchemaProps: spec.SchemaProps{
2301Description: "ExternalURLs holds all external URLs of application child resources.",
2302Type: []string{"array"},
2303Items: &spec.SchemaOrArray{
2304Schema: &spec.Schema{
2305SchemaProps: spec.SchemaProps{
2306Default: "",
2307Type: []string{"string"},
2308Format: "",
2309},
2310},
2311},
2312},
2313},
2314"images": {
2315SchemaProps: spec.SchemaProps{
2316Description: "Images holds all images of application child resources.",
2317Type: []string{"array"},
2318Items: &spec.SchemaOrArray{
2319Schema: &spec.Schema{
2320SchemaProps: spec.SchemaProps{
2321Default: "",
2322Type: []string{"string"},
2323Format: "",
2324},
2325},
2326},
2327},
2328},
2329},
2330},
2331},
2332}
2333}
2334
2335func schema_pkg_apis_application_v1alpha1_ApplicationTree(ref common.ReferenceCallback) common.OpenAPIDefinition {
2336return common.OpenAPIDefinition{
2337Schema: spec.Schema{
2338SchemaProps: spec.SchemaProps{
2339Description: "ApplicationTree holds nodes which belongs to the application",
2340Type: []string{"object"},
2341Properties: map[string]spec.Schema{
2342"nodes": {
2343SchemaProps: spec.SchemaProps{
2344Description: "Nodes contains list of nodes which either directly managed by the application and children of directly managed nodes.",
2345Type: []string{"array"},
2346Items: &spec.SchemaOrArray{
2347Schema: &spec.Schema{
2348SchemaProps: spec.SchemaProps{
2349Default: map[string]interface{}{},
2350Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"),
2351},
2352},
2353},
2354},
2355},
2356"orphanedNodes": {
2357SchemaProps: spec.SchemaProps{
2358Description: "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.",
2359Type: []string{"array"},
2360Items: &spec.SchemaOrArray{
2361Schema: &spec.Schema{
2362SchemaProps: spec.SchemaProps{
2363Default: map[string]interface{}{},
2364Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"),
2365},
2366},
2367},
2368},
2369},
2370"hosts": {
2371SchemaProps: spec.SchemaProps{
2372Description: "Hosts holds list of Kubernetes nodes that run application related pods",
2373Type: []string{"array"},
2374Items: &spec.SchemaOrArray{
2375Schema: &spec.Schema{
2376SchemaProps: spec.SchemaProps{
2377Default: map[string]interface{}{},
2378Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostInfo"),
2379},
2380},
2381},
2382},
2383},
2384},
2385},
2386},
2387Dependencies: []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
2392func schema_pkg_apis_application_v1alpha1_ApplicationWatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
2393return common.OpenAPIDefinition{
2394Schema: spec.Schema{
2395SchemaProps: spec.SchemaProps{
2396Description: "ApplicationWatchEvent contains information about application change.",
2397Type: []string{"object"},
2398Properties: map[string]spec.Schema{
2399"type": {
2400SchemaProps: spec.SchemaProps{
2401Default: "",
2402Type: []string{"string"},
2403Format: "",
2404},
2405},
2406"application": {
2407SchemaProps: spec.SchemaProps{
2408Description: "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.",
2409Default: map[string]interface{}{},
2410Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"),
2411},
2412},
2413},
2414Required: []string{"type", "application"},
2415},
2416},
2417Dependencies: []string{
2418"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"},
2419}
2420}
2421
2422func schema_pkg_apis_application_v1alpha1_Backoff(ref common.ReferenceCallback) common.OpenAPIDefinition {
2423return common.OpenAPIDefinition{
2424Schema: spec.Schema{
2425SchemaProps: spec.SchemaProps{
2426Description: "Backoff is the backoff strategy to use on subsequent retries for failing syncs",
2427Type: []string{"object"},
2428Properties: map[string]spec.Schema{
2429"duration": {
2430SchemaProps: spec.SchemaProps{
2431Description: "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")",
2432Type: []string{"string"},
2433Format: "",
2434},
2435},
2436"factor": {
2437SchemaProps: spec.SchemaProps{
2438Description: "Factor is a factor to multiply the base duration after each failed retry",
2439Type: []string{"integer"},
2440Format: "int64",
2441},
2442},
2443"maxDuration": {
2444SchemaProps: spec.SchemaProps{
2445Description: "MaxDuration is the maximum amount of time allowed for the backoff strategy",
2446Type: []string{"string"},
2447Format: "",
2448},
2449},
2450},
2451},
2452},
2453}
2454}
2455
2456func schema_pkg_apis_application_v1alpha1_BasicAuthBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
2457return common.OpenAPIDefinition{
2458Schema: spec.Schema{
2459SchemaProps: spec.SchemaProps{
2460Description: "BasicAuthBitbucketServer defines the username/(password or personal access token) for Basic auth.",
2461Type: []string{"object"},
2462Properties: map[string]spec.Schema{
2463"username": {
2464SchemaProps: spec.SchemaProps{
2465Description: "Username for Basic auth",
2466Default: "",
2467Type: []string{"string"},
2468Format: "",
2469},
2470},
2471"passwordRef": {
2472SchemaProps: spec.SchemaProps{
2473Description: "Password (or personal access token) reference.",
2474Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
2475},
2476},
2477},
2478Required: []string{"username", "passwordRef"},
2479},
2480},
2481Dependencies: []string{
2482"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
2483}
2484}
2485
2486func schema_pkg_apis_application_v1alpha1_BearerTokenBitbucketCloud(ref common.ReferenceCallback) common.OpenAPIDefinition {
2487return common.OpenAPIDefinition{
2488Schema: spec.Schema{
2489SchemaProps: spec.SchemaProps{
2490Description: "BearerTokenBitbucketCloud defines the Bearer token for BitBucket AppToken auth.",
2491Type: []string{"object"},
2492Properties: map[string]spec.Schema{
2493"tokenRef": {
2494SchemaProps: spec.SchemaProps{
2495Description: "Password (or personal access token) reference.",
2496Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
2497},
2498},
2499},
2500Required: []string{"tokenRef"},
2501},
2502},
2503Dependencies: []string{
2504"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
2505}
2506}
2507
2508func schema_pkg_apis_application_v1alpha1_ChartDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
2509return common.OpenAPIDefinition{
2510Schema: spec.Schema{
2511SchemaProps: spec.SchemaProps{
2512Description: "ChartDetails contains helm chart metadata for a specific version",
2513Type: []string{"object"},
2514Properties: map[string]spec.Schema{
2515"description": {
2516SchemaProps: spec.SchemaProps{
2517Type: []string{"string"},
2518Format: "",
2519},
2520},
2521"home": {
2522SchemaProps: spec.SchemaProps{
2523Description: "The URL of this projects home page, e.g. \"http://example.com\"",
2524Type: []string{"string"},
2525Format: "",
2526},
2527},
2528"maintainers": {
2529SchemaProps: spec.SchemaProps{
2530Description: "List of maintainer details, name and email, e.g. [\"John Doe <john_doe@my-company.com>\"]",
2531Type: []string{"array"},
2532Items: &spec.SchemaOrArray{
2533Schema: &spec.Schema{
2534SchemaProps: spec.SchemaProps{
2535Default: "",
2536Type: []string{"string"},
2537Format: "",
2538},
2539},
2540},
2541},
2542},
2543},
2544},
2545},
2546}
2547}
2548
2549func schema_pkg_apis_application_v1alpha1_Cluster(ref common.ReferenceCallback) common.OpenAPIDefinition {
2550return common.OpenAPIDefinition{
2551Schema: spec.Schema{
2552SchemaProps: spec.SchemaProps{
2553Description: "Cluster is the definition of a cluster resource",
2554Type: []string{"object"},
2555Properties: map[string]spec.Schema{
2556"server": {
2557SchemaProps: spec.SchemaProps{
2558Description: "Server is the API server URL of the Kubernetes cluster",
2559Default: "",
2560Type: []string{"string"},
2561Format: "",
2562},
2563},
2564"name": {
2565SchemaProps: spec.SchemaProps{
2566Description: "Name of the cluster. If omitted, will use the server address",
2567Default: "",
2568Type: []string{"string"},
2569Format: "",
2570},
2571},
2572"config": {
2573SchemaProps: spec.SchemaProps{
2574Description: "Config holds cluster information for connecting to a cluster",
2575Default: map[string]interface{}{},
2576Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterConfig"),
2577},
2578},
2579"connectionState": {
2580SchemaProps: spec.SchemaProps{
2581Description: "DEPRECATED: use Info.ConnectionState field instead. ConnectionState contains information about cluster connection state",
2582Default: map[string]interface{}{},
2583Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
2584},
2585},
2586"serverVersion": {
2587SchemaProps: spec.SchemaProps{
2588Description: "DEPRECATED: use Info.ServerVersion field instead. The server version",
2589Type: []string{"string"},
2590Format: "",
2591},
2592},
2593"namespaces": {
2594SchemaProps: spec.SchemaProps{
2595Description: "Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.",
2596Type: []string{"array"},
2597Items: &spec.SchemaOrArray{
2598Schema: &spec.Schema{
2599SchemaProps: spec.SchemaProps{
2600Default: "",
2601Type: []string{"string"},
2602Format: "",
2603},
2604},
2605},
2606},
2607},
2608"refreshRequestedAt": {
2609SchemaProps: spec.SchemaProps{
2610Description: "RefreshRequestedAt holds time when cluster cache refresh has been requested",
2611Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2612},
2613},
2614"info": {
2615SchemaProps: spec.SchemaProps{
2616Description: "Info holds information about cluster cache and state",
2617Default: map[string]interface{}{},
2618Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterInfo"),
2619},
2620},
2621"shard": {
2622SchemaProps: spec.SchemaProps{
2623Description: "Shard contains optional shard number. Calculated on the fly by the application controller if not specified.",
2624Type: []string{"integer"},
2625Format: "int64",
2626},
2627},
2628"clusterResources": {
2629SchemaProps: spec.SchemaProps{
2630Description: "Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.",
2631Type: []string{"boolean"},
2632Format: "",
2633},
2634},
2635"project": {
2636SchemaProps: spec.SchemaProps{
2637Description: "Reference between project and cluster that allow you automatically to be added as item inside Destinations project entity",
2638Type: []string{"string"},
2639Format: "",
2640},
2641},
2642"labels": {
2643SchemaProps: spec.SchemaProps{
2644Description: "Labels for cluster secret metadata",
2645Type: []string{"object"},
2646AdditionalProperties: &spec.SchemaOrBool{
2647Allows: true,
2648Schema: &spec.Schema{
2649SchemaProps: spec.SchemaProps{
2650Default: "",
2651Type: []string{"string"},
2652Format: "",
2653},
2654},
2655},
2656},
2657},
2658"annotations": {
2659SchemaProps: spec.SchemaProps{
2660Description: "Annotations for cluster secret metadata",
2661Type: []string{"object"},
2662AdditionalProperties: &spec.SchemaOrBool{
2663Allows: true,
2664Schema: &spec.Schema{
2665SchemaProps: spec.SchemaProps{
2666Default: "",
2667Type: []string{"string"},
2668Format: "",
2669},
2670},
2671},
2672},
2673},
2674},
2675Required: []string{"server", "name", "config"},
2676},
2677},
2678Dependencies: []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
2683func schema_pkg_apis_application_v1alpha1_ClusterCacheInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
2684return common.OpenAPIDefinition{
2685Schema: spec.Schema{
2686SchemaProps: spec.SchemaProps{
2687Description: "ClusterCacheInfo contains information about the cluster cache",
2688Type: []string{"object"},
2689Properties: map[string]spec.Schema{
2690"resourcesCount": {
2691SchemaProps: spec.SchemaProps{
2692Description: "ResourcesCount holds number of observed Kubernetes resources",
2693Type: []string{"integer"},
2694Format: "int64",
2695},
2696},
2697"apisCount": {
2698SchemaProps: spec.SchemaProps{
2699Description: "APIsCount holds number of observed Kubernetes API count",
2700Type: []string{"integer"},
2701Format: "int64",
2702},
2703},
2704"lastCacheSyncTime": {
2705SchemaProps: spec.SchemaProps{
2706Description: "LastCacheSyncTime holds time of most recent cache synchronization",
2707Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
2708},
2709},
2710},
2711},
2712},
2713Dependencies: []string{
2714"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
2715}
2716}
2717
2718func schema_pkg_apis_application_v1alpha1_ClusterConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
2719return common.OpenAPIDefinition{
2720Schema: spec.Schema{
2721SchemaProps: spec.SchemaProps{
2722Description: "ClusterConfig is the configuration attributes. This structure is subset of the go-client rest.Config with annotations added for marshalling.",
2723Type: []string{"object"},
2724Properties: map[string]spec.Schema{
2725"username": {
2726SchemaProps: spec.SchemaProps{
2727Description: "Server requires Basic authentication",
2728Type: []string{"string"},
2729Format: "",
2730},
2731},
2732"password": {
2733SchemaProps: spec.SchemaProps{
2734Type: []string{"string"},
2735Format: "",
2736},
2737},
2738"bearerToken": {
2739SchemaProps: spec.SchemaProps{
2740Description: "Server requires Bearer authentication. This client will not attempt to use refresh tokens for an OAuth2 flow.",
2741Type: []string{"string"},
2742Format: "",
2743},
2744},
2745"tlsClientConfig": {
2746SchemaProps: spec.SchemaProps{
2747Description: "TLSClientConfig contains settings to enable transport layer security",
2748Default: map[string]interface{}{},
2749Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TLSClientConfig"),
2750},
2751},
2752"awsAuthConfig": {
2753SchemaProps: spec.SchemaProps{
2754Description: "AWSAuthConfig contains IAM authentication configuration",
2755Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AWSAuthConfig"),
2756},
2757},
2758"execProviderConfig": {
2759SchemaProps: spec.SchemaProps{
2760Description: "ExecProviderConfig contains configuration for an exec provider",
2761Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ExecProviderConfig"),
2762},
2763},
2764},
2765Required: []string{"tlsClientConfig"},
2766},
2767},
2768Dependencies: []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
2773func schema_pkg_apis_application_v1alpha1_ClusterGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
2774return common.OpenAPIDefinition{
2775Schema: spec.Schema{
2776SchemaProps: spec.SchemaProps{
2777Description: "ClusterGenerator defines a generator to match against clusters registered with ArgoCD.",
2778Type: []string{"object"},
2779Properties: map[string]spec.Schema{
2780"selector": {
2781SchemaProps: spec.SchemaProps{
2782Description: "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.",
2783Default: map[string]interface{}{},
2784Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
2785},
2786},
2787"template": {
2788SchemaProps: spec.SchemaProps{
2789Default: map[string]interface{}{},
2790Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
2791},
2792},
2793"values": {
2794SchemaProps: spec.SchemaProps{
2795Description: "Values contains key/value pairs which are passed directly as parameters to the template",
2796Type: []string{"object"},
2797AdditionalProperties: &spec.SchemaOrBool{
2798Allows: true,
2799Schema: &spec.Schema{
2800SchemaProps: spec.SchemaProps{
2801Default: "",
2802Type: []string{"string"},
2803Format: "",
2804},
2805},
2806},
2807},
2808},
2809},
2810},
2811},
2812Dependencies: []string{
2813"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
2814}
2815}
2816
2817func schema_pkg_apis_application_v1alpha1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
2818return common.OpenAPIDefinition{
2819Schema: spec.Schema{
2820SchemaProps: spec.SchemaProps{
2821Description: "ClusterInfo contains information about the cluster",
2822Type: []string{"object"},
2823Properties: map[string]spec.Schema{
2824"connectionState": {
2825SchemaProps: spec.SchemaProps{
2826Description: "ConnectionState contains information about the connection to the cluster",
2827Default: map[string]interface{}{},
2828Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
2829},
2830},
2831"serverVersion": {
2832SchemaProps: spec.SchemaProps{
2833Description: "ServerVersion contains information about the Kubernetes version of the cluster",
2834Type: []string{"string"},
2835Format: "",
2836},
2837},
2838"cacheInfo": {
2839SchemaProps: spec.SchemaProps{
2840Description: "CacheInfo contains information about the cluster cache",
2841Default: map[string]interface{}{},
2842Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterCacheInfo"),
2843},
2844},
2845"applicationsCount": {
2846SchemaProps: spec.SchemaProps{
2847Description: "ApplicationsCount is the number of applications managed by Argo CD on the cluster",
2848Default: 0,
2849Type: []string{"integer"},
2850Format: "int64",
2851},
2852},
2853"apiVersions": {
2854SchemaProps: spec.SchemaProps{
2855Description: "APIVersions contains list of API versions supported by the cluster",
2856Type: []string{"array"},
2857Items: &spec.SchemaOrArray{
2858Schema: &spec.Schema{
2859SchemaProps: spec.SchemaProps{
2860Default: "",
2861Type: []string{"string"},
2862Format: "",
2863},
2864},
2865},
2866},
2867},
2868},
2869Required: []string{"applicationsCount"},
2870},
2871},
2872Dependencies: []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
2877func schema_pkg_apis_application_v1alpha1_ClusterList(ref common.ReferenceCallback) common.OpenAPIDefinition {
2878return common.OpenAPIDefinition{
2879Schema: spec.Schema{
2880SchemaProps: spec.SchemaProps{
2881Description: "ClusterList is a collection of Clusters.",
2882Type: []string{"object"},
2883Properties: map[string]spec.Schema{
2884"metadata": {
2885SchemaProps: spec.SchemaProps{
2886Default: map[string]interface{}{},
2887Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
2888},
2889},
2890"items": {
2891SchemaProps: spec.SchemaProps{
2892Type: []string{"array"},
2893Items: &spec.SchemaOrArray{
2894Schema: &spec.Schema{
2895SchemaProps: spec.SchemaProps{
2896Default: map[string]interface{}{},
2897Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster"),
2898},
2899},
2900},
2901},
2902},
2903},
2904Required: []string{"items"},
2905},
2906},
2907Dependencies: []string{
2908"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
2909}
2910}
2911
2912func schema_pkg_apis_application_v1alpha1_Command(ref common.ReferenceCallback) common.OpenAPIDefinition {
2913return common.OpenAPIDefinition{
2914Schema: spec.Schema{
2915SchemaProps: spec.SchemaProps{
2916Description: "Command holds binary path and arguments list",
2917Type: []string{"object"},
2918Properties: map[string]spec.Schema{
2919"command": {
2920SchemaProps: spec.SchemaProps{
2921Type: []string{"array"},
2922Items: &spec.SchemaOrArray{
2923Schema: &spec.Schema{
2924SchemaProps: spec.SchemaProps{
2925Default: "",
2926Type: []string{"string"},
2927Format: "",
2928},
2929},
2930},
2931},
2932},
2933"args": {
2934SchemaProps: spec.SchemaProps{
2935Type: []string{"array"},
2936Items: &spec.SchemaOrArray{
2937Schema: &spec.Schema{
2938SchemaProps: spec.SchemaProps{
2939Default: "",
2940Type: []string{"string"},
2941Format: "",
2942},
2943},
2944},
2945},
2946},
2947},
2948},
2949},
2950}
2951}
2952
2953func schema_pkg_apis_application_v1alpha1_ComparedTo(ref common.ReferenceCallback) common.OpenAPIDefinition {
2954return common.OpenAPIDefinition{
2955Schema: spec.Schema{
2956SchemaProps: spec.SchemaProps{
2957Description: "ComparedTo contains application source and target which was used for resources comparison",
2958Type: []string{"object"},
2959Properties: map[string]spec.Schema{
2960"source": {
2961SchemaProps: spec.SchemaProps{
2962Description: "Source is a reference to the application's source used for comparison",
2963Default: map[string]interface{}{},
2964Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2965},
2966},
2967"destination": {
2968SchemaProps: spec.SchemaProps{
2969Description: "Destination is a reference to the application's destination used for comparison",
2970Default: map[string]interface{}{},
2971Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
2972},
2973},
2974"sources": {
2975SchemaProps: spec.SchemaProps{
2976Description: "Sources is a reference to the application's multiple sources used for comparison",
2977Type: []string{"array"},
2978Items: &spec.SchemaOrArray{
2979Schema: &spec.Schema{
2980SchemaProps: spec.SchemaProps{
2981Default: map[string]interface{}{},
2982Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
2983},
2984},
2985},
2986},
2987},
2988"ignoreDifferences": {
2989SchemaProps: spec.SchemaProps{
2990Description: "IgnoreDifferences is a reference to the application's ignored differences used for comparison",
2991Type: []string{"array"},
2992Items: &spec.SchemaOrArray{
2993Schema: &spec.Schema{
2994SchemaProps: spec.SchemaProps{
2995Default: map[string]interface{}{},
2996Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences"),
2997},
2998},
2999},
3000},
3001},
3002},
3003Required: []string{"destination"},
3004},
3005},
3006Dependencies: []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
3011func schema_pkg_apis_application_v1alpha1_ComponentParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
3012return common.OpenAPIDefinition{
3013Schema: spec.Schema{
3014SchemaProps: spec.SchemaProps{
3015Description: "ComponentParameter contains information about component parameter value",
3016Type: []string{"object"},
3017Properties: map[string]spec.Schema{
3018"component": {
3019SchemaProps: spec.SchemaProps{
3020Type: []string{"string"},
3021Format: "",
3022},
3023},
3024"name": {
3025SchemaProps: spec.SchemaProps{
3026Default: "",
3027Type: []string{"string"},
3028Format: "",
3029},
3030},
3031"value": {
3032SchemaProps: spec.SchemaProps{
3033Default: "",
3034Type: []string{"string"},
3035Format: "",
3036},
3037},
3038},
3039Required: []string{"name", "value"},
3040},
3041},
3042}
3043}
3044
3045func schema_pkg_apis_application_v1alpha1_ConfigManagementPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
3046return common.OpenAPIDefinition{
3047Schema: spec.Schema{
3048SchemaProps: spec.SchemaProps{
3049Description: "ConfigManagementPlugin contains config management plugin configuration",
3050Type: []string{"object"},
3051Properties: map[string]spec.Schema{
3052"name": {
3053SchemaProps: spec.SchemaProps{
3054Default: "",
3055Type: []string{"string"},
3056Format: "",
3057},
3058},
3059"init": {
3060SchemaProps: spec.SchemaProps{
3061Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"),
3062},
3063},
3064"generate": {
3065SchemaProps: spec.SchemaProps{
3066Default: map[string]interface{}{},
3067Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"),
3068},
3069},
3070"lockRepo": {
3071SchemaProps: spec.SchemaProps{
3072Type: []string{"boolean"},
3073Format: "",
3074},
3075},
3076},
3077Required: []string{"name", "generate"},
3078},
3079},
3080Dependencies: []string{
3081"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"},
3082}
3083}
3084
3085func schema_pkg_apis_application_v1alpha1_ConnectionState(ref common.ReferenceCallback) common.OpenAPIDefinition {
3086return common.OpenAPIDefinition{
3087Schema: spec.Schema{
3088SchemaProps: spec.SchemaProps{
3089Description: "ConnectionState contains information about remote resource connection state, currently used for clusters and repositories",
3090Type: []string{"object"},
3091Properties: map[string]spec.Schema{
3092"status": {
3093SchemaProps: spec.SchemaProps{
3094Description: "Status contains the current status indicator for the connection",
3095Default: "",
3096Type: []string{"string"},
3097Format: "",
3098},
3099},
3100"message": {
3101SchemaProps: spec.SchemaProps{
3102Description: "Message contains human readable information about the connection status",
3103Default: "",
3104Type: []string{"string"},
3105Format: "",
3106},
3107},
3108"attemptedAt": {
3109SchemaProps: spec.SchemaProps{
3110Description: "ModifiedAt contains the timestamp when this connection status has been determined",
3111Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
3112},
3113},
3114},
3115Required: []string{"status", "message", "attemptedAt"},
3116},
3117},
3118Dependencies: []string{
3119"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
3120}
3121}
3122
3123func schema_pkg_apis_application_v1alpha1_DuckTypeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
3124return common.OpenAPIDefinition{
3125Schema: spec.Schema{
3126SchemaProps: spec.SchemaProps{
3127Description: "DuckType defines a generator to match against clusters registered with ArgoCD.",
3128Type: []string{"object"},
3129Properties: map[string]spec.Schema{
3130"configMapRef": {
3131SchemaProps: spec.SchemaProps{
3132Description: "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",
3133Default: "",
3134Type: []string{"string"},
3135Format: "",
3136},
3137},
3138"name": {
3139SchemaProps: spec.SchemaProps{
3140Type: []string{"string"},
3141Format: "",
3142},
3143},
3144"requeueAfterSeconds": {
3145SchemaProps: spec.SchemaProps{
3146Type: []string{"integer"},
3147Format: "int64",
3148},
3149},
3150"labelSelector": {
3151SchemaProps: spec.SchemaProps{
3152Default: map[string]interface{}{},
3153Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
3154},
3155},
3156"template": {
3157SchemaProps: spec.SchemaProps{
3158Default: map[string]interface{}{},
3159Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
3160},
3161},
3162"values": {
3163SchemaProps: spec.SchemaProps{
3164Description: "Values contains key/value pairs which are passed directly as parameters to the template",
3165Type: []string{"object"},
3166AdditionalProperties: &spec.SchemaOrBool{
3167Allows: true,
3168Schema: &spec.Schema{
3169SchemaProps: spec.SchemaProps{
3170Default: "",
3171Type: []string{"string"},
3172Format: "",
3173},
3174},
3175},
3176},
3177},
3178},
3179Required: []string{"configMapRef"},
3180},
3181},
3182Dependencies: []string{
3183"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
3184}
3185}
3186
3187func schema_pkg_apis_application_v1alpha1_EnvEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
3188return common.OpenAPIDefinition{
3189Schema: spec.Schema{
3190SchemaProps: spec.SchemaProps{
3191Description: "EnvEntry represents an entry in the application's environment",
3192Type: []string{"object"},
3193Properties: map[string]spec.Schema{
3194"name": {
3195SchemaProps: spec.SchemaProps{
3196Description: "Name is the name of the variable, usually expressed in uppercase",
3197Default: "",
3198Type: []string{"string"},
3199Format: "",
3200},
3201},
3202"value": {
3203SchemaProps: spec.SchemaProps{
3204Description: "Value is the value of the variable",
3205Default: "",
3206Type: []string{"string"},
3207Format: "",
3208},
3209},
3210},
3211Required: []string{"name", "value"},
3212},
3213},
3214}
3215}
3216
3217func schema_pkg_apis_application_v1alpha1_ExecProviderConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
3218return common.OpenAPIDefinition{
3219Schema: spec.Schema{
3220SchemaProps: spec.SchemaProps{
3221Description: "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",
3222Type: []string{"object"},
3223Properties: map[string]spec.Schema{
3224"command": {
3225SchemaProps: spec.SchemaProps{
3226Description: "Command to execute",
3227Type: []string{"string"},
3228Format: "",
3229},
3230},
3231"args": {
3232SchemaProps: spec.SchemaProps{
3233Description: "Arguments to pass to the command when executing it",
3234Type: []string{"array"},
3235Items: &spec.SchemaOrArray{
3236Schema: &spec.Schema{
3237SchemaProps: spec.SchemaProps{
3238Default: "",
3239Type: []string{"string"},
3240Format: "",
3241},
3242},
3243},
3244},
3245},
3246"env": {
3247SchemaProps: spec.SchemaProps{
3248Description: "Env defines additional environment variables to expose to the process",
3249Type: []string{"object"},
3250AdditionalProperties: &spec.SchemaOrBool{
3251Allows: true,
3252Schema: &spec.Schema{
3253SchemaProps: spec.SchemaProps{
3254Default: "",
3255Type: []string{"string"},
3256Format: "",
3257},
3258},
3259},
3260},
3261},
3262"apiVersion": {
3263SchemaProps: spec.SchemaProps{
3264Description: "Preferred input version of the ExecInfo",
3265Type: []string{"string"},
3266Format: "",
3267},
3268},
3269"installHint": {
3270SchemaProps: spec.SchemaProps{
3271Description: "This text is shown to the user when the executable doesn't seem to be present",
3272Type: []string{"string"},
3273Format: "",
3274},
3275},
3276},
3277},
3278},
3279}
3280}
3281
3282func schema_pkg_apis_application_v1alpha1_GitDirectoryGeneratorItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
3283return common.OpenAPIDefinition{
3284Schema: spec.Schema{
3285SchemaProps: spec.SchemaProps{
3286Type: []string{"object"},
3287Properties: map[string]spec.Schema{
3288"path": {
3289SchemaProps: spec.SchemaProps{
3290Default: "",
3291Type: []string{"string"},
3292Format: "",
3293},
3294},
3295"exclude": {
3296SchemaProps: spec.SchemaProps{
3297Type: []string{"boolean"},
3298Format: "",
3299},
3300},
3301},
3302Required: []string{"path"},
3303},
3304},
3305}
3306}
3307
3308func schema_pkg_apis_application_v1alpha1_GitFileGeneratorItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
3309return common.OpenAPIDefinition{
3310Schema: spec.Schema{
3311SchemaProps: spec.SchemaProps{
3312Type: []string{"object"},
3313Properties: map[string]spec.Schema{
3314"path": {
3315SchemaProps: spec.SchemaProps{
3316Default: "",
3317Type: []string{"string"},
3318Format: "",
3319},
3320},
3321},
3322Required: []string{"path"},
3323},
3324},
3325}
3326}
3327
3328func schema_pkg_apis_application_v1alpha1_GitGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
3329return common.OpenAPIDefinition{
3330Schema: spec.Schema{
3331SchemaProps: spec.SchemaProps{
3332Type: []string{"object"},
3333Properties: map[string]spec.Schema{
3334"repoURL": {
3335SchemaProps: spec.SchemaProps{
3336Default: "",
3337Type: []string{"string"},
3338Format: "",
3339},
3340},
3341"directories": {
3342SchemaProps: spec.SchemaProps{
3343Type: []string{"array"},
3344Items: &spec.SchemaOrArray{
3345Schema: &spec.Schema{
3346SchemaProps: spec.SchemaProps{
3347Default: map[string]interface{}{},
3348Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitDirectoryGeneratorItem"),
3349},
3350},
3351},
3352},
3353},
3354"files": {
3355SchemaProps: spec.SchemaProps{
3356Type: []string{"array"},
3357Items: &spec.SchemaOrArray{
3358Schema: &spec.Schema{
3359SchemaProps: spec.SchemaProps{
3360Default: map[string]interface{}{},
3361Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitFileGeneratorItem"),
3362},
3363},
3364},
3365},
3366},
3367"revision": {
3368SchemaProps: spec.SchemaProps{
3369Default: "",
3370Type: []string{"string"},
3371Format: "",
3372},
3373},
3374"requeueAfterSeconds": {
3375SchemaProps: spec.SchemaProps{
3376Type: []string{"integer"},
3377Format: "int64",
3378},
3379},
3380"template": {
3381SchemaProps: spec.SchemaProps{
3382Default: map[string]interface{}{},
3383Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
3384},
3385},
3386"pathParamPrefix": {
3387SchemaProps: spec.SchemaProps{
3388Type: []string{"string"},
3389Format: "",
3390},
3391},
3392"values": {
3393SchemaProps: spec.SchemaProps{
3394Description: "Values contains key/value pairs which are passed directly as parameters to the template",
3395Type: []string{"object"},
3396AdditionalProperties: &spec.SchemaOrBool{
3397Allows: true,
3398Schema: &spec.Schema{
3399SchemaProps: spec.SchemaProps{
3400Default: "",
3401Type: []string{"string"},
3402Format: "",
3403},
3404},
3405},
3406},
3407},
3408},
3409Required: []string{"repoURL", "revision"},
3410},
3411},
3412Dependencies: []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
3417func schema_pkg_apis_application_v1alpha1_GnuPGPublicKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
3418return common.OpenAPIDefinition{
3419Schema: spec.Schema{
3420SchemaProps: spec.SchemaProps{
3421Description: "GnuPGPublicKey is a representation of a GnuPG public key",
3422Type: []string{"object"},
3423Properties: map[string]spec.Schema{
3424"keyID": {
3425SchemaProps: spec.SchemaProps{
3426Description: "KeyID specifies the key ID, in hexadecimal string format",
3427Default: "",
3428Type: []string{"string"},
3429Format: "",
3430},
3431},
3432"fingerprint": {
3433SchemaProps: spec.SchemaProps{
3434Description: "Fingerprint is the fingerprint of the key",
3435Type: []string{"string"},
3436Format: "",
3437},
3438},
3439"owner": {
3440SchemaProps: spec.SchemaProps{
3441Description: "Owner holds the owner identification, e.g. a name and e-mail address",
3442Type: []string{"string"},
3443Format: "",
3444},
3445},
3446"trust": {
3447SchemaProps: spec.SchemaProps{
3448Description: "Trust holds the level of trust assigned to this key",
3449Type: []string{"string"},
3450Format: "",
3451},
3452},
3453"subType": {
3454SchemaProps: spec.SchemaProps{
3455Description: "SubType holds the key's sub type (e.g. rsa4096)",
3456Type: []string{"string"},
3457Format: "",
3458},
3459},
3460"keyData": {
3461SchemaProps: spec.SchemaProps{
3462Description: "KeyData holds the raw key data, in base64 encoded format",
3463Type: []string{"string"},
3464Format: "",
3465},
3466},
3467},
3468Required: []string{"keyID"},
3469},
3470},
3471}
3472}
3473
3474func schema_pkg_apis_application_v1alpha1_GnuPGPublicKeyList(ref common.ReferenceCallback) common.OpenAPIDefinition {
3475return common.OpenAPIDefinition{
3476Schema: spec.Schema{
3477SchemaProps: spec.SchemaProps{
3478Description: "GnuPGPublicKeyList is a collection of GnuPGPublicKey objects",
3479Type: []string{"object"},
3480Properties: map[string]spec.Schema{
3481"metadata": {
3482SchemaProps: spec.SchemaProps{
3483Default: map[string]interface{}{},
3484Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
3485},
3486},
3487"items": {
3488SchemaProps: spec.SchemaProps{
3489Type: []string{"array"},
3490Items: &spec.SchemaOrArray{
3491Schema: &spec.Schema{
3492SchemaProps: spec.SchemaProps{
3493Default: map[string]interface{}{},
3494Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey"),
3495},
3496},
3497},
3498},
3499},
3500},
3501Required: []string{"items"},
3502},
3503},
3504Dependencies: []string{
3505"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
3506}
3507}
3508
3509func schema_pkg_apis_application_v1alpha1_HealthStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
3510return common.OpenAPIDefinition{
3511Schema: spec.Schema{
3512SchemaProps: spec.SchemaProps{
3513Description: "HealthStatus contains information about the currently observed health state of an application or resource",
3514Type: []string{"object"},
3515Properties: map[string]spec.Schema{
3516"status": {
3517SchemaProps: spec.SchemaProps{
3518Description: "Status holds the status code of the application or resource",
3519Type: []string{"string"},
3520Format: "",
3521},
3522},
3523"message": {
3524SchemaProps: spec.SchemaProps{
3525Description: "Message is a human-readable informational message describing the health status",
3526Type: []string{"string"},
3527Format: "",
3528},
3529},
3530},
3531},
3532},
3533}
3534}
3535
3536func schema_pkg_apis_application_v1alpha1_HelmFileParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
3537return common.OpenAPIDefinition{
3538Schema: spec.Schema{
3539SchemaProps: spec.SchemaProps{
3540Description: "HelmFileParameter is a file parameter that's passed to helm template during manifest generation",
3541Type: []string{"object"},
3542Properties: map[string]spec.Schema{
3543"name": {
3544SchemaProps: spec.SchemaProps{
3545Description: "Name is the name of the Helm parameter",
3546Type: []string{"string"},
3547Format: "",
3548},
3549},
3550"path": {
3551SchemaProps: spec.SchemaProps{
3552Description: "Path is the path to the file containing the values for the Helm parameter",
3553Type: []string{"string"},
3554Format: "",
3555},
3556},
3557},
3558},
3559},
3560}
3561}
3562
3563func schema_pkg_apis_application_v1alpha1_HelmOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
3564return common.OpenAPIDefinition{
3565Schema: spec.Schema{
3566SchemaProps: spec.SchemaProps{
3567Description: "HelmOptions holds helm options",
3568Type: []string{"object"},
3569Properties: map[string]spec.Schema{
3570"ValuesFileSchemes": {
3571SchemaProps: spec.SchemaProps{
3572Type: []string{"array"},
3573Items: &spec.SchemaOrArray{
3574Schema: &spec.Schema{
3575SchemaProps: spec.SchemaProps{
3576Default: "",
3577Type: []string{"string"},
3578Format: "",
3579},
3580},
3581},
3582},
3583},
3584},
3585Required: []string{"ValuesFileSchemes"},
3586},
3587},
3588}
3589}
3590
3591func schema_pkg_apis_application_v1alpha1_HelmParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
3592return common.OpenAPIDefinition{
3593Schema: spec.Schema{
3594SchemaProps: spec.SchemaProps{
3595Description: "HelmParameter is a parameter that's passed to helm template during manifest generation",
3596Type: []string{"object"},
3597Properties: map[string]spec.Schema{
3598"name": {
3599SchemaProps: spec.SchemaProps{
3600Description: "Name is the name of the Helm parameter",
3601Type: []string{"string"},
3602Format: "",
3603},
3604},
3605"value": {
3606SchemaProps: spec.SchemaProps{
3607Description: "Value is the value for the Helm parameter",
3608Type: []string{"string"},
3609Format: "",
3610},
3611},
3612"forceString": {
3613SchemaProps: spec.SchemaProps{
3614Description: "ForceString determines whether to tell Helm to interpret booleans and numbers as strings",
3615Type: []string{"boolean"},
3616Format: "",
3617},
3618},
3619},
3620},
3621},
3622}
3623}
3624
3625func schema_pkg_apis_application_v1alpha1_HostInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
3626return common.OpenAPIDefinition{
3627Schema: spec.Schema{
3628SchemaProps: spec.SchemaProps{
3629Description: "HostInfo holds host name and resources metrics",
3630Type: []string{"object"},
3631Properties: map[string]spec.Schema{
3632"name": {
3633SchemaProps: spec.SchemaProps{
3634Type: []string{"string"},
3635Format: "",
3636},
3637},
3638"resourcesInfo": {
3639SchemaProps: spec.SchemaProps{
3640Type: []string{"array"},
3641Items: &spec.SchemaOrArray{
3642Schema: &spec.Schema{
3643SchemaProps: spec.SchemaProps{
3644Default: map[string]interface{}{},
3645Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo"),
3646},
3647},
3648},
3649},
3650},
3651"systemInfo": {
3652SchemaProps: spec.SchemaProps{
3653Default: map[string]interface{}{},
3654Ref: ref("k8s.io/api/core/v1.NodeSystemInfo"),
3655},
3656},
3657},
3658},
3659},
3660Dependencies: []string{
3661"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo", "k8s.io/api/core/v1.NodeSystemInfo"},
3662}
3663}
3664
3665func schema_pkg_apis_application_v1alpha1_HostResourceInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
3666return common.OpenAPIDefinition{
3667Schema: spec.Schema{
3668SchemaProps: spec.SchemaProps{
3669Type: []string{"object"},
3670Properties: map[string]spec.Schema{
3671"resourceName": {
3672SchemaProps: spec.SchemaProps{
3673Type: []string{"string"},
3674Format: "",
3675},
3676},
3677"requestedByApp": {
3678SchemaProps: spec.SchemaProps{
3679Type: []string{"integer"},
3680Format: "int64",
3681},
3682},
3683"requestedByNeighbors": {
3684SchemaProps: spec.SchemaProps{
3685Type: []string{"integer"},
3686Format: "int64",
3687},
3688},
3689"capacity": {
3690SchemaProps: spec.SchemaProps{
3691Type: []string{"integer"},
3692Format: "int64",
3693},
3694},
3695},
3696},
3697},
3698}
3699}
3700
3701func schema_pkg_apis_application_v1alpha1_Info(ref common.ReferenceCallback) common.OpenAPIDefinition {
3702return common.OpenAPIDefinition{
3703Schema: spec.Schema{
3704SchemaProps: spec.SchemaProps{
3705Type: []string{"object"},
3706Properties: map[string]spec.Schema{
3707"name": {
3708SchemaProps: spec.SchemaProps{
3709Default: "",
3710Type: []string{"string"},
3711Format: "",
3712},
3713},
3714"value": {
3715SchemaProps: spec.SchemaProps{
3716Default: "",
3717Type: []string{"string"},
3718Format: "",
3719},
3720},
3721},
3722Required: []string{"name", "value"},
3723},
3724},
3725}
3726}
3727
3728func schema_pkg_apis_application_v1alpha1_InfoItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
3729return common.OpenAPIDefinition{
3730Schema: spec.Schema{
3731SchemaProps: spec.SchemaProps{
3732Description: "InfoItem contains arbitrary, human readable information about an application",
3733Type: []string{"object"},
3734Properties: map[string]spec.Schema{
3735"name": {
3736SchemaProps: spec.SchemaProps{
3737Description: "Name is a human readable title for this piece of information.",
3738Type: []string{"string"},
3739Format: "",
3740},
3741},
3742"value": {
3743SchemaProps: spec.SchemaProps{
3744Description: "Value is human readable content.",
3745Type: []string{"string"},
3746Format: "",
3747},
3748},
3749},
3750},
3751},
3752}
3753}
3754
3755func schema_pkg_apis_application_v1alpha1_JWTToken(ref common.ReferenceCallback) common.OpenAPIDefinition {
3756return common.OpenAPIDefinition{
3757Schema: spec.Schema{
3758SchemaProps: spec.SchemaProps{
3759Description: "JWTToken holds the issuedAt and expiresAt values of a token",
3760Type: []string{"object"},
3761Properties: map[string]spec.Schema{
3762"iat": {
3763SchemaProps: spec.SchemaProps{
3764Default: 0,
3765Type: []string{"integer"},
3766Format: "int64",
3767},
3768},
3769"exp": {
3770SchemaProps: spec.SchemaProps{
3771Type: []string{"integer"},
3772Format: "int64",
3773},
3774},
3775"id": {
3776SchemaProps: spec.SchemaProps{
3777Type: []string{"string"},
3778Format: "",
3779},
3780},
3781},
3782Required: []string{"iat"},
3783},
3784},
3785}
3786}
3787
3788func schema_pkg_apis_application_v1alpha1_JWTTokens(ref common.ReferenceCallback) common.OpenAPIDefinition {
3789return common.OpenAPIDefinition{
3790Schema: spec.Schema{
3791SchemaProps: spec.SchemaProps{
3792Description: "JWTTokens represents a list of JWT tokens",
3793Type: []string{"object"},
3794Properties: map[string]spec.Schema{
3795"items": {
3796SchemaProps: spec.SchemaProps{
3797Type: []string{"array"},
3798Items: &spec.SchemaOrArray{
3799Schema: &spec.Schema{
3800SchemaProps: spec.SchemaProps{
3801Default: map[string]interface{}{},
3802Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"),
3803},
3804},
3805},
3806},
3807},
3808},
3809},
3810},
3811Dependencies: []string{
3812"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"},
3813}
3814}
3815
3816func schema_pkg_apis_application_v1alpha1_JsonnetVar(ref common.ReferenceCallback) common.OpenAPIDefinition {
3817return common.OpenAPIDefinition{
3818Schema: spec.Schema{
3819SchemaProps: spec.SchemaProps{
3820Description: "JsonnetVar represents a variable to be passed to jsonnet during manifest generation",
3821Type: []string{"object"},
3822Properties: map[string]spec.Schema{
3823"name": {
3824SchemaProps: spec.SchemaProps{
3825Default: "",
3826Type: []string{"string"},
3827Format: "",
3828},
3829},
3830"value": {
3831SchemaProps: spec.SchemaProps{
3832Default: "",
3833Type: []string{"string"},
3834Format: "",
3835},
3836},
3837"code": {
3838SchemaProps: spec.SchemaProps{
3839Type: []string{"boolean"},
3840Format: "",
3841},
3842},
3843},
3844Required: []string{"name", "value"},
3845},
3846},
3847}
3848}
3849
3850func schema_pkg_apis_application_v1alpha1_KnownTypeField(ref common.ReferenceCallback) common.OpenAPIDefinition {
3851return common.OpenAPIDefinition{
3852Schema: spec.Schema{
3853SchemaProps: spec.SchemaProps{
3854Description: "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)",
3855Type: []string{"object"},
3856Properties: map[string]spec.Schema{
3857"field": {
3858SchemaProps: spec.SchemaProps{
3859Type: []string{"string"},
3860Format: "",
3861},
3862},
3863"type": {
3864SchemaProps: spec.SchemaProps{
3865Type: []string{"string"},
3866Format: "",
3867},
3868},
3869},
3870},
3871},
3872}
3873}
3874
3875func schema_pkg_apis_application_v1alpha1_KustomizeGvk(ref common.ReferenceCallback) common.OpenAPIDefinition {
3876return common.OpenAPIDefinition{
3877Schema: spec.Schema{
3878SchemaProps: spec.SchemaProps{
3879Type: []string{"object"},
3880Properties: map[string]spec.Schema{
3881"group": {
3882SchemaProps: spec.SchemaProps{
3883Type: []string{"string"},
3884Format: "",
3885},
3886},
3887"version": {
3888SchemaProps: spec.SchemaProps{
3889Type: []string{"string"},
3890Format: "",
3891},
3892},
3893"kind": {
3894SchemaProps: spec.SchemaProps{
3895Type: []string{"string"},
3896Format: "",
3897},
3898},
3899},
3900},
3901},
3902}
3903}
3904
3905func schema_pkg_apis_application_v1alpha1_KustomizeOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
3906return common.OpenAPIDefinition{
3907Schema: spec.Schema{
3908SchemaProps: spec.SchemaProps{
3909Description: "KustomizeOptions are options for kustomize to use when building manifests",
3910Type: []string{"object"},
3911Properties: map[string]spec.Schema{
3912"BuildOptions": {
3913SchemaProps: spec.SchemaProps{
3914Description: "BuildOptions is a string of build parameters to use when calling `kustomize build`",
3915Default: "",
3916Type: []string{"string"},
3917Format: "",
3918},
3919},
3920"BinaryPath": {
3921SchemaProps: spec.SchemaProps{
3922Description: "BinaryPath holds optional path to kustomize binary",
3923Default: "",
3924Type: []string{"string"},
3925Format: "",
3926},
3927},
3928},
3929Required: []string{"BuildOptions", "BinaryPath"},
3930},
3931},
3932}
3933}
3934
3935func schema_pkg_apis_application_v1alpha1_KustomizePatch(ref common.ReferenceCallback) common.OpenAPIDefinition {
3936return common.OpenAPIDefinition{
3937Schema: spec.Schema{
3938SchemaProps: spec.SchemaProps{
3939Type: []string{"object"},
3940Properties: map[string]spec.Schema{
3941"path": {
3942SchemaProps: spec.SchemaProps{
3943Type: []string{"string"},
3944Format: "",
3945},
3946},
3947"patch": {
3948SchemaProps: spec.SchemaProps{
3949Type: []string{"string"},
3950Format: "",
3951},
3952},
3953"target": {
3954SchemaProps: spec.SchemaProps{
3955Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeSelector"),
3956},
3957},
3958"options": {
3959SchemaProps: spec.SchemaProps{
3960Type: []string{"object"},
3961AdditionalProperties: &spec.SchemaOrBool{
3962Allows: true,
3963Schema: &spec.Schema{
3964SchemaProps: spec.SchemaProps{
3965Default: false,
3966Type: []string{"boolean"},
3967Format: "",
3968},
3969},
3970},
3971},
3972},
3973},
3974},
3975},
3976Dependencies: []string{
3977"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeSelector"},
3978}
3979}
3980
3981func schema_pkg_apis_application_v1alpha1_KustomizeReplica(ref common.ReferenceCallback) common.OpenAPIDefinition {
3982return common.OpenAPIDefinition{
3983Schema: spec.Schema{
3984SchemaProps: spec.SchemaProps{
3985Type: []string{"object"},
3986Properties: map[string]spec.Schema{
3987"name": {
3988SchemaProps: spec.SchemaProps{
3989Description: "Name of Deployment or StatefulSet",
3990Default: "",
3991Type: []string{"string"},
3992Format: "",
3993},
3994},
3995"count": {
3996SchemaProps: spec.SchemaProps{
3997Description: "Number of replicas",
3998Default: map[string]interface{}{},
3999Ref: ref("k8s.io/apimachinery/pkg/util/intstr.IntOrString"),
4000},
4001},
4002},
4003Required: []string{"name", "count"},
4004},
4005},
4006Dependencies: []string{
4007"k8s.io/apimachinery/pkg/util/intstr.IntOrString"},
4008}
4009}
4010
4011func schema_pkg_apis_application_v1alpha1_KustomizeResId(ref common.ReferenceCallback) common.OpenAPIDefinition {
4012return common.OpenAPIDefinition{
4013Schema: spec.Schema{
4014SchemaProps: spec.SchemaProps{
4015Type: []string{"object"},
4016Properties: map[string]spec.Schema{
4017"group": {
4018SchemaProps: spec.SchemaProps{
4019Type: []string{"string"},
4020Format: "",
4021},
4022},
4023"version": {
4024SchemaProps: spec.SchemaProps{
4025Type: []string{"string"},
4026Format: "",
4027},
4028},
4029"kind": {
4030SchemaProps: spec.SchemaProps{
4031Type: []string{"string"},
4032Format: "",
4033},
4034},
4035"name": {
4036SchemaProps: spec.SchemaProps{
4037Type: []string{"string"},
4038Format: "",
4039},
4040},
4041"namespace": {
4042SchemaProps: spec.SchemaProps{
4043Type: []string{"string"},
4044Format: "",
4045},
4046},
4047},
4048},
4049},
4050}
4051}
4052
4053func schema_pkg_apis_application_v1alpha1_KustomizeSelector(ref common.ReferenceCallback) common.OpenAPIDefinition {
4054return common.OpenAPIDefinition{
4055Schema: spec.Schema{
4056SchemaProps: spec.SchemaProps{
4057Type: []string{"object"},
4058Properties: map[string]spec.Schema{
4059"group": {
4060SchemaProps: spec.SchemaProps{
4061Type: []string{"string"},
4062Format: "",
4063},
4064},
4065"version": {
4066SchemaProps: spec.SchemaProps{
4067Type: []string{"string"},
4068Format: "",
4069},
4070},
4071"kind": {
4072SchemaProps: spec.SchemaProps{
4073Type: []string{"string"},
4074Format: "",
4075},
4076},
4077"name": {
4078SchemaProps: spec.SchemaProps{
4079Type: []string{"string"},
4080Format: "",
4081},
4082},
4083"namespace": {
4084SchemaProps: spec.SchemaProps{
4085Type: []string{"string"},
4086Format: "",
4087},
4088},
4089"annotationSelector": {
4090SchemaProps: spec.SchemaProps{
4091Type: []string{"string"},
4092Format: "",
4093},
4094},
4095"labelSelector": {
4096SchemaProps: spec.SchemaProps{
4097Type: []string{"string"},
4098Format: "",
4099},
4100},
4101},
4102},
4103},
4104}
4105}
4106
4107func schema_pkg_apis_application_v1alpha1_ListGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4108return common.OpenAPIDefinition{
4109Schema: spec.Schema{
4110SchemaProps: spec.SchemaProps{
4111Description: "ListGenerator include items info",
4112Type: []string{"object"},
4113Properties: map[string]spec.Schema{
4114"elements": {
4115SchemaProps: spec.SchemaProps{
4116Type: []string{"array"},
4117Items: &spec.SchemaOrArray{
4118Schema: &spec.Schema{
4119SchemaProps: spec.SchemaProps{
4120Default: map[string]interface{}{},
4121Ref: ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
4122},
4123},
4124},
4125},
4126},
4127"template": {
4128SchemaProps: spec.SchemaProps{
4129Default: map[string]interface{}{},
4130Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4131},
4132},
4133"elementsYaml": {
4134SchemaProps: spec.SchemaProps{
4135Type: []string{"string"},
4136Format: "",
4137},
4138},
4139},
4140Required: []string{"elements"},
4141},
4142},
4143Dependencies: []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
4148func schema_pkg_apis_application_v1alpha1_ManagedNamespaceMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
4149return common.OpenAPIDefinition{
4150Schema: spec.Schema{
4151SchemaProps: spec.SchemaProps{
4152Type: []string{"object"},
4153Properties: map[string]spec.Schema{
4154"labels": {
4155SchemaProps: spec.SchemaProps{
4156Type: []string{"object"},
4157AdditionalProperties: &spec.SchemaOrBool{
4158Allows: true,
4159Schema: &spec.Schema{
4160SchemaProps: spec.SchemaProps{
4161Default: "",
4162Type: []string{"string"},
4163Format: "",
4164},
4165},
4166},
4167},
4168},
4169"annotations": {
4170SchemaProps: spec.SchemaProps{
4171Type: []string{"object"},
4172AdditionalProperties: &spec.SchemaOrBool{
4173Allows: true,
4174Schema: &spec.Schema{
4175SchemaProps: spec.SchemaProps{
4176Default: "",
4177Type: []string{"string"},
4178Format: "",
4179},
4180},
4181},
4182},
4183},
4184},
4185},
4186},
4187}
4188}
4189
4190func schema_pkg_apis_application_v1alpha1_MatrixGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4191return common.OpenAPIDefinition{
4192Schema: spec.Schema{
4193SchemaProps: spec.SchemaProps{
4194Description: "MatrixGenerator generates the cartesian product of two sets of parameters. The parameters are defined by two nested generators.",
4195Type: []string{"object"},
4196Properties: map[string]spec.Schema{
4197"generators": {
4198SchemaProps: spec.SchemaProps{
4199Type: []string{"array"},
4200Items: &spec.SchemaOrArray{
4201Schema: &spec.Schema{
4202SchemaProps: spec.SchemaProps{
4203Default: map[string]interface{}{},
4204Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator"),
4205},
4206},
4207},
4208},
4209},
4210"template": {
4211SchemaProps: spec.SchemaProps{
4212Default: map[string]interface{}{},
4213Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4214},
4215},
4216},
4217Required: []string{"generators"},
4218},
4219},
4220Dependencies: []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
4225func schema_pkg_apis_application_v1alpha1_MergeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4226return common.OpenAPIDefinition{
4227Schema: spec.Schema{
4228SchemaProps: spec.SchemaProps{
4229Description: "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.",
4230Type: []string{"object"},
4231Properties: map[string]spec.Schema{
4232"generators": {
4233SchemaProps: spec.SchemaProps{
4234Type: []string{"array"},
4235Items: &spec.SchemaOrArray{
4236Schema: &spec.Schema{
4237SchemaProps: spec.SchemaProps{
4238Default: map[string]interface{}{},
4239Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator"),
4240},
4241},
4242},
4243},
4244},
4245"mergeKeys": {
4246SchemaProps: spec.SchemaProps{
4247Type: []string{"array"},
4248Items: &spec.SchemaOrArray{
4249Schema: &spec.Schema{
4250SchemaProps: spec.SchemaProps{
4251Default: "",
4252Type: []string{"string"},
4253Format: "",
4254},
4255},
4256},
4257},
4258},
4259"template": {
4260SchemaProps: spec.SchemaProps{
4261Default: map[string]interface{}{},
4262Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4263},
4264},
4265},
4266Required: []string{"generators", "mergeKeys"},
4267},
4268},
4269Dependencies: []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
4274func schema_pkg_apis_application_v1alpha1_NestedMatrixGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4275return common.OpenAPIDefinition{
4276Schema: spec.Schema{
4277SchemaProps: spec.SchemaProps{
4278Description: "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.",
4279Type: []string{"object"},
4280Properties: map[string]spec.Schema{
4281"generators": {
4282SchemaProps: spec.SchemaProps{
4283Type: []string{"array"},
4284Items: &spec.SchemaOrArray{
4285Schema: &spec.Schema{
4286SchemaProps: spec.SchemaProps{
4287Default: map[string]interface{}{},
4288Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"),
4289},
4290},
4291},
4292},
4293},
4294},
4295Required: []string{"generators"},
4296},
4297},
4298Dependencies: []string{
4299"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"},
4300}
4301}
4302
4303func schema_pkg_apis_application_v1alpha1_NestedMergeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4304return common.OpenAPIDefinition{
4305Schema: spec.Schema{
4306SchemaProps: spec.SchemaProps{
4307Description: "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.",
4308Type: []string{"object"},
4309Properties: map[string]spec.Schema{
4310"generators": {
4311SchemaProps: spec.SchemaProps{
4312Type: []string{"array"},
4313Items: &spec.SchemaOrArray{
4314Schema: &spec.Schema{
4315SchemaProps: spec.SchemaProps{
4316Default: map[string]interface{}{},
4317Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"),
4318},
4319},
4320},
4321},
4322},
4323"mergeKeys": {
4324SchemaProps: spec.SchemaProps{
4325Type: []string{"array"},
4326Items: &spec.SchemaOrArray{
4327Schema: &spec.Schema{
4328SchemaProps: spec.SchemaProps{
4329Default: "",
4330Type: []string{"string"},
4331Format: "",
4332},
4333},
4334},
4335},
4336},
4337},
4338Required: []string{"generators", "mergeKeys"},
4339},
4340},
4341Dependencies: []string{
4342"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"},
4343}
4344}
4345
4346func schema_pkg_apis_application_v1alpha1_Operation(ref common.ReferenceCallback) common.OpenAPIDefinition {
4347return common.OpenAPIDefinition{
4348Schema: spec.Schema{
4349SchemaProps: spec.SchemaProps{
4350Description: "Operation contains information about a requested or running operation",
4351Type: []string{"object"},
4352Properties: map[string]spec.Schema{
4353"sync": {
4354SchemaProps: spec.SchemaProps{
4355Description: "Sync contains parameters for the operation",
4356Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperation"),
4357},
4358},
4359"initiatedBy": {
4360SchemaProps: spec.SchemaProps{
4361Description: "InitiatedBy contains information about who initiated the operations",
4362Default: map[string]interface{}{},
4363Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator"),
4364},
4365},
4366"info": {
4367SchemaProps: spec.SchemaProps{
4368Description: "Info is a list of informational items for this operation",
4369Type: []string{"array"},
4370Items: &spec.SchemaOrArray{
4371Schema: &spec.Schema{
4372SchemaProps: spec.SchemaProps{
4373Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info"),
4374},
4375},
4376},
4377},
4378},
4379"retry": {
4380SchemaProps: spec.SchemaProps{
4381Description: "Retry controls the strategy to apply if a sync fails",
4382Default: map[string]interface{}{},
4383Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy"),
4384},
4385},
4386},
4387},
4388},
4389Dependencies: []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
4394func schema_pkg_apis_application_v1alpha1_OperationInitiator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4395return common.OpenAPIDefinition{
4396Schema: spec.Schema{
4397SchemaProps: spec.SchemaProps{
4398Description: "OperationInitiator contains information about the initiator of an operation",
4399Type: []string{"object"},
4400Properties: map[string]spec.Schema{
4401"username": {
4402SchemaProps: spec.SchemaProps{
4403Description: "Username contains the name of a user who started operation",
4404Type: []string{"string"},
4405Format: "",
4406},
4407},
4408"automated": {
4409SchemaProps: spec.SchemaProps{
4410Description: "Automated is set to true if operation was initiated automatically by the application controller.",
4411Type: []string{"boolean"},
4412Format: "",
4413},
4414},
4415},
4416},
4417},
4418}
4419}
4420
4421func schema_pkg_apis_application_v1alpha1_OperationState(ref common.ReferenceCallback) common.OpenAPIDefinition {
4422return common.OpenAPIDefinition{
4423Schema: spec.Schema{
4424SchemaProps: spec.SchemaProps{
4425Description: "OperationState contains information about state of a running operation",
4426Type: []string{"object"},
4427Properties: map[string]spec.Schema{
4428"operation": {
4429SchemaProps: spec.SchemaProps{
4430Description: "Operation is the original requested operation",
4431Default: map[string]interface{}{},
4432Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation"),
4433},
4434},
4435"phase": {
4436SchemaProps: spec.SchemaProps{
4437Description: "Phase is the current phase of the operation",
4438Default: "",
4439Type: []string{"string"},
4440Format: "",
4441},
4442},
4443"message": {
4444SchemaProps: spec.SchemaProps{
4445Description: "Message holds any pertinent messages when attempting to perform operation (typically errors).",
4446Type: []string{"string"},
4447Format: "",
4448},
4449},
4450"syncResult": {
4451SchemaProps: spec.SchemaProps{
4452Description: "SyncResult is the result of a Sync operation",
4453Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResult"),
4454},
4455},
4456"startedAt": {
4457SchemaProps: spec.SchemaProps{
4458Description: "StartedAt contains time of operation start",
4459Default: map[string]interface{}{},
4460Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4461},
4462},
4463"finishedAt": {
4464SchemaProps: spec.SchemaProps{
4465Description: "FinishedAt contains time of operation completion",
4466Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
4467},
4468},
4469"retryCount": {
4470SchemaProps: spec.SchemaProps{
4471Description: "RetryCount contains time of operation retries",
4472Type: []string{"integer"},
4473Format: "int64",
4474},
4475},
4476},
4477Required: []string{"operation", "phase", "startedAt"},
4478},
4479},
4480Dependencies: []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
4485func schema_pkg_apis_application_v1alpha1_OptionalArray(ref common.ReferenceCallback) common.OpenAPIDefinition {
4486return common.OpenAPIDefinition{
4487Schema: spec.Schema{
4488SchemaProps: spec.SchemaProps{
4489Type: []string{"object"},
4490Properties: map[string]spec.Schema{
4491"array": {
4492SchemaProps: spec.SchemaProps{
4493Description: "Array is the value of an array type parameter.",
4494Type: []string{"array"},
4495Items: &spec.SchemaOrArray{
4496Schema: &spec.Schema{
4497SchemaProps: spec.SchemaProps{
4498Default: "",
4499Type: []string{"string"},
4500Format: "",
4501},
4502},
4503},
4504},
4505},
4506},
4507},
4508},
4509}
4510}
4511
4512func schema_pkg_apis_application_v1alpha1_OptionalMap(ref common.ReferenceCallback) common.OpenAPIDefinition {
4513return common.OpenAPIDefinition{
4514Schema: spec.Schema{
4515SchemaProps: spec.SchemaProps{
4516Type: []string{"object"},
4517Properties: map[string]spec.Schema{
4518"map": {
4519SchemaProps: spec.SchemaProps{
4520Description: "Map is the value of a map type parameter.",
4521Type: []string{"object"},
4522AdditionalProperties: &spec.SchemaOrBool{
4523Allows: true,
4524Schema: &spec.Schema{
4525SchemaProps: spec.SchemaProps{
4526Default: "",
4527Type: []string{"string"},
4528Format: "",
4529},
4530},
4531},
4532},
4533},
4534},
4535},
4536},
4537}
4538}
4539
4540func schema_pkg_apis_application_v1alpha1_OrphanedResourceKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
4541return common.OpenAPIDefinition{
4542Schema: spec.Schema{
4543SchemaProps: spec.SchemaProps{
4544Description: "OrphanedResourceKey is a reference to a resource to be ignored from",
4545Type: []string{"object"},
4546Properties: map[string]spec.Schema{
4547"group": {
4548SchemaProps: spec.SchemaProps{
4549Type: []string{"string"},
4550Format: "",
4551},
4552},
4553"kind": {
4554SchemaProps: spec.SchemaProps{
4555Type: []string{"string"},
4556Format: "",
4557},
4558},
4559"name": {
4560SchemaProps: spec.SchemaProps{
4561Type: []string{"string"},
4562Format: "",
4563},
4564},
4565},
4566},
4567},
4568}
4569}
4570
4571func schema_pkg_apis_application_v1alpha1_OrphanedResourcesMonitorSettings(ref common.ReferenceCallback) common.OpenAPIDefinition {
4572return common.OpenAPIDefinition{
4573Schema: spec.Schema{
4574SchemaProps: spec.SchemaProps{
4575Description: "OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring",
4576Type: []string{"object"},
4577Properties: map[string]spec.Schema{
4578"warn": {
4579SchemaProps: spec.SchemaProps{
4580Description: "Warn indicates if warning condition should be created for apps which have orphaned resources",
4581Type: []string{"boolean"},
4582Format: "",
4583},
4584},
4585"ignore": {
4586SchemaProps: spec.SchemaProps{
4587Description: "Ignore contains a list of resources that are to be excluded from orphaned resources monitoring",
4588Type: []string{"array"},
4589Items: &spec.SchemaOrArray{
4590Schema: &spec.Schema{
4591SchemaProps: spec.SchemaProps{
4592Default: map[string]interface{}{},
4593Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey"),
4594},
4595},
4596},
4597},
4598},
4599},
4600},
4601},
4602Dependencies: []string{
4603"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey"},
4604}
4605}
4606
4607func schema_pkg_apis_application_v1alpha1_OverrideIgnoreDiff(ref common.ReferenceCallback) common.OpenAPIDefinition {
4608return common.OpenAPIDefinition{
4609Schema: spec.Schema{
4610SchemaProps: spec.SchemaProps{
4611Description: "OverrideIgnoreDiff contains configurations about how fields should be ignored during diffs between the desired state and live state",
4612Type: []string{"object"},
4613Properties: map[string]spec.Schema{
4614"jsonPointers": {
4615SchemaProps: spec.SchemaProps{
4616Description: "JSONPointers is a JSON path list following the format defined in RFC4627 (https://datatracker.ietf.org/doc/html/rfc6902#section-3)",
4617Type: []string{"array"},
4618Items: &spec.SchemaOrArray{
4619Schema: &spec.Schema{
4620SchemaProps: spec.SchemaProps{
4621Default: "",
4622Type: []string{"string"},
4623Format: "",
4624},
4625},
4626},
4627},
4628},
4629"jqPathExpressions": {
4630SchemaProps: spec.SchemaProps{
4631Description: "JQPathExpressions is a JQ path list that will be evaludated during the diff process",
4632Type: []string{"array"},
4633Items: &spec.SchemaOrArray{
4634Schema: &spec.Schema{
4635SchemaProps: spec.SchemaProps{
4636Default: "",
4637Type: []string{"string"},
4638Format: "",
4639},
4640},
4641},
4642},
4643},
4644"managedFieldsManagers": {
4645SchemaProps: spec.SchemaProps{
4646Description: "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",
4647Type: []string{"array"},
4648Items: &spec.SchemaOrArray{
4649Schema: &spec.Schema{
4650SchemaProps: spec.SchemaProps{
4651Default: "",
4652Type: []string{"string"},
4653Format: "",
4654},
4655},
4656},
4657},
4658},
4659},
4660Required: []string{"jsonPointers", "jqPathExpressions", "managedFieldsManagers"},
4661},
4662},
4663}
4664}
4665
4666func schema_pkg_apis_application_v1alpha1_PluginConfigMapRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
4667return common.OpenAPIDefinition{
4668Schema: spec.Schema{
4669SchemaProps: spec.SchemaProps{
4670Type: []string{"object"},
4671Properties: map[string]spec.Schema{
4672"name": {
4673SchemaProps: spec.SchemaProps{
4674Description: "Name of the ConfigMap",
4675Default: "",
4676Type: []string{"string"},
4677Format: "",
4678},
4679},
4680},
4681Required: []string{"name"},
4682},
4683},
4684}
4685}
4686
4687func schema_pkg_apis_application_v1alpha1_PluginGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4688return common.OpenAPIDefinition{
4689Schema: spec.Schema{
4690SchemaProps: spec.SchemaProps{
4691Description: "PluginGenerator defines connection info specific to Plugin.",
4692Type: []string{"object"},
4693Properties: map[string]spec.Schema{
4694"configMapRef": {
4695SchemaProps: spec.SchemaProps{
4696Default: map[string]interface{}{},
4697Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginConfigMapRef"),
4698},
4699},
4700"input": {
4701SchemaProps: spec.SchemaProps{
4702Default: map[string]interface{}{},
4703Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PluginInput"),
4704},
4705},
4706"requeueAfterSeconds": {
4707SchemaProps: spec.SchemaProps{
4708Description: "RequeueAfterSeconds determines how long the ApplicationSet controller will wait before reconciling the ApplicationSet again.",
4709Type: []string{"integer"},
4710Format: "int64",
4711},
4712},
4713"template": {
4714SchemaProps: spec.SchemaProps{
4715Default: map[string]interface{}{},
4716Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4717},
4718},
4719"values": {
4720SchemaProps: spec.SchemaProps{
4721Description: "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.",
4722Type: []string{"object"},
4723AdditionalProperties: &spec.SchemaOrBool{
4724Allows: true,
4725Schema: &spec.Schema{
4726SchemaProps: spec.SchemaProps{
4727Default: "",
4728Type: []string{"string"},
4729Format: "",
4730},
4731},
4732},
4733},
4734},
4735},
4736Required: []string{"configMapRef"},
4737},
4738},
4739Dependencies: []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
4744func schema_pkg_apis_application_v1alpha1_PluginInput(ref common.ReferenceCallback) common.OpenAPIDefinition {
4745return common.OpenAPIDefinition{
4746Schema: spec.Schema{
4747SchemaProps: spec.SchemaProps{
4748Type: []string{"object"},
4749Properties: map[string]spec.Schema{
4750"parameters": {
4751SchemaProps: spec.SchemaProps{
4752Description: "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.",
4753Type: []string{"object"},
4754AdditionalProperties: &spec.SchemaOrBool{
4755Allows: true,
4756Schema: &spec.Schema{
4757SchemaProps: spec.SchemaProps{
4758Default: map[string]interface{}{},
4759Ref: ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
4760},
4761},
4762},
4763},
4764},
4765},
4766},
4767},
4768Dependencies: []string{
4769"k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"},
4770}
4771}
4772
4773func schema_pkg_apis_application_v1alpha1_ProjectRole(ref common.ReferenceCallback) common.OpenAPIDefinition {
4774return common.OpenAPIDefinition{
4775Schema: spec.Schema{
4776SchemaProps: spec.SchemaProps{
4777Description: "ProjectRole represents a role that has access to a project",
4778Type: []string{"object"},
4779Properties: map[string]spec.Schema{
4780"name": {
4781SchemaProps: spec.SchemaProps{
4782Description: "Name is a name for this role",
4783Default: "",
4784Type: []string{"string"},
4785Format: "",
4786},
4787},
4788"description": {
4789SchemaProps: spec.SchemaProps{
4790Description: "Description is a description of the role",
4791Type: []string{"string"},
4792Format: "",
4793},
4794},
4795"policies": {
4796SchemaProps: spec.SchemaProps{
4797Description: "Policies Stores a list of casbin formatted strings that define access policies for the role in the project",
4798Type: []string{"array"},
4799Items: &spec.SchemaOrArray{
4800Schema: &spec.Schema{
4801SchemaProps: spec.SchemaProps{
4802Default: "",
4803Type: []string{"string"},
4804Format: "",
4805},
4806},
4807},
4808},
4809},
4810"jwtTokens": {
4811SchemaProps: spec.SchemaProps{
4812Description: "JWTTokens are a list of generated JWT tokens bound to this role",
4813Type: []string{"array"},
4814Items: &spec.SchemaOrArray{
4815Schema: &spec.Schema{
4816SchemaProps: spec.SchemaProps{
4817Default: map[string]interface{}{},
4818Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"),
4819},
4820},
4821},
4822},
4823},
4824"groups": {
4825SchemaProps: spec.SchemaProps{
4826Description: "Groups are a list of OIDC group claims bound to this role",
4827Type: []string{"array"},
4828Items: &spec.SchemaOrArray{
4829Schema: &spec.Schema{
4830SchemaProps: spec.SchemaProps{
4831Default: "",
4832Type: []string{"string"},
4833Format: "",
4834},
4835},
4836},
4837},
4838},
4839},
4840Required: []string{"name"},
4841},
4842},
4843Dependencies: []string{
4844"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"},
4845}
4846}
4847
4848func schema_pkg_apis_application_v1alpha1_PullRequestGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
4849return common.OpenAPIDefinition{
4850Schema: spec.Schema{
4851SchemaProps: spec.SchemaProps{
4852Description: "PullRequestGenerator defines a generator that scrapes a PullRequest API to find candidate pull requests.",
4853Type: []string{"object"},
4854Properties: map[string]spec.Schema{
4855"github": {
4856SchemaProps: spec.SchemaProps{
4857Description: "Which provider to use and config for it.",
4858Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGithub"),
4859},
4860},
4861"gitlab": {
4862SchemaProps: spec.SchemaProps{
4863Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitLab"),
4864},
4865},
4866"gitea": {
4867SchemaProps: spec.SchemaProps{
4868Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitea"),
4869},
4870},
4871"bitbucketServer": {
4872SchemaProps: spec.SchemaProps{
4873Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucketServer"),
4874},
4875},
4876"filters": {
4877SchemaProps: spec.SchemaProps{
4878Description: "Filters for which pull requests should be considered.",
4879Type: []string{"array"},
4880Items: &spec.SchemaOrArray{
4881Schema: &spec.Schema{
4882SchemaProps: spec.SchemaProps{
4883Default: map[string]interface{}{},
4884Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorFilter"),
4885},
4886},
4887},
4888},
4889},
4890"requeueAfterSeconds": {
4891SchemaProps: spec.SchemaProps{
4892Description: "Standard parameters.",
4893Type: []string{"integer"},
4894Format: "int64",
4895},
4896},
4897"template": {
4898SchemaProps: spec.SchemaProps{
4899Default: map[string]interface{}{},
4900Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
4901},
4902},
4903"bitbucket": {
4904SchemaProps: spec.SchemaProps{
4905Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucket"),
4906},
4907},
4908"azuredevops": {
4909SchemaProps: spec.SchemaProps{
4910Description: "Additional provider to use and config for it.",
4911Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorAzureDevOps"),
4912},
4913},
4914},
4915},
4916},
4917Dependencies: []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
4922func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorAzureDevOps(ref common.ReferenceCallback) common.OpenAPIDefinition {
4923return common.OpenAPIDefinition{
4924Schema: spec.Schema{
4925SchemaProps: spec.SchemaProps{
4926Description: "PullRequestGeneratorAzureDevOps defines connection info specific to AzureDevOps.",
4927Type: []string{"object"},
4928Properties: map[string]spec.Schema{
4929"organization": {
4930SchemaProps: spec.SchemaProps{
4931Description: "Azure DevOps org to scan. Required.",
4932Default: "",
4933Type: []string{"string"},
4934Format: "",
4935},
4936},
4937"project": {
4938SchemaProps: spec.SchemaProps{
4939Description: "Azure DevOps project name to scan. Required.",
4940Default: "",
4941Type: []string{"string"},
4942Format: "",
4943},
4944},
4945"repo": {
4946SchemaProps: spec.SchemaProps{
4947Description: "Azure DevOps repo name to scan. Required.",
4948Default: "",
4949Type: []string{"string"},
4950Format: "",
4951},
4952},
4953"api": {
4954SchemaProps: spec.SchemaProps{
4955Description: "The Azure DevOps API URL to talk to. If blank, use https://dev.azure.com/.",
4956Type: []string{"string"},
4957Format: "",
4958},
4959},
4960"tokenRef": {
4961SchemaProps: spec.SchemaProps{
4962Description: "Authentication token reference.",
4963Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
4964},
4965},
4966"labels": {
4967SchemaProps: spec.SchemaProps{
4968Description: "Labels is used to filter the PRs that you want to target",
4969Type: []string{"array"},
4970Items: &spec.SchemaOrArray{
4971Schema: &spec.Schema{
4972SchemaProps: spec.SchemaProps{
4973Default: "",
4974Type: []string{"string"},
4975Format: "",
4976},
4977},
4978},
4979},
4980},
4981},
4982Required: []string{"organization", "project", "repo"},
4983},
4984},
4985Dependencies: []string{
4986"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
4987}
4988}
4989
4990func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucket(ref common.ReferenceCallback) common.OpenAPIDefinition {
4991return common.OpenAPIDefinition{
4992Schema: spec.Schema{
4993SchemaProps: spec.SchemaProps{
4994Description: "PullRequestGeneratorBitbucket defines connection info specific to Bitbucket.",
4995Type: []string{"object"},
4996Properties: map[string]spec.Schema{
4997"owner": {
4998SchemaProps: spec.SchemaProps{
4999Description: "Workspace to scan. Required.",
5000Default: "",
5001Type: []string{"string"},
5002Format: "",
5003},
5004},
5005"repo": {
5006SchemaProps: spec.SchemaProps{
5007Description: "Repo name to scan. Required.",
5008Default: "",
5009Type: []string{"string"},
5010Format: "",
5011},
5012},
5013"api": {
5014SchemaProps: spec.SchemaProps{
5015Description: "The Bitbucket REST API URL to talk to. If blank, uses https://api.bitbucket.org/2.0.",
5016Type: []string{"string"},
5017Format: "",
5018},
5019},
5020"basicAuth": {
5021SchemaProps: spec.SchemaProps{
5022Description: "Credentials for Basic auth",
5023Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
5024},
5025},
5026"bearerToken": {
5027SchemaProps: spec.SchemaProps{
5028Description: "Credentials for AppToken (Bearer auth)",
5029Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BearerTokenBitbucketCloud"),
5030},
5031},
5032},
5033Required: []string{"owner", "repo"},
5034},
5035},
5036Dependencies: []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
5041func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
5042return common.OpenAPIDefinition{
5043Schema: spec.Schema{
5044SchemaProps: spec.SchemaProps{
5045Description: "PullRequestGeneratorBitbucketServer defines connection info specific to BitbucketServer.",
5046Type: []string{"object"},
5047Properties: map[string]spec.Schema{
5048"project": {
5049SchemaProps: spec.SchemaProps{
5050Description: "Project to scan. Required.",
5051Default: "",
5052Type: []string{"string"},
5053Format: "",
5054},
5055},
5056"repo": {
5057SchemaProps: spec.SchemaProps{
5058Description: "Repo name to scan. Required.",
5059Default: "",
5060Type: []string{"string"},
5061Format: "",
5062},
5063},
5064"api": {
5065SchemaProps: spec.SchemaProps{
5066Description: "The Bitbucket REST API URL to talk to e.g. https://bitbucket.org/rest Required.",
5067Default: "",
5068Type: []string{"string"},
5069Format: "",
5070},
5071},
5072"basicAuth": {
5073SchemaProps: spec.SchemaProps{
5074Description: "Credentials for Basic auth",
5075Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
5076},
5077},
5078},
5079Required: []string{"project", "repo", "api"},
5080},
5081},
5082Dependencies: []string{
5083"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"},
5084}
5085}
5086
5087func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
5088return common.OpenAPIDefinition{
5089Schema: spec.Schema{
5090SchemaProps: spec.SchemaProps{
5091Description: "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.",
5092Type: []string{"object"},
5093Properties: map[string]spec.Schema{
5094"branchMatch": {
5095SchemaProps: spec.SchemaProps{
5096Type: []string{"string"},
5097Format: "",
5098},
5099},
5100"targetBranchMatch": {
5101SchemaProps: spec.SchemaProps{
5102Type: []string{"string"},
5103Format: "",
5104},
5105},
5106},
5107},
5108},
5109}
5110}
5111
5112func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitLab(ref common.ReferenceCallback) common.OpenAPIDefinition {
5113return common.OpenAPIDefinition{
5114Schema: spec.Schema{
5115SchemaProps: spec.SchemaProps{
5116Description: "PullRequestGeneratorGitLab defines connection info specific to GitLab.",
5117Type: []string{"object"},
5118Properties: map[string]spec.Schema{
5119"project": {
5120SchemaProps: spec.SchemaProps{
5121Description: "GitLab project to scan. Required.",
5122Default: "",
5123Type: []string{"string"},
5124Format: "",
5125},
5126},
5127"api": {
5128SchemaProps: spec.SchemaProps{
5129Description: "The GitLab API URL to talk to. If blank, uses https://gitlab.com/.",
5130Type: []string{"string"},
5131Format: "",
5132},
5133},
5134"tokenRef": {
5135SchemaProps: spec.SchemaProps{
5136Description: "Authentication token reference.",
5137Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
5138},
5139},
5140"labels": {
5141SchemaProps: spec.SchemaProps{
5142Description: "Labels is used to filter the MRs that you want to target",
5143Type: []string{"array"},
5144Items: &spec.SchemaOrArray{
5145Schema: &spec.Schema{
5146SchemaProps: spec.SchemaProps{
5147Default: "",
5148Type: []string{"string"},
5149Format: "",
5150},
5151},
5152},
5153},
5154},
5155"pullRequestState": {
5156SchemaProps: spec.SchemaProps{
5157Description: "PullRequestState is an additional MRs filter to get only those with a certain state. Default: \"\" (all states)",
5158Type: []string{"string"},
5159Format: "",
5160},
5161},
5162"insecure": {
5163SchemaProps: spec.SchemaProps{
5164Description: "Skips validating the SCM provider's TLS certificate - useful for self-signed certificates.; default: false",
5165Type: []string{"boolean"},
5166Format: "",
5167},
5168},
5169},
5170Required: []string{"project"},
5171},
5172},
5173Dependencies: []string{
5174"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
5175}
5176}
5177
5178func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitea(ref common.ReferenceCallback) common.OpenAPIDefinition {
5179return common.OpenAPIDefinition{
5180Schema: spec.Schema{
5181SchemaProps: spec.SchemaProps{
5182Description: "PullRequestGeneratorGitea defines connection info specific to Gitea.",
5183Type: []string{"object"},
5184Properties: map[string]spec.Schema{
5185"owner": {
5186SchemaProps: spec.SchemaProps{
5187Description: "Gitea org or user to scan. Required.",
5188Default: "",
5189Type: []string{"string"},
5190Format: "",
5191},
5192},
5193"repo": {
5194SchemaProps: spec.SchemaProps{
5195Description: "Gitea repo name to scan. Required.",
5196Default: "",
5197Type: []string{"string"},
5198Format: "",
5199},
5200},
5201"api": {
5202SchemaProps: spec.SchemaProps{
5203Description: "The Gitea API URL to talk to. Required",
5204Default: "",
5205Type: []string{"string"},
5206Format: "",
5207},
5208},
5209"tokenRef": {
5210SchemaProps: spec.SchemaProps{
5211Description: "Authentication token reference.",
5212Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
5213},
5214},
5215"insecure": {
5216SchemaProps: spec.SchemaProps{
5217Description: "Allow insecure tls, for self-signed certificates; default: false.",
5218Type: []string{"boolean"},
5219Format: "",
5220},
5221},
5222},
5223Required: []string{"owner", "repo", "api"},
5224},
5225},
5226Dependencies: []string{
5227"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
5228}
5229}
5230
5231func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGithub(ref common.ReferenceCallback) common.OpenAPIDefinition {
5232return common.OpenAPIDefinition{
5233Schema: spec.Schema{
5234SchemaProps: spec.SchemaProps{
5235Description: "PullRequestGenerator defines connection info specific to GitHub.",
5236Type: []string{"object"},
5237Properties: map[string]spec.Schema{
5238"owner": {
5239SchemaProps: spec.SchemaProps{
5240Description: "GitHub org or user to scan. Required.",
5241Default: "",
5242Type: []string{"string"},
5243Format: "",
5244},
5245},
5246"repo": {
5247SchemaProps: spec.SchemaProps{
5248Description: "GitHub repo name to scan. Required.",
5249Default: "",
5250Type: []string{"string"},
5251Format: "",
5252},
5253},
5254"api": {
5255SchemaProps: spec.SchemaProps{
5256Description: "The GitHub API URL to talk to. If blank, use https://api.github.com/.",
5257Type: []string{"string"},
5258Format: "",
5259},
5260},
5261"tokenRef": {
5262SchemaProps: spec.SchemaProps{
5263Description: "Authentication token reference.",
5264Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
5265},
5266},
5267"appSecretName": {
5268SchemaProps: spec.SchemaProps{
5269Description: "AppSecretName is a reference to a GitHub App repo-creds secret with permission to access pull requests.",
5270Type: []string{"string"},
5271Format: "",
5272},
5273},
5274"labels": {
5275SchemaProps: spec.SchemaProps{
5276Description: "Labels is used to filter the PRs that you want to target",
5277Type: []string{"array"},
5278Items: &spec.SchemaOrArray{
5279Schema: &spec.Schema{
5280SchemaProps: spec.SchemaProps{
5281Default: "",
5282Type: []string{"string"},
5283Format: "",
5284},
5285},
5286},
5287},
5288},
5289},
5290Required: []string{"owner", "repo"},
5291},
5292},
5293Dependencies: []string{
5294"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
5295}
5296}
5297
5298func schema_pkg_apis_application_v1alpha1_RefTarget(ref common.ReferenceCallback) common.OpenAPIDefinition {
5299return common.OpenAPIDefinition{
5300Schema: spec.Schema{
5301SchemaProps: spec.SchemaProps{
5302Type: []string{"object"},
5303Properties: map[string]spec.Schema{
5304"Repo": {
5305SchemaProps: spec.SchemaProps{
5306Default: map[string]interface{}{},
5307Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"),
5308},
5309},
5310"TargetRevision": {
5311SchemaProps: spec.SchemaProps{
5312Default: "",
5313Type: []string{"string"},
5314Format: "",
5315},
5316},
5317"Chart": {
5318SchemaProps: spec.SchemaProps{
5319Default: "",
5320Type: []string{"string"},
5321Format: "",
5322},
5323},
5324},
5325Required: []string{"Repo", "TargetRevision", "Chart"},
5326},
5327},
5328Dependencies: []string{
5329"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"},
5330}
5331}
5332
5333func schema_pkg_apis_application_v1alpha1_RepoCreds(ref common.ReferenceCallback) common.OpenAPIDefinition {
5334return common.OpenAPIDefinition{
5335Schema: spec.Schema{
5336SchemaProps: spec.SchemaProps{
5337Description: "RepoCreds holds the definition for repository credentials",
5338Type: []string{"object"},
5339Properties: map[string]spec.Schema{
5340"url": {
5341SchemaProps: spec.SchemaProps{
5342Description: "URL is the URL that this credentials matches to",
5343Default: "",
5344Type: []string{"string"},
5345Format: "",
5346},
5347},
5348"username": {
5349SchemaProps: spec.SchemaProps{
5350Description: "Username for authenticating at the repo server",
5351Type: []string{"string"},
5352Format: "",
5353},
5354},
5355"password": {
5356SchemaProps: spec.SchemaProps{
5357Description: "Password for authenticating at the repo server",
5358Type: []string{"string"},
5359Format: "",
5360},
5361},
5362"sshPrivateKey": {
5363SchemaProps: spec.SchemaProps{
5364Description: "SSHPrivateKey contains the private key data for authenticating at the repo server using SSH (only Git repos)",
5365Type: []string{"string"},
5366Format: "",
5367},
5368},
5369"tlsClientCertData": {
5370SchemaProps: spec.SchemaProps{
5371Description: "TLSClientCertData specifies the TLS client cert data for authenticating at the repo server",
5372Type: []string{"string"},
5373Format: "",
5374},
5375},
5376"tlsClientCertKey": {
5377SchemaProps: spec.SchemaProps{
5378Description: "TLSClientCertKey specifies the TLS client cert key for authenticating at the repo server",
5379Type: []string{"string"},
5380Format: "",
5381},
5382},
5383"githubAppPrivateKey": {
5384SchemaProps: spec.SchemaProps{
5385Description: "GithubAppPrivateKey specifies the private key PEM data for authentication via GitHub app",
5386Type: []string{"string"},
5387Format: "",
5388},
5389},
5390"githubAppID": {
5391SchemaProps: spec.SchemaProps{
5392Description: "GithubAppId specifies the Github App ID of the app used to access the repo for GitHub app authentication",
5393Type: []string{"integer"},
5394Format: "int64",
5395},
5396},
5397"githubAppInstallationID": {
5398SchemaProps: spec.SchemaProps{
5399Description: "GithubAppInstallationId specifies the ID of the installed GitHub App for GitHub app authentication",
5400Type: []string{"integer"},
5401Format: "int64",
5402},
5403},
5404"githubAppEnterpriseBaseUrl": {
5405SchemaProps: spec.SchemaProps{
5406Description: "GithubAppEnterpriseBaseURL specifies the GitHub API URL for GitHub app authentication. If empty will default to https://api.github.com",
5407Type: []string{"string"},
5408Format: "",
5409},
5410},
5411"enableOCI": {
5412SchemaProps: spec.SchemaProps{
5413Description: "EnableOCI specifies whether helm-oci support should be enabled for this repo",
5414Type: []string{"boolean"},
5415Format: "",
5416},
5417},
5418"type": {
5419SchemaProps: spec.SchemaProps{
5420Description: "Type specifies the type of the repoCreds. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent.",
5421Type: []string{"string"},
5422Format: "",
5423},
5424},
5425"gcpServiceAccountKey": {
5426SchemaProps: spec.SchemaProps{
5427Description: "GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos",
5428Type: []string{"string"},
5429Format: "",
5430},
5431},
5432"proxy": {
5433SchemaProps: spec.SchemaProps{
5434Description: "Proxy specifies the HTTP/HTTPS proxy used to access repos at the repo server",
5435Type: []string{"string"},
5436Format: "",
5437},
5438},
5439"forceHttpBasicAuth": {
5440SchemaProps: spec.SchemaProps{
5441Description: "ForceHttpBasicAuth specifies whether Argo CD should attempt to force basic auth for HTTP connections",
5442Type: []string{"boolean"},
5443Format: "",
5444},
5445},
5446},
5447Required: []string{"url"},
5448},
5449},
5450}
5451}
5452
5453func schema_pkg_apis_application_v1alpha1_RepoCredsList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5454return common.OpenAPIDefinition{
5455Schema: spec.Schema{
5456SchemaProps: spec.SchemaProps{
5457Description: "RepositoryList is a collection of Repositories.",
5458Type: []string{"object"},
5459Properties: map[string]spec.Schema{
5460"metadata": {
5461SchemaProps: spec.SchemaProps{
5462Default: map[string]interface{}{},
5463Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5464},
5465},
5466"items": {
5467SchemaProps: spec.SchemaProps{
5468Type: []string{"array"},
5469Items: &spec.SchemaOrArray{
5470Schema: &spec.Schema{
5471SchemaProps: spec.SchemaProps{
5472Default: map[string]interface{}{},
5473Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds"),
5474},
5475},
5476},
5477},
5478},
5479},
5480Required: []string{"items"},
5481},
5482},
5483Dependencies: []string{
5484"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5485}
5486}
5487
5488func schema_pkg_apis_application_v1alpha1_Repository(ref common.ReferenceCallback) common.OpenAPIDefinition {
5489return common.OpenAPIDefinition{
5490Schema: spec.Schema{
5491SchemaProps: spec.SchemaProps{
5492Description: "Repository is a repository holding application configurations",
5493Type: []string{"object"},
5494Properties: map[string]spec.Schema{
5495"repo": {
5496SchemaProps: spec.SchemaProps{
5497Description: "Repo contains the URL to the remote repository",
5498Default: "",
5499Type: []string{"string"},
5500Format: "",
5501},
5502},
5503"username": {
5504SchemaProps: spec.SchemaProps{
5505Description: "Username contains the user name used for authenticating at the remote repository",
5506Type: []string{"string"},
5507Format: "",
5508},
5509},
5510"password": {
5511SchemaProps: spec.SchemaProps{
5512Description: "Password contains the password or PAT used for authenticating at the remote repository",
5513Type: []string{"string"},
5514Format: "",
5515},
5516},
5517"sshPrivateKey": {
5518SchemaProps: spec.SchemaProps{
5519Description: "SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.",
5520Type: []string{"string"},
5521Format: "",
5522},
5523},
5524"connectionState": {
5525SchemaProps: spec.SchemaProps{
5526Description: "ConnectionState contains information about the current state of connection to the repository server",
5527Default: map[string]interface{}{},
5528Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
5529},
5530},
5531"insecureIgnoreHostKey": {
5532SchemaProps: spec.SchemaProps{
5533Description: "InsecureIgnoreHostKey should not be used anymore, Insecure is favoured Used only for Git repos",
5534Type: []string{"boolean"},
5535Format: "",
5536},
5537},
5538"insecure": {
5539SchemaProps: spec.SchemaProps{
5540Description: "Insecure specifies whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys",
5541Type: []string{"boolean"},
5542Format: "",
5543},
5544},
5545"enableLfs": {
5546SchemaProps: spec.SchemaProps{
5547Description: "EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.",
5548Type: []string{"boolean"},
5549Format: "",
5550},
5551},
5552"tlsClientCertData": {
5553SchemaProps: spec.SchemaProps{
5554Description: "TLSClientCertData contains a certificate in PEM format for authenticating at the repo server",
5555Type: []string{"string"},
5556Format: "",
5557},
5558},
5559"tlsClientCertKey": {
5560SchemaProps: spec.SchemaProps{
5561Description: "TLSClientCertKey contains a private key in PEM format for authenticating at the repo server",
5562Type: []string{"string"},
5563Format: "",
5564},
5565},
5566"type": {
5567SchemaProps: spec.SchemaProps{
5568Description: "Type specifies the type of the repo. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent.",
5569Type: []string{"string"},
5570Format: "",
5571},
5572},
5573"name": {
5574SchemaProps: spec.SchemaProps{
5575Description: "Name specifies a name to be used for this repo. Only used with Helm repos",
5576Type: []string{"string"},
5577Format: "",
5578},
5579},
5580"inheritedCreds": {
5581SchemaProps: spec.SchemaProps{
5582Description: "Whether credentials were inherited from a credential set",
5583Type: []string{"boolean"},
5584Format: "",
5585},
5586},
5587"enableOCI": {
5588SchemaProps: spec.SchemaProps{
5589Description: "EnableOCI specifies whether helm-oci support should be enabled for this repo",
5590Type: []string{"boolean"},
5591Format: "",
5592},
5593},
5594"githubAppPrivateKey": {
5595SchemaProps: spec.SchemaProps{
5596Description: "Github App Private Key PEM data",
5597Type: []string{"string"},
5598Format: "",
5599},
5600},
5601"githubAppID": {
5602SchemaProps: spec.SchemaProps{
5603Description: "GithubAppId specifies the ID of the GitHub app used to access the repo",
5604Type: []string{"integer"},
5605Format: "int64",
5606},
5607},
5608"githubAppInstallationID": {
5609SchemaProps: spec.SchemaProps{
5610Description: "GithubAppInstallationId specifies the installation ID of the GitHub App used to access the repo",
5611Type: []string{"integer"},
5612Format: "int64",
5613},
5614},
5615"githubAppEnterpriseBaseUrl": {
5616SchemaProps: spec.SchemaProps{
5617Description: "GithubAppEnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com",
5618Type: []string{"string"},
5619Format: "",
5620},
5621},
5622"proxy": {
5623SchemaProps: spec.SchemaProps{
5624Description: "Proxy specifies the HTTP/HTTPS proxy used to access the repo",
5625Type: []string{"string"},
5626Format: "",
5627},
5628},
5629"project": {
5630SchemaProps: spec.SchemaProps{
5631Description: "Reference between project and repository that allow you automatically to be added as item inside SourceRepos project entity",
5632Type: []string{"string"},
5633Format: "",
5634},
5635},
5636"gcpServiceAccountKey": {
5637SchemaProps: spec.SchemaProps{
5638Description: "GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos",
5639Type: []string{"string"},
5640Format: "",
5641},
5642},
5643"forceHttpBasicAuth": {
5644SchemaProps: spec.SchemaProps{
5645Description: "ForceHttpBasicAuth specifies whether Argo CD should attempt to force basic auth for HTTP connections",
5646Type: []string{"boolean"},
5647Format: "",
5648},
5649},
5650},
5651Required: []string{"repo"},
5652},
5653},
5654Dependencies: []string{
5655"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"},
5656}
5657}
5658
5659func schema_pkg_apis_application_v1alpha1_RepositoryCertificate(ref common.ReferenceCallback) common.OpenAPIDefinition {
5660return common.OpenAPIDefinition{
5661Schema: spec.Schema{
5662SchemaProps: spec.SchemaProps{
5663Description: "A RepositoryCertificate is either SSH known hosts entry or TLS certificate",
5664Type: []string{"object"},
5665Properties: map[string]spec.Schema{
5666"serverName": {
5667SchemaProps: spec.SchemaProps{
5668Description: "ServerName specifies the DNS name of the server this certificate is intended for",
5669Default: "",
5670Type: []string{"string"},
5671Format: "",
5672},
5673},
5674"certType": {
5675SchemaProps: spec.SchemaProps{
5676Description: "CertType specifies the type of the certificate - currently one of \"https\" or \"ssh\"",
5677Default: "",
5678Type: []string{"string"},
5679Format: "",
5680},
5681},
5682"certSubType": {
5683SchemaProps: spec.SchemaProps{
5684Description: "CertSubType specifies the sub type of the cert, i.e. \"ssh-rsa\"",
5685Default: "",
5686Type: []string{"string"},
5687Format: "",
5688},
5689},
5690"certData": {
5691SchemaProps: spec.SchemaProps{
5692Description: "CertData contains the actual certificate data, dependent on the certificate type",
5693Type: []string{"string"},
5694Format: "byte",
5695},
5696},
5697"certInfo": {
5698SchemaProps: spec.SchemaProps{
5699Description: "CertInfo will hold additional certificate info, depdendent on the certificate type (e.g. SSH fingerprint, X509 CommonName)",
5700Default: "",
5701Type: []string{"string"},
5702Format: "",
5703},
5704},
5705},
5706Required: []string{"serverName", "certType", "certSubType", "certData", "certInfo"},
5707},
5708},
5709}
5710}
5711
5712func schema_pkg_apis_application_v1alpha1_RepositoryCertificateList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5713return common.OpenAPIDefinition{
5714Schema: spec.Schema{
5715SchemaProps: spec.SchemaProps{
5716Description: "RepositoryCertificateList is a collection of RepositoryCertificates",
5717Type: []string{"object"},
5718Properties: map[string]spec.Schema{
5719"metadata": {
5720SchemaProps: spec.SchemaProps{
5721Default: map[string]interface{}{},
5722Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5723},
5724},
5725"items": {
5726SchemaProps: spec.SchemaProps{
5727Description: "List of certificates to be processed",
5728Type: []string{"array"},
5729Items: &spec.SchemaOrArray{
5730Schema: &spec.Schema{
5731SchemaProps: spec.SchemaProps{
5732Default: map[string]interface{}{},
5733Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate"),
5734},
5735},
5736},
5737},
5738},
5739},
5740Required: []string{"items"},
5741},
5742},
5743Dependencies: []string{
5744"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5745}
5746}
5747
5748func schema_pkg_apis_application_v1alpha1_RepositoryList(ref common.ReferenceCallback) common.OpenAPIDefinition {
5749return common.OpenAPIDefinition{
5750Schema: spec.Schema{
5751SchemaProps: spec.SchemaProps{
5752Description: "RepositoryList is a collection of Repositories.",
5753Type: []string{"object"},
5754Properties: map[string]spec.Schema{
5755"metadata": {
5756SchemaProps: spec.SchemaProps{
5757Default: map[string]interface{}{},
5758Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
5759},
5760},
5761"items": {
5762SchemaProps: spec.SchemaProps{
5763Type: []string{"array"},
5764Items: &spec.SchemaOrArray{
5765Schema: &spec.Schema{
5766SchemaProps: spec.SchemaProps{
5767Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"),
5768},
5769},
5770},
5771},
5772},
5773},
5774Required: []string{"items"},
5775},
5776},
5777Dependencies: []string{
5778"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
5779}
5780}
5781
5782func schema_pkg_apis_application_v1alpha1_ResourceAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
5783return common.OpenAPIDefinition{
5784Schema: spec.Schema{
5785SchemaProps: spec.SchemaProps{
5786Type: []string{"object"},
5787Properties: map[string]spec.Schema{
5788"name": {
5789SchemaProps: spec.SchemaProps{
5790Type: []string{"string"},
5791Format: "",
5792},
5793},
5794"params": {
5795SchemaProps: spec.SchemaProps{
5796Type: []string{"array"},
5797Items: &spec.SchemaOrArray{
5798Schema: &spec.Schema{
5799SchemaProps: spec.SchemaProps{
5800Default: map[string]interface{}{},
5801Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam"),
5802},
5803},
5804},
5805},
5806},
5807"disabled": {
5808SchemaProps: spec.SchemaProps{
5809Type: []string{"boolean"},
5810Format: "",
5811},
5812},
5813"iconClass": {
5814SchemaProps: spec.SchemaProps{
5815Type: []string{"string"},
5816Format: "",
5817},
5818},
5819"displayName": {
5820SchemaProps: spec.SchemaProps{
5821Type: []string{"string"},
5822Format: "",
5823},
5824},
5825},
5826},
5827},
5828Dependencies: []string{
5829"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam"},
5830}
5831}
5832
5833func schema_pkg_apis_application_v1alpha1_ResourceActionDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition {
5834return common.OpenAPIDefinition{
5835Schema: spec.Schema{
5836SchemaProps: spec.SchemaProps{
5837Type: []string{"object"},
5838Properties: map[string]spec.Schema{
5839"name": {
5840SchemaProps: spec.SchemaProps{
5841Default: "",
5842Type: []string{"string"},
5843Format: "",
5844},
5845},
5846"action.lua": {
5847SchemaProps: spec.SchemaProps{
5848Default: "",
5849Type: []string{"string"},
5850Format: "",
5851},
5852},
5853},
5854Required: []string{"name", "action.lua"},
5855},
5856},
5857}
5858}
5859
5860func schema_pkg_apis_application_v1alpha1_ResourceActionParam(ref common.ReferenceCallback) common.OpenAPIDefinition {
5861return common.OpenAPIDefinition{
5862Schema: spec.Schema{
5863SchemaProps: spec.SchemaProps{
5864Type: []string{"object"},
5865Properties: map[string]spec.Schema{
5866"name": {
5867SchemaProps: spec.SchemaProps{
5868Type: []string{"string"},
5869Format: "",
5870},
5871},
5872"value": {
5873SchemaProps: spec.SchemaProps{
5874Type: []string{"string"},
5875Format: "",
5876},
5877},
5878"type": {
5879SchemaProps: spec.SchemaProps{
5880Type: []string{"string"},
5881Format: "",
5882},
5883},
5884"default": {
5885SchemaProps: spec.SchemaProps{
5886Type: []string{"string"},
5887Format: "",
5888},
5889},
5890},
5891},
5892},
5893}
5894}
5895
5896func schema_pkg_apis_application_v1alpha1_ResourceActions(ref common.ReferenceCallback) common.OpenAPIDefinition {
5897return common.OpenAPIDefinition{
5898Schema: spec.Schema{
5899SchemaProps: spec.SchemaProps{
5900Type: []string{"object"},
5901Properties: map[string]spec.Schema{
5902"discovery.lua": {
5903SchemaProps: spec.SchemaProps{
5904Type: []string{"string"},
5905Format: "",
5906},
5907},
5908"definitions": {
5909SchemaProps: spec.SchemaProps{
5910Type: []string{"array"},
5911Items: &spec.SchemaOrArray{
5912Schema: &spec.Schema{
5913SchemaProps: spec.SchemaProps{
5914Default: map[string]interface{}{},
5915Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition"),
5916},
5917},
5918},
5919},
5920},
5921},
5922},
5923},
5924Dependencies: []string{
5925"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition"},
5926}
5927}
5928
5929func schema_pkg_apis_application_v1alpha1_ResourceDiff(ref common.ReferenceCallback) common.OpenAPIDefinition {
5930return common.OpenAPIDefinition{
5931Schema: spec.Schema{
5932SchemaProps: spec.SchemaProps{
5933Description: "ResourceDiff holds the diff of a live and target resource object",
5934Type: []string{"object"},
5935Properties: map[string]spec.Schema{
5936"group": {
5937SchemaProps: spec.SchemaProps{
5938Type: []string{"string"},
5939Format: "",
5940},
5941},
5942"kind": {
5943SchemaProps: spec.SchemaProps{
5944Type: []string{"string"},
5945Format: "",
5946},
5947},
5948"namespace": {
5949SchemaProps: spec.SchemaProps{
5950Type: []string{"string"},
5951Format: "",
5952},
5953},
5954"name": {
5955SchemaProps: spec.SchemaProps{
5956Type: []string{"string"},
5957Format: "",
5958},
5959},
5960"targetState": {
5961SchemaProps: spec.SchemaProps{
5962Description: "TargetState contains the JSON serialized resource manifest defined in the Git/Helm",
5963Type: []string{"string"},
5964Format: "",
5965},
5966},
5967"liveState": {
5968SchemaProps: spec.SchemaProps{
5969Description: "TargetState contains the JSON live resource manifest",
5970Type: []string{"string"},
5971Format: "",
5972},
5973},
5974"diff": {
5975SchemaProps: spec.SchemaProps{
5976Description: "Diff contains the JSON patch between target and live resource Deprecated: use NormalizedLiveState and PredictedLiveState to render the difference",
5977Type: []string{"string"},
5978Format: "",
5979},
5980},
5981"hook": {
5982SchemaProps: spec.SchemaProps{
5983Type: []string{"boolean"},
5984Format: "",
5985},
5986},
5987"normalizedLiveState": {
5988SchemaProps: spec.SchemaProps{
5989Description: "NormalizedLiveState contains JSON serialized live resource state with applied normalizations",
5990Type: []string{"string"},
5991Format: "",
5992},
5993},
5994"predictedLiveState": {
5995SchemaProps: spec.SchemaProps{
5996Description: "PredictedLiveState contains JSON serialized resource state that is calculated based on normalized and target resource state",
5997Type: []string{"string"},
5998Format: "",
5999},
6000},
6001"resourceVersion": {
6002SchemaProps: spec.SchemaProps{
6003Type: []string{"string"},
6004Format: "",
6005},
6006},
6007"modified": {
6008SchemaProps: spec.SchemaProps{
6009Type: []string{"boolean"},
6010Format: "",
6011},
6012},
6013},
6014},
6015},
6016}
6017}
6018
6019func schema_pkg_apis_application_v1alpha1_ResourceIgnoreDifferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
6020return common.OpenAPIDefinition{
6021Schema: spec.Schema{
6022SchemaProps: spec.SchemaProps{
6023Description: "ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.",
6024Type: []string{"object"},
6025Properties: map[string]spec.Schema{
6026"group": {
6027SchemaProps: spec.SchemaProps{
6028Type: []string{"string"},
6029Format: "",
6030},
6031},
6032"kind": {
6033SchemaProps: spec.SchemaProps{
6034Default: "",
6035Type: []string{"string"},
6036Format: "",
6037},
6038},
6039"name": {
6040SchemaProps: spec.SchemaProps{
6041Type: []string{"string"},
6042Format: "",
6043},
6044},
6045"namespace": {
6046SchemaProps: spec.SchemaProps{
6047Type: []string{"string"},
6048Format: "",
6049},
6050},
6051"jsonPointers": {
6052SchemaProps: spec.SchemaProps{
6053Type: []string{"array"},
6054Items: &spec.SchemaOrArray{
6055Schema: &spec.Schema{
6056SchemaProps: spec.SchemaProps{
6057Default: "",
6058Type: []string{"string"},
6059Format: "",
6060},
6061},
6062},
6063},
6064},
6065"jqPathExpressions": {
6066SchemaProps: spec.SchemaProps{
6067Type: []string{"array"},
6068Items: &spec.SchemaOrArray{
6069Schema: &spec.Schema{
6070SchemaProps: spec.SchemaProps{
6071Default: "",
6072Type: []string{"string"},
6073Format: "",
6074},
6075},
6076},
6077},
6078},
6079"managedFieldsManagers": {
6080SchemaProps: spec.SchemaProps{
6081Description: "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",
6082Type: []string{"array"},
6083Items: &spec.SchemaOrArray{
6084Schema: &spec.Schema{
6085SchemaProps: spec.SchemaProps{
6086Default: "",
6087Type: []string{"string"},
6088Format: "",
6089},
6090},
6091},
6092},
6093},
6094},
6095Required: []string{"kind"},
6096},
6097},
6098}
6099}
6100
6101func schema_pkg_apis_application_v1alpha1_ResourceNetworkingInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
6102return common.OpenAPIDefinition{
6103Schema: spec.Schema{
6104SchemaProps: spec.SchemaProps{
6105Description: "ResourceNetworkingInfo holds networking resource related information",
6106Type: []string{"object"},
6107Properties: map[string]spec.Schema{
6108"targetLabels": {
6109SchemaProps: spec.SchemaProps{
6110Type: []string{"object"},
6111AdditionalProperties: &spec.SchemaOrBool{
6112Allows: true,
6113Schema: &spec.Schema{
6114SchemaProps: spec.SchemaProps{
6115Default: "",
6116Type: []string{"string"},
6117Format: "",
6118},
6119},
6120},
6121},
6122},
6123"targetRefs": {
6124SchemaProps: spec.SchemaProps{
6125Type: []string{"array"},
6126Items: &spec.SchemaOrArray{
6127Schema: &spec.Schema{
6128SchemaProps: spec.SchemaProps{
6129Default: map[string]interface{}{},
6130Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef"),
6131},
6132},
6133},
6134},
6135},
6136"labels": {
6137SchemaProps: spec.SchemaProps{
6138Type: []string{"object"},
6139AdditionalProperties: &spec.SchemaOrBool{
6140Allows: true,
6141Schema: &spec.Schema{
6142SchemaProps: spec.SchemaProps{
6143Default: "",
6144Type: []string{"string"},
6145Format: "",
6146},
6147},
6148},
6149},
6150},
6151"ingress": {
6152SchemaProps: spec.SchemaProps{
6153Type: []string{"array"},
6154Items: &spec.SchemaOrArray{
6155Schema: &spec.Schema{
6156SchemaProps: spec.SchemaProps{
6157Default: map[string]interface{}{},
6158Ref: ref("k8s.io/api/core/v1.LoadBalancerIngress"),
6159},
6160},
6161},
6162},
6163},
6164"externalURLs": {
6165SchemaProps: spec.SchemaProps{
6166Description: "ExternalURLs holds list of URLs which should be available externally. List is populated for ingress resources using rules hostnames.",
6167Type: []string{"array"},
6168Items: &spec.SchemaOrArray{
6169Schema: &spec.Schema{
6170SchemaProps: spec.SchemaProps{
6171Default: "",
6172Type: []string{"string"},
6173Format: "",
6174},
6175},
6176},
6177},
6178},
6179},
6180},
6181},
6182Dependencies: []string{
6183"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef", "k8s.io/api/core/v1.LoadBalancerIngress"},
6184}
6185}
6186
6187func schema_pkg_apis_application_v1alpha1_ResourceNode(ref common.ReferenceCallback) common.OpenAPIDefinition {
6188return common.OpenAPIDefinition{
6189Schema: spec.Schema{
6190SchemaProps: spec.SchemaProps{
6191Description: "ResourceNode contains information about live resource and its children",
6192Type: []string{"object"},
6193Properties: map[string]spec.Schema{
6194"group": {
6195SchemaProps: spec.SchemaProps{
6196Type: []string{"string"},
6197Format: "",
6198},
6199},
6200"version": {
6201SchemaProps: spec.SchemaProps{
6202Type: []string{"string"},
6203Format: "",
6204},
6205},
6206"kind": {
6207SchemaProps: spec.SchemaProps{
6208Type: []string{"string"},
6209Format: "",
6210},
6211},
6212"namespace": {
6213SchemaProps: spec.SchemaProps{
6214Type: []string{"string"},
6215Format: "",
6216},
6217},
6218"name": {
6219SchemaProps: spec.SchemaProps{
6220Type: []string{"string"},
6221Format: "",
6222},
6223},
6224"uid": {
6225SchemaProps: spec.SchemaProps{
6226Type: []string{"string"},
6227Format: "",
6228},
6229},
6230"parentRefs": {
6231SchemaProps: spec.SchemaProps{
6232Type: []string{"array"},
6233Items: &spec.SchemaOrArray{
6234Schema: &spec.Schema{
6235SchemaProps: spec.SchemaProps{
6236Default: map[string]interface{}{},
6237Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef"),
6238},
6239},
6240},
6241},
6242},
6243"info": {
6244SchemaProps: spec.SchemaProps{
6245Type: []string{"array"},
6246Items: &spec.SchemaOrArray{
6247Schema: &spec.Schema{
6248SchemaProps: spec.SchemaProps{
6249Default: map[string]interface{}{},
6250Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.InfoItem"),
6251},
6252},
6253},
6254},
6255},
6256"networkingInfo": {
6257SchemaProps: spec.SchemaProps{
6258Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNetworkingInfo"),
6259},
6260},
6261"resourceVersion": {
6262SchemaProps: spec.SchemaProps{
6263Type: []string{"string"},
6264Format: "",
6265},
6266},
6267"images": {
6268SchemaProps: spec.SchemaProps{
6269Type: []string{"array"},
6270Items: &spec.SchemaOrArray{
6271Schema: &spec.Schema{
6272SchemaProps: spec.SchemaProps{
6273Default: "",
6274Type: []string{"string"},
6275Format: "",
6276},
6277},
6278},
6279},
6280},
6281"health": {
6282SchemaProps: spec.SchemaProps{
6283Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
6284},
6285},
6286"createdAt": {
6287SchemaProps: spec.SchemaProps{
6288Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6289},
6290},
6291},
6292},
6293},
6294Dependencies: []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
6299func schema_pkg_apis_application_v1alpha1_ResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition {
6300return common.OpenAPIDefinition{
6301Schema: spec.Schema{
6302SchemaProps: spec.SchemaProps{
6303Description: "ResourceOverride holds configuration to customize resource diffing and health assessment",
6304Type: []string{"object"},
6305Properties: map[string]spec.Schema{
6306"HealthLua": {
6307SchemaProps: spec.SchemaProps{
6308Default: "",
6309Type: []string{"string"},
6310Format: "",
6311},
6312},
6313"UseOpenLibs": {
6314SchemaProps: spec.SchemaProps{
6315Default: false,
6316Type: []string{"boolean"},
6317Format: "",
6318},
6319},
6320"Actions": {
6321SchemaProps: spec.SchemaProps{
6322Default: "",
6323Type: []string{"string"},
6324Format: "",
6325},
6326},
6327"IgnoreDifferences": {
6328SchemaProps: spec.SchemaProps{
6329Default: map[string]interface{}{},
6330Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"),
6331},
6332},
6333"IgnoreResourceUpdates": {
6334SchemaProps: spec.SchemaProps{
6335Default: map[string]interface{}{},
6336Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"),
6337},
6338},
6339"KnownTypeFields": {
6340SchemaProps: spec.SchemaProps{
6341Type: []string{"array"},
6342Items: &spec.SchemaOrArray{
6343Schema: &spec.Schema{
6344SchemaProps: spec.SchemaProps{
6345Default: map[string]interface{}{},
6346Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"),
6347},
6348},
6349},
6350},
6351},
6352},
6353Required: []string{"HealthLua", "UseOpenLibs", "Actions", "IgnoreDifferences", "IgnoreResourceUpdates", "KnownTypeFields"},
6354},
6355},
6356Dependencies: []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
6361func schema_pkg_apis_application_v1alpha1_ResourceRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
6362return common.OpenAPIDefinition{
6363Schema: spec.Schema{
6364SchemaProps: spec.SchemaProps{
6365Description: "ResourceRef includes fields which uniquely identify a resource",
6366Type: []string{"object"},
6367Properties: map[string]spec.Schema{
6368"group": {
6369SchemaProps: spec.SchemaProps{
6370Type: []string{"string"},
6371Format: "",
6372},
6373},
6374"version": {
6375SchemaProps: spec.SchemaProps{
6376Type: []string{"string"},
6377Format: "",
6378},
6379},
6380"kind": {
6381SchemaProps: spec.SchemaProps{
6382Type: []string{"string"},
6383Format: "",
6384},
6385},
6386"namespace": {
6387SchemaProps: spec.SchemaProps{
6388Type: []string{"string"},
6389Format: "",
6390},
6391},
6392"name": {
6393SchemaProps: spec.SchemaProps{
6394Type: []string{"string"},
6395Format: "",
6396},
6397},
6398"uid": {
6399SchemaProps: spec.SchemaProps{
6400Type: []string{"string"},
6401Format: "",
6402},
6403},
6404},
6405},
6406},
6407}
6408}
6409
6410func schema_pkg_apis_application_v1alpha1_ResourceResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
6411return common.OpenAPIDefinition{
6412Schema: spec.Schema{
6413SchemaProps: spec.SchemaProps{
6414Description: "ResourceResult holds the operation result details of a specific resource",
6415Type: []string{"object"},
6416Properties: map[string]spec.Schema{
6417"group": {
6418SchemaProps: spec.SchemaProps{
6419Description: "Group specifies the API group of the resource",
6420Default: "",
6421Type: []string{"string"},
6422Format: "",
6423},
6424},
6425"version": {
6426SchemaProps: spec.SchemaProps{
6427Description: "Version specifies the API version of the resource",
6428Default: "",
6429Type: []string{"string"},
6430Format: "",
6431},
6432},
6433"kind": {
6434SchemaProps: spec.SchemaProps{
6435Description: "Kind specifies the API kind of the resource",
6436Default: "",
6437Type: []string{"string"},
6438Format: "",
6439},
6440},
6441"namespace": {
6442SchemaProps: spec.SchemaProps{
6443Description: "Namespace specifies the target namespace of the resource",
6444Default: "",
6445Type: []string{"string"},
6446Format: "",
6447},
6448},
6449"name": {
6450SchemaProps: spec.SchemaProps{
6451Description: "Name specifies the name of the resource",
6452Default: "",
6453Type: []string{"string"},
6454Format: "",
6455},
6456},
6457"status": {
6458SchemaProps: spec.SchemaProps{
6459Description: "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",
6460Type: []string{"string"},
6461Format: "",
6462},
6463},
6464"message": {
6465SchemaProps: spec.SchemaProps{
6466Description: "Message contains an informational or error message for the last sync OR operation",
6467Type: []string{"string"},
6468Format: "",
6469},
6470},
6471"hookType": {
6472SchemaProps: spec.SchemaProps{
6473Description: "HookType specifies the type of the hook. Empty for non-hook resources",
6474Type: []string{"string"},
6475Format: "",
6476},
6477},
6478"hookPhase": {
6479SchemaProps: spec.SchemaProps{
6480Description: "HookPhase contains the state of any operation associated with this resource OR hook This can also contain values for non-hook resources.",
6481Type: []string{"string"},
6482Format: "",
6483},
6484},
6485"syncPhase": {
6486SchemaProps: spec.SchemaProps{
6487Description: "SyncPhase indicates the particular phase of the sync that this result was acquired in",
6488Type: []string{"string"},
6489Format: "",
6490},
6491},
6492},
6493Required: []string{"group", "version", "kind", "namespace", "name"},
6494},
6495},
6496}
6497}
6498
6499func schema_pkg_apis_application_v1alpha1_ResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
6500return common.OpenAPIDefinition{
6501Schema: spec.Schema{
6502SchemaProps: spec.SchemaProps{
6503Description: "ResourceStatus holds the current sync and health status of a resource",
6504Type: []string{"object"},
6505Properties: map[string]spec.Schema{
6506"group": {
6507SchemaProps: spec.SchemaProps{
6508Type: []string{"string"},
6509Format: "",
6510},
6511},
6512"version": {
6513SchemaProps: spec.SchemaProps{
6514Type: []string{"string"},
6515Format: "",
6516},
6517},
6518"kind": {
6519SchemaProps: spec.SchemaProps{
6520Type: []string{"string"},
6521Format: "",
6522},
6523},
6524"namespace": {
6525SchemaProps: spec.SchemaProps{
6526Type: []string{"string"},
6527Format: "",
6528},
6529},
6530"name": {
6531SchemaProps: spec.SchemaProps{
6532Type: []string{"string"},
6533Format: "",
6534},
6535},
6536"status": {
6537SchemaProps: spec.SchemaProps{
6538Type: []string{"string"},
6539Format: "",
6540},
6541},
6542"health": {
6543SchemaProps: spec.SchemaProps{
6544Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
6545},
6546},
6547"hook": {
6548SchemaProps: spec.SchemaProps{
6549Type: []string{"boolean"},
6550Format: "",
6551},
6552},
6553"requiresPruning": {
6554SchemaProps: spec.SchemaProps{
6555Type: []string{"boolean"},
6556Format: "",
6557},
6558},
6559"syncWave": {
6560SchemaProps: spec.SchemaProps{
6561Type: []string{"integer"},
6562Format: "int64",
6563},
6564},
6565},
6566},
6567},
6568Dependencies: []string{
6569"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"},
6570}
6571}
6572
6573func schema_pkg_apis_application_v1alpha1_RetryStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
6574return common.OpenAPIDefinition{
6575Schema: spec.Schema{
6576SchemaProps: spec.SchemaProps{
6577Description: "RetryStrategy contains information about the strategy to apply when a sync failed",
6578Type: []string{"object"},
6579Properties: map[string]spec.Schema{
6580"limit": {
6581SchemaProps: spec.SchemaProps{
6582Description: "Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.",
6583Type: []string{"integer"},
6584Format: "int64",
6585},
6586},
6587"backoff": {
6588SchemaProps: spec.SchemaProps{
6589Description: "Backoff controls how to backoff on subsequent retries of failed syncs",
6590Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff"),
6591},
6592},
6593},
6594},
6595},
6596Dependencies: []string{
6597"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff"},
6598}
6599}
6600
6601func schema_pkg_apis_application_v1alpha1_RevisionHistory(ref common.ReferenceCallback) common.OpenAPIDefinition {
6602return common.OpenAPIDefinition{
6603Schema: spec.Schema{
6604SchemaProps: spec.SchemaProps{
6605Description: "RevisionHistory contains history information about a previous sync",
6606Type: []string{"object"},
6607Properties: map[string]spec.Schema{
6608"revision": {
6609SchemaProps: spec.SchemaProps{
6610Description: "Revision holds the revision the sync was performed against",
6611Type: []string{"string"},
6612Format: "",
6613},
6614},
6615"deployedAt": {
6616SchemaProps: spec.SchemaProps{
6617Description: "DeployedAt holds the time the sync operation completed",
6618Default: map[string]interface{}{},
6619Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6620},
6621},
6622"id": {
6623SchemaProps: spec.SchemaProps{
6624Description: "ID is an auto incrementing identifier of the RevisionHistory",
6625Default: 0,
6626Type: []string{"integer"},
6627Format: "int64",
6628},
6629},
6630"source": {
6631SchemaProps: spec.SchemaProps{
6632Description: "Source is a reference to the application source used for the sync operation",
6633Default: map[string]interface{}{},
6634Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
6635},
6636},
6637"deployStartedAt": {
6638SchemaProps: spec.SchemaProps{
6639Description: "DeployStartedAt holds the time the sync operation started",
6640Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6641},
6642},
6643"sources": {
6644SchemaProps: spec.SchemaProps{
6645Description: "Sources is a reference to the application sources used for the sync operation",
6646Type: []string{"array"},
6647Items: &spec.SchemaOrArray{
6648Schema: &spec.Schema{
6649SchemaProps: spec.SchemaProps{
6650Default: map[string]interface{}{},
6651Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
6652},
6653},
6654},
6655},
6656},
6657"revisions": {
6658SchemaProps: spec.SchemaProps{
6659Description: "Revisions holds the revision of each source in sources field the sync was performed against",
6660Type: []string{"array"},
6661Items: &spec.SchemaOrArray{
6662Schema: &spec.Schema{
6663SchemaProps: spec.SchemaProps{
6664Default: "",
6665Type: []string{"string"},
6666Format: "",
6667},
6668},
6669},
6670},
6671},
6672"initiatedBy": {
6673SchemaProps: spec.SchemaProps{
6674Description: "InitiatedBy contains information about who initiated the operations",
6675Default: map[string]interface{}{},
6676Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator"),
6677},
6678},
6679},
6680Required: []string{"deployedAt", "id"},
6681},
6682},
6683Dependencies: []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
6688func schema_pkg_apis_application_v1alpha1_RevisionMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
6689return common.OpenAPIDefinition{
6690Schema: spec.Schema{
6691SchemaProps: spec.SchemaProps{
6692Description: "RevisionMetadata contains metadata for a specific revision in a Git repository",
6693Type: []string{"object"},
6694Properties: map[string]spec.Schema{
6695"author": {
6696SchemaProps: spec.SchemaProps{
6697Description: "who authored this revision, typically their name and email, e.g. \"John Doe <john_doe@my-company.com>\", but might not match this example",
6698Type: []string{"string"},
6699Format: "",
6700},
6701},
6702"date": {
6703SchemaProps: spec.SchemaProps{
6704Description: "Date specifies when the revision was authored",
6705Default: map[string]interface{}{},
6706Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
6707},
6708},
6709"tags": {
6710SchemaProps: spec.SchemaProps{
6711Description: "Tags specifies any tags currently attached to the revision Floating tags can move from one revision to another",
6712Type: []string{"array"},
6713Items: &spec.SchemaOrArray{
6714Schema: &spec.Schema{
6715SchemaProps: spec.SchemaProps{
6716Default: "",
6717Type: []string{"string"},
6718Format: "",
6719},
6720},
6721},
6722},
6723},
6724"message": {
6725SchemaProps: spec.SchemaProps{
6726Description: "Message contains the message associated with the revision, most likely the commit message.",
6727Type: []string{"string"},
6728Format: "",
6729},
6730},
6731"signatureInfo": {
6732SchemaProps: spec.SchemaProps{
6733Description: "SignatureInfo contains a hint on the signer if the revision was signed with GPG, and signature verification is enabled.",
6734Type: []string{"string"},
6735Format: "",
6736},
6737},
6738},
6739Required: []string{"date"},
6740},
6741},
6742Dependencies: []string{
6743"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
6744}
6745}
6746
6747func schema_pkg_apis_application_v1alpha1_SCMProviderGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
6748return common.OpenAPIDefinition{
6749Schema: spec.Schema{
6750SchemaProps: spec.SchemaProps{
6751Description: "SCMProviderGenerator defines a generator that scrapes a SCMaaS API to find candidate repos.",
6752Type: []string{"object"},
6753Properties: map[string]spec.Schema{
6754"github": {
6755SchemaProps: spec.SchemaProps{
6756Description: "Which provider to use and config for it.",
6757Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGithub"),
6758},
6759},
6760"gitlab": {
6761SchemaProps: spec.SchemaProps{
6762Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitlab"),
6763},
6764},
6765"bitbucket": {
6766SchemaProps: spec.SchemaProps{
6767Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucket"),
6768},
6769},
6770"bitbucketServer": {
6771SchemaProps: spec.SchemaProps{
6772Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucketServer"),
6773},
6774},
6775"gitea": {
6776SchemaProps: spec.SchemaProps{
6777Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitea"),
6778},
6779},
6780"azureDevOps": {
6781SchemaProps: spec.SchemaProps{
6782Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAzureDevOps"),
6783},
6784},
6785"filters": {
6786SchemaProps: spec.SchemaProps{
6787Description: "Filters for which repos should be considered.",
6788Type: []string{"array"},
6789Items: &spec.SchemaOrArray{
6790Schema: &spec.Schema{
6791SchemaProps: spec.SchemaProps{
6792Default: map[string]interface{}{},
6793Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorFilter"),
6794},
6795},
6796},
6797},
6798},
6799"cloneProtocol": {
6800SchemaProps: spec.SchemaProps{
6801Description: "Which protocol to use for the SCM URL. Default is provider-specific but ssh if possible. Not all providers necessarily support all protocols.",
6802Type: []string{"string"},
6803Format: "",
6804},
6805},
6806"requeueAfterSeconds": {
6807SchemaProps: spec.SchemaProps{
6808Description: "Standard parameters.",
6809Type: []string{"integer"},
6810Format: "int64",
6811},
6812},
6813"template": {
6814SchemaProps: spec.SchemaProps{
6815Default: map[string]interface{}{},
6816Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
6817},
6818},
6819"values": {
6820SchemaProps: spec.SchemaProps{
6821Description: "Values contains key/value pairs which are passed directly as parameters to the template",
6822Type: []string{"object"},
6823AdditionalProperties: &spec.SchemaOrBool{
6824Allows: true,
6825Schema: &spec.Schema{
6826SchemaProps: spec.SchemaProps{
6827Default: "",
6828Type: []string{"string"},
6829Format: "",
6830},
6831},
6832},
6833},
6834},
6835"awsCodeCommit": {
6836SchemaProps: spec.SchemaProps{
6837Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAWSCodeCommit"),
6838},
6839},
6840},
6841},
6842},
6843Dependencies: []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
6848func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAWSCodeCommit(ref common.ReferenceCallback) common.OpenAPIDefinition {
6849return common.OpenAPIDefinition{
6850Schema: spec.Schema{
6851SchemaProps: spec.SchemaProps{
6852Description: "SCMProviderGeneratorAWSCodeCommit defines connection info specific to AWS CodeCommit.",
6853Type: []string{"object"},
6854Properties: map[string]spec.Schema{
6855"tagFilters": {
6856SchemaProps: spec.SchemaProps{
6857Description: "TagFilters provides the tag filter(s) for repo discovery",
6858Type: []string{"array"},
6859Items: &spec.SchemaOrArray{
6860Schema: &spec.Schema{
6861SchemaProps: spec.SchemaProps{
6862Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TagFilter"),
6863},
6864},
6865},
6866},
6867},
6868"role": {
6869SchemaProps: spec.SchemaProps{
6870Description: "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.",
6871Type: []string{"string"},
6872Format: "",
6873},
6874},
6875"region": {
6876SchemaProps: spec.SchemaProps{
6877Description: "Region provides the AWS region to discover repos. if not provided, AppSet controller will infer the current region from environment.",
6878Type: []string{"string"},
6879Format: "",
6880},
6881},
6882"allBranches": {
6883SchemaProps: spec.SchemaProps{
6884Description: "Scan all branches instead of just the default branch.",
6885Type: []string{"boolean"},
6886Format: "",
6887},
6888},
6889},
6890},
6891},
6892Dependencies: []string{
6893"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TagFilter"},
6894}
6895}
6896
6897func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAzureDevOps(ref common.ReferenceCallback) common.OpenAPIDefinition {
6898return common.OpenAPIDefinition{
6899Schema: spec.Schema{
6900SchemaProps: spec.SchemaProps{
6901Description: "SCMProviderGeneratorAzureDevOps defines connection info specific to Azure DevOps.",
6902Type: []string{"object"},
6903Properties: map[string]spec.Schema{
6904"organization": {
6905SchemaProps: spec.SchemaProps{
6906Description: "Azure Devops organization. Required. E.g. \"my-organization\".",
6907Default: "",
6908Type: []string{"string"},
6909Format: "",
6910},
6911},
6912"api": {
6913SchemaProps: spec.SchemaProps{
6914Description: "The URL to Azure DevOps. If blank, use https://dev.azure.com.",
6915Type: []string{"string"},
6916Format: "",
6917},
6918},
6919"teamProject": {
6920SchemaProps: spec.SchemaProps{
6921Description: "Azure Devops team project. Required. E.g. \"my-team\".",
6922Default: "",
6923Type: []string{"string"},
6924Format: "",
6925},
6926},
6927"accessTokenRef": {
6928SchemaProps: spec.SchemaProps{
6929Description: "The Personal Access Token (PAT) to use when connecting. Required.",
6930Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
6931},
6932},
6933"allBranches": {
6934SchemaProps: spec.SchemaProps{
6935Description: "Scan all branches instead of just the default branch.",
6936Type: []string{"boolean"},
6937Format: "",
6938},
6939},
6940},
6941Required: []string{"organization", "teamProject", "accessTokenRef"},
6942},
6943},
6944Dependencies: []string{
6945"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
6946}
6947}
6948
6949func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucket(ref common.ReferenceCallback) common.OpenAPIDefinition {
6950return common.OpenAPIDefinition{
6951Schema: spec.Schema{
6952SchemaProps: spec.SchemaProps{
6953Description: "SCMProviderGeneratorBitbucket defines connection info specific to Bitbucket Cloud (API version 2).",
6954Type: []string{"object"},
6955Properties: map[string]spec.Schema{
6956"owner": {
6957SchemaProps: spec.SchemaProps{
6958Description: "Bitbucket workspace to scan. Required.",
6959Default: "",
6960Type: []string{"string"},
6961Format: "",
6962},
6963},
6964"user": {
6965SchemaProps: spec.SchemaProps{
6966Description: "Bitbucket user to use when authenticating. Should have a \"member\" role to be able to read all repositories and branches. Required",
6967Default: "",
6968Type: []string{"string"},
6969Format: "",
6970},
6971},
6972"appPasswordRef": {
6973SchemaProps: spec.SchemaProps{
6974Description: "The app password to use for the user. Required. See: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/",
6975Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
6976},
6977},
6978"allBranches": {
6979SchemaProps: spec.SchemaProps{
6980Description: "Scan all branches instead of just the main branch.",
6981Type: []string{"boolean"},
6982Format: "",
6983},
6984},
6985},
6986Required: []string{"owner", "user", "appPasswordRef"},
6987},
6988},
6989Dependencies: []string{
6990"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
6991}
6992}
6993
6994func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
6995return common.OpenAPIDefinition{
6996Schema: spec.Schema{
6997SchemaProps: spec.SchemaProps{
6998Description: "SCMProviderGeneratorBitbucketServer defines connection info specific to Bitbucket Server.",
6999Type: []string{"object"},
7000Properties: map[string]spec.Schema{
7001"project": {
7002SchemaProps: spec.SchemaProps{
7003Description: "Project to scan. Required.",
7004Default: "",
7005Type: []string{"string"},
7006Format: "",
7007},
7008},
7009"api": {
7010SchemaProps: spec.SchemaProps{
7011Description: "The Bitbucket Server REST API URL to talk to. Required.",
7012Default: "",
7013Type: []string{"string"},
7014Format: "",
7015},
7016},
7017"basicAuth": {
7018SchemaProps: spec.SchemaProps{
7019Description: "Credentials for Basic auth",
7020Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
7021},
7022},
7023"allBranches": {
7024SchemaProps: spec.SchemaProps{
7025Description: "Scan all branches instead of just the default branch.",
7026Type: []string{"boolean"},
7027Format: "",
7028},
7029},
7030},
7031Required: []string{"project", "api"},
7032},
7033},
7034Dependencies: []string{
7035"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"},
7036}
7037}
7038
7039func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
7040return common.OpenAPIDefinition{
7041Schema: spec.Schema{
7042SchemaProps: spec.SchemaProps{
7043Description: "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.",
7044Type: []string{"object"},
7045Properties: map[string]spec.Schema{
7046"repositoryMatch": {
7047SchemaProps: spec.SchemaProps{
7048Description: "A regex for repo names.",
7049Type: []string{"string"},
7050Format: "",
7051},
7052},
7053"pathsExist": {
7054SchemaProps: spec.SchemaProps{
7055Description: "An array of paths, all of which must exist.",
7056Type: []string{"array"},
7057Items: &spec.SchemaOrArray{
7058Schema: &spec.Schema{
7059SchemaProps: spec.SchemaProps{
7060Default: "",
7061Type: []string{"string"},
7062Format: "",
7063},
7064},
7065},
7066},
7067},
7068"pathsDoNotExist": {
7069SchemaProps: spec.SchemaProps{
7070Description: "An array of paths, all of which must not exist.",
7071Type: []string{"array"},
7072Items: &spec.SchemaOrArray{
7073Schema: &spec.Schema{
7074SchemaProps: spec.SchemaProps{
7075Default: "",
7076Type: []string{"string"},
7077Format: "",
7078},
7079},
7080},
7081},
7082},
7083"labelMatch": {
7084SchemaProps: spec.SchemaProps{
7085Description: "A regex which must match at least one label.",
7086Type: []string{"string"},
7087Format: "",
7088},
7089},
7090"branchMatch": {
7091SchemaProps: spec.SchemaProps{
7092Description: "A regex which must match the branch name.",
7093Type: []string{"string"},
7094Format: "",
7095},
7096},
7097},
7098},
7099},
7100}
7101}
7102
7103func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitea(ref common.ReferenceCallback) common.OpenAPIDefinition {
7104return common.OpenAPIDefinition{
7105Schema: spec.Schema{
7106SchemaProps: spec.SchemaProps{
7107Description: "SCMProviderGeneratorGitea defines a connection info specific to Gitea.",
7108Type: []string{"object"},
7109Properties: map[string]spec.Schema{
7110"owner": {
7111SchemaProps: spec.SchemaProps{
7112Description: "Gitea organization or user to scan. Required.",
7113Default: "",
7114Type: []string{"string"},
7115Format: "",
7116},
7117},
7118"api": {
7119SchemaProps: spec.SchemaProps{
7120Description: "The Gitea URL to talk to. For example https://gitea.mydomain.com/.",
7121Default: "",
7122Type: []string{"string"},
7123Format: "",
7124},
7125},
7126"tokenRef": {
7127SchemaProps: spec.SchemaProps{
7128Description: "Authentication token reference.",
7129Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
7130},
7131},
7132"allBranches": {
7133SchemaProps: spec.SchemaProps{
7134Description: "Scan all branches instead of just the default branch.",
7135Type: []string{"boolean"},
7136Format: "",
7137},
7138},
7139"insecure": {
7140SchemaProps: spec.SchemaProps{
7141Description: "Allow self-signed TLS / Certificates; default: false",
7142Type: []string{"boolean"},
7143Format: "",
7144},
7145},
7146},
7147Required: []string{"owner", "api"},
7148},
7149},
7150Dependencies: []string{
7151"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
7152}
7153}
7154
7155func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGithub(ref common.ReferenceCallback) common.OpenAPIDefinition {
7156return common.OpenAPIDefinition{
7157Schema: spec.Schema{
7158SchemaProps: spec.SchemaProps{
7159Description: "SCMProviderGeneratorGithub defines connection info specific to GitHub.",
7160Type: []string{"object"},
7161Properties: map[string]spec.Schema{
7162"organization": {
7163SchemaProps: spec.SchemaProps{
7164Description: "GitHub org to scan. Required.",
7165Default: "",
7166Type: []string{"string"},
7167Format: "",
7168},
7169},
7170"api": {
7171SchemaProps: spec.SchemaProps{
7172Description: "The GitHub API URL to talk to. If blank, use https://api.github.com/.",
7173Type: []string{"string"},
7174Format: "",
7175},
7176},
7177"tokenRef": {
7178SchemaProps: spec.SchemaProps{
7179Description: "Authentication token reference.",
7180Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
7181},
7182},
7183"appSecretName": {
7184SchemaProps: spec.SchemaProps{
7185Description: "AppSecretName is a reference to a GitHub App repo-creds secret.",
7186Type: []string{"string"},
7187Format: "",
7188},
7189},
7190"allBranches": {
7191SchemaProps: spec.SchemaProps{
7192Description: "Scan all branches instead of just the default branch.",
7193Type: []string{"boolean"},
7194Format: "",
7195},
7196},
7197},
7198Required: []string{"organization"},
7199},
7200},
7201Dependencies: []string{
7202"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
7203}
7204}
7205
7206func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitlab(ref common.ReferenceCallback) common.OpenAPIDefinition {
7207return common.OpenAPIDefinition{
7208Schema: spec.Schema{
7209SchemaProps: spec.SchemaProps{
7210Description: "SCMProviderGeneratorGitlab defines connection info specific to Gitlab.",
7211Type: []string{"object"},
7212Properties: map[string]spec.Schema{
7213"group": {
7214SchemaProps: spec.SchemaProps{
7215Description: "Gitlab group to scan. Required. You can use either the project id (recommended) or the full namespaced path.",
7216Default: "",
7217Type: []string{"string"},
7218Format: "",
7219},
7220},
7221"includeSubgroups": {
7222SchemaProps: spec.SchemaProps{
7223Description: "Recurse through subgroups (true) or scan only the base group (false). Defaults to \"false\"",
7224Type: []string{"boolean"},
7225Format: "",
7226},
7227},
7228"api": {
7229SchemaProps: spec.SchemaProps{
7230Description: "The Gitlab API URL to talk to.",
7231Type: []string{"string"},
7232Format: "",
7233},
7234},
7235"tokenRef": {
7236SchemaProps: spec.SchemaProps{
7237Description: "Authentication token reference.",
7238Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
7239},
7240},
7241"allBranches": {
7242SchemaProps: spec.SchemaProps{
7243Description: "Scan all branches instead of just the default branch.",
7244Type: []string{"boolean"},
7245Format: "",
7246},
7247},
7248"insecure": {
7249SchemaProps: spec.SchemaProps{
7250Description: "Skips validating the SCM provider's TLS certificate - useful for self-signed certificates.; default: false",
7251Type: []string{"boolean"},
7252Format: "",
7253},
7254},
7255"includeSharedProjects": {
7256SchemaProps: spec.SchemaProps{
7257Description: "When recursing through subgroups, also include shared Projects (true) or scan only the subgroups under same path (false). Defaults to \"true\"",
7258Type: []string{"boolean"},
7259Format: "",
7260},
7261},
7262"topic": {
7263SchemaProps: spec.SchemaProps{
7264Description: "Filter repos list based on Gitlab Topic.",
7265Type: []string{"string"},
7266Format: "",
7267},
7268},
7269},
7270Required: []string{"group"},
7271},
7272},
7273Dependencies: []string{
7274"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
7275}
7276}
7277
7278func schema_pkg_apis_application_v1alpha1_SecretRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
7279return common.OpenAPIDefinition{
7280Schema: spec.Schema{
7281SchemaProps: spec.SchemaProps{
7282Description: "Utility struct for a reference to a secret key.",
7283Type: []string{"object"},
7284Properties: map[string]spec.Schema{
7285"secretName": {
7286SchemaProps: spec.SchemaProps{
7287Default: "",
7288Type: []string{"string"},
7289Format: "",
7290},
7291},
7292"key": {
7293SchemaProps: spec.SchemaProps{
7294Default: "",
7295Type: []string{"string"},
7296Format: "",
7297},
7298},
7299},
7300Required: []string{"secretName", "key"},
7301},
7302},
7303}
7304}
7305
7306func schema_pkg_apis_application_v1alpha1_SignatureKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
7307return common.OpenAPIDefinition{
7308Schema: spec.Schema{
7309SchemaProps: spec.SchemaProps{
7310Description: "SignatureKey is the specification of a key required to verify commit signatures with",
7311Type: []string{"object"},
7312Properties: map[string]spec.Schema{
7313"keyID": {
7314SchemaProps: spec.SchemaProps{
7315Description: "The ID of the key in hexadecimal notation",
7316Default: "",
7317Type: []string{"string"},
7318Format: "",
7319},
7320},
7321},
7322Required: []string{"keyID"},
7323},
7324},
7325}
7326}
7327
7328func schema_pkg_apis_application_v1alpha1_SyncOperation(ref common.ReferenceCallback) common.OpenAPIDefinition {
7329return common.OpenAPIDefinition{
7330Schema: spec.Schema{
7331SchemaProps: spec.SchemaProps{
7332Description: "SyncOperation contains details about a sync operation.",
7333Type: []string{"object"},
7334Properties: map[string]spec.Schema{
7335"revision": {
7336SchemaProps: spec.SchemaProps{
7337Description: "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.",
7338Type: []string{"string"},
7339Format: "",
7340},
7341},
7342"prune": {
7343SchemaProps: spec.SchemaProps{
7344Description: "Prune specifies to delete resources from the cluster that are no longer tracked in git",
7345Type: []string{"boolean"},
7346Format: "",
7347},
7348},
7349"dryRun": {
7350SchemaProps: spec.SchemaProps{
7351Description: "DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync",
7352Type: []string{"boolean"},
7353Format: "",
7354},
7355},
7356"syncStrategy": {
7357SchemaProps: spec.SchemaProps{
7358Description: "SyncStrategy describes how to perform the sync",
7359Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategy"),
7360},
7361},
7362"resources": {
7363SchemaProps: spec.SchemaProps{
7364Description: "Resources describes which resources shall be part of the sync",
7365Type: []string{"array"},
7366Items: &spec.SchemaOrArray{
7367Schema: &spec.Schema{
7368SchemaProps: spec.SchemaProps{
7369Default: map[string]interface{}{},
7370Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResource"),
7371},
7372},
7373},
7374},
7375},
7376"source": {
7377SchemaProps: spec.SchemaProps{
7378Description: "Source overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation",
7379Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7380},
7381},
7382"manifests": {
7383SchemaProps: spec.SchemaProps{
7384Description: "Manifests is an optional field that overrides sync source with a local directory for development",
7385Type: []string{"array"},
7386Items: &spec.SchemaOrArray{
7387Schema: &spec.Schema{
7388SchemaProps: spec.SchemaProps{
7389Default: "",
7390Type: []string{"string"},
7391Format: "",
7392},
7393},
7394},
7395},
7396},
7397"syncOptions": {
7398SchemaProps: spec.SchemaProps{
7399Description: "SyncOptions provide per-sync sync-options, e.g. Validate=false",
7400Type: []string{"array"},
7401Items: &spec.SchemaOrArray{
7402Schema: &spec.Schema{
7403SchemaProps: spec.SchemaProps{
7404Default: "",
7405Type: []string{"string"},
7406Format: "",
7407},
7408},
7409},
7410},
7411},
7412"sources": {
7413SchemaProps: spec.SchemaProps{
7414Description: "Sources overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation",
7415Type: []string{"array"},
7416Items: &spec.SchemaOrArray{
7417Schema: &spec.Schema{
7418SchemaProps: spec.SchemaProps{
7419Default: map[string]interface{}{},
7420Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7421},
7422},
7423},
7424},
7425},
7426"revisions": {
7427SchemaProps: spec.SchemaProps{
7428Description: "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.",
7429Type: []string{"array"},
7430Items: &spec.SchemaOrArray{
7431Schema: &spec.Schema{
7432SchemaProps: spec.SchemaProps{
7433Default: "",
7434Type: []string{"string"},
7435Format: "",
7436},
7437},
7438},
7439},
7440},
7441},
7442},
7443},
7444Dependencies: []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
7449func schema_pkg_apis_application_v1alpha1_SyncOperationResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
7450return common.OpenAPIDefinition{
7451Schema: spec.Schema{
7452SchemaProps: spec.SchemaProps{
7453Description: "SyncOperationResource contains resources to sync.",
7454Type: []string{"object"},
7455Properties: map[string]spec.Schema{
7456"group": {
7457SchemaProps: spec.SchemaProps{
7458Type: []string{"string"},
7459Format: "",
7460},
7461},
7462"kind": {
7463SchemaProps: spec.SchemaProps{
7464Default: "",
7465Type: []string{"string"},
7466Format: "",
7467},
7468},
7469"name": {
7470SchemaProps: spec.SchemaProps{
7471Default: "",
7472Type: []string{"string"},
7473Format: "",
7474},
7475},
7476"namespace": {
7477SchemaProps: spec.SchemaProps{
7478Type: []string{"string"},
7479Format: "",
7480},
7481},
7482},
7483Required: []string{"kind", "name"},
7484},
7485},
7486}
7487}
7488
7489func schema_pkg_apis_application_v1alpha1_SyncOperationResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
7490return common.OpenAPIDefinition{
7491Schema: spec.Schema{
7492SchemaProps: spec.SchemaProps{
7493Description: "SyncOperationResult represent result of sync operation",
7494Type: []string{"object"},
7495Properties: map[string]spec.Schema{
7496"resources": {
7497SchemaProps: spec.SchemaProps{
7498Description: "Resources contains a list of sync result items for each individual resource in a sync operation",
7499Type: []string{"array"},
7500Items: &spec.SchemaOrArray{
7501Schema: &spec.Schema{
7502SchemaProps: spec.SchemaProps{
7503Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceResult"),
7504},
7505},
7506},
7507},
7508},
7509"revision": {
7510SchemaProps: spec.SchemaProps{
7511Description: "Revision holds the revision this sync operation was performed to",
7512Default: "",
7513Type: []string{"string"},
7514Format: "",
7515},
7516},
7517"source": {
7518SchemaProps: spec.SchemaProps{
7519Description: "Source records the application source information of the sync, used for comparing auto-sync",
7520Default: map[string]interface{}{},
7521Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7522},
7523},
7524"sources": {
7525SchemaProps: spec.SchemaProps{
7526Description: "Source records the application source information of the sync, used for comparing auto-sync",
7527Type: []string{"array"},
7528Items: &spec.SchemaOrArray{
7529Schema: &spec.Schema{
7530SchemaProps: spec.SchemaProps{
7531Default: map[string]interface{}{},
7532Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
7533},
7534},
7535},
7536},
7537},
7538"revisions": {
7539SchemaProps: spec.SchemaProps{
7540Description: "Revisions holds the revision this sync operation was performed for respective indexed source in sources field",
7541Type: []string{"array"},
7542Items: &spec.SchemaOrArray{
7543Schema: &spec.Schema{
7544SchemaProps: spec.SchemaProps{
7545Default: "",
7546Type: []string{"string"},
7547Format: "",
7548},
7549},
7550},
7551},
7552},
7553"managedNamespaceMetadata": {
7554SchemaProps: spec.SchemaProps{
7555Description: "ManagedNamespaceMetadata contains the current sync state of managed namespace metadata",
7556Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata"),
7557},
7558},
7559},
7560Required: []string{"revision"},
7561},
7562},
7563Dependencies: []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
7568func schema_pkg_apis_application_v1alpha1_SyncPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
7569return common.OpenAPIDefinition{
7570Schema: spec.Schema{
7571SchemaProps: spec.SchemaProps{
7572Description: "SyncPolicy controls when a sync will be performed in response to updates in git",
7573Type: []string{"object"},
7574Properties: map[string]spec.Schema{
7575"automated": {
7576SchemaProps: spec.SchemaProps{
7577Description: "Automated will keep an application synced to the target revision",
7578Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicyAutomated"),
7579},
7580},
7581"syncOptions": {
7582SchemaProps: spec.SchemaProps{
7583Description: "Options allow you to specify whole app sync-options",
7584Type: []string{"array"},
7585Items: &spec.SchemaOrArray{
7586Schema: &spec.Schema{
7587SchemaProps: spec.SchemaProps{
7588Default: "",
7589Type: []string{"string"},
7590Format: "",
7591},
7592},
7593},
7594},
7595},
7596"retry": {
7597SchemaProps: spec.SchemaProps{
7598Description: "Retry controls failed sync retry behavior",
7599Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy"),
7600},
7601},
7602"managedNamespaceMetadata": {
7603SchemaProps: spec.SchemaProps{
7604Description: "ManagedNamespaceMetadata controls metadata in the given namespace (if CreateNamespace=true)",
7605Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata"),
7606},
7607},
7608},
7609},
7610},
7611Dependencies: []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
7616func schema_pkg_apis_application_v1alpha1_SyncPolicyAutomated(ref common.ReferenceCallback) common.OpenAPIDefinition {
7617return common.OpenAPIDefinition{
7618Schema: spec.Schema{
7619SchemaProps: spec.SchemaProps{
7620Description: "SyncPolicyAutomated controls the behavior of an automated sync",
7621Type: []string{"object"},
7622Properties: map[string]spec.Schema{
7623"prune": {
7624SchemaProps: spec.SchemaProps{
7625Description: "Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)",
7626Type: []string{"boolean"},
7627Format: "",
7628},
7629},
7630"selfHeal": {
7631SchemaProps: spec.SchemaProps{
7632Description: "SelfHeal specifies whether to revert resources back to their desired state upon modification in the cluster (default: false)",
7633Type: []string{"boolean"},
7634Format: "",
7635},
7636},
7637"allowEmpty": {
7638SchemaProps: spec.SchemaProps{
7639Description: "AllowEmpty allows apps have zero live resources (default: false)",
7640Type: []string{"boolean"},
7641Format: "",
7642},
7643},
7644},
7645},
7646},
7647}
7648}
7649
7650func schema_pkg_apis_application_v1alpha1_SyncStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
7651return common.OpenAPIDefinition{
7652Schema: spec.Schema{
7653SchemaProps: spec.SchemaProps{
7654Description: "SyncStatus contains information about the currently observed live and desired states of an application",
7655Type: []string{"object"},
7656Properties: map[string]spec.Schema{
7657"status": {
7658SchemaProps: spec.SchemaProps{
7659Description: "Status is the sync state of the comparison",
7660Default: "",
7661Type: []string{"string"},
7662Format: "",
7663},
7664},
7665"comparedTo": {
7666SchemaProps: spec.SchemaProps{
7667Description: "ComparedTo contains information about what has been compared",
7668Default: map[string]interface{}{},
7669Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo"),
7670},
7671},
7672"revision": {
7673SchemaProps: spec.SchemaProps{
7674Description: "Revision contains information about the revision the comparison has been performed to",
7675Type: []string{"string"},
7676Format: "",
7677},
7678},
7679"revisions": {
7680SchemaProps: spec.SchemaProps{
7681Description: "Revisions contains information about the revisions of multiple sources the comparison has been performed to",
7682Type: []string{"array"},
7683Items: &spec.SchemaOrArray{
7684Schema: &spec.Schema{
7685SchemaProps: spec.SchemaProps{
7686Default: "",
7687Type: []string{"string"},
7688Format: "",
7689},
7690},
7691},
7692},
7693},
7694},
7695Required: []string{"status"},
7696},
7697},
7698Dependencies: []string{
7699"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo"},
7700}
7701}
7702
7703func schema_pkg_apis_application_v1alpha1_SyncStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
7704return common.OpenAPIDefinition{
7705Schema: spec.Schema{
7706SchemaProps: spec.SchemaProps{
7707Description: "SyncStrategy controls the manner in which a sync is performed",
7708Type: []string{"object"},
7709Properties: map[string]spec.Schema{
7710"apply": {
7711SchemaProps: spec.SchemaProps{
7712Description: "Apply will perform a `kubectl apply` to perform the sync.",
7713Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyApply"),
7714},
7715},
7716"hook": {
7717SchemaProps: spec.SchemaProps{
7718Description: "Hook will submit any referenced resources to perform the sync. This is the default strategy",
7719Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyHook"),
7720},
7721},
7722},
7723},
7724},
7725Dependencies: []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
7730func schema_pkg_apis_application_v1alpha1_SyncStrategyApply(ref common.ReferenceCallback) common.OpenAPIDefinition {
7731return common.OpenAPIDefinition{
7732Schema: spec.Schema{
7733SchemaProps: spec.SchemaProps{
7734Description: "SyncStrategyApply uses `kubectl apply` to perform the apply",
7735Type: []string{"object"},
7736Properties: map[string]spec.Schema{
7737"force": {
7738SchemaProps: spec.SchemaProps{
7739Description: "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.",
7740Type: []string{"boolean"},
7741Format: "",
7742},
7743},
7744},
7745},
7746},
7747}
7748}
7749
7750func schema_pkg_apis_application_v1alpha1_SyncStrategyHook(ref common.ReferenceCallback) common.OpenAPIDefinition {
7751return common.OpenAPIDefinition{
7752Schema: spec.Schema{
7753SchemaProps: spec.SchemaProps{
7754Description: "SyncStrategyHook will perform a sync using hooks annotations. If no hook annotation is specified falls back to `kubectl apply`.",
7755Type: []string{"object"},
7756Properties: map[string]spec.Schema{
7757"force": {
7758SchemaProps: spec.SchemaProps{
7759Description: "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.",
7760Type: []string{"boolean"},
7761Format: "",
7762},
7763},
7764},
7765},
7766},
7767}
7768}
7769
7770func schema_pkg_apis_application_v1alpha1_SyncWindow(ref common.ReferenceCallback) common.OpenAPIDefinition {
7771return common.OpenAPIDefinition{
7772Schema: spec.Schema{
7773SchemaProps: spec.SchemaProps{
7774Description: "SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps",
7775Type: []string{"object"},
7776Properties: map[string]spec.Schema{
7777"kind": {
7778SchemaProps: spec.SchemaProps{
7779Description: "Kind defines if the window allows or blocks syncs",
7780Type: []string{"string"},
7781Format: "",
7782},
7783},
7784"schedule": {
7785SchemaProps: spec.SchemaProps{
7786Description: "Schedule is the time the window will begin, specified in cron format",
7787Type: []string{"string"},
7788Format: "",
7789},
7790},
7791"duration": {
7792SchemaProps: spec.SchemaProps{
7793Description: "Duration is the amount of time the sync window will be open",
7794Type: []string{"string"},
7795Format: "",
7796},
7797},
7798"applications": {
7799SchemaProps: spec.SchemaProps{
7800Description: "Applications contains a list of applications that the window will apply to",
7801Type: []string{"array"},
7802Items: &spec.SchemaOrArray{
7803Schema: &spec.Schema{
7804SchemaProps: spec.SchemaProps{
7805Default: "",
7806Type: []string{"string"},
7807Format: "",
7808},
7809},
7810},
7811},
7812},
7813"namespaces": {
7814SchemaProps: spec.SchemaProps{
7815Description: "Namespaces contains a list of namespaces that the window will apply to",
7816Type: []string{"array"},
7817Items: &spec.SchemaOrArray{
7818Schema: &spec.Schema{
7819SchemaProps: spec.SchemaProps{
7820Default: "",
7821Type: []string{"string"},
7822Format: "",
7823},
7824},
7825},
7826},
7827},
7828"clusters": {
7829SchemaProps: spec.SchemaProps{
7830Description: "Clusters contains a list of clusters that the window will apply to",
7831Type: []string{"array"},
7832Items: &spec.SchemaOrArray{
7833Schema: &spec.Schema{
7834SchemaProps: spec.SchemaProps{
7835Default: "",
7836Type: []string{"string"},
7837Format: "",
7838},
7839},
7840},
7841},
7842},
7843"manualSync": {
7844SchemaProps: spec.SchemaProps{
7845Description: "ManualSync enables manual syncs when they would otherwise be blocked",
7846Type: []string{"boolean"},
7847Format: "",
7848},
7849},
7850"timeZone": {
7851SchemaProps: spec.SchemaProps{
7852Description: "TimeZone of the sync that will be applied to the schedule",
7853Type: []string{"string"},
7854Format: "",
7855},
7856},
7857},
7858},
7859},
7860}
7861}
7862
7863func schema_pkg_apis_application_v1alpha1_TLSClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
7864return common.OpenAPIDefinition{
7865Schema: spec.Schema{
7866SchemaProps: spec.SchemaProps{
7867Description: "TLSClientConfig contains settings to enable transport layer security",
7868Type: []string{"object"},
7869Properties: map[string]spec.Schema{
7870"insecure": {
7871SchemaProps: spec.SchemaProps{
7872Description: "Insecure specifies that the server should be accessed without verifying the TLS certificate. For testing only.",
7873Default: false,
7874Type: []string{"boolean"},
7875Format: "",
7876},
7877},
7878"serverName": {
7879SchemaProps: spec.SchemaProps{
7880Description: "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.",
7881Type: []string{"string"},
7882Format: "",
7883},
7884},
7885"certData": {
7886SchemaProps: spec.SchemaProps{
7887Description: "CertData holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile",
7888Type: []string{"string"},
7889Format: "byte",
7890},
7891},
7892"keyData": {
7893SchemaProps: spec.SchemaProps{
7894Description: "KeyData holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile",
7895Type: []string{"string"},
7896Format: "byte",
7897},
7898},
7899"caData": {
7900SchemaProps: spec.SchemaProps{
7901Description: "CAData holds PEM-encoded bytes (typically read from a root certificates bundle). CAData takes precedence over CAFile",
7902Type: []string{"string"},
7903Format: "byte",
7904},
7905},
7906},
7907Required: []string{"insecure"},
7908},
7909},
7910}
7911}
7912
7913func schema_pkg_apis_application_v1alpha1_TagFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
7914return common.OpenAPIDefinition{
7915Schema: spec.Schema{
7916SchemaProps: spec.SchemaProps{
7917Type: []string{"object"},
7918Properties: map[string]spec.Schema{
7919"key": {
7920SchemaProps: spec.SchemaProps{
7921Default: "",
7922Type: []string{"string"},
7923Format: "",
7924},
7925},
7926"value": {
7927SchemaProps: spec.SchemaProps{
7928Type: []string{"string"},
7929Format: "",
7930},
7931},
7932},
7933Required: []string{"key"},
7934},
7935},
7936}
7937}
7938
7939func schema_pkg_apis_application_v1alpha1_objectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
7940return common.OpenAPIDefinition{
7941Schema: spec.Schema{
7942SchemaProps: spec.SchemaProps{
7943Description: "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).",
7944Type: []string{"object"},
7945Properties: map[string]spec.Schema{
7946"Name": {
7947SchemaProps: spec.SchemaProps{
7948Type: []string{"string"},
7949Format: "",
7950},
7951},
7952},
7953Required: []string{"Name"},
7954},
7955},
7956}
7957}
7958
7959func schema_pkg_apis_application_v1alpha1_rawResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition {
7960return common.OpenAPIDefinition{
7961Schema: spec.Schema{
7962SchemaProps: spec.SchemaProps{
7963Type: []string{"object"},
7964Properties: map[string]spec.Schema{
7965"health.lua": {
7966SchemaProps: spec.SchemaProps{
7967Type: []string{"string"},
7968Format: "",
7969},
7970},
7971"health.lua.useOpenLibs": {
7972SchemaProps: spec.SchemaProps{
7973Type: []string{"boolean"},
7974Format: "",
7975},
7976},
7977"actions": {
7978SchemaProps: spec.SchemaProps{
7979Type: []string{"string"},
7980Format: "",
7981},
7982},
7983"ignoreDifferences": {
7984SchemaProps: spec.SchemaProps{
7985Type: []string{"string"},
7986Format: "",
7987},
7988},
7989"ignoreResourceUpdates": {
7990SchemaProps: spec.SchemaProps{
7991Type: []string{"string"},
7992Format: "",
7993},
7994},
7995"knownTypeFields": {
7996SchemaProps: spec.SchemaProps{
7997Type: []string{"array"},
7998Items: &spec.SchemaOrArray{
7999Schema: &spec.Schema{
8000SchemaProps: spec.SchemaProps{
8001Default: map[string]interface{}{},
8002Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"),
8003},
8004},
8005},
8006},
8007},
8008},
8009},
8010},
8011Dependencies: []string{
8012"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"},
8013}
8014}
8015