github.com/argoproj/argo-cd@v1.8.7/pkg/apis/application/v1alpha1/openapi_generated.go (about) 1 // +build !ignore_autogenerated 2 3 // Code generated by openapi-gen. DO NOT EDIT. 4 5 // This file was autogenerated by openapi-gen. Do not edit it manually! 6 7 package v1alpha1 8 9 import ( 10 spec "github.com/go-openapi/spec" 11 common "k8s.io/kube-openapi/pkg/common" 12 ) 13 14 func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { 15 return map[string]common.OpenAPIDefinition{ 16 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AWSAuthConfig": schema_pkg_apis_application_v1alpha1_AWSAuthConfig(ref), 17 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProject": schema_pkg_apis_application_v1alpha1_AppProject(ref), 18 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProjectList": schema_pkg_apis_application_v1alpha1_AppProjectList(ref), 19 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProjectSpec": schema_pkg_apis_application_v1alpha1_AppProjectSpec(ref), 20 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProjectStatus": schema_pkg_apis_application_v1alpha1_AppProjectStatus(ref), 21 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Application": schema_pkg_apis_application_v1alpha1_Application(ref), 22 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationCondition": schema_pkg_apis_application_v1alpha1_ApplicationCondition(ref), 23 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationDestination": schema_pkg_apis_application_v1alpha1_ApplicationDestination(ref), 24 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationList": schema_pkg_apis_application_v1alpha1_ApplicationList(ref), 25 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource": schema_pkg_apis_application_v1alpha1_ApplicationSource(ref), 26 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceDirectory": schema_pkg_apis_application_v1alpha1_ApplicationSourceDirectory(ref), 27 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceHelm": schema_pkg_apis_application_v1alpha1_ApplicationSourceHelm(ref), 28 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet": schema_pkg_apis_application_v1alpha1_ApplicationSourceJsonnet(ref), 29 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceKsonnet": schema_pkg_apis_application_v1alpha1_ApplicationSourceKsonnet(ref), 30 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceKustomize": schema_pkg_apis_application_v1alpha1_ApplicationSourceKustomize(ref), 31 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourcePlugin": schema_pkg_apis_application_v1alpha1_ApplicationSourcePlugin(ref), 32 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSpec": schema_pkg_apis_application_v1alpha1_ApplicationSpec(ref), 33 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationStatus": schema_pkg_apis_application_v1alpha1_ApplicationStatus(ref), 34 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSummary": schema_pkg_apis_application_v1alpha1_ApplicationSummary(ref), 35 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationTree": schema_pkg_apis_application_v1alpha1_ApplicationTree(ref), 36 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationWatchEvent": schema_pkg_apis_application_v1alpha1_ApplicationWatchEvent(ref), 37 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Backoff": schema_pkg_apis_application_v1alpha1_Backoff(ref), 38 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Cluster": schema_pkg_apis_application_v1alpha1_Cluster(ref), 39 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterCacheInfo": schema_pkg_apis_application_v1alpha1_ClusterCacheInfo(ref), 40 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterConfig": schema_pkg_apis_application_v1alpha1_ClusterConfig(ref), 41 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterInfo": schema_pkg_apis_application_v1alpha1_ClusterInfo(ref), 42 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterList": schema_pkg_apis_application_v1alpha1_ClusterList(ref), 43 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Command": schema_pkg_apis_application_v1alpha1_Command(ref), 44 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ComparedTo": schema_pkg_apis_application_v1alpha1_ComparedTo(ref), 45 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ComponentParameter": schema_pkg_apis_application_v1alpha1_ComponentParameter(ref), 46 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConfigManagementPlugin": schema_pkg_apis_application_v1alpha1_ConfigManagementPlugin(ref), 47 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConnectionState": schema_pkg_apis_application_v1alpha1_ConnectionState(ref), 48 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.EnvEntry": schema_pkg_apis_application_v1alpha1_EnvEntry(ref), 49 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ExecProviderConfig": schema_pkg_apis_application_v1alpha1_ExecProviderConfig(ref), 50 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.GnuPGPublicKey": schema_pkg_apis_application_v1alpha1_GnuPGPublicKey(ref), 51 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.GnuPGPublicKeyList": schema_pkg_apis_application_v1alpha1_GnuPGPublicKeyList(ref), 52 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HealthStatus": schema_pkg_apis_application_v1alpha1_HealthStatus(ref), 53 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HelmFileParameter": schema_pkg_apis_application_v1alpha1_HelmFileParameter(ref), 54 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HelmParameter": schema_pkg_apis_application_v1alpha1_HelmParameter(ref), 55 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Info": schema_pkg_apis_application_v1alpha1_Info(ref), 56 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.InfoItem": schema_pkg_apis_application_v1alpha1_InfoItem(ref), 57 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTToken": schema_pkg_apis_application_v1alpha1_JWTToken(ref), 58 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTTokens": schema_pkg_apis_application_v1alpha1_JWTTokens(ref), 59 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JsonnetVar": schema_pkg_apis_application_v1alpha1_JsonnetVar(ref), 60 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KnownTypeField": schema_pkg_apis_application_v1alpha1_KnownTypeField(ref), 61 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KsonnetParameter": schema_pkg_apis_application_v1alpha1_KsonnetParameter(ref), 62 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KustomizeOptions": schema_pkg_apis_application_v1alpha1_KustomizeOptions(ref), 63 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Operation": schema_pkg_apis_application_v1alpha1_Operation(ref), 64 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OperationInitiator": schema_pkg_apis_application_v1alpha1_OperationInitiator(ref), 65 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OperationState": schema_pkg_apis_application_v1alpha1_OperationState(ref), 66 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OrphanedResourceKey": schema_pkg_apis_application_v1alpha1_OrphanedResourceKey(ref), 67 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings": schema_pkg_apis_application_v1alpha1_OrphanedResourcesMonitorSettings(ref), 68 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OverrideIgnoreDiff": schema_pkg_apis_application_v1alpha1_OverrideIgnoreDiff(ref), 69 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ProjectRole": schema_pkg_apis_application_v1alpha1_ProjectRole(ref), 70 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepoCreds": schema_pkg_apis_application_v1alpha1_RepoCreds(ref), 71 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepoCredsList": schema_pkg_apis_application_v1alpha1_RepoCredsList(ref), 72 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Repository": schema_pkg_apis_application_v1alpha1_Repository(ref), 73 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepositoryCertificate": schema_pkg_apis_application_v1alpha1_RepositoryCertificate(ref), 74 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepositoryCertificateList": schema_pkg_apis_application_v1alpha1_RepositoryCertificateList(ref), 75 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepositoryList": schema_pkg_apis_application_v1alpha1_RepositoryList(ref), 76 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceAction": schema_pkg_apis_application_v1alpha1_ResourceAction(ref), 77 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceActionDefinition": schema_pkg_apis_application_v1alpha1_ResourceActionDefinition(ref), 78 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceActionParam": schema_pkg_apis_application_v1alpha1_ResourceActionParam(ref), 79 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceActions": schema_pkg_apis_application_v1alpha1_ResourceActions(ref), 80 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceDiff": schema_pkg_apis_application_v1alpha1_ResourceDiff(ref), 81 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences": schema_pkg_apis_application_v1alpha1_ResourceIgnoreDifferences(ref), 82 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceNetworkingInfo": schema_pkg_apis_application_v1alpha1_ResourceNetworkingInfo(ref), 83 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceNode": schema_pkg_apis_application_v1alpha1_ResourceNode(ref), 84 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceOverride": schema_pkg_apis_application_v1alpha1_ResourceOverride(ref), 85 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceRef": schema_pkg_apis_application_v1alpha1_ResourceRef(ref), 86 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceResult": schema_pkg_apis_application_v1alpha1_ResourceResult(ref), 87 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceStatus": schema_pkg_apis_application_v1alpha1_ResourceStatus(ref), 88 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RetryStrategy": schema_pkg_apis_application_v1alpha1_RetryStrategy(ref), 89 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RevisionHistory": schema_pkg_apis_application_v1alpha1_RevisionHistory(ref), 90 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RevisionMetadata": schema_pkg_apis_application_v1alpha1_RevisionMetadata(ref), 91 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SignatureKey": schema_pkg_apis_application_v1alpha1_SignatureKey(ref), 92 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperation": schema_pkg_apis_application_v1alpha1_SyncOperation(ref), 93 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperationResource": schema_pkg_apis_application_v1alpha1_SyncOperationResource(ref), 94 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperationResult": schema_pkg_apis_application_v1alpha1_SyncOperationResult(ref), 95 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncPolicy": schema_pkg_apis_application_v1alpha1_SyncPolicy(ref), 96 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncPolicyAutomated": schema_pkg_apis_application_v1alpha1_SyncPolicyAutomated(ref), 97 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStatus": schema_pkg_apis_application_v1alpha1_SyncStatus(ref), 98 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategy": schema_pkg_apis_application_v1alpha1_SyncStrategy(ref), 99 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategyApply": schema_pkg_apis_application_v1alpha1_SyncStrategyApply(ref), 100 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategyHook": schema_pkg_apis_application_v1alpha1_SyncStrategyHook(ref), 101 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncWindow": schema_pkg_apis_application_v1alpha1_SyncWindow(ref), 102 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.TLSClientConfig": schema_pkg_apis_application_v1alpha1_TLSClientConfig(ref), 103 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.objectMeta": schema_pkg_apis_application_v1alpha1_objectMeta(ref), 104 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.rawResourceOverride": schema_pkg_apis_application_v1alpha1_rawResourceOverride(ref), 105 } 106 } 107 108 func schema_pkg_apis_application_v1alpha1_AWSAuthConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 109 return common.OpenAPIDefinition{ 110 Schema: spec.Schema{ 111 SchemaProps: spec.SchemaProps{ 112 Description: "AWSAuthConfig is an AWS IAM authentication configuration", 113 Type: []string{"object"}, 114 Properties: map[string]spec.Schema{ 115 "clusterName": { 116 SchemaProps: spec.SchemaProps{ 117 Description: "ClusterName contains AWS cluster name", 118 Type: []string{"string"}, 119 Format: "", 120 }, 121 }, 122 "roleARN": { 123 SchemaProps: spec.SchemaProps{ 124 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.", 125 Type: []string{"string"}, 126 Format: "", 127 }, 128 }, 129 }, 130 }, 131 }, 132 } 133 } 134 135 func schema_pkg_apis_application_v1alpha1_AppProject(ref common.ReferenceCallback) common.OpenAPIDefinition { 136 return common.OpenAPIDefinition{ 137 Schema: spec.Schema{ 138 SchemaProps: spec.SchemaProps{ 139 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)", 140 Type: []string{"object"}, 141 Properties: map[string]spec.Schema{ 142 "kind": { 143 SchemaProps: spec.SchemaProps{ 144 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", 145 Type: []string{"string"}, 146 Format: "", 147 }, 148 }, 149 "apiVersion": { 150 SchemaProps: spec.SchemaProps{ 151 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", 152 Type: []string{"string"}, 153 Format: "", 154 }, 155 }, 156 "metadata": { 157 SchemaProps: spec.SchemaProps{ 158 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 159 }, 160 }, 161 "spec": { 162 SchemaProps: spec.SchemaProps{ 163 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProjectSpec"), 164 }, 165 }, 166 "status": { 167 SchemaProps: spec.SchemaProps{ 168 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProjectStatus"), 169 }, 170 }, 171 }, 172 Required: []string{"metadata", "spec"}, 173 }, 174 }, 175 Dependencies: []string{ 176 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProjectSpec", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProjectStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 177 } 178 } 179 180 func schema_pkg_apis_application_v1alpha1_AppProjectList(ref common.ReferenceCallback) common.OpenAPIDefinition { 181 return common.OpenAPIDefinition{ 182 Schema: spec.Schema{ 183 SchemaProps: spec.SchemaProps{ 184 Description: "AppProjectList is list of AppProject resources", 185 Type: []string{"object"}, 186 Properties: map[string]spec.Schema{ 187 "kind": { 188 SchemaProps: spec.SchemaProps{ 189 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", 190 Type: []string{"string"}, 191 Format: "", 192 }, 193 }, 194 "apiVersion": { 195 SchemaProps: spec.SchemaProps{ 196 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", 197 Type: []string{"string"}, 198 Format: "", 199 }, 200 }, 201 "metadata": { 202 SchemaProps: spec.SchemaProps{ 203 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 204 }, 205 }, 206 "items": { 207 SchemaProps: spec.SchemaProps{ 208 Type: []string{"array"}, 209 Items: &spec.SchemaOrArray{ 210 Schema: &spec.Schema{ 211 SchemaProps: spec.SchemaProps{ 212 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProject"), 213 }, 214 }, 215 }, 216 }, 217 }, 218 }, 219 Required: []string{"metadata", "items"}, 220 }, 221 }, 222 Dependencies: []string{ 223 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AppProject", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 224 } 225 } 226 227 func schema_pkg_apis_application_v1alpha1_AppProjectSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 228 return common.OpenAPIDefinition{ 229 Schema: spec.Schema{ 230 SchemaProps: spec.SchemaProps{ 231 Description: "AppProjectSpec is the specification of an AppProject", 232 Type: []string{"object"}, 233 Properties: map[string]spec.Schema{ 234 "sourceRepos": { 235 SchemaProps: spec.SchemaProps{ 236 Description: "SourceRepos contains list of repository URLs which can be used for deployment", 237 Type: []string{"array"}, 238 Items: &spec.SchemaOrArray{ 239 Schema: &spec.Schema{ 240 SchemaProps: spec.SchemaProps{ 241 Type: []string{"string"}, 242 Format: "", 243 }, 244 }, 245 }, 246 }, 247 }, 248 "destinations": { 249 SchemaProps: spec.SchemaProps{ 250 Description: "Destinations contains list of destinations available for deployment", 251 Type: []string{"array"}, 252 Items: &spec.SchemaOrArray{ 253 Schema: &spec.Schema{ 254 SchemaProps: spec.SchemaProps{ 255 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationDestination"), 256 }, 257 }, 258 }, 259 }, 260 }, 261 "description": { 262 SchemaProps: spec.SchemaProps{ 263 Description: "Description contains optional project description", 264 Type: []string{"string"}, 265 Format: "", 266 }, 267 }, 268 "roles": { 269 SchemaProps: spec.SchemaProps{ 270 Description: "Roles are user defined RBAC roles associated with this project", 271 Type: []string{"array"}, 272 Items: &spec.SchemaOrArray{ 273 Schema: &spec.Schema{ 274 SchemaProps: spec.SchemaProps{ 275 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ProjectRole"), 276 }, 277 }, 278 }, 279 }, 280 }, 281 "clusterResourceWhitelist": { 282 SchemaProps: spec.SchemaProps{ 283 Description: "ClusterResourceWhitelist contains list of whitelisted cluster level resources", 284 Type: []string{"array"}, 285 Items: &spec.SchemaOrArray{ 286 Schema: &spec.Schema{ 287 SchemaProps: spec.SchemaProps{ 288 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"), 289 }, 290 }, 291 }, 292 }, 293 }, 294 "namespaceResourceBlacklist": { 295 SchemaProps: spec.SchemaProps{ 296 Description: "NamespaceResourceBlacklist contains list of blacklisted namespace level resources", 297 Type: []string{"array"}, 298 Items: &spec.SchemaOrArray{ 299 Schema: &spec.Schema{ 300 SchemaProps: spec.SchemaProps{ 301 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"), 302 }, 303 }, 304 }, 305 }, 306 }, 307 "orphanedResources": { 308 SchemaProps: spec.SchemaProps{ 309 Description: "OrphanedResources specifies if controller should monitor orphaned resources of apps in this project", 310 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings"), 311 }, 312 }, 313 "syncWindows": { 314 SchemaProps: spec.SchemaProps{ 315 Description: "SyncWindows controls when syncs can be run for apps in this project", 316 Type: []string{"array"}, 317 Items: &spec.SchemaOrArray{ 318 Schema: &spec.Schema{ 319 SchemaProps: spec.SchemaProps{ 320 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncWindow"), 321 }, 322 }, 323 }, 324 }, 325 }, 326 "namespaceResourceWhitelist": { 327 SchemaProps: spec.SchemaProps{ 328 Description: "NamespaceResourceWhitelist contains list of whitelisted namespace level resources", 329 Type: []string{"array"}, 330 Items: &spec.SchemaOrArray{ 331 Schema: &spec.Schema{ 332 SchemaProps: spec.SchemaProps{ 333 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"), 334 }, 335 }, 336 }, 337 }, 338 }, 339 "signatureKeys": { 340 SchemaProps: spec.SchemaProps{ 341 Description: "List of PGP key IDs that commits to be synced to must be signed with", 342 Type: []string{"array"}, 343 Items: &spec.SchemaOrArray{ 344 Schema: &spec.Schema{ 345 SchemaProps: spec.SchemaProps{ 346 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SignatureKey"), 347 }, 348 }, 349 }, 350 }, 351 }, 352 "clusterResourceBlacklist": { 353 SchemaProps: spec.SchemaProps{ 354 Description: "ClusterResourceBlacklist contains list of blacklisted cluster level resources", 355 Type: []string{"array"}, 356 Items: &spec.SchemaOrArray{ 357 Schema: &spec.Schema{ 358 SchemaProps: spec.SchemaProps{ 359 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"), 360 }, 361 }, 362 }, 363 }, 364 }, 365 }, 366 }, 367 }, 368 Dependencies: []string{ 369 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ProjectRole", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SignatureKey", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncWindow", "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"}, 370 } 371 } 372 373 func schema_pkg_apis_application_v1alpha1_AppProjectStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 374 return common.OpenAPIDefinition{ 375 Schema: spec.Schema{ 376 SchemaProps: spec.SchemaProps{ 377 Description: "AppProjectStatus contains information about appproj", 378 Type: []string{"object"}, 379 Properties: map[string]spec.Schema{ 380 "jwtTokensByRole": { 381 SchemaProps: spec.SchemaProps{ 382 Type: []string{"object"}, 383 AdditionalProperties: &spec.SchemaOrBool{ 384 Allows: true, 385 Schema: &spec.Schema{ 386 SchemaProps: spec.SchemaProps{ 387 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTTokens"), 388 }, 389 }, 390 }, 391 }, 392 }, 393 }, 394 }, 395 }, 396 Dependencies: []string{ 397 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTTokens"}, 398 } 399 } 400 401 func schema_pkg_apis_application_v1alpha1_Application(ref common.ReferenceCallback) common.OpenAPIDefinition { 402 return common.OpenAPIDefinition{ 403 Schema: spec.Schema{ 404 SchemaProps: spec.SchemaProps{ 405 Description: "Application is a definition of Application resource.", 406 Type: []string{"object"}, 407 Properties: map[string]spec.Schema{ 408 "kind": { 409 SchemaProps: spec.SchemaProps{ 410 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", 411 Type: []string{"string"}, 412 Format: "", 413 }, 414 }, 415 "apiVersion": { 416 SchemaProps: spec.SchemaProps{ 417 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", 418 Type: []string{"string"}, 419 Format: "", 420 }, 421 }, 422 "metadata": { 423 SchemaProps: spec.SchemaProps{ 424 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), 425 }, 426 }, 427 "spec": { 428 SchemaProps: spec.SchemaProps{ 429 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSpec"), 430 }, 431 }, 432 "status": { 433 SchemaProps: spec.SchemaProps{ 434 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationStatus"), 435 }, 436 }, 437 "operation": { 438 SchemaProps: spec.SchemaProps{ 439 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Operation"), 440 }, 441 }, 442 }, 443 Required: []string{"metadata", "spec"}, 444 }, 445 }, 446 Dependencies: []string{ 447 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSpec", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationStatus", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Operation", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, 448 } 449 } 450 451 func schema_pkg_apis_application_v1alpha1_ApplicationCondition(ref common.ReferenceCallback) common.OpenAPIDefinition { 452 return common.OpenAPIDefinition{ 453 Schema: spec.Schema{ 454 SchemaProps: spec.SchemaProps{ 455 Description: "ApplicationCondition contains details about current application condition", 456 Type: []string{"object"}, 457 Properties: map[string]spec.Schema{ 458 "type": { 459 SchemaProps: spec.SchemaProps{ 460 Description: "Type is an application condition type", 461 Type: []string{"string"}, 462 Format: "", 463 }, 464 }, 465 "message": { 466 SchemaProps: spec.SchemaProps{ 467 Description: "Message contains human-readable message indicating details about condition", 468 Type: []string{"string"}, 469 Format: "", 470 }, 471 }, 472 "lastTransitionTime": { 473 SchemaProps: spec.SchemaProps{ 474 Description: "LastTransitionTime is the time the condition was first observed.", 475 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 476 }, 477 }, 478 }, 479 Required: []string{"type", "message"}, 480 }, 481 }, 482 Dependencies: []string{ 483 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 484 } 485 } 486 487 func schema_pkg_apis_application_v1alpha1_ApplicationDestination(ref common.ReferenceCallback) common.OpenAPIDefinition { 488 return common.OpenAPIDefinition{ 489 Schema: spec.Schema{ 490 SchemaProps: spec.SchemaProps{ 491 Description: "ApplicationDestination contains deployment destination information", 492 Type: []string{"object"}, 493 Properties: map[string]spec.Schema{ 494 "server": { 495 SchemaProps: spec.SchemaProps{ 496 Description: "Server overrides the environment server value in the ksonnet app.yaml", 497 Type: []string{"string"}, 498 Format: "", 499 }, 500 }, 501 "namespace": { 502 SchemaProps: spec.SchemaProps{ 503 Description: "Namespace overrides the environment namespace value in the ksonnet app.yaml", 504 Type: []string{"string"}, 505 Format: "", 506 }, 507 }, 508 "name": { 509 SchemaProps: spec.SchemaProps{ 510 Description: "Name of the destination cluster which can be used instead of server (url) field", 511 Type: []string{"string"}, 512 Format: "", 513 }, 514 }, 515 }, 516 }, 517 }, 518 } 519 } 520 521 func schema_pkg_apis_application_v1alpha1_ApplicationList(ref common.ReferenceCallback) common.OpenAPIDefinition { 522 return common.OpenAPIDefinition{ 523 Schema: spec.Schema{ 524 SchemaProps: spec.SchemaProps{ 525 Description: "ApplicationList is list of Application resources", 526 Type: []string{"object"}, 527 Properties: map[string]spec.Schema{ 528 "kind": { 529 SchemaProps: spec.SchemaProps{ 530 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", 531 Type: []string{"string"}, 532 Format: "", 533 }, 534 }, 535 "apiVersion": { 536 SchemaProps: spec.SchemaProps{ 537 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", 538 Type: []string{"string"}, 539 Format: "", 540 }, 541 }, 542 "metadata": { 543 SchemaProps: spec.SchemaProps{ 544 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 545 }, 546 }, 547 "items": { 548 SchemaProps: spec.SchemaProps{ 549 Type: []string{"array"}, 550 Items: &spec.SchemaOrArray{ 551 Schema: &spec.Schema{ 552 SchemaProps: spec.SchemaProps{ 553 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Application"), 554 }, 555 }, 556 }, 557 }, 558 }, 559 }, 560 Required: []string{"metadata", "items"}, 561 }, 562 }, 563 Dependencies: []string{ 564 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Application", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 565 } 566 } 567 568 func schema_pkg_apis_application_v1alpha1_ApplicationSource(ref common.ReferenceCallback) common.OpenAPIDefinition { 569 return common.OpenAPIDefinition{ 570 Schema: spec.Schema{ 571 SchemaProps: spec.SchemaProps{ 572 Description: "ApplicationSource contains information about github repository, path within repository and target application environment.", 573 Type: []string{"object"}, 574 Properties: map[string]spec.Schema{ 575 "repoURL": { 576 SchemaProps: spec.SchemaProps{ 577 Description: "RepoURL is the repository URL of the application manifests", 578 Type: []string{"string"}, 579 Format: "", 580 }, 581 }, 582 "path": { 583 SchemaProps: spec.SchemaProps{ 584 Description: "Path is a directory path within the Git repository", 585 Type: []string{"string"}, 586 Format: "", 587 }, 588 }, 589 "targetRevision": { 590 SchemaProps: spec.SchemaProps{ 591 Description: "TargetRevision defines the commit, tag, or branch in which to sync the application to. If omitted, will sync to HEAD", 592 Type: []string{"string"}, 593 Format: "", 594 }, 595 }, 596 "helm": { 597 SchemaProps: spec.SchemaProps{ 598 Description: "Helm holds helm specific options", 599 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceHelm"), 600 }, 601 }, 602 "kustomize": { 603 SchemaProps: spec.SchemaProps{ 604 Description: "Kustomize holds kustomize specific options", 605 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceKustomize"), 606 }, 607 }, 608 "ksonnet": { 609 SchemaProps: spec.SchemaProps{ 610 Description: "Ksonnet holds ksonnet specific options", 611 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceKsonnet"), 612 }, 613 }, 614 "directory": { 615 SchemaProps: spec.SchemaProps{ 616 Description: "Directory holds path/directory specific options", 617 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceDirectory"), 618 }, 619 }, 620 "plugin": { 621 SchemaProps: spec.SchemaProps{ 622 Description: "ConfigManagementPlugin holds config management plugin specific options", 623 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourcePlugin"), 624 }, 625 }, 626 "chart": { 627 SchemaProps: spec.SchemaProps{ 628 Description: "Chart is a Helm chart name", 629 Type: []string{"string"}, 630 Format: "", 631 }, 632 }, 633 }, 634 Required: []string{"repoURL"}, 635 }, 636 }, 637 Dependencies: []string{ 638 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceDirectory", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceHelm", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceKsonnet", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceKustomize", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourcePlugin"}, 639 } 640 } 641 642 func schema_pkg_apis_application_v1alpha1_ApplicationSourceDirectory(ref common.ReferenceCallback) common.OpenAPIDefinition { 643 return common.OpenAPIDefinition{ 644 Schema: spec.Schema{ 645 SchemaProps: spec.SchemaProps{ 646 Type: []string{"object"}, 647 Properties: map[string]spec.Schema{ 648 "recurse": { 649 SchemaProps: spec.SchemaProps{ 650 Type: []string{"boolean"}, 651 Format: "", 652 }, 653 }, 654 "jsonnet": { 655 SchemaProps: spec.SchemaProps{ 656 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"), 657 }, 658 }, 659 "exclude": { 660 SchemaProps: spec.SchemaProps{ 661 Type: []string{"string"}, 662 Format: "", 663 }, 664 }, 665 }, 666 }, 667 }, 668 Dependencies: []string{ 669 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"}, 670 } 671 } 672 673 func schema_pkg_apis_application_v1alpha1_ApplicationSourceHelm(ref common.ReferenceCallback) common.OpenAPIDefinition { 674 return common.OpenAPIDefinition{ 675 Schema: spec.Schema{ 676 SchemaProps: spec.SchemaProps{ 677 Description: "ApplicationSourceHelm holds helm specific options", 678 Type: []string{"object"}, 679 Properties: map[string]spec.Schema{ 680 "valueFiles": { 681 SchemaProps: spec.SchemaProps{ 682 Description: "ValuesFiles is a list of Helm value files to use when generating a template", 683 Type: []string{"array"}, 684 Items: &spec.SchemaOrArray{ 685 Schema: &spec.Schema{ 686 SchemaProps: spec.SchemaProps{ 687 Type: []string{"string"}, 688 Format: "", 689 }, 690 }, 691 }, 692 }, 693 }, 694 "parameters": { 695 SchemaProps: spec.SchemaProps{ 696 Description: "Parameters are parameters to the helm template", 697 Type: []string{"array"}, 698 Items: &spec.SchemaOrArray{ 699 Schema: &spec.Schema{ 700 SchemaProps: spec.SchemaProps{ 701 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HelmParameter"), 702 }, 703 }, 704 }, 705 }, 706 }, 707 "releaseName": { 708 SchemaProps: spec.SchemaProps{ 709 Description: "The Helm release name. If omitted it will use the application name", 710 Type: []string{"string"}, 711 Format: "", 712 }, 713 }, 714 "values": { 715 SchemaProps: spec.SchemaProps{ 716 Description: "Values is Helm values, typically defined as a block", 717 Type: []string{"string"}, 718 Format: "", 719 }, 720 }, 721 "fileParameters": { 722 SchemaProps: spec.SchemaProps{ 723 Description: "FileParameters are file parameters to the helm template", 724 Type: []string{"array"}, 725 Items: &spec.SchemaOrArray{ 726 Schema: &spec.Schema{ 727 SchemaProps: spec.SchemaProps{ 728 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HelmFileParameter"), 729 }, 730 }, 731 }, 732 }, 733 }, 734 "version": { 735 SchemaProps: spec.SchemaProps{ 736 Description: "Version is the Helm version to use for templating with", 737 Type: []string{"string"}, 738 Format: "", 739 }, 740 }, 741 }, 742 }, 743 }, 744 Dependencies: []string{ 745 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HelmFileParameter", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HelmParameter"}, 746 } 747 } 748 749 func schema_pkg_apis_application_v1alpha1_ApplicationSourceJsonnet(ref common.ReferenceCallback) common.OpenAPIDefinition { 750 return common.OpenAPIDefinition{ 751 Schema: spec.Schema{ 752 SchemaProps: spec.SchemaProps{ 753 Description: "ApplicationSourceJsonnet holds jsonnet specific options", 754 Type: []string{"object"}, 755 Properties: map[string]spec.Schema{ 756 "extVars": { 757 SchemaProps: spec.SchemaProps{ 758 Description: "ExtVars is a list of Jsonnet External Variables", 759 Type: []string{"array"}, 760 Items: &spec.SchemaOrArray{ 761 Schema: &spec.Schema{ 762 SchemaProps: spec.SchemaProps{ 763 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JsonnetVar"), 764 }, 765 }, 766 }, 767 }, 768 }, 769 "tlas": { 770 SchemaProps: spec.SchemaProps{ 771 Description: "TLAS is a list of Jsonnet Top-level Arguments", 772 Type: []string{"array"}, 773 Items: &spec.SchemaOrArray{ 774 Schema: &spec.Schema{ 775 SchemaProps: spec.SchemaProps{ 776 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JsonnetVar"), 777 }, 778 }, 779 }, 780 }, 781 }, 782 "libs": { 783 SchemaProps: spec.SchemaProps{ 784 Description: "Additional library search dirs", 785 Type: []string{"array"}, 786 Items: &spec.SchemaOrArray{ 787 Schema: &spec.Schema{ 788 SchemaProps: spec.SchemaProps{ 789 Type: []string{"string"}, 790 Format: "", 791 }, 792 }, 793 }, 794 }, 795 }, 796 }, 797 }, 798 }, 799 Dependencies: []string{ 800 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JsonnetVar"}, 801 } 802 } 803 804 func schema_pkg_apis_application_v1alpha1_ApplicationSourceKsonnet(ref common.ReferenceCallback) common.OpenAPIDefinition { 805 return common.OpenAPIDefinition{ 806 Schema: spec.Schema{ 807 SchemaProps: spec.SchemaProps{ 808 Description: "ApplicationSourceKsonnet holds ksonnet specific options", 809 Type: []string{"object"}, 810 Properties: map[string]spec.Schema{ 811 "environment": { 812 SchemaProps: spec.SchemaProps{ 813 Description: "Environment is a ksonnet application environment name", 814 Type: []string{"string"}, 815 Format: "", 816 }, 817 }, 818 "parameters": { 819 SchemaProps: spec.SchemaProps{ 820 Description: "Parameters are a list of ksonnet component parameter override values", 821 Type: []string{"array"}, 822 Items: &spec.SchemaOrArray{ 823 Schema: &spec.Schema{ 824 SchemaProps: spec.SchemaProps{ 825 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KsonnetParameter"), 826 }, 827 }, 828 }, 829 }, 830 }, 831 }, 832 }, 833 }, 834 Dependencies: []string{ 835 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KsonnetParameter"}, 836 } 837 } 838 839 func schema_pkg_apis_application_v1alpha1_ApplicationSourceKustomize(ref common.ReferenceCallback) common.OpenAPIDefinition { 840 return common.OpenAPIDefinition{ 841 Schema: spec.Schema{ 842 SchemaProps: spec.SchemaProps{ 843 Description: "ApplicationSourceKustomize holds kustomize specific options", 844 Type: []string{"object"}, 845 Properties: map[string]spec.Schema{ 846 "namePrefix": { 847 SchemaProps: spec.SchemaProps{ 848 Description: "NamePrefix is a prefix appended to resources for kustomize apps", 849 Type: []string{"string"}, 850 Format: "", 851 }, 852 }, 853 "nameSuffix": { 854 SchemaProps: spec.SchemaProps{ 855 Description: "NameSuffix is a suffix appended to resources for kustomize apps", 856 Type: []string{"string"}, 857 Format: "", 858 }, 859 }, 860 "images": { 861 SchemaProps: spec.SchemaProps{ 862 Description: "Images are kustomize image overrides", 863 Type: []string{"array"}, 864 Items: &spec.SchemaOrArray{ 865 Schema: &spec.Schema{ 866 SchemaProps: spec.SchemaProps{ 867 Type: []string{"string"}, 868 Format: "", 869 }, 870 }, 871 }, 872 }, 873 }, 874 "commonLabels": { 875 SchemaProps: spec.SchemaProps{ 876 Description: "CommonLabels adds additional kustomize commonLabels", 877 Type: []string{"object"}, 878 AdditionalProperties: &spec.SchemaOrBool{ 879 Allows: true, 880 Schema: &spec.Schema{ 881 SchemaProps: spec.SchemaProps{ 882 Type: []string{"string"}, 883 Format: "", 884 }, 885 }, 886 }, 887 }, 888 }, 889 "version": { 890 SchemaProps: spec.SchemaProps{ 891 Description: "Version contains optional Kustomize version", 892 Type: []string{"string"}, 893 Format: "", 894 }, 895 }, 896 "commonAnnotations": { 897 SchemaProps: spec.SchemaProps{ 898 Description: "CommonAnnotations adds additional kustomize commonAnnotations", 899 Type: []string{"object"}, 900 AdditionalProperties: &spec.SchemaOrBool{ 901 Allows: true, 902 Schema: &spec.Schema{ 903 SchemaProps: spec.SchemaProps{ 904 Type: []string{"string"}, 905 Format: "", 906 }, 907 }, 908 }, 909 }, 910 }, 911 }, 912 }, 913 }, 914 } 915 } 916 917 func schema_pkg_apis_application_v1alpha1_ApplicationSourcePlugin(ref common.ReferenceCallback) common.OpenAPIDefinition { 918 return common.OpenAPIDefinition{ 919 Schema: spec.Schema{ 920 SchemaProps: spec.SchemaProps{ 921 Description: "ApplicationSourcePlugin holds config management plugin specific options", 922 Type: []string{"object"}, 923 Properties: map[string]spec.Schema{ 924 "name": { 925 SchemaProps: spec.SchemaProps{ 926 Type: []string{"string"}, 927 Format: "", 928 }, 929 }, 930 "env": { 931 SchemaProps: spec.SchemaProps{ 932 Type: []string{"array"}, 933 Items: &spec.SchemaOrArray{ 934 Schema: &spec.Schema{ 935 SchemaProps: spec.SchemaProps{ 936 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.EnvEntry"), 937 }, 938 }, 939 }, 940 }, 941 }, 942 }, 943 }, 944 }, 945 Dependencies: []string{ 946 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.EnvEntry"}, 947 } 948 } 949 950 func schema_pkg_apis_application_v1alpha1_ApplicationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition { 951 return common.OpenAPIDefinition{ 952 Schema: spec.Schema{ 953 SchemaProps: spec.SchemaProps{ 954 Description: "ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.", 955 Type: []string{"object"}, 956 Properties: map[string]spec.Schema{ 957 "source": { 958 SchemaProps: spec.SchemaProps{ 959 Description: "Source is a reference to the location ksonnet application definition", 960 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource"), 961 }, 962 }, 963 "destination": { 964 SchemaProps: spec.SchemaProps{ 965 Description: "Destination overrides the kubernetes server and namespace defined in the environment ksonnet app.yaml", 966 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationDestination"), 967 }, 968 }, 969 "project": { 970 SchemaProps: spec.SchemaProps{ 971 Description: "Project is a application project name. Empty name means that application belongs to 'default' project.", 972 Type: []string{"string"}, 973 Format: "", 974 }, 975 }, 976 "syncPolicy": { 977 SchemaProps: spec.SchemaProps{ 978 Description: "SyncPolicy controls when a sync will be performed", 979 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncPolicy"), 980 }, 981 }, 982 "ignoreDifferences": { 983 SchemaProps: spec.SchemaProps{ 984 Description: "IgnoreDifferences controls resources fields which should be ignored during comparison", 985 Type: []string{"array"}, 986 Items: &spec.SchemaOrArray{ 987 Schema: &spec.Schema{ 988 SchemaProps: spec.SchemaProps{ 989 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences"), 990 }, 991 }, 992 }, 993 }, 994 }, 995 "info": { 996 SchemaProps: spec.SchemaProps{ 997 Description: "Infos contains a list of useful information (URLs, email addresses, and plain text) that relates to the application", 998 Type: []string{"array"}, 999 Items: &spec.SchemaOrArray{ 1000 Schema: &spec.Schema{ 1001 SchemaProps: spec.SchemaProps{ 1002 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Info"), 1003 }, 1004 }, 1005 }, 1006 }, 1007 }, 1008 "revisionHistoryLimit": { 1009 SchemaProps: spec.SchemaProps{ 1010 Description: "This limits this number of items kept in the apps revision history. 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.", 1011 Type: []string{"integer"}, 1012 Format: "int64", 1013 }, 1014 }, 1015 }, 1016 Required: []string{"source", "destination", "project"}, 1017 }, 1018 }, 1019 Dependencies: []string{ 1020 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Info", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncPolicy"}, 1021 } 1022 } 1023 1024 func schema_pkg_apis_application_v1alpha1_ApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1025 return common.OpenAPIDefinition{ 1026 Schema: spec.Schema{ 1027 SchemaProps: spec.SchemaProps{ 1028 Description: "ApplicationStatus contains information about application sync, health status", 1029 Type: []string{"object"}, 1030 Properties: map[string]spec.Schema{ 1031 "resources": { 1032 SchemaProps: spec.SchemaProps{ 1033 Type: []string{"array"}, 1034 Items: &spec.SchemaOrArray{ 1035 Schema: &spec.Schema{ 1036 SchemaProps: spec.SchemaProps{ 1037 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceStatus"), 1038 }, 1039 }, 1040 }, 1041 }, 1042 }, 1043 "sync": { 1044 SchemaProps: spec.SchemaProps{ 1045 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStatus"), 1046 }, 1047 }, 1048 "health": { 1049 SchemaProps: spec.SchemaProps{ 1050 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HealthStatus"), 1051 }, 1052 }, 1053 "history": { 1054 SchemaProps: spec.SchemaProps{ 1055 Type: []string{"array"}, 1056 Items: &spec.SchemaOrArray{ 1057 Schema: &spec.Schema{ 1058 SchemaProps: spec.SchemaProps{ 1059 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RevisionHistory"), 1060 }, 1061 }, 1062 }, 1063 }, 1064 }, 1065 "conditions": { 1066 SchemaProps: spec.SchemaProps{ 1067 Type: []string{"array"}, 1068 Items: &spec.SchemaOrArray{ 1069 Schema: &spec.Schema{ 1070 SchemaProps: spec.SchemaProps{ 1071 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationCondition"), 1072 }, 1073 }, 1074 }, 1075 }, 1076 }, 1077 "reconciledAt": { 1078 SchemaProps: spec.SchemaProps{ 1079 Description: "ReconciledAt indicates when the application state was reconciled using the latest git version", 1080 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1081 }, 1082 }, 1083 "operationState": { 1084 SchemaProps: spec.SchemaProps{ 1085 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OperationState"), 1086 }, 1087 }, 1088 "observedAt": { 1089 SchemaProps: spec.SchemaProps{ 1090 Description: "ObservedAt indicates when the application state was updated without querying latest git state Deprecated: controller no longer updates ObservedAt field", 1091 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1092 }, 1093 }, 1094 "sourceType": { 1095 SchemaProps: spec.SchemaProps{ 1096 Type: []string{"string"}, 1097 Format: "", 1098 }, 1099 }, 1100 "summary": { 1101 SchemaProps: spec.SchemaProps{ 1102 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSummary"), 1103 }, 1104 }, 1105 }, 1106 }, 1107 }, 1108 Dependencies: []string{ 1109 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationCondition", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSummary", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HealthStatus", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OperationState", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceStatus", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RevisionHistory", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1110 } 1111 } 1112 1113 func schema_pkg_apis_application_v1alpha1_ApplicationSummary(ref common.ReferenceCallback) common.OpenAPIDefinition { 1114 return common.OpenAPIDefinition{ 1115 Schema: spec.Schema{ 1116 SchemaProps: spec.SchemaProps{ 1117 Type: []string{"object"}, 1118 Properties: map[string]spec.Schema{ 1119 "externalURLs": { 1120 SchemaProps: spec.SchemaProps{ 1121 Description: "ExternalURLs holds all external URLs of application child resources.", 1122 Type: []string{"array"}, 1123 Items: &spec.SchemaOrArray{ 1124 Schema: &spec.Schema{ 1125 SchemaProps: spec.SchemaProps{ 1126 Type: []string{"string"}, 1127 Format: "", 1128 }, 1129 }, 1130 }, 1131 }, 1132 }, 1133 "images": { 1134 SchemaProps: spec.SchemaProps{ 1135 Description: "Images holds all images of application child resources.", 1136 Type: []string{"array"}, 1137 Items: &spec.SchemaOrArray{ 1138 Schema: &spec.Schema{ 1139 SchemaProps: spec.SchemaProps{ 1140 Type: []string{"string"}, 1141 Format: "", 1142 }, 1143 }, 1144 }, 1145 }, 1146 }, 1147 }, 1148 }, 1149 }, 1150 } 1151 } 1152 1153 func schema_pkg_apis_application_v1alpha1_ApplicationTree(ref common.ReferenceCallback) common.OpenAPIDefinition { 1154 return common.OpenAPIDefinition{ 1155 Schema: spec.Schema{ 1156 SchemaProps: spec.SchemaProps{ 1157 Description: "ApplicationTree holds nodes which belongs to the application", 1158 Type: []string{"object"}, 1159 Properties: map[string]spec.Schema{ 1160 "nodes": { 1161 SchemaProps: spec.SchemaProps{ 1162 Description: "Nodes contains list of nodes which either directly managed by the application and children of directly managed nodes.", 1163 Type: []string{"array"}, 1164 Items: &spec.SchemaOrArray{ 1165 Schema: &spec.Schema{ 1166 SchemaProps: spec.SchemaProps{ 1167 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceNode"), 1168 }, 1169 }, 1170 }, 1171 }, 1172 }, 1173 "orphanedNodes": { 1174 SchemaProps: spec.SchemaProps{ 1175 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.", 1176 Type: []string{"array"}, 1177 Items: &spec.SchemaOrArray{ 1178 Schema: &spec.Schema{ 1179 SchemaProps: spec.SchemaProps{ 1180 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceNode"), 1181 }, 1182 }, 1183 }, 1184 }, 1185 }, 1186 }, 1187 }, 1188 }, 1189 Dependencies: []string{ 1190 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceNode"}, 1191 } 1192 } 1193 1194 func schema_pkg_apis_application_v1alpha1_ApplicationWatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition { 1195 return common.OpenAPIDefinition{ 1196 Schema: spec.Schema{ 1197 SchemaProps: spec.SchemaProps{ 1198 Description: "ApplicationWatchEvent contains information about application change.", 1199 Type: []string{"object"}, 1200 Properties: map[string]spec.Schema{ 1201 "type": { 1202 SchemaProps: spec.SchemaProps{ 1203 Type: []string{"string"}, 1204 Format: "", 1205 }, 1206 }, 1207 "application": { 1208 SchemaProps: spec.SchemaProps{ 1209 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.", 1210 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Application"), 1211 }, 1212 }, 1213 }, 1214 Required: []string{"type", "application"}, 1215 }, 1216 }, 1217 Dependencies: []string{ 1218 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Application"}, 1219 } 1220 } 1221 1222 func schema_pkg_apis_application_v1alpha1_Backoff(ref common.ReferenceCallback) common.OpenAPIDefinition { 1223 return common.OpenAPIDefinition{ 1224 Schema: spec.Schema{ 1225 SchemaProps: spec.SchemaProps{ 1226 Description: "Backoff is a backoff strategy to use within retryStrategy", 1227 Type: []string{"object"}, 1228 Properties: map[string]spec.Schema{ 1229 "duration": { 1230 SchemaProps: spec.SchemaProps{ 1231 Description: "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")", 1232 Type: []string{"string"}, 1233 Format: "", 1234 }, 1235 }, 1236 "factor": { 1237 SchemaProps: spec.SchemaProps{ 1238 Description: "Factor is a factor to multiply the base duration after each failed retry", 1239 Type: []string{"integer"}, 1240 Format: "int64", 1241 }, 1242 }, 1243 "maxDuration": { 1244 SchemaProps: spec.SchemaProps{ 1245 Description: "MaxDuration is the maximum amount of time allowed for the backoff strategy", 1246 Type: []string{"string"}, 1247 Format: "", 1248 }, 1249 }, 1250 }, 1251 }, 1252 }, 1253 } 1254 } 1255 1256 func schema_pkg_apis_application_v1alpha1_Cluster(ref common.ReferenceCallback) common.OpenAPIDefinition { 1257 return common.OpenAPIDefinition{ 1258 Schema: spec.Schema{ 1259 SchemaProps: spec.SchemaProps{ 1260 Description: "Cluster is the definition of a cluster resource", 1261 Type: []string{"object"}, 1262 Properties: map[string]spec.Schema{ 1263 "server": { 1264 SchemaProps: spec.SchemaProps{ 1265 Description: "Server is the API server URL of the Kubernetes cluster", 1266 Type: []string{"string"}, 1267 Format: "", 1268 }, 1269 }, 1270 "name": { 1271 SchemaProps: spec.SchemaProps{ 1272 Description: "Name of the cluster. If omitted, will use the server address", 1273 Type: []string{"string"}, 1274 Format: "", 1275 }, 1276 }, 1277 "config": { 1278 SchemaProps: spec.SchemaProps{ 1279 Description: "Config holds cluster information for connecting to a cluster", 1280 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterConfig"), 1281 }, 1282 }, 1283 "connectionState": { 1284 SchemaProps: spec.SchemaProps{ 1285 Description: "DEPRECATED: use Info.ConnectionState field instead. ConnectionState contains information about cluster connection state", 1286 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConnectionState"), 1287 }, 1288 }, 1289 "serverVersion": { 1290 SchemaProps: spec.SchemaProps{ 1291 Description: "DEPRECATED: use Info.ServerVersion field instead. The server version", 1292 Type: []string{"string"}, 1293 Format: "", 1294 }, 1295 }, 1296 "namespaces": { 1297 SchemaProps: spec.SchemaProps{ 1298 Description: "Holds list of namespaces which are accessible in that cluster. Cluster level resources would be ignored if namespace list is not empty.", 1299 Type: []string{"array"}, 1300 Items: &spec.SchemaOrArray{ 1301 Schema: &spec.Schema{ 1302 SchemaProps: spec.SchemaProps{ 1303 Type: []string{"string"}, 1304 Format: "", 1305 }, 1306 }, 1307 }, 1308 }, 1309 }, 1310 "refreshRequestedAt": { 1311 SchemaProps: spec.SchemaProps{ 1312 Description: "RefreshRequestedAt holds time when cluster cache refresh has been requested", 1313 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1314 }, 1315 }, 1316 "info": { 1317 SchemaProps: spec.SchemaProps{ 1318 Description: "Holds information about cluster cache", 1319 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterInfo"), 1320 }, 1321 }, 1322 "shard": { 1323 SchemaProps: spec.SchemaProps{ 1324 Description: "Shard contains optional shard number. Calculated on the fly by the application controller if not specified.", 1325 Type: []string{"integer"}, 1326 Format: "int64", 1327 }, 1328 }, 1329 }, 1330 Required: []string{"server", "name", "config"}, 1331 }, 1332 }, 1333 Dependencies: []string{ 1334 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterConfig", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterInfo", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConnectionState", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1335 } 1336 } 1337 1338 func schema_pkg_apis_application_v1alpha1_ClusterCacheInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { 1339 return common.OpenAPIDefinition{ 1340 Schema: spec.Schema{ 1341 SchemaProps: spec.SchemaProps{ 1342 Type: []string{"object"}, 1343 Properties: map[string]spec.Schema{ 1344 "resourcesCount": { 1345 SchemaProps: spec.SchemaProps{ 1346 Description: "ResourcesCount holds number of observed Kubernetes resources", 1347 Type: []string{"integer"}, 1348 Format: "int64", 1349 }, 1350 }, 1351 "apisCount": { 1352 SchemaProps: spec.SchemaProps{ 1353 Description: "APIsCount holds number of observed Kubernetes API count", 1354 Type: []string{"integer"}, 1355 Format: "int64", 1356 }, 1357 }, 1358 "lastCacheSyncTime": { 1359 SchemaProps: spec.SchemaProps{ 1360 Description: "LastCacheSyncTime holds time of most recent cache synchronization", 1361 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1362 }, 1363 }, 1364 }, 1365 }, 1366 }, 1367 Dependencies: []string{ 1368 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1369 } 1370 } 1371 1372 func schema_pkg_apis_application_v1alpha1_ClusterConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 1373 return common.OpenAPIDefinition{ 1374 Schema: spec.Schema{ 1375 SchemaProps: spec.SchemaProps{ 1376 Description: "ClusterConfig is the configuration attributes. This structure is subset of the go-client rest.Config with annotations added for marshalling.", 1377 Type: []string{"object"}, 1378 Properties: map[string]spec.Schema{ 1379 "username": { 1380 SchemaProps: spec.SchemaProps{ 1381 Description: "Server requires Basic authentication", 1382 Type: []string{"string"}, 1383 Format: "", 1384 }, 1385 }, 1386 "password": { 1387 SchemaProps: spec.SchemaProps{ 1388 Type: []string{"string"}, 1389 Format: "", 1390 }, 1391 }, 1392 "bearerToken": { 1393 SchemaProps: spec.SchemaProps{ 1394 Description: "Server requires Bearer authentication. This client will not attempt to use refresh tokens for an OAuth2 flow.", 1395 Type: []string{"string"}, 1396 Format: "", 1397 }, 1398 }, 1399 "tlsClientConfig": { 1400 SchemaProps: spec.SchemaProps{ 1401 Description: "TLSClientConfig contains settings to enable transport layer security", 1402 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.TLSClientConfig"), 1403 }, 1404 }, 1405 "awsAuthConfig": { 1406 SchemaProps: spec.SchemaProps{ 1407 Description: "AWSAuthConfig contains IAM authentication configuration", 1408 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AWSAuthConfig"), 1409 }, 1410 }, 1411 "execProviderConfig": { 1412 SchemaProps: spec.SchemaProps{ 1413 Description: "ExecProviderConfig contains configuration for an exec provider", 1414 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ExecProviderConfig"), 1415 }, 1416 }, 1417 }, 1418 Required: []string{"tlsClientConfig"}, 1419 }, 1420 }, 1421 Dependencies: []string{ 1422 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.AWSAuthConfig", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ExecProviderConfig", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.TLSClientConfig"}, 1423 } 1424 } 1425 1426 func schema_pkg_apis_application_v1alpha1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { 1427 return common.OpenAPIDefinition{ 1428 Schema: spec.Schema{ 1429 SchemaProps: spec.SchemaProps{ 1430 Type: []string{"object"}, 1431 Properties: map[string]spec.Schema{ 1432 "connectionState": { 1433 SchemaProps: spec.SchemaProps{ 1434 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConnectionState"), 1435 }, 1436 }, 1437 "serverVersion": { 1438 SchemaProps: spec.SchemaProps{ 1439 Type: []string{"string"}, 1440 Format: "", 1441 }, 1442 }, 1443 "cacheInfo": { 1444 SchemaProps: spec.SchemaProps{ 1445 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterCacheInfo"), 1446 }, 1447 }, 1448 "applicationsCount": { 1449 SchemaProps: spec.SchemaProps{ 1450 Type: []string{"integer"}, 1451 Format: "int64", 1452 }, 1453 }, 1454 }, 1455 Required: []string{"applicationsCount"}, 1456 }, 1457 }, 1458 Dependencies: []string{ 1459 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ClusterCacheInfo", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConnectionState"}, 1460 } 1461 } 1462 1463 func schema_pkg_apis_application_v1alpha1_ClusterList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1464 return common.OpenAPIDefinition{ 1465 Schema: spec.Schema{ 1466 SchemaProps: spec.SchemaProps{ 1467 Description: "ClusterList is a collection of Clusters.", 1468 Type: []string{"object"}, 1469 Properties: map[string]spec.Schema{ 1470 "metadata": { 1471 SchemaProps: spec.SchemaProps{ 1472 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1473 }, 1474 }, 1475 "items": { 1476 SchemaProps: spec.SchemaProps{ 1477 Type: []string{"array"}, 1478 Items: &spec.SchemaOrArray{ 1479 Schema: &spec.Schema{ 1480 SchemaProps: spec.SchemaProps{ 1481 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Cluster"), 1482 }, 1483 }, 1484 }, 1485 }, 1486 }, 1487 }, 1488 Required: []string{"items"}, 1489 }, 1490 }, 1491 Dependencies: []string{ 1492 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Cluster", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 1493 } 1494 } 1495 1496 func schema_pkg_apis_application_v1alpha1_Command(ref common.ReferenceCallback) common.OpenAPIDefinition { 1497 return common.OpenAPIDefinition{ 1498 Schema: spec.Schema{ 1499 SchemaProps: spec.SchemaProps{ 1500 Description: "Command holds binary path and arguments list", 1501 Type: []string{"object"}, 1502 Properties: map[string]spec.Schema{ 1503 "command": { 1504 SchemaProps: spec.SchemaProps{ 1505 Type: []string{"array"}, 1506 Items: &spec.SchemaOrArray{ 1507 Schema: &spec.Schema{ 1508 SchemaProps: spec.SchemaProps{ 1509 Type: []string{"string"}, 1510 Format: "", 1511 }, 1512 }, 1513 }, 1514 }, 1515 }, 1516 "args": { 1517 SchemaProps: spec.SchemaProps{ 1518 Type: []string{"array"}, 1519 Items: &spec.SchemaOrArray{ 1520 Schema: &spec.Schema{ 1521 SchemaProps: spec.SchemaProps{ 1522 Type: []string{"string"}, 1523 Format: "", 1524 }, 1525 }, 1526 }, 1527 }, 1528 }, 1529 }, 1530 }, 1531 }, 1532 } 1533 } 1534 1535 func schema_pkg_apis_application_v1alpha1_ComparedTo(ref common.ReferenceCallback) common.OpenAPIDefinition { 1536 return common.OpenAPIDefinition{ 1537 Schema: spec.Schema{ 1538 SchemaProps: spec.SchemaProps{ 1539 Description: "ComparedTo contains application source and target which was used for resources comparison", 1540 Type: []string{"object"}, 1541 Properties: map[string]spec.Schema{ 1542 "source": { 1543 SchemaProps: spec.SchemaProps{ 1544 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource"), 1545 }, 1546 }, 1547 "destination": { 1548 SchemaProps: spec.SchemaProps{ 1549 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationDestination"), 1550 }, 1551 }, 1552 }, 1553 Required: []string{"source", "destination"}, 1554 }, 1555 }, 1556 Dependencies: []string{ 1557 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource"}, 1558 } 1559 } 1560 1561 func schema_pkg_apis_application_v1alpha1_ComponentParameter(ref common.ReferenceCallback) common.OpenAPIDefinition { 1562 return common.OpenAPIDefinition{ 1563 Schema: spec.Schema{ 1564 SchemaProps: spec.SchemaProps{ 1565 Description: "ComponentParameter contains information about component parameter value", 1566 Type: []string{"object"}, 1567 Properties: map[string]spec.Schema{ 1568 "component": { 1569 SchemaProps: spec.SchemaProps{ 1570 Type: []string{"string"}, 1571 Format: "", 1572 }, 1573 }, 1574 "name": { 1575 SchemaProps: spec.SchemaProps{ 1576 Type: []string{"string"}, 1577 Format: "", 1578 }, 1579 }, 1580 "value": { 1581 SchemaProps: spec.SchemaProps{ 1582 Type: []string{"string"}, 1583 Format: "", 1584 }, 1585 }, 1586 }, 1587 Required: []string{"name", "value"}, 1588 }, 1589 }, 1590 } 1591 } 1592 1593 func schema_pkg_apis_application_v1alpha1_ConfigManagementPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition { 1594 return common.OpenAPIDefinition{ 1595 Schema: spec.Schema{ 1596 SchemaProps: spec.SchemaProps{ 1597 Description: "ConfigManagementPlugin contains config management plugin configuration", 1598 Type: []string{"object"}, 1599 Properties: map[string]spec.Schema{ 1600 "name": { 1601 SchemaProps: spec.SchemaProps{ 1602 Type: []string{"string"}, 1603 Format: "", 1604 }, 1605 }, 1606 "init": { 1607 SchemaProps: spec.SchemaProps{ 1608 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Command"), 1609 }, 1610 }, 1611 "generate": { 1612 SchemaProps: spec.SchemaProps{ 1613 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Command"), 1614 }, 1615 }, 1616 }, 1617 Required: []string{"name", "generate"}, 1618 }, 1619 }, 1620 Dependencies: []string{ 1621 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Command"}, 1622 } 1623 } 1624 1625 func schema_pkg_apis_application_v1alpha1_ConnectionState(ref common.ReferenceCallback) common.OpenAPIDefinition { 1626 return common.OpenAPIDefinition{ 1627 Schema: spec.Schema{ 1628 SchemaProps: spec.SchemaProps{ 1629 Description: "ConnectionState contains information about remote resource connection state", 1630 Type: []string{"object"}, 1631 Properties: map[string]spec.Schema{ 1632 "status": { 1633 SchemaProps: spec.SchemaProps{ 1634 Type: []string{"string"}, 1635 Format: "", 1636 }, 1637 }, 1638 "message": { 1639 SchemaProps: spec.SchemaProps{ 1640 Type: []string{"string"}, 1641 Format: "", 1642 }, 1643 }, 1644 "attemptedAt": { 1645 SchemaProps: spec.SchemaProps{ 1646 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 1647 }, 1648 }, 1649 }, 1650 Required: []string{"status", "message", "attemptedAt"}, 1651 }, 1652 }, 1653 Dependencies: []string{ 1654 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 1655 } 1656 } 1657 1658 func schema_pkg_apis_application_v1alpha1_EnvEntry(ref common.ReferenceCallback) common.OpenAPIDefinition { 1659 return common.OpenAPIDefinition{ 1660 Schema: spec.Schema{ 1661 SchemaProps: spec.SchemaProps{ 1662 Type: []string{"object"}, 1663 Properties: map[string]spec.Schema{ 1664 "name": { 1665 SchemaProps: spec.SchemaProps{ 1666 Description: "the name, usually uppercase", 1667 Type: []string{"string"}, 1668 Format: "", 1669 }, 1670 }, 1671 "value": { 1672 SchemaProps: spec.SchemaProps{ 1673 Description: "the value", 1674 Type: []string{"string"}, 1675 Format: "", 1676 }, 1677 }, 1678 }, 1679 Required: []string{"name", "value"}, 1680 }, 1681 }, 1682 } 1683 } 1684 1685 func schema_pkg_apis_application_v1alpha1_ExecProviderConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 1686 return common.OpenAPIDefinition{ 1687 Schema: spec.Schema{ 1688 SchemaProps: spec.SchemaProps{ 1689 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", 1690 Type: []string{"object"}, 1691 Properties: map[string]spec.Schema{ 1692 "command": { 1693 SchemaProps: spec.SchemaProps{ 1694 Description: "Command to execute", 1695 Type: []string{"string"}, 1696 Format: "", 1697 }, 1698 }, 1699 "args": { 1700 SchemaProps: spec.SchemaProps{ 1701 Description: "Arguments to pass to the command when executing it", 1702 Type: []string{"array"}, 1703 Items: &spec.SchemaOrArray{ 1704 Schema: &spec.Schema{ 1705 SchemaProps: spec.SchemaProps{ 1706 Type: []string{"string"}, 1707 Format: "", 1708 }, 1709 }, 1710 }, 1711 }, 1712 }, 1713 "env": { 1714 SchemaProps: spec.SchemaProps{ 1715 Description: "Env defines additional environment variables to expose to the process", 1716 Type: []string{"object"}, 1717 AdditionalProperties: &spec.SchemaOrBool{ 1718 Allows: true, 1719 Schema: &spec.Schema{ 1720 SchemaProps: spec.SchemaProps{ 1721 Type: []string{"string"}, 1722 Format: "", 1723 }, 1724 }, 1725 }, 1726 }, 1727 }, 1728 "apiVersion": { 1729 SchemaProps: spec.SchemaProps{ 1730 Description: "Preferred input version of the ExecInfo", 1731 Type: []string{"string"}, 1732 Format: "", 1733 }, 1734 }, 1735 "installHint": { 1736 SchemaProps: spec.SchemaProps{ 1737 Description: "This text is shown to the user when the executable doesn't seem to be present", 1738 Type: []string{"string"}, 1739 Format: "", 1740 }, 1741 }, 1742 }, 1743 }, 1744 }, 1745 } 1746 } 1747 1748 func schema_pkg_apis_application_v1alpha1_GnuPGPublicKey(ref common.ReferenceCallback) common.OpenAPIDefinition { 1749 return common.OpenAPIDefinition{ 1750 Schema: spec.Schema{ 1751 SchemaProps: spec.SchemaProps{ 1752 Description: "GnuPGPublicKey is a representation of a GnuPG public key", 1753 Type: []string{"object"}, 1754 Properties: map[string]spec.Schema{ 1755 "keyID": { 1756 SchemaProps: spec.SchemaProps{ 1757 Description: "KeyID in hexadecimal string format", 1758 Type: []string{"string"}, 1759 Format: "", 1760 }, 1761 }, 1762 "fingerprint": { 1763 SchemaProps: spec.SchemaProps{ 1764 Description: "Fingerprint of the key", 1765 Type: []string{"string"}, 1766 Format: "", 1767 }, 1768 }, 1769 "owner": { 1770 SchemaProps: spec.SchemaProps{ 1771 Description: "Owner identification", 1772 Type: []string{"string"}, 1773 Format: "", 1774 }, 1775 }, 1776 "trust": { 1777 SchemaProps: spec.SchemaProps{ 1778 Description: "Trust level", 1779 Type: []string{"string"}, 1780 Format: "", 1781 }, 1782 }, 1783 "subType": { 1784 SchemaProps: spec.SchemaProps{ 1785 Description: "Key sub type (e.g. rsa4096)", 1786 Type: []string{"string"}, 1787 Format: "", 1788 }, 1789 }, 1790 "keyData": { 1791 SchemaProps: spec.SchemaProps{ 1792 Description: "Key data", 1793 Type: []string{"string"}, 1794 Format: "", 1795 }, 1796 }, 1797 }, 1798 Required: []string{"keyID"}, 1799 }, 1800 }, 1801 } 1802 } 1803 1804 func schema_pkg_apis_application_v1alpha1_GnuPGPublicKeyList(ref common.ReferenceCallback) common.OpenAPIDefinition { 1805 return common.OpenAPIDefinition{ 1806 Schema: spec.Schema{ 1807 SchemaProps: spec.SchemaProps{ 1808 Description: "GnuPGPublicKeyList is a collection of GnuPGPublicKey objects", 1809 Type: []string{"object"}, 1810 Properties: map[string]spec.Schema{ 1811 "metadata": { 1812 SchemaProps: spec.SchemaProps{ 1813 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 1814 }, 1815 }, 1816 "items": { 1817 SchemaProps: spec.SchemaProps{ 1818 Type: []string{"array"}, 1819 Items: &spec.SchemaOrArray{ 1820 Schema: &spec.Schema{ 1821 SchemaProps: spec.SchemaProps{ 1822 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.GnuPGPublicKey"), 1823 }, 1824 }, 1825 }, 1826 }, 1827 }, 1828 }, 1829 Required: []string{"items"}, 1830 }, 1831 }, 1832 Dependencies: []string{ 1833 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.GnuPGPublicKey", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 1834 } 1835 } 1836 1837 func schema_pkg_apis_application_v1alpha1_HealthStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 1838 return common.OpenAPIDefinition{ 1839 Schema: spec.Schema{ 1840 SchemaProps: spec.SchemaProps{ 1841 Type: []string{"object"}, 1842 Properties: map[string]spec.Schema{ 1843 "status": { 1844 SchemaProps: spec.SchemaProps{ 1845 Type: []string{"string"}, 1846 Format: "", 1847 }, 1848 }, 1849 "message": { 1850 SchemaProps: spec.SchemaProps{ 1851 Type: []string{"string"}, 1852 Format: "", 1853 }, 1854 }, 1855 }, 1856 }, 1857 }, 1858 } 1859 } 1860 1861 func schema_pkg_apis_application_v1alpha1_HelmFileParameter(ref common.ReferenceCallback) common.OpenAPIDefinition { 1862 return common.OpenAPIDefinition{ 1863 Schema: spec.Schema{ 1864 SchemaProps: spec.SchemaProps{ 1865 Description: "HelmFileParameter is a file parameter to a helm template", 1866 Type: []string{"object"}, 1867 Properties: map[string]spec.Schema{ 1868 "name": { 1869 SchemaProps: spec.SchemaProps{ 1870 Description: "Name is the name of the helm parameter", 1871 Type: []string{"string"}, 1872 Format: "", 1873 }, 1874 }, 1875 "path": { 1876 SchemaProps: spec.SchemaProps{ 1877 Description: "Path is the path value for the helm parameter", 1878 Type: []string{"string"}, 1879 Format: "", 1880 }, 1881 }, 1882 }, 1883 }, 1884 }, 1885 } 1886 } 1887 1888 func schema_pkg_apis_application_v1alpha1_HelmParameter(ref common.ReferenceCallback) common.OpenAPIDefinition { 1889 return common.OpenAPIDefinition{ 1890 Schema: spec.Schema{ 1891 SchemaProps: spec.SchemaProps{ 1892 Description: "HelmParameter is a parameter to a helm template", 1893 Type: []string{"object"}, 1894 Properties: map[string]spec.Schema{ 1895 "name": { 1896 SchemaProps: spec.SchemaProps{ 1897 Description: "Name is the name of the helm parameter", 1898 Type: []string{"string"}, 1899 Format: "", 1900 }, 1901 }, 1902 "value": { 1903 SchemaProps: spec.SchemaProps{ 1904 Description: "Value is the value for the helm parameter", 1905 Type: []string{"string"}, 1906 Format: "", 1907 }, 1908 }, 1909 "forceString": { 1910 SchemaProps: spec.SchemaProps{ 1911 Description: "ForceString determines whether to tell Helm to interpret booleans and numbers as strings", 1912 Type: []string{"boolean"}, 1913 Format: "", 1914 }, 1915 }, 1916 }, 1917 }, 1918 }, 1919 } 1920 } 1921 1922 func schema_pkg_apis_application_v1alpha1_Info(ref common.ReferenceCallback) common.OpenAPIDefinition { 1923 return common.OpenAPIDefinition{ 1924 Schema: spec.Schema{ 1925 SchemaProps: spec.SchemaProps{ 1926 Type: []string{"object"}, 1927 Properties: map[string]spec.Schema{ 1928 "name": { 1929 SchemaProps: spec.SchemaProps{ 1930 Type: []string{"string"}, 1931 Format: "", 1932 }, 1933 }, 1934 "value": { 1935 SchemaProps: spec.SchemaProps{ 1936 Type: []string{"string"}, 1937 Format: "", 1938 }, 1939 }, 1940 }, 1941 Required: []string{"name", "value"}, 1942 }, 1943 }, 1944 } 1945 } 1946 1947 func schema_pkg_apis_application_v1alpha1_InfoItem(ref common.ReferenceCallback) common.OpenAPIDefinition { 1948 return common.OpenAPIDefinition{ 1949 Schema: spec.Schema{ 1950 SchemaProps: spec.SchemaProps{ 1951 Description: "InfoItem contains human readable information about object", 1952 Type: []string{"object"}, 1953 Properties: map[string]spec.Schema{ 1954 "name": { 1955 SchemaProps: spec.SchemaProps{ 1956 Description: "Name is a human readable title for this piece of information.", 1957 Type: []string{"string"}, 1958 Format: "", 1959 }, 1960 }, 1961 "value": { 1962 SchemaProps: spec.SchemaProps{ 1963 Description: "Value is human readable content.", 1964 Type: []string{"string"}, 1965 Format: "", 1966 }, 1967 }, 1968 }, 1969 }, 1970 }, 1971 } 1972 } 1973 1974 func schema_pkg_apis_application_v1alpha1_JWTToken(ref common.ReferenceCallback) common.OpenAPIDefinition { 1975 return common.OpenAPIDefinition{ 1976 Schema: spec.Schema{ 1977 SchemaProps: spec.SchemaProps{ 1978 Description: "JWTToken holds the issuedAt and expiresAt values of a token", 1979 Type: []string{"object"}, 1980 Properties: map[string]spec.Schema{ 1981 "iat": { 1982 SchemaProps: spec.SchemaProps{ 1983 Type: []string{"integer"}, 1984 Format: "int64", 1985 }, 1986 }, 1987 "exp": { 1988 SchemaProps: spec.SchemaProps{ 1989 Type: []string{"integer"}, 1990 Format: "int64", 1991 }, 1992 }, 1993 "id": { 1994 SchemaProps: spec.SchemaProps{ 1995 Type: []string{"string"}, 1996 Format: "", 1997 }, 1998 }, 1999 }, 2000 Required: []string{"iat"}, 2001 }, 2002 }, 2003 } 2004 } 2005 2006 func schema_pkg_apis_application_v1alpha1_JWTTokens(ref common.ReferenceCallback) common.OpenAPIDefinition { 2007 return common.OpenAPIDefinition{ 2008 Schema: spec.Schema{ 2009 SchemaProps: spec.SchemaProps{ 2010 Type: []string{"object"}, 2011 Properties: map[string]spec.Schema{ 2012 "items": { 2013 SchemaProps: spec.SchemaProps{ 2014 Type: []string{"array"}, 2015 Items: &spec.SchemaOrArray{ 2016 Schema: &spec.Schema{ 2017 SchemaProps: spec.SchemaProps{ 2018 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTToken"), 2019 }, 2020 }, 2021 }, 2022 }, 2023 }, 2024 }, 2025 }, 2026 }, 2027 Dependencies: []string{ 2028 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTToken"}, 2029 } 2030 } 2031 2032 func schema_pkg_apis_application_v1alpha1_JsonnetVar(ref common.ReferenceCallback) common.OpenAPIDefinition { 2033 return common.OpenAPIDefinition{ 2034 Schema: spec.Schema{ 2035 SchemaProps: spec.SchemaProps{ 2036 Description: "JsonnetVar is a jsonnet variable", 2037 Type: []string{"object"}, 2038 Properties: map[string]spec.Schema{ 2039 "name": { 2040 SchemaProps: spec.SchemaProps{ 2041 Type: []string{"string"}, 2042 Format: "", 2043 }, 2044 }, 2045 "value": { 2046 SchemaProps: spec.SchemaProps{ 2047 Type: []string{"string"}, 2048 Format: "", 2049 }, 2050 }, 2051 "code": { 2052 SchemaProps: spec.SchemaProps{ 2053 Type: []string{"boolean"}, 2054 Format: "", 2055 }, 2056 }, 2057 }, 2058 Required: []string{"name", "value"}, 2059 }, 2060 }, 2061 } 2062 } 2063 2064 func schema_pkg_apis_application_v1alpha1_KnownTypeField(ref common.ReferenceCallback) common.OpenAPIDefinition { 2065 return common.OpenAPIDefinition{ 2066 Schema: spec.Schema{ 2067 SchemaProps: spec.SchemaProps{ 2068 Description: "KnownTypeField contains mapping between CRD field and known Kubernetes type", 2069 Type: []string{"object"}, 2070 Properties: map[string]spec.Schema{ 2071 "field": { 2072 SchemaProps: spec.SchemaProps{ 2073 Type: []string{"string"}, 2074 Format: "", 2075 }, 2076 }, 2077 "type": { 2078 SchemaProps: spec.SchemaProps{ 2079 Type: []string{"string"}, 2080 Format: "", 2081 }, 2082 }, 2083 }, 2084 }, 2085 }, 2086 } 2087 } 2088 2089 func schema_pkg_apis_application_v1alpha1_KsonnetParameter(ref common.ReferenceCallback) common.OpenAPIDefinition { 2090 return common.OpenAPIDefinition{ 2091 Schema: spec.Schema{ 2092 SchemaProps: spec.SchemaProps{ 2093 Description: "KsonnetParameter is a ksonnet component parameter", 2094 Type: []string{"object"}, 2095 Properties: map[string]spec.Schema{ 2096 "component": { 2097 SchemaProps: spec.SchemaProps{ 2098 Type: []string{"string"}, 2099 Format: "", 2100 }, 2101 }, 2102 "name": { 2103 SchemaProps: spec.SchemaProps{ 2104 Type: []string{"string"}, 2105 Format: "", 2106 }, 2107 }, 2108 "value": { 2109 SchemaProps: spec.SchemaProps{ 2110 Type: []string{"string"}, 2111 Format: "", 2112 }, 2113 }, 2114 }, 2115 Required: []string{"name", "value"}, 2116 }, 2117 }, 2118 } 2119 } 2120 2121 func schema_pkg_apis_application_v1alpha1_KustomizeOptions(ref common.ReferenceCallback) common.OpenAPIDefinition { 2122 return common.OpenAPIDefinition{ 2123 Schema: spec.Schema{ 2124 SchemaProps: spec.SchemaProps{ 2125 Description: "KustomizeOptions are options for kustomize to use when building manifests", 2126 Type: []string{"object"}, 2127 Properties: map[string]spec.Schema{ 2128 "BuildOptions": { 2129 SchemaProps: spec.SchemaProps{ 2130 Description: "BuildOptions is a string of build parameters to use when calling `kustomize build`", 2131 Type: []string{"string"}, 2132 Format: "", 2133 }, 2134 }, 2135 "BinaryPath": { 2136 SchemaProps: spec.SchemaProps{ 2137 Description: "BinaryPath holds optional path to kustomize binary", 2138 Type: []string{"string"}, 2139 Format: "", 2140 }, 2141 }, 2142 }, 2143 Required: []string{"BuildOptions", "BinaryPath"}, 2144 }, 2145 }, 2146 } 2147 } 2148 2149 func schema_pkg_apis_application_v1alpha1_Operation(ref common.ReferenceCallback) common.OpenAPIDefinition { 2150 return common.OpenAPIDefinition{ 2151 Schema: spec.Schema{ 2152 SchemaProps: spec.SchemaProps{ 2153 Description: "Operation contains requested operation parameters.", 2154 Type: []string{"object"}, 2155 Properties: map[string]spec.Schema{ 2156 "sync": { 2157 SchemaProps: spec.SchemaProps{ 2158 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperation"), 2159 }, 2160 }, 2161 "initiatedBy": { 2162 SchemaProps: spec.SchemaProps{ 2163 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OperationInitiator"), 2164 }, 2165 }, 2166 "info": { 2167 SchemaProps: spec.SchemaProps{ 2168 Type: []string{"array"}, 2169 Items: &spec.SchemaOrArray{ 2170 Schema: &spec.Schema{ 2171 SchemaProps: spec.SchemaProps{ 2172 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Info"), 2173 }, 2174 }, 2175 }, 2176 }, 2177 }, 2178 "retry": { 2179 SchemaProps: spec.SchemaProps{ 2180 Description: "Retry controls failed sync retry behavior", 2181 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RetryStrategy"), 2182 }, 2183 }, 2184 }, 2185 }, 2186 }, 2187 Dependencies: []string{ 2188 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Info", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OperationInitiator", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RetryStrategy", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperation"}, 2189 } 2190 } 2191 2192 func schema_pkg_apis_application_v1alpha1_OperationInitiator(ref common.ReferenceCallback) common.OpenAPIDefinition { 2193 return common.OpenAPIDefinition{ 2194 Schema: spec.Schema{ 2195 SchemaProps: spec.SchemaProps{ 2196 Description: "OperationInitiator holds information about the operation initiator", 2197 Type: []string{"object"}, 2198 Properties: map[string]spec.Schema{ 2199 "username": { 2200 SchemaProps: spec.SchemaProps{ 2201 Description: "Name of a user who started operation.", 2202 Type: []string{"string"}, 2203 Format: "", 2204 }, 2205 }, 2206 "automated": { 2207 SchemaProps: spec.SchemaProps{ 2208 Description: "Automated is set to true if operation was initiated automatically by the application controller.", 2209 Type: []string{"boolean"}, 2210 Format: "", 2211 }, 2212 }, 2213 }, 2214 }, 2215 }, 2216 } 2217 } 2218 2219 func schema_pkg_apis_application_v1alpha1_OperationState(ref common.ReferenceCallback) common.OpenAPIDefinition { 2220 return common.OpenAPIDefinition{ 2221 Schema: spec.Schema{ 2222 SchemaProps: spec.SchemaProps{ 2223 Description: "OperationState contains information about state of currently performing operation on application.", 2224 Type: []string{"object"}, 2225 Properties: map[string]spec.Schema{ 2226 "operation": { 2227 SchemaProps: spec.SchemaProps{ 2228 Description: "Operation is the original requested operation", 2229 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Operation"), 2230 }, 2231 }, 2232 "phase": { 2233 SchemaProps: spec.SchemaProps{ 2234 Description: "Phase is the current phase of the operation", 2235 Type: []string{"string"}, 2236 Format: "", 2237 }, 2238 }, 2239 "message": { 2240 SchemaProps: spec.SchemaProps{ 2241 Description: "Message hold any pertinent messages when attempting to perform operation (typically errors).", 2242 Type: []string{"string"}, 2243 Format: "", 2244 }, 2245 }, 2246 "syncResult": { 2247 SchemaProps: spec.SchemaProps{ 2248 Description: "SyncResult is the result of a Sync operation", 2249 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperationResult"), 2250 }, 2251 }, 2252 "startedAt": { 2253 SchemaProps: spec.SchemaProps{ 2254 Description: "StartedAt contains time of operation start", 2255 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 2256 }, 2257 }, 2258 "finishedAt": { 2259 SchemaProps: spec.SchemaProps{ 2260 Description: "FinishedAt contains time of operation completion", 2261 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 2262 }, 2263 }, 2264 "retryCount": { 2265 SchemaProps: spec.SchemaProps{ 2266 Description: "RetryCount contains time of operation retries", 2267 Type: []string{"integer"}, 2268 Format: "int64", 2269 }, 2270 }, 2271 }, 2272 Required: []string{"operation", "phase", "startedAt"}, 2273 }, 2274 }, 2275 Dependencies: []string{ 2276 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Operation", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperationResult", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 2277 } 2278 } 2279 2280 func schema_pkg_apis_application_v1alpha1_OrphanedResourceKey(ref common.ReferenceCallback) common.OpenAPIDefinition { 2281 return common.OpenAPIDefinition{ 2282 Schema: spec.Schema{ 2283 SchemaProps: spec.SchemaProps{ 2284 Type: []string{"object"}, 2285 Properties: map[string]spec.Schema{ 2286 "group": { 2287 SchemaProps: spec.SchemaProps{ 2288 Type: []string{"string"}, 2289 Format: "", 2290 }, 2291 }, 2292 "kind": { 2293 SchemaProps: spec.SchemaProps{ 2294 Type: []string{"string"}, 2295 Format: "", 2296 }, 2297 }, 2298 "name": { 2299 SchemaProps: spec.SchemaProps{ 2300 Type: []string{"string"}, 2301 Format: "", 2302 }, 2303 }, 2304 }, 2305 }, 2306 }, 2307 } 2308 } 2309 2310 func schema_pkg_apis_application_v1alpha1_OrphanedResourcesMonitorSettings(ref common.ReferenceCallback) common.OpenAPIDefinition { 2311 return common.OpenAPIDefinition{ 2312 Schema: spec.Schema{ 2313 SchemaProps: spec.SchemaProps{ 2314 Description: "OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring", 2315 Type: []string{"object"}, 2316 Properties: map[string]spec.Schema{ 2317 "warn": { 2318 SchemaProps: spec.SchemaProps{ 2319 Description: "Warn indicates if warning condition should be created for apps which have orphaned resources", 2320 Type: []string{"boolean"}, 2321 Format: "", 2322 }, 2323 }, 2324 "ignore": { 2325 SchemaProps: spec.SchemaProps{ 2326 Type: []string{"array"}, 2327 Items: &spec.SchemaOrArray{ 2328 Schema: &spec.Schema{ 2329 SchemaProps: spec.SchemaProps{ 2330 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OrphanedResourceKey"), 2331 }, 2332 }, 2333 }, 2334 }, 2335 }, 2336 }, 2337 }, 2338 }, 2339 Dependencies: []string{ 2340 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OrphanedResourceKey"}, 2341 } 2342 } 2343 2344 func schema_pkg_apis_application_v1alpha1_OverrideIgnoreDiff(ref common.ReferenceCallback) common.OpenAPIDefinition { 2345 return common.OpenAPIDefinition{ 2346 Schema: spec.Schema{ 2347 SchemaProps: spec.SchemaProps{ 2348 Type: []string{"object"}, 2349 Properties: map[string]spec.Schema{ 2350 "jsonPointers": { 2351 SchemaProps: spec.SchemaProps{ 2352 Type: []string{"array"}, 2353 Items: &spec.SchemaOrArray{ 2354 Schema: &spec.Schema{ 2355 SchemaProps: spec.SchemaProps{ 2356 Type: []string{"string"}, 2357 Format: "", 2358 }, 2359 }, 2360 }, 2361 }, 2362 }, 2363 }, 2364 Required: []string{"jsonPointers"}, 2365 }, 2366 }, 2367 } 2368 } 2369 2370 func schema_pkg_apis_application_v1alpha1_ProjectRole(ref common.ReferenceCallback) common.OpenAPIDefinition { 2371 return common.OpenAPIDefinition{ 2372 Schema: spec.Schema{ 2373 SchemaProps: spec.SchemaProps{ 2374 Description: "ProjectRole represents a role that has access to a project", 2375 Type: []string{"object"}, 2376 Properties: map[string]spec.Schema{ 2377 "name": { 2378 SchemaProps: spec.SchemaProps{ 2379 Description: "Name is a name for this role", 2380 Type: []string{"string"}, 2381 Format: "", 2382 }, 2383 }, 2384 "description": { 2385 SchemaProps: spec.SchemaProps{ 2386 Description: "Description is a description of the role", 2387 Type: []string{"string"}, 2388 Format: "", 2389 }, 2390 }, 2391 "policies": { 2392 SchemaProps: spec.SchemaProps{ 2393 Description: "Policies Stores a list of casbin formated strings that define access policies for the role in the project", 2394 Type: []string{"array"}, 2395 Items: &spec.SchemaOrArray{ 2396 Schema: &spec.Schema{ 2397 SchemaProps: spec.SchemaProps{ 2398 Type: []string{"string"}, 2399 Format: "", 2400 }, 2401 }, 2402 }, 2403 }, 2404 }, 2405 "jwtTokens": { 2406 SchemaProps: spec.SchemaProps{ 2407 Description: "JWTTokens are a list of generated JWT tokens bound to this role", 2408 Type: []string{"array"}, 2409 Items: &spec.SchemaOrArray{ 2410 Schema: &spec.Schema{ 2411 SchemaProps: spec.SchemaProps{ 2412 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTToken"), 2413 }, 2414 }, 2415 }, 2416 }, 2417 }, 2418 "groups": { 2419 SchemaProps: spec.SchemaProps{ 2420 Description: "Groups are a list of OIDC group claims bound to this role", 2421 Type: []string{"array"}, 2422 Items: &spec.SchemaOrArray{ 2423 Schema: &spec.Schema{ 2424 SchemaProps: spec.SchemaProps{ 2425 Type: []string{"string"}, 2426 Format: "", 2427 }, 2428 }, 2429 }, 2430 }, 2431 }, 2432 }, 2433 Required: []string{"name"}, 2434 }, 2435 }, 2436 Dependencies: []string{ 2437 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.JWTToken"}, 2438 } 2439 } 2440 2441 func schema_pkg_apis_application_v1alpha1_RepoCreds(ref common.ReferenceCallback) common.OpenAPIDefinition { 2442 return common.OpenAPIDefinition{ 2443 Schema: spec.Schema{ 2444 SchemaProps: spec.SchemaProps{ 2445 Description: "RepoCreds holds a repository credentials definition", 2446 Type: []string{"object"}, 2447 Properties: map[string]spec.Schema{ 2448 "url": { 2449 SchemaProps: spec.SchemaProps{ 2450 Description: "URL is the URL that this credentials matches to", 2451 Type: []string{"string"}, 2452 Format: "", 2453 }, 2454 }, 2455 "username": { 2456 SchemaProps: spec.SchemaProps{ 2457 Description: "Username for authenticating at the repo server", 2458 Type: []string{"string"}, 2459 Format: "", 2460 }, 2461 }, 2462 "password": { 2463 SchemaProps: spec.SchemaProps{ 2464 Description: "Password for authenticating at the repo server", 2465 Type: []string{"string"}, 2466 Format: "", 2467 }, 2468 }, 2469 "sshPrivateKey": { 2470 SchemaProps: spec.SchemaProps{ 2471 Description: "SSH private key data for authenticating at the repo server (only Git repos)", 2472 Type: []string{"string"}, 2473 Format: "", 2474 }, 2475 }, 2476 "tlsClientCertData": { 2477 SchemaProps: spec.SchemaProps{ 2478 Description: "TLS client cert data for authenticating at the repo server", 2479 Type: []string{"string"}, 2480 Format: "", 2481 }, 2482 }, 2483 "tlsClientCertKey": { 2484 SchemaProps: spec.SchemaProps{ 2485 Description: "TLS client cert key for authenticating at the repo server", 2486 Type: []string{"string"}, 2487 Format: "", 2488 }, 2489 }, 2490 }, 2491 Required: []string{"url"}, 2492 }, 2493 }, 2494 } 2495 } 2496 2497 func schema_pkg_apis_application_v1alpha1_RepoCredsList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2498 return common.OpenAPIDefinition{ 2499 Schema: spec.Schema{ 2500 SchemaProps: spec.SchemaProps{ 2501 Description: "RepositoryList is a collection of Repositories.", 2502 Type: []string{"object"}, 2503 Properties: map[string]spec.Schema{ 2504 "metadata": { 2505 SchemaProps: spec.SchemaProps{ 2506 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2507 }, 2508 }, 2509 "items": { 2510 SchemaProps: spec.SchemaProps{ 2511 Type: []string{"array"}, 2512 Items: &spec.SchemaOrArray{ 2513 Schema: &spec.Schema{ 2514 SchemaProps: spec.SchemaProps{ 2515 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepoCreds"), 2516 }, 2517 }, 2518 }, 2519 }, 2520 }, 2521 }, 2522 Required: []string{"items"}, 2523 }, 2524 }, 2525 Dependencies: []string{ 2526 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepoCreds", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2527 } 2528 } 2529 2530 func schema_pkg_apis_application_v1alpha1_Repository(ref common.ReferenceCallback) common.OpenAPIDefinition { 2531 return common.OpenAPIDefinition{ 2532 Schema: spec.Schema{ 2533 SchemaProps: spec.SchemaProps{ 2534 Description: "Repository is a repository holding application configurations", 2535 Type: []string{"object"}, 2536 Properties: map[string]spec.Schema{ 2537 "repo": { 2538 SchemaProps: spec.SchemaProps{ 2539 Description: "URL of the repo", 2540 Type: []string{"string"}, 2541 Format: "", 2542 }, 2543 }, 2544 "username": { 2545 SchemaProps: spec.SchemaProps{ 2546 Description: "Username for authenticating at the repo server", 2547 Type: []string{"string"}, 2548 Format: "", 2549 }, 2550 }, 2551 "password": { 2552 SchemaProps: spec.SchemaProps{ 2553 Description: "Password for authenticating at the repo server", 2554 Type: []string{"string"}, 2555 Format: "", 2556 }, 2557 }, 2558 "sshPrivateKey": { 2559 SchemaProps: spec.SchemaProps{ 2560 Description: "SSH private key data for authenticating at the repo server only for Git repos", 2561 Type: []string{"string"}, 2562 Format: "", 2563 }, 2564 }, 2565 "connectionState": { 2566 SchemaProps: spec.SchemaProps{ 2567 Description: "Current state of repository server connecting", 2568 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConnectionState"), 2569 }, 2570 }, 2571 "insecureIgnoreHostKey": { 2572 SchemaProps: spec.SchemaProps{ 2573 Description: "InsecureIgnoreHostKey should not be used anymore, Insecure is favoured only for Git repos", 2574 Type: []string{"boolean"}, 2575 Format: "", 2576 }, 2577 }, 2578 "insecure": { 2579 SchemaProps: spec.SchemaProps{ 2580 Description: "Whether the repo is insecure", 2581 Type: []string{"boolean"}, 2582 Format: "", 2583 }, 2584 }, 2585 "enableLfs": { 2586 SchemaProps: spec.SchemaProps{ 2587 Description: "Whether git-lfs support should be enabled for this repo", 2588 Type: []string{"boolean"}, 2589 Format: "", 2590 }, 2591 }, 2592 "tlsClientCertData": { 2593 SchemaProps: spec.SchemaProps{ 2594 Description: "TLS client cert data for authenticating at the repo server", 2595 Type: []string{"string"}, 2596 Format: "", 2597 }, 2598 }, 2599 "tlsClientCertKey": { 2600 SchemaProps: spec.SchemaProps{ 2601 Description: "TLS client cert key for authenticating at the repo server", 2602 Type: []string{"string"}, 2603 Format: "", 2604 }, 2605 }, 2606 "type": { 2607 SchemaProps: spec.SchemaProps{ 2608 Description: "type of the repo, maybe \"git or \"helm, \"git\" is assumed if empty or absent", 2609 Type: []string{"string"}, 2610 Format: "", 2611 }, 2612 }, 2613 "name": { 2614 SchemaProps: spec.SchemaProps{ 2615 Description: "only for Helm repos", 2616 Type: []string{"string"}, 2617 Format: "", 2618 }, 2619 }, 2620 "inheritedCreds": { 2621 SchemaProps: spec.SchemaProps{ 2622 Description: "Whether credentials were inherited from a credential set", 2623 Type: []string{"boolean"}, 2624 Format: "", 2625 }, 2626 }, 2627 "enableOCI": { 2628 SchemaProps: spec.SchemaProps{ 2629 Description: "Whether helm-oci support should be enabled for this repo", 2630 Type: []string{"boolean"}, 2631 Format: "", 2632 }, 2633 }, 2634 }, 2635 Required: []string{"repo"}, 2636 }, 2637 }, 2638 Dependencies: []string{ 2639 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ConnectionState"}, 2640 } 2641 } 2642 2643 func schema_pkg_apis_application_v1alpha1_RepositoryCertificate(ref common.ReferenceCallback) common.OpenAPIDefinition { 2644 return common.OpenAPIDefinition{ 2645 Schema: spec.Schema{ 2646 SchemaProps: spec.SchemaProps{ 2647 Description: "A RepositoryCertificate is either SSH known hosts entry or TLS certificate", 2648 Type: []string{"object"}, 2649 Properties: map[string]spec.Schema{ 2650 "serverName": { 2651 SchemaProps: spec.SchemaProps{ 2652 Description: "Name of the server the certificate is intended for", 2653 Type: []string{"string"}, 2654 Format: "", 2655 }, 2656 }, 2657 "certType": { 2658 SchemaProps: spec.SchemaProps{ 2659 Description: "Type of certificate - currently \"https\" or \"ssh\"", 2660 Type: []string{"string"}, 2661 Format: "", 2662 }, 2663 }, 2664 "certSubType": { 2665 SchemaProps: spec.SchemaProps{ 2666 Description: "The sub type of the cert, i.e. \"ssh-rsa\"", 2667 Type: []string{"string"}, 2668 Format: "", 2669 }, 2670 }, 2671 "certData": { 2672 SchemaProps: spec.SchemaProps{ 2673 Description: "Actual certificate data, protocol dependent", 2674 Type: []string{"string"}, 2675 Format: "byte", 2676 }, 2677 }, 2678 "certInfo": { 2679 SchemaProps: spec.SchemaProps{ 2680 Description: "Additional certificate info (e.g. SSH fingerprint, X509 CommonName)", 2681 Type: []string{"string"}, 2682 Format: "", 2683 }, 2684 }, 2685 }, 2686 Required: []string{"serverName", "certType", "certSubType", "certData", "certInfo"}, 2687 }, 2688 }, 2689 } 2690 } 2691 2692 func schema_pkg_apis_application_v1alpha1_RepositoryCertificateList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2693 return common.OpenAPIDefinition{ 2694 Schema: spec.Schema{ 2695 SchemaProps: spec.SchemaProps{ 2696 Description: "RepositoryCertificateList is a collection of RepositoryCertificates", 2697 Type: []string{"object"}, 2698 Properties: map[string]spec.Schema{ 2699 "metadata": { 2700 SchemaProps: spec.SchemaProps{ 2701 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2702 }, 2703 }, 2704 "items": { 2705 SchemaProps: spec.SchemaProps{ 2706 Description: "List of certificates to be processed", 2707 Type: []string{"array"}, 2708 Items: &spec.SchemaOrArray{ 2709 Schema: &spec.Schema{ 2710 SchemaProps: spec.SchemaProps{ 2711 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepositoryCertificate"), 2712 }, 2713 }, 2714 }, 2715 }, 2716 }, 2717 }, 2718 Required: []string{"items"}, 2719 }, 2720 }, 2721 Dependencies: []string{ 2722 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RepositoryCertificate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2723 } 2724 } 2725 2726 func schema_pkg_apis_application_v1alpha1_RepositoryList(ref common.ReferenceCallback) common.OpenAPIDefinition { 2727 return common.OpenAPIDefinition{ 2728 Schema: spec.Schema{ 2729 SchemaProps: spec.SchemaProps{ 2730 Description: "RepositoryList is a collection of Repositories.", 2731 Type: []string{"object"}, 2732 Properties: map[string]spec.Schema{ 2733 "metadata": { 2734 SchemaProps: spec.SchemaProps{ 2735 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), 2736 }, 2737 }, 2738 "items": { 2739 SchemaProps: spec.SchemaProps{ 2740 Type: []string{"array"}, 2741 Items: &spec.SchemaOrArray{ 2742 Schema: &spec.Schema{ 2743 SchemaProps: spec.SchemaProps{ 2744 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Repository"), 2745 }, 2746 }, 2747 }, 2748 }, 2749 }, 2750 }, 2751 Required: []string{"items"}, 2752 }, 2753 }, 2754 Dependencies: []string{ 2755 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Repository", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, 2756 } 2757 } 2758 2759 func schema_pkg_apis_application_v1alpha1_ResourceAction(ref common.ReferenceCallback) common.OpenAPIDefinition { 2760 return common.OpenAPIDefinition{ 2761 Schema: spec.Schema{ 2762 SchemaProps: spec.SchemaProps{ 2763 Type: []string{"object"}, 2764 Properties: map[string]spec.Schema{ 2765 "name": { 2766 SchemaProps: spec.SchemaProps{ 2767 Type: []string{"string"}, 2768 Format: "", 2769 }, 2770 }, 2771 "params": { 2772 SchemaProps: spec.SchemaProps{ 2773 Type: []string{"array"}, 2774 Items: &spec.SchemaOrArray{ 2775 Schema: &spec.Schema{ 2776 SchemaProps: spec.SchemaProps{ 2777 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceActionParam"), 2778 }, 2779 }, 2780 }, 2781 }, 2782 }, 2783 "disabled": { 2784 SchemaProps: spec.SchemaProps{ 2785 Type: []string{"boolean"}, 2786 Format: "", 2787 }, 2788 }, 2789 }, 2790 }, 2791 }, 2792 Dependencies: []string{ 2793 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceActionParam"}, 2794 } 2795 } 2796 2797 func schema_pkg_apis_application_v1alpha1_ResourceActionDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition { 2798 return common.OpenAPIDefinition{ 2799 Schema: spec.Schema{ 2800 SchemaProps: spec.SchemaProps{ 2801 Type: []string{"object"}, 2802 Properties: map[string]spec.Schema{ 2803 "name": { 2804 SchemaProps: spec.SchemaProps{ 2805 Type: []string{"string"}, 2806 Format: "", 2807 }, 2808 }, 2809 "action.lua": { 2810 SchemaProps: spec.SchemaProps{ 2811 Type: []string{"string"}, 2812 Format: "", 2813 }, 2814 }, 2815 }, 2816 Required: []string{"name", "action.lua"}, 2817 }, 2818 }, 2819 } 2820 } 2821 2822 func schema_pkg_apis_application_v1alpha1_ResourceActionParam(ref common.ReferenceCallback) common.OpenAPIDefinition { 2823 return common.OpenAPIDefinition{ 2824 Schema: spec.Schema{ 2825 SchemaProps: spec.SchemaProps{ 2826 Type: []string{"object"}, 2827 Properties: map[string]spec.Schema{ 2828 "name": { 2829 SchemaProps: spec.SchemaProps{ 2830 Type: []string{"string"}, 2831 Format: "", 2832 }, 2833 }, 2834 "value": { 2835 SchemaProps: spec.SchemaProps{ 2836 Type: []string{"string"}, 2837 Format: "", 2838 }, 2839 }, 2840 "type": { 2841 SchemaProps: spec.SchemaProps{ 2842 Type: []string{"string"}, 2843 Format: "", 2844 }, 2845 }, 2846 "default": { 2847 SchemaProps: spec.SchemaProps{ 2848 Type: []string{"string"}, 2849 Format: "", 2850 }, 2851 }, 2852 }, 2853 }, 2854 }, 2855 } 2856 } 2857 2858 func schema_pkg_apis_application_v1alpha1_ResourceActions(ref common.ReferenceCallback) common.OpenAPIDefinition { 2859 return common.OpenAPIDefinition{ 2860 Schema: spec.Schema{ 2861 SchemaProps: spec.SchemaProps{ 2862 Type: []string{"object"}, 2863 Properties: map[string]spec.Schema{ 2864 "discovery.lua": { 2865 SchemaProps: spec.SchemaProps{ 2866 Type: []string{"string"}, 2867 Format: "", 2868 }, 2869 }, 2870 "definitions": { 2871 SchemaProps: spec.SchemaProps{ 2872 Type: []string{"array"}, 2873 Items: &spec.SchemaOrArray{ 2874 Schema: &spec.Schema{ 2875 SchemaProps: spec.SchemaProps{ 2876 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceActionDefinition"), 2877 }, 2878 }, 2879 }, 2880 }, 2881 }, 2882 }, 2883 }, 2884 }, 2885 Dependencies: []string{ 2886 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceActionDefinition"}, 2887 } 2888 } 2889 2890 func schema_pkg_apis_application_v1alpha1_ResourceDiff(ref common.ReferenceCallback) common.OpenAPIDefinition { 2891 return common.OpenAPIDefinition{ 2892 Schema: spec.Schema{ 2893 SchemaProps: spec.SchemaProps{ 2894 Description: "ResourceDiff holds the diff of a live and target resource object", 2895 Type: []string{"object"}, 2896 Properties: map[string]spec.Schema{ 2897 "group": { 2898 SchemaProps: spec.SchemaProps{ 2899 Type: []string{"string"}, 2900 Format: "", 2901 }, 2902 }, 2903 "kind": { 2904 SchemaProps: spec.SchemaProps{ 2905 Type: []string{"string"}, 2906 Format: "", 2907 }, 2908 }, 2909 "namespace": { 2910 SchemaProps: spec.SchemaProps{ 2911 Type: []string{"string"}, 2912 Format: "", 2913 }, 2914 }, 2915 "name": { 2916 SchemaProps: spec.SchemaProps{ 2917 Type: []string{"string"}, 2918 Format: "", 2919 }, 2920 }, 2921 "targetState": { 2922 SchemaProps: spec.SchemaProps{ 2923 Description: "TargetState contains the JSON serialized resource manifest defined in the Git/Helm", 2924 Type: []string{"string"}, 2925 Format: "", 2926 }, 2927 }, 2928 "liveState": { 2929 SchemaProps: spec.SchemaProps{ 2930 Description: "TargetState contains the JSON live resource manifest", 2931 Type: []string{"string"}, 2932 Format: "", 2933 }, 2934 }, 2935 "diff": { 2936 SchemaProps: spec.SchemaProps{ 2937 Description: "Diff contains the JSON patch between target and live resource Deprecated: use NormalizedLiveState and PredictedLiveState to render the difference", 2938 Type: []string{"string"}, 2939 Format: "", 2940 }, 2941 }, 2942 "hook": { 2943 SchemaProps: spec.SchemaProps{ 2944 Type: []string{"boolean"}, 2945 Format: "", 2946 }, 2947 }, 2948 "normalizedLiveState": { 2949 SchemaProps: spec.SchemaProps{ 2950 Description: "NormalizedLiveState contains JSON serialized live resource state with applied normalizations", 2951 Type: []string{"string"}, 2952 Format: "", 2953 }, 2954 }, 2955 "predictedLiveState": { 2956 SchemaProps: spec.SchemaProps{ 2957 Description: "PredictedLiveState contains JSON serialized resource state that is calculated based on normalized and target resource state", 2958 Type: []string{"string"}, 2959 Format: "", 2960 }, 2961 }, 2962 }, 2963 }, 2964 }, 2965 } 2966 } 2967 2968 func schema_pkg_apis_application_v1alpha1_ResourceIgnoreDifferences(ref common.ReferenceCallback) common.OpenAPIDefinition { 2969 return common.OpenAPIDefinition{ 2970 Schema: spec.Schema{ 2971 SchemaProps: spec.SchemaProps{ 2972 Description: "ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.", 2973 Type: []string{"object"}, 2974 Properties: map[string]spec.Schema{ 2975 "group": { 2976 SchemaProps: spec.SchemaProps{ 2977 Type: []string{"string"}, 2978 Format: "", 2979 }, 2980 }, 2981 "kind": { 2982 SchemaProps: spec.SchemaProps{ 2983 Type: []string{"string"}, 2984 Format: "", 2985 }, 2986 }, 2987 "name": { 2988 SchemaProps: spec.SchemaProps{ 2989 Type: []string{"string"}, 2990 Format: "", 2991 }, 2992 }, 2993 "namespace": { 2994 SchemaProps: spec.SchemaProps{ 2995 Type: []string{"string"}, 2996 Format: "", 2997 }, 2998 }, 2999 "jsonPointers": { 3000 SchemaProps: spec.SchemaProps{ 3001 Type: []string{"array"}, 3002 Items: &spec.SchemaOrArray{ 3003 Schema: &spec.Schema{ 3004 SchemaProps: spec.SchemaProps{ 3005 Type: []string{"string"}, 3006 Format: "", 3007 }, 3008 }, 3009 }, 3010 }, 3011 }, 3012 }, 3013 Required: []string{"kind", "jsonPointers"}, 3014 }, 3015 }, 3016 } 3017 } 3018 3019 func schema_pkg_apis_application_v1alpha1_ResourceNetworkingInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { 3020 return common.OpenAPIDefinition{ 3021 Schema: spec.Schema{ 3022 SchemaProps: spec.SchemaProps{ 3023 Description: "ResourceNetworkingInfo holds networking resource related information", 3024 Type: []string{"object"}, 3025 Properties: map[string]spec.Schema{ 3026 "targetLabels": { 3027 SchemaProps: spec.SchemaProps{ 3028 Type: []string{"object"}, 3029 AdditionalProperties: &spec.SchemaOrBool{ 3030 Allows: true, 3031 Schema: &spec.Schema{ 3032 SchemaProps: spec.SchemaProps{ 3033 Type: []string{"string"}, 3034 Format: "", 3035 }, 3036 }, 3037 }, 3038 }, 3039 }, 3040 "targetRefs": { 3041 SchemaProps: spec.SchemaProps{ 3042 Type: []string{"array"}, 3043 Items: &spec.SchemaOrArray{ 3044 Schema: &spec.Schema{ 3045 SchemaProps: spec.SchemaProps{ 3046 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceRef"), 3047 }, 3048 }, 3049 }, 3050 }, 3051 }, 3052 "labels": { 3053 SchemaProps: spec.SchemaProps{ 3054 Type: []string{"object"}, 3055 AdditionalProperties: &spec.SchemaOrBool{ 3056 Allows: true, 3057 Schema: &spec.Schema{ 3058 SchemaProps: spec.SchemaProps{ 3059 Type: []string{"string"}, 3060 Format: "", 3061 }, 3062 }, 3063 }, 3064 }, 3065 }, 3066 "ingress": { 3067 SchemaProps: spec.SchemaProps{ 3068 Type: []string{"array"}, 3069 Items: &spec.SchemaOrArray{ 3070 Schema: &spec.Schema{ 3071 SchemaProps: spec.SchemaProps{ 3072 Ref: ref("k8s.io/api/core/v1.LoadBalancerIngress"), 3073 }, 3074 }, 3075 }, 3076 }, 3077 }, 3078 "externalURLs": { 3079 SchemaProps: spec.SchemaProps{ 3080 Description: "ExternalURLs holds list of URLs which should be available externally. List is populated for ingress resources using rules hostnames.", 3081 Type: []string{"array"}, 3082 Items: &spec.SchemaOrArray{ 3083 Schema: &spec.Schema{ 3084 SchemaProps: spec.SchemaProps{ 3085 Type: []string{"string"}, 3086 Format: "", 3087 }, 3088 }, 3089 }, 3090 }, 3091 }, 3092 }, 3093 }, 3094 }, 3095 Dependencies: []string{ 3096 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceRef", "k8s.io/api/core/v1.LoadBalancerIngress"}, 3097 } 3098 } 3099 3100 func schema_pkg_apis_application_v1alpha1_ResourceNode(ref common.ReferenceCallback) common.OpenAPIDefinition { 3101 return common.OpenAPIDefinition{ 3102 Schema: spec.Schema{ 3103 SchemaProps: spec.SchemaProps{ 3104 Description: "ResourceNode contains information about live resource and its children", 3105 Type: []string{"object"}, 3106 Properties: map[string]spec.Schema{ 3107 "group": { 3108 SchemaProps: spec.SchemaProps{ 3109 Type: []string{"string"}, 3110 Format: "", 3111 }, 3112 }, 3113 "version": { 3114 SchemaProps: spec.SchemaProps{ 3115 Type: []string{"string"}, 3116 Format: "", 3117 }, 3118 }, 3119 "kind": { 3120 SchemaProps: spec.SchemaProps{ 3121 Type: []string{"string"}, 3122 Format: "", 3123 }, 3124 }, 3125 "namespace": { 3126 SchemaProps: spec.SchemaProps{ 3127 Type: []string{"string"}, 3128 Format: "", 3129 }, 3130 }, 3131 "name": { 3132 SchemaProps: spec.SchemaProps{ 3133 Type: []string{"string"}, 3134 Format: "", 3135 }, 3136 }, 3137 "uid": { 3138 SchemaProps: spec.SchemaProps{ 3139 Type: []string{"string"}, 3140 Format: "", 3141 }, 3142 }, 3143 "parentRefs": { 3144 SchemaProps: spec.SchemaProps{ 3145 Type: []string{"array"}, 3146 Items: &spec.SchemaOrArray{ 3147 Schema: &spec.Schema{ 3148 SchemaProps: spec.SchemaProps{ 3149 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceRef"), 3150 }, 3151 }, 3152 }, 3153 }, 3154 }, 3155 "info": { 3156 SchemaProps: spec.SchemaProps{ 3157 Type: []string{"array"}, 3158 Items: &spec.SchemaOrArray{ 3159 Schema: &spec.Schema{ 3160 SchemaProps: spec.SchemaProps{ 3161 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.InfoItem"), 3162 }, 3163 }, 3164 }, 3165 }, 3166 }, 3167 "networkingInfo": { 3168 SchemaProps: spec.SchemaProps{ 3169 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceNetworkingInfo"), 3170 }, 3171 }, 3172 "resourceVersion": { 3173 SchemaProps: spec.SchemaProps{ 3174 Type: []string{"string"}, 3175 Format: "", 3176 }, 3177 }, 3178 "images": { 3179 SchemaProps: spec.SchemaProps{ 3180 Type: []string{"array"}, 3181 Items: &spec.SchemaOrArray{ 3182 Schema: &spec.Schema{ 3183 SchemaProps: spec.SchemaProps{ 3184 Type: []string{"string"}, 3185 Format: "", 3186 }, 3187 }, 3188 }, 3189 }, 3190 }, 3191 "health": { 3192 SchemaProps: spec.SchemaProps{ 3193 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HealthStatus"), 3194 }, 3195 }, 3196 "createdAt": { 3197 SchemaProps: spec.SchemaProps{ 3198 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3199 }, 3200 }, 3201 }, 3202 }, 3203 }, 3204 Dependencies: []string{ 3205 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HealthStatus", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.InfoItem", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceNetworkingInfo", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceRef", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3206 } 3207 } 3208 3209 func schema_pkg_apis_application_v1alpha1_ResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition { 3210 return common.OpenAPIDefinition{ 3211 Schema: spec.Schema{ 3212 SchemaProps: spec.SchemaProps{ 3213 Description: "ResourceOverride holds configuration to customize resource diffing and health assessment", 3214 Type: []string{"object"}, 3215 Properties: map[string]spec.Schema{ 3216 "HealthLua": { 3217 SchemaProps: spec.SchemaProps{ 3218 Type: []string{"string"}, 3219 Format: "", 3220 }, 3221 }, 3222 "Actions": { 3223 SchemaProps: spec.SchemaProps{ 3224 Type: []string{"string"}, 3225 Format: "", 3226 }, 3227 }, 3228 "IgnoreDifferences": { 3229 SchemaProps: spec.SchemaProps{ 3230 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"), 3231 }, 3232 }, 3233 "KnownTypeFields": { 3234 SchemaProps: spec.SchemaProps{ 3235 Type: []string{"array"}, 3236 Items: &spec.SchemaOrArray{ 3237 Schema: &spec.Schema{ 3238 SchemaProps: spec.SchemaProps{ 3239 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KnownTypeField"), 3240 }, 3241 }, 3242 }, 3243 }, 3244 }, 3245 }, 3246 Required: []string{"HealthLua", "Actions", "IgnoreDifferences", "KnownTypeFields"}, 3247 }, 3248 }, 3249 Dependencies: []string{ 3250 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KnownTypeField", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"}, 3251 } 3252 } 3253 3254 func schema_pkg_apis_application_v1alpha1_ResourceRef(ref common.ReferenceCallback) common.OpenAPIDefinition { 3255 return common.OpenAPIDefinition{ 3256 Schema: spec.Schema{ 3257 SchemaProps: spec.SchemaProps{ 3258 Description: "ResourceRef includes fields which unique identify resource", 3259 Type: []string{"object"}, 3260 Properties: map[string]spec.Schema{ 3261 "group": { 3262 SchemaProps: spec.SchemaProps{ 3263 Type: []string{"string"}, 3264 Format: "", 3265 }, 3266 }, 3267 "version": { 3268 SchemaProps: spec.SchemaProps{ 3269 Type: []string{"string"}, 3270 Format: "", 3271 }, 3272 }, 3273 "kind": { 3274 SchemaProps: spec.SchemaProps{ 3275 Type: []string{"string"}, 3276 Format: "", 3277 }, 3278 }, 3279 "namespace": { 3280 SchemaProps: spec.SchemaProps{ 3281 Type: []string{"string"}, 3282 Format: "", 3283 }, 3284 }, 3285 "name": { 3286 SchemaProps: spec.SchemaProps{ 3287 Type: []string{"string"}, 3288 Format: "", 3289 }, 3290 }, 3291 "uid": { 3292 SchemaProps: spec.SchemaProps{ 3293 Type: []string{"string"}, 3294 Format: "", 3295 }, 3296 }, 3297 }, 3298 }, 3299 }, 3300 } 3301 } 3302 3303 func schema_pkg_apis_application_v1alpha1_ResourceResult(ref common.ReferenceCallback) common.OpenAPIDefinition { 3304 return common.OpenAPIDefinition{ 3305 Schema: spec.Schema{ 3306 SchemaProps: spec.SchemaProps{ 3307 Description: "ResourceResult holds the operation result details of a specific resource", 3308 Type: []string{"object"}, 3309 Properties: map[string]spec.Schema{ 3310 "group": { 3311 SchemaProps: spec.SchemaProps{ 3312 Type: []string{"string"}, 3313 Format: "", 3314 }, 3315 }, 3316 "version": { 3317 SchemaProps: spec.SchemaProps{ 3318 Type: []string{"string"}, 3319 Format: "", 3320 }, 3321 }, 3322 "kind": { 3323 SchemaProps: spec.SchemaProps{ 3324 Type: []string{"string"}, 3325 Format: "", 3326 }, 3327 }, 3328 "namespace": { 3329 SchemaProps: spec.SchemaProps{ 3330 Type: []string{"string"}, 3331 Format: "", 3332 }, 3333 }, 3334 "name": { 3335 SchemaProps: spec.SchemaProps{ 3336 Type: []string{"string"}, 3337 Format: "", 3338 }, 3339 }, 3340 "status": { 3341 SchemaProps: spec.SchemaProps{ 3342 Description: "the final result of the sync, this is be empty if the resources is yet to be applied/pruned and is always zero-value for hooks", 3343 Type: []string{"string"}, 3344 Format: "", 3345 }, 3346 }, 3347 "message": { 3348 SchemaProps: spec.SchemaProps{ 3349 Description: "message for the last sync OR operation", 3350 Type: []string{"string"}, 3351 Format: "", 3352 }, 3353 }, 3354 "hookType": { 3355 SchemaProps: spec.SchemaProps{ 3356 Description: "the type of the hook, empty for non-hook resources", 3357 Type: []string{"string"}, 3358 Format: "", 3359 }, 3360 }, 3361 "hookPhase": { 3362 SchemaProps: spec.SchemaProps{ 3363 Description: "the state of any operation associated with this resource OR hook note: can contain values for non-hook resources", 3364 Type: []string{"string"}, 3365 Format: "", 3366 }, 3367 }, 3368 "syncPhase": { 3369 SchemaProps: spec.SchemaProps{ 3370 Description: "indicates the particular phase of the sync that this is for", 3371 Type: []string{"string"}, 3372 Format: "", 3373 }, 3374 }, 3375 }, 3376 Required: []string{"group", "version", "kind", "namespace", "name"}, 3377 }, 3378 }, 3379 } 3380 } 3381 3382 func schema_pkg_apis_application_v1alpha1_ResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3383 return common.OpenAPIDefinition{ 3384 Schema: spec.Schema{ 3385 SchemaProps: spec.SchemaProps{ 3386 Description: "ResourceStatus holds the current sync and health status of a resource", 3387 Type: []string{"object"}, 3388 Properties: map[string]spec.Schema{ 3389 "group": { 3390 SchemaProps: spec.SchemaProps{ 3391 Type: []string{"string"}, 3392 Format: "", 3393 }, 3394 }, 3395 "version": { 3396 SchemaProps: spec.SchemaProps{ 3397 Type: []string{"string"}, 3398 Format: "", 3399 }, 3400 }, 3401 "kind": { 3402 SchemaProps: spec.SchemaProps{ 3403 Type: []string{"string"}, 3404 Format: "", 3405 }, 3406 }, 3407 "namespace": { 3408 SchemaProps: spec.SchemaProps{ 3409 Type: []string{"string"}, 3410 Format: "", 3411 }, 3412 }, 3413 "name": { 3414 SchemaProps: spec.SchemaProps{ 3415 Type: []string{"string"}, 3416 Format: "", 3417 }, 3418 }, 3419 "status": { 3420 SchemaProps: spec.SchemaProps{ 3421 Type: []string{"string"}, 3422 Format: "", 3423 }, 3424 }, 3425 "health": { 3426 SchemaProps: spec.SchemaProps{ 3427 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HealthStatus"), 3428 }, 3429 }, 3430 "hook": { 3431 SchemaProps: spec.SchemaProps{ 3432 Type: []string{"boolean"}, 3433 Format: "", 3434 }, 3435 }, 3436 "requiresPruning": { 3437 SchemaProps: spec.SchemaProps{ 3438 Type: []string{"boolean"}, 3439 Format: "", 3440 }, 3441 }, 3442 }, 3443 }, 3444 }, 3445 Dependencies: []string{ 3446 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.HealthStatus"}, 3447 } 3448 } 3449 3450 func schema_pkg_apis_application_v1alpha1_RetryStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition { 3451 return common.OpenAPIDefinition{ 3452 Schema: spec.Schema{ 3453 SchemaProps: spec.SchemaProps{ 3454 Type: []string{"object"}, 3455 Properties: map[string]spec.Schema{ 3456 "limit": { 3457 SchemaProps: spec.SchemaProps{ 3458 Description: "Limit is the maximum number of attempts when retrying a container", 3459 Type: []string{"integer"}, 3460 Format: "int64", 3461 }, 3462 }, 3463 "backoff": { 3464 SchemaProps: spec.SchemaProps{ 3465 Description: "Backoff is a backoff strategy", 3466 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Backoff"), 3467 }, 3468 }, 3469 }, 3470 }, 3471 }, 3472 Dependencies: []string{ 3473 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.Backoff"}, 3474 } 3475 } 3476 3477 func schema_pkg_apis_application_v1alpha1_RevisionHistory(ref common.ReferenceCallback) common.OpenAPIDefinition { 3478 return common.OpenAPIDefinition{ 3479 Schema: spec.Schema{ 3480 SchemaProps: spec.SchemaProps{ 3481 Description: "RevisionHistory contains information relevant to an application deployment", 3482 Type: []string{"object"}, 3483 Properties: map[string]spec.Schema{ 3484 "revision": { 3485 SchemaProps: spec.SchemaProps{ 3486 Description: "Revision holds the revision of the sync", 3487 Type: []string{"string"}, 3488 Format: "", 3489 }, 3490 }, 3491 "deployedAt": { 3492 SchemaProps: spec.SchemaProps{ 3493 Description: "DeployedAt holds the time the deployment completed", 3494 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3495 }, 3496 }, 3497 "id": { 3498 SchemaProps: spec.SchemaProps{ 3499 Description: "ID is an auto incrementing identifier of the RevisionHistory", 3500 Type: []string{"integer"}, 3501 Format: "int64", 3502 }, 3503 }, 3504 "source": { 3505 SchemaProps: spec.SchemaProps{ 3506 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource"), 3507 }, 3508 }, 3509 "deployStartedAt": { 3510 SchemaProps: spec.SchemaProps{ 3511 Description: "DeployStartedAt holds the time the deployment started", 3512 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3513 }, 3514 }, 3515 }, 3516 Required: []string{"revision", "deployedAt", "id"}, 3517 }, 3518 }, 3519 Dependencies: []string{ 3520 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3521 } 3522 } 3523 3524 func schema_pkg_apis_application_v1alpha1_RevisionMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition { 3525 return common.OpenAPIDefinition{ 3526 Schema: spec.Schema{ 3527 SchemaProps: spec.SchemaProps{ 3528 Description: "data about a specific revision within a repo", 3529 Type: []string{"object"}, 3530 Properties: map[string]spec.Schema{ 3531 "author": { 3532 SchemaProps: spec.SchemaProps{ 3533 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", 3534 Type: []string{"string"}, 3535 Format: "", 3536 }, 3537 }, 3538 "date": { 3539 SchemaProps: spec.SchemaProps{ 3540 Description: "when the revision was authored", 3541 Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"), 3542 }, 3543 }, 3544 "tags": { 3545 SchemaProps: spec.SchemaProps{ 3546 Description: "tags on the revision, note - tags can move from one revision to another", 3547 Type: []string{"array"}, 3548 Items: &spec.SchemaOrArray{ 3549 Schema: &spec.Schema{ 3550 SchemaProps: spec.SchemaProps{ 3551 Type: []string{"string"}, 3552 Format: "", 3553 }, 3554 }, 3555 }, 3556 }, 3557 }, 3558 "message": { 3559 SchemaProps: spec.SchemaProps{ 3560 Description: "the message associated with the revision, probably the commit message, this is truncated to the first newline or 64 characters (which ever comes first)", 3561 Type: []string{"string"}, 3562 Format: "", 3563 }, 3564 }, 3565 "signatureInfo": { 3566 SchemaProps: spec.SchemaProps{ 3567 Description: "If revision was signed with GPG, and signature verification is enabled, this contains a hint on the signer", 3568 Type: []string{"string"}, 3569 Format: "", 3570 }, 3571 }, 3572 }, 3573 Required: []string{"date"}, 3574 }, 3575 }, 3576 Dependencies: []string{ 3577 "k8s.io/apimachinery/pkg/apis/meta/v1.Time"}, 3578 } 3579 } 3580 3581 func schema_pkg_apis_application_v1alpha1_SignatureKey(ref common.ReferenceCallback) common.OpenAPIDefinition { 3582 return common.OpenAPIDefinition{ 3583 Schema: spec.Schema{ 3584 SchemaProps: spec.SchemaProps{ 3585 Description: "SignatureKey is the specification of a key required to verify commit signatures with", 3586 Type: []string{"object"}, 3587 Properties: map[string]spec.Schema{ 3588 "keyID": { 3589 SchemaProps: spec.SchemaProps{ 3590 Description: "The ID of the key in hexadecimal notation", 3591 Type: []string{"string"}, 3592 Format: "", 3593 }, 3594 }, 3595 }, 3596 Required: []string{"keyID"}, 3597 }, 3598 }, 3599 } 3600 } 3601 3602 func schema_pkg_apis_application_v1alpha1_SyncOperation(ref common.ReferenceCallback) common.OpenAPIDefinition { 3603 return common.OpenAPIDefinition{ 3604 Schema: spec.Schema{ 3605 SchemaProps: spec.SchemaProps{ 3606 Description: "SyncOperation contains sync operation details.", 3607 Type: []string{"object"}, 3608 Properties: map[string]spec.Schema{ 3609 "revision": { 3610 SchemaProps: spec.SchemaProps{ 3611 Description: "Revision is the revision in which to sync the application to. If omitted, will use the revision specified in app spec.", 3612 Type: []string{"string"}, 3613 Format: "", 3614 }, 3615 }, 3616 "prune": { 3617 SchemaProps: spec.SchemaProps{ 3618 Description: "Prune deletes resources that are no longer tracked in git", 3619 Type: []string{"boolean"}, 3620 Format: "", 3621 }, 3622 }, 3623 "dryRun": { 3624 SchemaProps: spec.SchemaProps{ 3625 Description: "DryRun will perform a `kubectl apply --dry-run` without actually performing the sync", 3626 Type: []string{"boolean"}, 3627 Format: "", 3628 }, 3629 }, 3630 "syncStrategy": { 3631 SchemaProps: spec.SchemaProps{ 3632 Description: "SyncStrategy describes how to perform the sync", 3633 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategy"), 3634 }, 3635 }, 3636 "resources": { 3637 SchemaProps: spec.SchemaProps{ 3638 Description: "Resources describes which resources to sync", 3639 Type: []string{"array"}, 3640 Items: &spec.SchemaOrArray{ 3641 Schema: &spec.Schema{ 3642 SchemaProps: spec.SchemaProps{ 3643 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperationResource"), 3644 }, 3645 }, 3646 }, 3647 }, 3648 }, 3649 "source": { 3650 SchemaProps: spec.SchemaProps{ 3651 Description: "Source overrides the source definition set in the application. This is typically set in a Rollback operation and nil during a Sync operation", 3652 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource"), 3653 }, 3654 }, 3655 "manifests": { 3656 SchemaProps: spec.SchemaProps{ 3657 Description: "Manifests is an optional field that overrides sync source with a local directory for development", 3658 Type: []string{"array"}, 3659 Items: &spec.SchemaOrArray{ 3660 Schema: &spec.Schema{ 3661 SchemaProps: spec.SchemaProps{ 3662 Type: []string{"string"}, 3663 Format: "", 3664 }, 3665 }, 3666 }, 3667 }, 3668 }, 3669 "syncOptions": { 3670 SchemaProps: spec.SchemaProps{ 3671 Description: "SyncOptions provide per-sync sync-options, e.g. Validate=false", 3672 Type: []string{"array"}, 3673 Items: &spec.SchemaOrArray{ 3674 Schema: &spec.Schema{ 3675 SchemaProps: spec.SchemaProps{ 3676 Type: []string{"string"}, 3677 Format: "", 3678 }, 3679 }, 3680 }, 3681 }, 3682 }, 3683 }, 3684 }, 3685 }, 3686 Dependencies: []string{ 3687 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncOperationResource", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategy"}, 3688 } 3689 } 3690 3691 func schema_pkg_apis_application_v1alpha1_SyncOperationResource(ref common.ReferenceCallback) common.OpenAPIDefinition { 3692 return common.OpenAPIDefinition{ 3693 Schema: spec.Schema{ 3694 SchemaProps: spec.SchemaProps{ 3695 Description: "SyncOperationResource contains resources to sync.", 3696 Type: []string{"object"}, 3697 Properties: map[string]spec.Schema{ 3698 "group": { 3699 SchemaProps: spec.SchemaProps{ 3700 Type: []string{"string"}, 3701 Format: "", 3702 }, 3703 }, 3704 "kind": { 3705 SchemaProps: spec.SchemaProps{ 3706 Type: []string{"string"}, 3707 Format: "", 3708 }, 3709 }, 3710 "name": { 3711 SchemaProps: spec.SchemaProps{ 3712 Type: []string{"string"}, 3713 Format: "", 3714 }, 3715 }, 3716 "namespace": { 3717 SchemaProps: spec.SchemaProps{ 3718 Type: []string{"string"}, 3719 Format: "", 3720 }, 3721 }, 3722 }, 3723 Required: []string{"kind", "name"}, 3724 }, 3725 }, 3726 } 3727 } 3728 3729 func schema_pkg_apis_application_v1alpha1_SyncOperationResult(ref common.ReferenceCallback) common.OpenAPIDefinition { 3730 return common.OpenAPIDefinition{ 3731 Schema: spec.Schema{ 3732 SchemaProps: spec.SchemaProps{ 3733 Description: "SyncOperationResult represent result of sync operation", 3734 Type: []string{"object"}, 3735 Properties: map[string]spec.Schema{ 3736 "resources": { 3737 SchemaProps: spec.SchemaProps{ 3738 Description: "Resources holds the sync result of each individual resource", 3739 Type: []string{"array"}, 3740 Items: &spec.SchemaOrArray{ 3741 Schema: &spec.Schema{ 3742 SchemaProps: spec.SchemaProps{ 3743 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceResult"), 3744 }, 3745 }, 3746 }, 3747 }, 3748 }, 3749 "revision": { 3750 SchemaProps: spec.SchemaProps{ 3751 Description: "Revision holds the revision of the sync", 3752 Type: []string{"string"}, 3753 Format: "", 3754 }, 3755 }, 3756 "source": { 3757 SchemaProps: spec.SchemaProps{ 3758 Description: "Source records the application source information of the sync, used for comparing auto-sync", 3759 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource"), 3760 }, 3761 }, 3762 }, 3763 Required: []string{"revision"}, 3764 }, 3765 }, 3766 Dependencies: []string{ 3767 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ResourceResult"}, 3768 } 3769 } 3770 3771 func schema_pkg_apis_application_v1alpha1_SyncPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition { 3772 return common.OpenAPIDefinition{ 3773 Schema: spec.Schema{ 3774 SchemaProps: spec.SchemaProps{ 3775 Description: "SyncPolicy controls when a sync will be performed in response to updates in git", 3776 Type: []string{"object"}, 3777 Properties: map[string]spec.Schema{ 3778 "automated": { 3779 SchemaProps: spec.SchemaProps{ 3780 Description: "Automated will keep an application synced to the target revision", 3781 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncPolicyAutomated"), 3782 }, 3783 }, 3784 "syncOptions": { 3785 SchemaProps: spec.SchemaProps{ 3786 Description: "Options allow you to specify whole app sync-options", 3787 Type: []string{"array"}, 3788 Items: &spec.SchemaOrArray{ 3789 Schema: &spec.Schema{ 3790 SchemaProps: spec.SchemaProps{ 3791 Type: []string{"string"}, 3792 Format: "", 3793 }, 3794 }, 3795 }, 3796 }, 3797 }, 3798 "retry": { 3799 SchemaProps: spec.SchemaProps{ 3800 Description: "Retry controls failed sync retry behavior", 3801 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RetryStrategy"), 3802 }, 3803 }, 3804 }, 3805 }, 3806 }, 3807 Dependencies: []string{ 3808 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.RetryStrategy", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncPolicyAutomated"}, 3809 } 3810 } 3811 3812 func schema_pkg_apis_application_v1alpha1_SyncPolicyAutomated(ref common.ReferenceCallback) common.OpenAPIDefinition { 3813 return common.OpenAPIDefinition{ 3814 Schema: spec.Schema{ 3815 SchemaProps: spec.SchemaProps{ 3816 Description: "SyncPolicyAutomated controls the behavior of an automated sync", 3817 Type: []string{"object"}, 3818 Properties: map[string]spec.Schema{ 3819 "prune": { 3820 SchemaProps: spec.SchemaProps{ 3821 Description: "Prune will prune resources automatically as part of automated sync (default: false)", 3822 Type: []string{"boolean"}, 3823 Format: "", 3824 }, 3825 }, 3826 "selfHeal": { 3827 SchemaProps: spec.SchemaProps{ 3828 Description: "SelfHeal enables auto-syncing if (default: false)", 3829 Type: []string{"boolean"}, 3830 Format: "", 3831 }, 3832 }, 3833 "allowEmpty": { 3834 SchemaProps: spec.SchemaProps{ 3835 Description: "AllowEmpty allows apps have zero live resources (default: false)", 3836 Type: []string{"boolean"}, 3837 Format: "", 3838 }, 3839 }, 3840 }, 3841 }, 3842 }, 3843 } 3844 } 3845 3846 func schema_pkg_apis_application_v1alpha1_SyncStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { 3847 return common.OpenAPIDefinition{ 3848 Schema: spec.Schema{ 3849 SchemaProps: spec.SchemaProps{ 3850 Description: "SyncStatus is a comparison result of application spec and deployed application.", 3851 Type: []string{"object"}, 3852 Properties: map[string]spec.Schema{ 3853 "status": { 3854 SchemaProps: spec.SchemaProps{ 3855 Type: []string{"string"}, 3856 Format: "", 3857 }, 3858 }, 3859 "comparedTo": { 3860 SchemaProps: spec.SchemaProps{ 3861 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ComparedTo"), 3862 }, 3863 }, 3864 "revision": { 3865 SchemaProps: spec.SchemaProps{ 3866 Type: []string{"string"}, 3867 Format: "", 3868 }, 3869 }, 3870 }, 3871 Required: []string{"status"}, 3872 }, 3873 }, 3874 Dependencies: []string{ 3875 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.ComparedTo"}, 3876 } 3877 } 3878 3879 func schema_pkg_apis_application_v1alpha1_SyncStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition { 3880 return common.OpenAPIDefinition{ 3881 Schema: spec.Schema{ 3882 SchemaProps: spec.SchemaProps{ 3883 Description: "SyncStrategy controls the manner in which a sync is performed", 3884 Type: []string{"object"}, 3885 Properties: map[string]spec.Schema{ 3886 "apply": { 3887 SchemaProps: spec.SchemaProps{ 3888 Description: "Apply will perform a `kubectl apply` to perform the sync.", 3889 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategyApply"), 3890 }, 3891 }, 3892 "hook": { 3893 SchemaProps: spec.SchemaProps{ 3894 Description: "Hook will submit any referenced resources to perform the sync. This is the default strategy", 3895 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategyHook"), 3896 }, 3897 }, 3898 }, 3899 }, 3900 }, 3901 Dependencies: []string{ 3902 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategyApply", "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.SyncStrategyHook"}, 3903 } 3904 } 3905 3906 func schema_pkg_apis_application_v1alpha1_SyncStrategyApply(ref common.ReferenceCallback) common.OpenAPIDefinition { 3907 return common.OpenAPIDefinition{ 3908 Schema: spec.Schema{ 3909 SchemaProps: spec.SchemaProps{ 3910 Description: "SyncStrategyApply uses `kubectl apply` to perform the apply", 3911 Type: []string{"object"}, 3912 Properties: map[string]spec.Schema{ 3913 "force": { 3914 SchemaProps: spec.SchemaProps{ 3915 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.", 3916 Type: []string{"boolean"}, 3917 Format: "", 3918 }, 3919 }, 3920 }, 3921 }, 3922 }, 3923 } 3924 } 3925 3926 func schema_pkg_apis_application_v1alpha1_SyncStrategyHook(ref common.ReferenceCallback) common.OpenAPIDefinition { 3927 return common.OpenAPIDefinition{ 3928 Schema: spec.Schema{ 3929 SchemaProps: spec.SchemaProps{ 3930 Description: "SyncStrategyHook will perform a sync using hooks annotations. If no hook annotation is specified falls back to `kubectl apply`.", 3931 Type: []string{"object"}, 3932 Properties: map[string]spec.Schema{ 3933 "force": { 3934 SchemaProps: spec.SchemaProps{ 3935 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.", 3936 Type: []string{"boolean"}, 3937 Format: "", 3938 }, 3939 }, 3940 }, 3941 }, 3942 }, 3943 } 3944 } 3945 3946 func schema_pkg_apis_application_v1alpha1_SyncWindow(ref common.ReferenceCallback) common.OpenAPIDefinition { 3947 return common.OpenAPIDefinition{ 3948 Schema: spec.Schema{ 3949 SchemaProps: spec.SchemaProps{ 3950 Description: "SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps", 3951 Type: []string{"object"}, 3952 Properties: map[string]spec.Schema{ 3953 "kind": { 3954 SchemaProps: spec.SchemaProps{ 3955 Description: "Kind defines if the window allows or blocks syncs", 3956 Type: []string{"string"}, 3957 Format: "", 3958 }, 3959 }, 3960 "schedule": { 3961 SchemaProps: spec.SchemaProps{ 3962 Description: "Schedule is the time the window will begin, specified in cron format", 3963 Type: []string{"string"}, 3964 Format: "", 3965 }, 3966 }, 3967 "duration": { 3968 SchemaProps: spec.SchemaProps{ 3969 Description: "Duration is the amount of time the sync window will be open", 3970 Type: []string{"string"}, 3971 Format: "", 3972 }, 3973 }, 3974 "applications": { 3975 SchemaProps: spec.SchemaProps{ 3976 Description: "Applications contains a list of applications that the window will apply to", 3977 Type: []string{"array"}, 3978 Items: &spec.SchemaOrArray{ 3979 Schema: &spec.Schema{ 3980 SchemaProps: spec.SchemaProps{ 3981 Type: []string{"string"}, 3982 Format: "", 3983 }, 3984 }, 3985 }, 3986 }, 3987 }, 3988 "namespaces": { 3989 SchemaProps: spec.SchemaProps{ 3990 Description: "Namespaces contains a list of namespaces that the window will apply to", 3991 Type: []string{"array"}, 3992 Items: &spec.SchemaOrArray{ 3993 Schema: &spec.Schema{ 3994 SchemaProps: spec.SchemaProps{ 3995 Type: []string{"string"}, 3996 Format: "", 3997 }, 3998 }, 3999 }, 4000 }, 4001 }, 4002 "clusters": { 4003 SchemaProps: spec.SchemaProps{ 4004 Description: "Clusters contains a list of clusters that the window will apply to", 4005 Type: []string{"array"}, 4006 Items: &spec.SchemaOrArray{ 4007 Schema: &spec.Schema{ 4008 SchemaProps: spec.SchemaProps{ 4009 Type: []string{"string"}, 4010 Format: "", 4011 }, 4012 }, 4013 }, 4014 }, 4015 }, 4016 "manualSync": { 4017 SchemaProps: spec.SchemaProps{ 4018 Description: "ManualSync enables manual syncs when they would otherwise be blocked", 4019 Type: []string{"boolean"}, 4020 Format: "", 4021 }, 4022 }, 4023 }, 4024 }, 4025 }, 4026 } 4027 } 4028 4029 func schema_pkg_apis_application_v1alpha1_TLSClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition { 4030 return common.OpenAPIDefinition{ 4031 Schema: spec.Schema{ 4032 SchemaProps: spec.SchemaProps{ 4033 Description: "TLSClientConfig contains settings to enable transport layer security", 4034 Type: []string{"object"}, 4035 Properties: map[string]spec.Schema{ 4036 "insecure": { 4037 SchemaProps: spec.SchemaProps{ 4038 Description: "Server should be accessed without verifying the TLS certificate. For testing only.", 4039 Type: []string{"boolean"}, 4040 Format: "", 4041 }, 4042 }, 4043 "serverName": { 4044 SchemaProps: spec.SchemaProps{ 4045 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.", 4046 Type: []string{"string"}, 4047 Format: "", 4048 }, 4049 }, 4050 "certData": { 4051 SchemaProps: spec.SchemaProps{ 4052 Description: "CertData holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile", 4053 Type: []string{"string"}, 4054 Format: "byte", 4055 }, 4056 }, 4057 "keyData": { 4058 SchemaProps: spec.SchemaProps{ 4059 Description: "KeyData holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile", 4060 Type: []string{"string"}, 4061 Format: "byte", 4062 }, 4063 }, 4064 "caData": { 4065 SchemaProps: spec.SchemaProps{ 4066 Description: "CAData holds PEM-encoded bytes (typically read from a root certificates bundle). CAData takes precedence over CAFile", 4067 Type: []string{"string"}, 4068 Format: "byte", 4069 }, 4070 }, 4071 }, 4072 Required: []string{"insecure"}, 4073 }, 4074 }, 4075 } 4076 } 4077 4078 func schema_pkg_apis_application_v1alpha1_objectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition { 4079 return common.OpenAPIDefinition{ 4080 Schema: spec.Schema{ 4081 SchemaProps: spec.SchemaProps{ 4082 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).", 4083 Type: []string{"object"}, 4084 Properties: map[string]spec.Schema{ 4085 "Name": { 4086 SchemaProps: spec.SchemaProps{ 4087 Type: []string{"string"}, 4088 Format: "", 4089 }, 4090 }, 4091 }, 4092 Required: []string{"Name"}, 4093 }, 4094 }, 4095 } 4096 } 4097 4098 func schema_pkg_apis_application_v1alpha1_rawResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition { 4099 return common.OpenAPIDefinition{ 4100 Schema: spec.Schema{ 4101 SchemaProps: spec.SchemaProps{ 4102 Type: []string{"object"}, 4103 Properties: map[string]spec.Schema{ 4104 "health.lua": { 4105 SchemaProps: spec.SchemaProps{ 4106 Type: []string{"string"}, 4107 Format: "", 4108 }, 4109 }, 4110 "actions": { 4111 SchemaProps: spec.SchemaProps{ 4112 Type: []string{"string"}, 4113 Format: "", 4114 }, 4115 }, 4116 "ignoreDifferences": { 4117 SchemaProps: spec.SchemaProps{ 4118 Type: []string{"string"}, 4119 Format: "", 4120 }, 4121 }, 4122 "knownTypeFields": { 4123 SchemaProps: spec.SchemaProps{ 4124 Type: []string{"array"}, 4125 Items: &spec.SchemaOrArray{ 4126 Schema: &spec.Schema{ 4127 SchemaProps: spec.SchemaProps{ 4128 Ref: ref("github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KnownTypeField"), 4129 }, 4130 }, 4131 }, 4132 }, 4133 }, 4134 }, 4135 }, 4136 }, 4137 Dependencies: []string{ 4138 "github.com/argoproj/argo-cd/pkg/apis/application/v1alpha1.KnownTypeField"}, 4139 } 4140 }