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