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