mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* feat: support multiple sources for application Signed-off-by: ishitasequeira <ishiseq29@gmail.com> remove debug logging and unwanted code Signed-off-by: ishitasequeira <ishiseq29@gmail.com> fix lint and unit test errors Signed-off-by: ishitasequeira <ishiseq29@gmail.com> fix lint and unit test errors Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix bug introduced after rebase Signed-off-by: ishitasequeira <ishiseq29@gmail.com> executed make codegen Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * rebase with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> remove unwanted logging Signed-off-by: ishitasequeira <ishiseq29@gmail.com> fix ci failures Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix index out of bounds error Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * ui fixes Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Signed-off-by: Michael Crenshaw <michael@crenshaw.dev> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add revisions to SyncOperation for rollback Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * change Source to *ApplicationSource in ApplicationSpec Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix env variable read logic for ValueFiles Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * update multiple sources doc Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add repository lock and checkout target revision Signed-off-by: ishitasequeira <ishiseq29@gmail.com> fix codegen Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * checkout all sources before generating manifest Signed-off-by: ishitasequeira <ishiseq29@gmail.com> generate mock reposerverclient Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * update logic for returning ManifestResponse to avoid nil pointer issues Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix nil reference and key mismatch bugs; add more logs (#6) * fix nil reference and key mismatch bugs; add more logs * remove temporary comment * addressed the lint failure and added chart to RefTargeRevisionMapping * normalize git repo (#7) * do not leak lock releases * prevent deadlock * allow spec update * move settings fetch outside loop * cache busing * return err instead of logging it * no caching in test * fix cache key marshaling Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Rebase with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * update grpc field numbers Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * path resolution tests (#12) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> do things in better ways Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> consolidate Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add regex check for value of source.ref Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add webhook tests Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> change Source to *ApplicationSource in ApplicationSpec Signed-off-by: ishitasequeira <ishiseq29@gmail.com> address PR comments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> rebase with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Retrigger CI pipeline Signed-off-by: ishitasequeira <ishiseq29@gmail.com> rebased with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix env variable read logic for ValueFiles Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Address PR comments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add repository lock and checkout target revision Signed-off-by: ishitasequeira <ishiseq29@gmail.com> fix codegen Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * checkout all sources before generating manifest Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * generate mock reposerverclient Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * address comments Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * update logic for returning ManifestResponse to avoid nil pointer issues Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix nil reference and key mismatch bugs; add more logs (#6) * fix nil reference and key mismatch bugs; add more logs * remove temporary comment * addressed the lint failure and added chart to RefTargeRevisionMapping * normalize git repo (#7) * do not leak lock releases * prevent deadlock * allow spec update * move settings fetch outside loop * cache busing * return err instead of logging it * no caching in test * fix cache key marshaling Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Rebase with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * update grpc field numbers Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add regex check for value of source.ref Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Rebase with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * Added unit tests (#15) * add unit tests 1 * fix lint Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix application parameters tab, rebased UI changes, tests Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * More tests (#16) * more tests Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> fix lint error Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Test get ref sources (#17) * test GetRefSources Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * fix lint Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: ishitasequeira <ishiseq29@gmail.com> GenerateManifests test (#18) * GenerateManifests test Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Fix broken tests (#19) * fix broken tests Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Symlink test (#20) * check referenced sources for out-of-bounds symlinks Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * unlock the values file repo before doing a symlink check (#22) Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * multi source docs (#21) * multi source docs Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * fix warning title Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * clarify Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * clarify Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * add e2e tests for multiple sources and fix UI lint (#23) * add e2e tests for multiple sources and fix UI lint Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add auto-sync and hard refresh to e2e tests Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * change refresh type to RefreshTypeNormal for e2e Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * update e2e testcase with helm data Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add TestMultiSourceAppWithSourceOverride Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * add missing yaml file Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * rebase with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * rebase with master Signed-off-by: ishitasequeira <ishiseq29@gmail.com> * fix lint Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Signed-off-by: ishitasequeira <ishiseq29@gmail.com> Signed-off-by: Michael Crenshaw <michael@crenshaw.dev> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
6807 lines
246 KiB
Go
6807 lines
246 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
// Code generated by openapi-gen. DO NOT EDIT.
|
|
|
|
// This file was autogenerated by openapi-gen. Do not edit it manually!
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
common "k8s.io/kube-openapi/pkg/common"
|
|
spec "k8s.io/kube-openapi/pkg/validation/spec"
|
|
)
|
|
|
|
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
|
|
return map[string]common.OpenAPIDefinition{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AWSAuthConfig": schema_pkg_apis_application_v1alpha1_AWSAuthConfig(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject": schema_pkg_apis_application_v1alpha1_AppProject(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectList": schema_pkg_apis_application_v1alpha1_AppProjectList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectSpec": schema_pkg_apis_application_v1alpha1_AppProjectSpec(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectStatus": schema_pkg_apis_application_v1alpha1_AppProjectStatus(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application": schema_pkg_apis_application_v1alpha1_Application(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationCondition": schema_pkg_apis_application_v1alpha1_ApplicationCondition(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination": schema_pkg_apis_application_v1alpha1_ApplicationDestination(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationList": schema_pkg_apis_application_v1alpha1_ApplicationList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet": schema_pkg_apis_application_v1alpha1_ApplicationSet(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetCondition": schema_pkg_apis_application_v1alpha1_ApplicationSetCondition(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetGenerator": schema_pkg_apis_application_v1alpha1_ApplicationSetGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetList": schema_pkg_apis_application_v1alpha1_ApplicationSetList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator": schema_pkg_apis_application_v1alpha1_ApplicationSetNestedGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSpec": schema_pkg_apis_application_v1alpha1_ApplicationSetSpec(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStatus": schema_pkg_apis_application_v1alpha1_ApplicationSetStatus(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSyncPolicy": schema_pkg_apis_application_v1alpha1_ApplicationSetSyncPolicy(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate": schema_pkg_apis_application_v1alpha1_ApplicationSetTemplate(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplateMeta": schema_pkg_apis_application_v1alpha1_ApplicationSetTemplateMeta(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator": schema_pkg_apis_application_v1alpha1_ApplicationSetTerminalGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource": schema_pkg_apis_application_v1alpha1_ApplicationSource(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceDirectory": schema_pkg_apis_application_v1alpha1_ApplicationSourceDirectory(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceHelm": schema_pkg_apis_application_v1alpha1_ApplicationSourceHelm(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet": schema_pkg_apis_application_v1alpha1_ApplicationSourceJsonnet(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceKustomize": schema_pkg_apis_application_v1alpha1_ApplicationSourceKustomize(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePlugin": schema_pkg_apis_application_v1alpha1_ApplicationSourcePlugin(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePluginParameter": schema_pkg_apis_application_v1alpha1_ApplicationSourcePluginParameter(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec": schema_pkg_apis_application_v1alpha1_ApplicationSpec(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationStatus": schema_pkg_apis_application_v1alpha1_ApplicationStatus(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSummary": schema_pkg_apis_application_v1alpha1_ApplicationSummary(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationTree": schema_pkg_apis_application_v1alpha1_ApplicationTree(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationWatchEvent": schema_pkg_apis_application_v1alpha1_ApplicationWatchEvent(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff": schema_pkg_apis_application_v1alpha1_Backoff(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer": schema_pkg_apis_application_v1alpha1_BasicAuthBitbucketServer(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster": schema_pkg_apis_application_v1alpha1_Cluster(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterCacheInfo": schema_pkg_apis_application_v1alpha1_ClusterCacheInfo(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterConfig": schema_pkg_apis_application_v1alpha1_ClusterConfig(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator": schema_pkg_apis_application_v1alpha1_ClusterGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterInfo": schema_pkg_apis_application_v1alpha1_ClusterInfo(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterList": schema_pkg_apis_application_v1alpha1_ClusterList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command": schema_pkg_apis_application_v1alpha1_Command(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo": schema_pkg_apis_application_v1alpha1_ComparedTo(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComponentParameter": schema_pkg_apis_application_v1alpha1_ComponentParameter(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConfigManagementPlugin": schema_pkg_apis_application_v1alpha1_ConfigManagementPlugin(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState": schema_pkg_apis_application_v1alpha1_ConnectionState(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator": schema_pkg_apis_application_v1alpha1_DuckTypeGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.EnvEntry": schema_pkg_apis_application_v1alpha1_EnvEntry(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ExecProviderConfig": schema_pkg_apis_application_v1alpha1_ExecProviderConfig(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitDirectoryGeneratorItem": schema_pkg_apis_application_v1alpha1_GitDirectoryGeneratorItem(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitFileGeneratorItem": schema_pkg_apis_application_v1alpha1_GitFileGeneratorItem(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator": schema_pkg_apis_application_v1alpha1_GitGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey": schema_pkg_apis_application_v1alpha1_GnuPGPublicKey(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKeyList": schema_pkg_apis_application_v1alpha1_GnuPGPublicKeyList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus": schema_pkg_apis_application_v1alpha1_HealthStatus(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmFileParameter": schema_pkg_apis_application_v1alpha1_HelmFileParameter(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmOptions": schema_pkg_apis_application_v1alpha1_HelmOptions(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmParameter": schema_pkg_apis_application_v1alpha1_HelmParameter(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostInfo": schema_pkg_apis_application_v1alpha1_HostInfo(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo": schema_pkg_apis_application_v1alpha1_HostResourceInfo(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info": schema_pkg_apis_application_v1alpha1_Info(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.InfoItem": schema_pkg_apis_application_v1alpha1_InfoItem(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken": schema_pkg_apis_application_v1alpha1_JWTToken(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens": schema_pkg_apis_application_v1alpha1_JWTTokens(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar": schema_pkg_apis_application_v1alpha1_JsonnetVar(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField": schema_pkg_apis_application_v1alpha1_KnownTypeField(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KustomizeOptions": schema_pkg_apis_application_v1alpha1_KustomizeOptions(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator": schema_pkg_apis_application_v1alpha1_ListGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata": schema_pkg_apis_application_v1alpha1_ManagedNamespaceMetadata(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MatrixGenerator": schema_pkg_apis_application_v1alpha1_MatrixGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MergeGenerator": schema_pkg_apis_application_v1alpha1_MergeGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.NestedMatrixGenerator": schema_pkg_apis_application_v1alpha1_NestedMatrixGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.NestedMergeGenerator": schema_pkg_apis_application_v1alpha1_NestedMergeGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation": schema_pkg_apis_application_v1alpha1_Operation(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator": schema_pkg_apis_application_v1alpha1_OperationInitiator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationState": schema_pkg_apis_application_v1alpha1_OperationState(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey": schema_pkg_apis_application_v1alpha1_OrphanedResourceKey(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings": schema_pkg_apis_application_v1alpha1_OrphanedResourcesMonitorSettings(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff": schema_pkg_apis_application_v1alpha1_OverrideIgnoreDiff(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ProjectRole": schema_pkg_apis_application_v1alpha1_ProjectRole(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator": schema_pkg_apis_application_v1alpha1_PullRequestGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucketServer": schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucketServer(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorFilter": schema_pkg_apis_application_v1alpha1_PullRequestGeneratorFilter(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitLab": schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitLab(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitea": schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitea(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGithub": schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGithub(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RefTarget": schema_pkg_apis_application_v1alpha1_RefTarget(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds": schema_pkg_apis_application_v1alpha1_RepoCreds(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCredsList": schema_pkg_apis_application_v1alpha1_RepoCredsList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository": schema_pkg_apis_application_v1alpha1_Repository(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate": schema_pkg_apis_application_v1alpha1_RepositoryCertificate(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificateList": schema_pkg_apis_application_v1alpha1_RepositoryCertificateList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryList": schema_pkg_apis_application_v1alpha1_RepositoryList(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceAction": schema_pkg_apis_application_v1alpha1_ResourceAction(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition": schema_pkg_apis_application_v1alpha1_ResourceActionDefinition(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam": schema_pkg_apis_application_v1alpha1_ResourceActionParam(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActions": schema_pkg_apis_application_v1alpha1_ResourceActions(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceDiff": schema_pkg_apis_application_v1alpha1_ResourceDiff(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences": schema_pkg_apis_application_v1alpha1_ResourceIgnoreDifferences(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNetworkingInfo": schema_pkg_apis_application_v1alpha1_ResourceNetworkingInfo(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode": schema_pkg_apis_application_v1alpha1_ResourceNode(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceOverride": schema_pkg_apis_application_v1alpha1_ResourceOverride(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef": schema_pkg_apis_application_v1alpha1_ResourceRef(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceResult": schema_pkg_apis_application_v1alpha1_ResourceResult(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceStatus": schema_pkg_apis_application_v1alpha1_ResourceStatus(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy": schema_pkg_apis_application_v1alpha1_RetryStrategy(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionHistory": schema_pkg_apis_application_v1alpha1_RevisionHistory(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionMetadata": schema_pkg_apis_application_v1alpha1_RevisionMetadata(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator": schema_pkg_apis_application_v1alpha1_SCMProviderGenerator(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAzureDevOps": schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAzureDevOps(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucket": schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucket(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucketServer": schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucketServer(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorFilter": schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorFilter(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitea": schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitea(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGithub": schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGithub(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitlab": schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitlab(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef": schema_pkg_apis_application_v1alpha1_SecretRef(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SignatureKey": schema_pkg_apis_application_v1alpha1_SignatureKey(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperation": schema_pkg_apis_application_v1alpha1_SyncOperation(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResource": schema_pkg_apis_application_v1alpha1_SyncOperationResource(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResult": schema_pkg_apis_application_v1alpha1_SyncOperationResult(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicy": schema_pkg_apis_application_v1alpha1_SyncPolicy(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicyAutomated": schema_pkg_apis_application_v1alpha1_SyncPolicyAutomated(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStatus": schema_pkg_apis_application_v1alpha1_SyncStatus(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategy": schema_pkg_apis_application_v1alpha1_SyncStrategy(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyApply": schema_pkg_apis_application_v1alpha1_SyncStrategyApply(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyHook": schema_pkg_apis_application_v1alpha1_SyncStrategyHook(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncWindow": schema_pkg_apis_application_v1alpha1_SyncWindow(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TLSClientConfig": schema_pkg_apis_application_v1alpha1_TLSClientConfig(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.objectMeta": schema_pkg_apis_application_v1alpha1_objectMeta(ref),
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.rawResourceOverride": schema_pkg_apis_application_v1alpha1_rawResourceOverride(ref),
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_AWSAuthConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AWSAuthConfig is an AWS IAM authentication configuration",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"clusterName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterName contains AWS cluster name",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"roleARN": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_AppProject(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
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)",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"apiVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
|
|
},
|
|
},
|
|
"spec": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectSpec"),
|
|
},
|
|
},
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectStatus"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"metadata", "spec"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectSpec", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProjectStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_AppProjectList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AppProjectList is list of AppProject resources",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"apiVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"metadata", "items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AppProject", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_AppProjectSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AppProjectSpec is the specification of an AppProject",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"sourceRepos": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SourceRepos contains list of repository URLs which can be used for deployment",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"destinations": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Destinations contains list of destinations available for deployment",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"description": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Description contains optional project description",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"roles": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Roles are user defined RBAC roles associated with this project",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ProjectRole"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"clusterResourceWhitelist": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterResourceWhitelist contains list of whitelisted cluster level resources",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"namespaceResourceBlacklist": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "NamespaceResourceBlacklist contains list of blacklisted namespace level resources",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"orphanedResources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "OrphanedResources specifies if controller should monitor orphaned resources of apps in this project",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings"),
|
|
},
|
|
},
|
|
"syncWindows": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncWindows controls when syncs can be run for apps in this project",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncWindow"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"namespaceResourceWhitelist": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "NamespaceResourceWhitelist contains list of whitelisted namespace level resources",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"signatureKeys": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SignatureKeys contains a list of PGP key IDs that commits in Git must be signed with in order to be allowed for sync",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SignatureKey"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"clusterResourceBlacklist": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterResourceBlacklist contains list of blacklisted cluster level resources",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"sourceNamespaces": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SourceNamespaces defines the namespaces application resources are allowed to be created in",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"permitOnlyProjectScopedClusters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PermitOnlyProjectScopedClusters determines whether destinations can only reference clusters which are project-scoped",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourcesMonitorSettings", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ProjectRole", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SignatureKey", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncWindow", "k8s.io/apimachinery/pkg/apis/meta/v1.GroupKind"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_AppProjectStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AppProjectStatus contains status information for AppProject CRs",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"jwtTokensByRole": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "JWTTokensByRole contains a list of JWT tokens issued for a given role",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTTokens"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_Application(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Application is a definition of Application resource.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"apiVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
|
|
},
|
|
},
|
|
"spec": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"),
|
|
},
|
|
},
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationStatus"),
|
|
},
|
|
},
|
|
"operation": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"metadata", "spec"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationCondition contains details about an application condition, which is usally an error or warning",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"type": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Type is an application condition type",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"message": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Message contains human-readable message indicating details about condition",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"lastTransitionTime": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "LastTransitionTime is the time the condition was last observed",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"type", "message"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationDestination(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationDestination holds information about the application's destination",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"server": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Server specifies the URL of the target cluster and must be set to the Kubernetes control plane API",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Namespace specifies the target namespace for the application's resources. The namespace will only be set for namespace-scoped resources that have not set a value for .metadata.namespace",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name is an alternate way of specifying the target cluster by its symbolic name",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationList is list of Application resources",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"apiVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"metadata", "items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSet(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSet is a set of Application resources",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"apiVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
|
|
},
|
|
},
|
|
"spec": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSpec"),
|
|
},
|
|
},
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStatus"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"metadata", "spec"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSpec", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetCondition(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetCondition contains details about an applicationset condition, which is usally an error or warning",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"type": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Type is an applicationset condition type",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"message": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Message contains human-readable message indicating details about condition",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"lastTransitionTime": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "LastTransitionTime is the time the condition was last observed",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "True/False/Unknown",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"reason": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Single word camelcase representing the reason for the status eg ErrorOccurred",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"type", "message", "status", "reason"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetGenerator represents a generator at the top level of an ApplicationSet.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"list": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
|
|
},
|
|
},
|
|
"clusters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
|
|
},
|
|
},
|
|
"git": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
|
|
},
|
|
},
|
|
"scmProvider": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
|
|
},
|
|
},
|
|
"clusterDecisionResource": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
|
|
},
|
|
},
|
|
"pullRequest": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
|
|
},
|
|
},
|
|
"matrix": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MatrixGenerator"),
|
|
},
|
|
},
|
|
"merge": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MergeGenerator"),
|
|
},
|
|
},
|
|
"selector": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Selector allows to post-filter all generator.",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MatrixGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.MergeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetList contains a list of ApplicationSet",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"apiVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSet", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetNestedGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetNestedGenerator represents a generator nested within a combination-type generator (MatrixGenerator or MergeGenerator).",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"list": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
|
|
},
|
|
},
|
|
"clusters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
|
|
},
|
|
},
|
|
"git": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
|
|
},
|
|
},
|
|
"scmProvider": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
|
|
},
|
|
},
|
|
"clusterDecisionResource": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
|
|
},
|
|
},
|
|
"pullRequest": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
|
|
},
|
|
},
|
|
"matrix": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Matrix should have the form of NestedMatrixGenerator",
|
|
Ref: ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
|
|
},
|
|
},
|
|
"merge": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Merge should have the form of NestedMergeGenerator",
|
|
Ref: ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
|
|
},
|
|
},
|
|
"selector": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Selector allows to post-filter all generator.",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator", "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetSpec represents a class of application set state.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"goTemplate": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"generators": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetGenerator"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
"syncPolicy": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSyncPolicy"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"generators", "template"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetSyncPolicy", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetStatus defines the observed state of ApplicationSet",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"conditions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "INSERT ADDITIONAL STATUS FIELD - define observed state of cluster Important: Run \"make\" to regenerate code after modifying this file",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetCondition"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetCondition"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetSyncPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetSyncPolicy configures how generated Applications will relate to their ApplicationSet.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"preserveResourcesOnDeletion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PreserveResourcesOnDeletion will preserve resources on deletion. If PreserveResourcesOnDeletion is set to true, these Applications will not be deleted.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetTemplate(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetTemplate represents argocd ApplicationSpec",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplateMeta"),
|
|
},
|
|
},
|
|
"spec": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"metadata", "spec"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplateMeta", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSpec"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetTemplateMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetTemplateMeta represents the Argo CD application fields that may be used for Applications generated from the ApplicationSet (based on metav1.ObjectMeta)",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"labels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"annotations": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"finalizers": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSetTerminalGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSetTerminalGenerator represents a generator nested within a nested generator (for example, a list within a merge within a matrix). A generator at this level may not be a combination-type generator (MatrixGenerator or MergeGenerator). ApplicationSet enforces this nesting depth limit because CRDs do not support recursive types. https://github.com/kubernetes-sigs/controller-tools/issues/477",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"list": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator"),
|
|
},
|
|
},
|
|
"clusters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator"),
|
|
},
|
|
},
|
|
"git": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator"),
|
|
},
|
|
},
|
|
"scmProvider": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"),
|
|
},
|
|
},
|
|
"clusterDecisionResource": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator"),
|
|
},
|
|
},
|
|
"pullRequest": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.DuckTypeGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ListGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGenerator"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSource(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSource contains all required information about the source of an application",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"repoURL": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RepoURL is the URL to the repository (Git or Helm) that contains the application manifests",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"path": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Path is a directory path within the Git repository, and is only valid for applications sourced from Git.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"targetRevision": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TargetRevision defines the revision of the source to sync the application to. In case of Git, this can be commit, tag, or branch. If omitted, will equal to HEAD. In case of Helm, this is a semver tag for the Chart's version.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"helm": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Helm holds helm specific options",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceHelm"),
|
|
},
|
|
},
|
|
"kustomize": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Kustomize holds kustomize specific options",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceKustomize"),
|
|
},
|
|
},
|
|
"directory": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Directory holds path/directory specific options",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceDirectory"),
|
|
},
|
|
},
|
|
"plugin": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Plugin holds config management plugin specific options",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePlugin"),
|
|
},
|
|
},
|
|
"chart": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Chart is a Helm chart name, and must be specified for applications sourced from a Helm repo.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"ref": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Ref is reference to another source within sources field. This field will not be used if used with a `source` tag.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"repoURL"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceDirectory", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceHelm", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceKustomize", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePlugin"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSourceDirectory(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSourceDirectory holds options for applications of type plain YAML or Jsonnet",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"recurse": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Recurse specifies whether to scan a directory recursively for manifests",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"jsonnet": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Jsonnet holds options specific to Jsonnet",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"),
|
|
},
|
|
},
|
|
"exclude": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Exclude contains a glob pattern to match paths against that should be explicitly excluded from being used during manifest generation",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"include": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Include contains a glob pattern to match paths against that should be explicitly included during manifest generation",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourceJsonnet"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSourceHelm(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSourceHelm holds helm specific options",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"valueFiles": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ValuesFiles is a list of Helm value files to use when generating a template",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"parameters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Parameters is a list of Helm parameters which are passed to the helm template command upon manifest generation",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmParameter"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"releaseName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ReleaseName is the Helm release name to use. If omitted it will use the application name",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"values": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Values specifies Helm values to be passed to helm template, typically defined as a block",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"fileParameters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "FileParameters are file parameters to the helm template",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmFileParameter"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"version": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Version is the Helm version to use for templating (\"3\")",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"passCredentials": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PassCredentials pass credentials to all domains (Helm's --pass-credentials)",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"ignoreMissingValueFiles": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "IgnoreMissingValueFiles prevents helm template from failing when valueFiles do not exist locally by not appending them to helm template --values",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"skipCrds": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SkipCrds skips custom resource definition installation step (Helm's --skip-crds)",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmFileParameter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HelmParameter"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSourceJsonnet(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSourceJsonnet holds options specific to applications of type Jsonnet",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"extVars": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ExtVars is a list of Jsonnet External Variables",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"tlas": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TLAS is a list of Jsonnet Top-level Arguments",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"libs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Additional library search dirs",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JsonnetVar"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSourceKustomize(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSourceKustomize holds options specific to an Application source specific to Kustomize",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"namePrefix": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "NamePrefix is a prefix appended to resources for Kustomize apps",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"nameSuffix": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "NameSuffix is a suffix appended to resources for Kustomize apps",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"images": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Images is a list of Kustomize image override specifications",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"commonLabels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CommonLabels is a list of additional labels to add to rendered manifests",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"version": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Version controls which version of Kustomize to use for rendering manifests",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"commonAnnotations": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CommonAnnotations is a list of additional annotations to add to rendered manifests",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"forceCommonLabels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ForceCommonLabels specifies whether to force applying common labels to resources for Kustomize apps",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"forceCommonAnnotations": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ForceCommonAnnotations specifies whether to force applying common annotations to resources for Kustomize apps",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSourcePlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSourcePlugin holds options specific to config management plugins",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"env": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.EnvEntry"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"parameters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePluginParameter"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSourcePluginParameter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.EnvEntry"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSourcePluginParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name is the name identifying a parameter.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"string": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "String_ is the value of a string type parameter.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"map": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Map is the value of a map type parameter.",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"array": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Array is the value of an array type parameter.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSpec represents desired application state. Contains link to repository with application definition and additional parameters link definition revision.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"source": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Source is a reference to the location of the application's manifests or chart",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
"destination": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Destination is a reference to the target Kubernetes server and namespace",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
|
|
},
|
|
},
|
|
"project": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Project is a reference to the project this application belongs to. The empty string means that application belongs to the 'default' project.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"syncPolicy": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncPolicy controls when and how a sync will be performed",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicy"),
|
|
},
|
|
},
|
|
"ignoreDifferences": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "IgnoreDifferences is a list of resources and their fields which should be ignored during comparison",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"info": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Info contains a list of information (URLs, email addresses, and plain text) that relates to the application",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"revisionHistoryLimit": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RevisionHistoryLimit limits the number of items kept in the application's revision history, which is used for informational purposes as well as for rollbacks to previous versions. This should only be changed in exceptional circumstances. Setting to zero will store no history. This will reduce storage used. Increasing will increase the space used to store the history, so we do not recommend increasing it. Default is 10.",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"sources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Sources is a reference to the location of the application's manifests or chart",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"destination", "project"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceIgnoreDifferences", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicy"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationStatus contains status information for the application",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"resources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Resources is a list of Kubernetes resources managed by this application",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceStatus"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"sync": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Sync contains information about the application's current sync status",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStatus"),
|
|
},
|
|
},
|
|
"health": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Health contains information about the application's current health status",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
|
|
},
|
|
},
|
|
"history": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "History contains information about the application's sync history",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionHistory"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"conditions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Conditions is a list of currently observed application conditions",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationCondition"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"reconciledAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ReconciledAt indicates when the application state was reconciled using the latest git version",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"operationState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "OperationState contains information about any ongoing operations, such as a sync",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationState"),
|
|
},
|
|
},
|
|
"observedAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ObservedAt indicates when the application state was updated without querying latest git state Deprecated: controller no longer updates ObservedAt field",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"sourceType": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SourceType specifies the type of this application",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"summary": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Summary contains a list of URLs and container images used by this application",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSummary"),
|
|
},
|
|
},
|
|
"resourceHealthSource": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceHealthSource indicates where the resource health status is stored: inline if not set or appTree",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"sourceTypes": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SourceTypes specifies the type of the sources included in the application",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationCondition", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSummary", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationState", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RevisionHistory", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationSummary(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationSummary contains information about URLs and container images used by an application",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"externalURLs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ExternalURLs holds all external URLs of application child resources.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"images": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Images holds all images of application child resources.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationTree(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationTree holds nodes which belongs to the application",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"nodes": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Nodes contains list of nodes which either directly managed by the application and children of directly managed nodes.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"orphanedNodes": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"hosts": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Hosts holds list of Kubernetes nodes that run application related pods",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostInfo"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNode"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ApplicationWatchEvent(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationWatchEvent contains information about application change.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"type": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"application": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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.",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"type", "application"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Application"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_Backoff(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Backoff is the backoff strategy to use on subsequent retries for failing syncs",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"duration": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. \"2m\", \"1h\")",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"factor": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Factor is a factor to multiply the base duration after each failed retry",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"maxDuration": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "MaxDuration is the maximum amount of time allowed for the backoff strategy",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_BasicAuthBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "BasicAuthBitbucketServer defines the username/(password or personal access token) for Basic auth.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"username": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Username for Basic auth",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"passwordRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Password (or personal access token) reference.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"username", "passwordRef"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_Cluster(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Cluster is the definition of a cluster resource",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"server": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Server is the API server URL of the Kubernetes cluster",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name of the cluster. If omitted, will use the server address",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"config": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Config holds cluster information for connecting to a cluster",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterConfig"),
|
|
},
|
|
},
|
|
"connectionState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "DEPRECATED: use Info.ConnectionState field instead. ConnectionState contains information about cluster connection state",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
|
|
},
|
|
},
|
|
"serverVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "DEPRECATED: use Info.ServerVersion field instead. The server version",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespaces": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Holds list of namespaces which are accessible in that cluster. Cluster level resources will be ignored if namespace list is not empty.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"refreshRequestedAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RefreshRequestedAt holds time when cluster cache refresh has been requested",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"info": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Info holds information about cluster cache and state",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterInfo"),
|
|
},
|
|
},
|
|
"shard": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Shard contains optional shard number. Calculated on the fly by the application controller if not specified.",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"clusterResources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Indicates if cluster level resources should be managed. This setting is used only if cluster is connected in a namespaced mode.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"project": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Reference between project and cluster that allow you automatically to be added as item inside Destinations project entity",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"labels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Labels for cluster secret metadata",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"annotations": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Annotations for cluster secret metadata",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"server", "name", "config"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterConfig", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ClusterCacheInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterCacheInfo contains information about the cluster cache",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"resourcesCount": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourcesCount holds number of observed Kubernetes resources",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"apisCount": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "APIsCount holds number of observed Kubernetes API count",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"lastCacheSyncTime": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "LastCacheSyncTime holds time of most recent cache synchronization",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ClusterConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterConfig is the configuration attributes. This structure is subset of the go-client rest.Config with annotations added for marshalling.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"username": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Server requires Basic authentication",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"password": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"bearerToken": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Server requires Bearer authentication. This client will not attempt to use refresh tokens for an OAuth2 flow.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tlsClientConfig": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TLSClientConfig contains settings to enable transport layer security",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TLSClientConfig"),
|
|
},
|
|
},
|
|
"awsAuthConfig": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AWSAuthConfig contains IAM authentication configuration",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AWSAuthConfig"),
|
|
},
|
|
},
|
|
"execProviderConfig": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ExecProviderConfig contains configuration for an exec provider",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ExecProviderConfig"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"tlsClientConfig"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.AWSAuthConfig", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ExecProviderConfig", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.TLSClientConfig"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ClusterGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterGenerator defines a generator to match against clusters registered with ArgoCD.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"selector": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Selector defines a label selector to match against all clusters registered with ArgoCD. Clusters today are stored as Kubernetes Secrets, thus the Secret labels will be used for matching the selector.",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
"values": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Values contains key/value pairs which are passed directly as parameters to the template",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterInfo contains information about the cluster",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"connectionState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ConnectionState contains information about the connection to the cluster",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
|
|
},
|
|
},
|
|
"serverVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ServerVersion contains information about the Kubernetes version of the cluster",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"cacheInfo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CacheInfo contains information about the cluster cache",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterCacheInfo"),
|
|
},
|
|
},
|
|
"applicationsCount": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ApplicationsCount is the number of applications managed by Argo CD on the cluster",
|
|
Default: 0,
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"apiVersions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "APIVersions contains list of API versions supported by the cluster",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"applicationsCount"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ClusterCacheInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ClusterList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ClusterList is a collection of Clusters.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Cluster", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_Command(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Command holds binary path and arguments list",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"command": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"args": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ComparedTo(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ComparedTo contains application source and target which was used for resources comparison",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"source": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Source is a reference to the application's source used for comparison",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
"destination": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Destination is a reference to the application's destination used for comparison",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination"),
|
|
},
|
|
},
|
|
"sources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Sources is a reference to the application's multiple sources used for comparison",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"destination"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationDestination", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ComponentParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ComponentParameter contains information about component parameter value",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"component": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"value": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"name", "value"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ConfigManagementPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ConfigManagementPlugin contains config management plugin configuration",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"init": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"),
|
|
},
|
|
},
|
|
"generate": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"),
|
|
},
|
|
},
|
|
"lockRepo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"name", "generate"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Command"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ConnectionState(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ConnectionState contains information about remote resource connection state, currently used for clusters and repositories",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Status contains the current status indicator for the connection",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"message": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Message contains human readable information about the connection status",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"attemptedAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ModifiedAt contains the timestamp when this connection status has been determined",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"status", "message", "attemptedAt"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_DuckTypeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "DuckType defines a generator to match against clusters registered with ArgoCD.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"configMapRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ConfigMapRef is a ConfigMap with the duck type definitions needed to retrieve the data\n this includes apiVersion(group/version), kind, matchKey and validation settings\nName is the resource name of the kind, group and version, defined in the ConfigMapRef RequeueAfterSeconds is how long before the duckType will be rechecked for a change",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"requeueAfterSeconds": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"labelSelector": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"),
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
"values": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Values contains key/value pairs which are passed directly as parameters to the template",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"configMapRef"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apimachinery/pkg/apis/meta/v1.LabelSelector"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_EnvEntry(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "EnvEntry represents an entry in the application's environment",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name is the name of the variable, usually expressed in uppercase",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"value": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Value is the value of the variable",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"name", "value"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ExecProviderConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"command": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Command to execute",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"args": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Arguments to pass to the command when executing it",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"env": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Env defines additional environment variables to expose to the process",
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"apiVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Preferred input version of the ExecInfo",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"installHint": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "This text is shown to the user when the executable doesn't seem to be present",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_GitDirectoryGeneratorItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"path": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"exclude": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"path"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_GitFileGeneratorItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"path": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"path"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_GitGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"repoURL": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"directories": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitDirectoryGeneratorItem"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"files": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitFileGeneratorItem"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"revision": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"requeueAfterSeconds": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
"pathParamPrefix": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"repoURL", "revision", "pathParamPrefix"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitDirectoryGeneratorItem", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GitFileGeneratorItem"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_GnuPGPublicKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GnuPGPublicKey is a representation of a GnuPG public key",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"keyID": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "KeyID specifies the key ID, in hexadecimal string format",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"fingerprint": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Fingerprint is the fingerprint of the key",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"owner": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Owner holds the owner identification, e.g. a name and e-mail address",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"trust": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Trust holds the level of trust assigned to this key",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"subType": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SubType holds the key's sub type (e.g. rsa4096)",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"keyData": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "KeyData holds the raw key data, in base64 encoded format",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"keyID"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_GnuPGPublicKeyList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GnuPGPublicKeyList is a collection of GnuPGPublicKey objects",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.GnuPGPublicKey", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_HealthStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "HealthStatus contains information about the currently observed health state of an application or resource",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Status holds the status code of the application or resource",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"message": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Message is a human-readable informational message describing the health status",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_HelmFileParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "HelmFileParameter is a file parameter that's passed to helm template during manifest generation",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name is the name of the Helm parameter",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"path": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Path is the path to the file containing the values for the Helm parameter",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_HelmOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "HelmOptions holds helm options",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"ValuesFileSchemes": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"ValuesFileSchemes"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_HelmParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "HelmParameter is a parameter that's passed to helm template during manifest generation",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name is the name of the Helm parameter",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"value": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Value is the value for the Helm parameter",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"forceString": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ForceString determines whether to tell Helm to interpret booleans and numbers as strings",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_HostInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "HostInfo holds host name and resources metrics",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"resourcesInfo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"systemInfo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/api/core/v1.NodeSystemInfo"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HostResourceInfo", "k8s.io/api/core/v1.NodeSystemInfo"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_HostResourceInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"resourceName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"requestedByApp": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"requestedByNeighbors": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"capacity": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_Info(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"value": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"name", "value"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_InfoItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "InfoItem contains arbitrary, human readable information about an application",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name is a human readable title for this piece of information.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"value": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Value is human readable content.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_JWTToken(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "JWTToken holds the issuedAt and expiresAt values of a token",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"iat": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: 0,
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"exp": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"id": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"iat"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_JWTTokens(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "JWTTokens represents a list of JWT tokens",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_JsonnetVar(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "JsonnetVar represents a variable to be passed to jsonnet during manifest generation",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"value": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"code": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"name", "value"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_KnownTypeField(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "KnownTypeField contains mapping between CRD field and known Kubernetes type. This is mainly used for unit conversion in unknown resources (e.g. 0.1 == 100mi)",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"field": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"type": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_KustomizeOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "KustomizeOptions are options for kustomize to use when building manifests",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"BuildOptions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "BuildOptions is a string of build parameters to use when calling `kustomize build`",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"BinaryPath": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "BinaryPath holds optional path to kustomize binary",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"BuildOptions", "BinaryPath"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ListGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ListGenerator include items info",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"elements": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"elements"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1.JSON"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ManagedNamespaceMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"labels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"annotations": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_MatrixGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "MatrixGenerator generates the cartesian product of two sets of parameters. The parameters are defined by two nested generators.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"generators": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"generators"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_MergeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "MergeGenerator merges the output of two or more generators. Where the values for all specified merge keys are equal between two sets of generated parameters, the parameter sets will be merged with the parameters from the latter generator taking precedence. Parameter sets with merge keys not present in the base generator's params will be ignored. For example, if the first generator produced [{a: '1', b: '2'}, {c: '1', d: '1'}] and the second generator produced [{'a': 'override'}], the united parameters for merge keys = ['a'] would be [{a: 'override', b: '1'}, {c: '1', d: '1'}].\n\nMergeGenerator supports template overriding. If a MergeGenerator is one of multiple top-level generators, its template will be merged with the top-level generator before the parameters are applied.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"generators": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"mergeKeys": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"generators", "mergeKeys"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetNestedGenerator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_NestedMatrixGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "NestedMatrixGenerator is a MatrixGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator). NestedMatrixGenerator does not have an override template, because template overriding has no meaning within the constituent generators of combination-type generators.\n\nNOTE: Nested matrix generator is not included directly in the CRD struct, instead it is included as a generic 'apiextensionsv1.JSON' object, and then marshalled into a NestedMatrixGenerator when processed.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"generators": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"generators"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_NestedMergeGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "NestedMergeGenerator is a MergeGenerator nested under another combination-type generator (MatrixGenerator or MergeGenerator). NestedMergeGenerator does not have an override template, because template overriding has no meaning within the constituent generators of combination-type generators.\n\nNOTE: Nested merge generator is not included directly in the CRD struct, instead it is included as a generic 'apiextensionsv1.JSON' object, and then marshalled into a NestedMergeGenerator when processed.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"generators": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"mergeKeys": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"generators", "mergeKeys"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTerminalGenerator"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_Operation(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Operation contains information about a requested or running operation",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"sync": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Sync contains parameters for the operation",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperation"),
|
|
},
|
|
},
|
|
"initiatedBy": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "InitiatedBy contains information about who initiated the operations",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator"),
|
|
},
|
|
},
|
|
"info": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Info is a list of informational items for this operation",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"retry": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Retry controls the strategy to apply if a sync fails",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Info", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OperationInitiator", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperation"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_OperationInitiator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "OperationInitiator contains information about the initiator of an operation",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"username": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Username contains the name of a user who started operation",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"automated": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Automated is set to true if operation was initiated automatically by the application controller.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_OperationState(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "OperationState contains information about state of a running operation",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"operation": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Operation is the original requested operation",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation"),
|
|
},
|
|
},
|
|
"phase": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Phase is the current phase of the operation",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"message": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Message holds any pertinent messages when attempting to perform operation (typically errors).",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"syncResult": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncResult is the result of a Sync operation",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResult"),
|
|
},
|
|
},
|
|
"startedAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "StartedAt contains time of operation start",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"finishedAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "FinishedAt contains time of operation completion",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"retryCount": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RetryCount contains time of operation retries",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"operation", "phase", "startedAt"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Operation", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResult", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_OrphanedResourceKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "OrphanedResourceKey is a reference to a resource to be ignored from",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_OrphanedResourcesMonitorSettings(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "OrphanedResourcesMonitorSettings holds settings of orphaned resources monitoring",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"warn": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Warn indicates if warning condition should be created for apps which have orphaned resources",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"ignore": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Ignore contains a list of resources that are to be excluded from orphaned resources monitoring",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OrphanedResourceKey"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_OverrideIgnoreDiff(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "OverrideIgnoreDiff contains configurations about how fields should be ignored during diffs between the desired state and live state",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"jsonPointers": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "JSONPointers is a JSON path list following the format defined in RFC4627 (https://datatracker.ietf.org/doc/html/rfc6902#section-3)",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"jqPathExpressions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "JQPathExpressions is a JQ path list that will be evaludated during the diff process",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"managedFieldsManagers": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the desired state defined in the SCM and won't be displayed in diffs",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"jsonPointers", "jqPathExpressions", "managedFieldsManagers"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ProjectRole(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ProjectRole represents a role that has access to a project",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name is a name for this role",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"description": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Description is a description of the role",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"policies": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Policies Stores a list of casbin formatted strings that define access policies for the role in the project",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"jwtTokens": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "JWTTokens are a list of generated JWT tokens bound to this role",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"groups": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Groups are a list of OIDC group claims bound to this role",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"name"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.JWTToken"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_PullRequestGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PullRequestGenerator defines a generator that scrapes a PullRequest API to find candidate pull requests.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"github": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Which provider to use and config for it.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGithub"),
|
|
},
|
|
},
|
|
"gitlab": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitLab"),
|
|
},
|
|
},
|
|
"gitea": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitea"),
|
|
},
|
|
},
|
|
"bitbucketServer": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucketServer"),
|
|
},
|
|
},
|
|
"filters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Filters for which pull requests should be considered.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorFilter"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"requeueAfterSeconds": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Standard parameters.",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorBitbucketServer", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorFilter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitLab", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGitea", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.PullRequestGeneratorGithub"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PullRequestGenerator defines connection info specific to BitbucketServer.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"project": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Project to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"repo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Repo name to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The Bitbucket REST API URL to talk to e.g. https://bitbucket.org/rest Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"basicAuth": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Credentials for Basic auth",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"project", "repo", "api"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PullRequestGeneratorFilter is a single pull request filter. If multiple filter types are set on a single struct, they will be AND'd together. All filters must pass for a pull request to be included.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"branchMatch": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitLab(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PullRequestGeneratorGitLab defines connection info specific to GitLab.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"project": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GitLab project to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The GitLab API URL to talk to. If blank, uses https://gitlab.com/.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tokenRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Authentication token reference.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"labels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Labels is used to filter the MRs that you want to target",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"pullRequestState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PullRequestState is an additional MRs filter to get only those with a certain state. Default: \"\" (all states)",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"project"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGitea(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PullRequestGenerator defines connection info specific to Gitea.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"owner": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Gitea org or user to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"repo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Gitea repo name to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The Gitea API URL to talk to. Required",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tokenRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Authentication token reference.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"insecure": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Allow insecure tls, for self-signed certificates; default: false.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"owner", "repo", "api"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_PullRequestGeneratorGithub(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PullRequestGenerator defines connection info specific to GitHub.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"owner": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GitHub org or user to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"repo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GitHub repo name to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The GitHub API URL to talk to. If blank, use https://api.github.com/.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tokenRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Authentication token reference.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"appSecretName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AppSecretName is a reference to a GitHub App repo-creds secret with permission to access pull requests.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"labels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Labels is used to filter the PRs that you want to target",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"owner", "repo"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RefTarget(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"Repo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"),
|
|
},
|
|
},
|
|
"TargetRevision": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"Chart": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"Repo", "TargetRevision", "Chart"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RepoCreds(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RepoCreds holds the definition for repository credentials",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"url": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "URL is the URL that this credentials matches to",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"username": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Username for authenticating at the repo server",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"password": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Password for authenticating at the repo server",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"sshPrivateKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SSHPrivateKey contains the private key data for authenticating at the repo server using SSH (only Git repos)",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tlsClientCertData": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TLSClientCertData specifies the TLS client cert data for authenticating at the repo server",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tlsClientCertKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TLSClientCertKey specifies the TLS client cert key for authenticating at the repo server",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"githubAppPrivateKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GithubAppPrivateKey specifies the private key PEM data for authentication via GitHub app",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"githubAppID": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GithubAppId specifies the Github App ID of the app used to access the repo for GitHub app authentication",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"githubAppInstallationID": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GithubAppInstallationId specifies the ID of the installed GitHub App for GitHub app authentication",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"githubAppEnterpriseBaseUrl": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GithubAppEnterpriseBaseURL specifies the GitHub API URL for GitHub app authentication. If empty will default to https://api.github.com",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"enableOCI": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "EnableOCI specifies whether helm-oci support should be enabled for this repo",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"type": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Type specifies the type of the repoCreds. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"gcpServiceAccountKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"proxy": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Proxy specifies the HTTP/HTTPS proxy used to access repos at the repo server",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"url"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RepoCredsList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RepositoryList is a collection of Repositories.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepoCreds", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_Repository(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Repository is a repository holding application configurations",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"repo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Repo contains the URL to the remote repository",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"username": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Username contains the user name used for authenticating at the remote repository",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"password": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Password contains the password or PAT used for authenticating at the remote repository",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"sshPrivateKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SSHPrivateKey contains the PEM data for authenticating at the repo server. Only used with Git repos.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"connectionState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ConnectionState contains information about the current state of connection to the repository server",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"),
|
|
},
|
|
},
|
|
"insecureIgnoreHostKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "InsecureIgnoreHostKey should not be used anymore, Insecure is favoured Used only for Git repos",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"insecure": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Insecure specifies whether the connection to the repository ignores any errors when verifying TLS certificates or SSH host keys",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"enableLfs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "EnableLFS specifies whether git-lfs support should be enabled for this repo. Only valid for Git repositories.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tlsClientCertData": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TLSClientCertData contains a certificate in PEM format for authenticating at the repo server",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tlsClientCertKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TLSClientCertKey contains a private key in PEM format for authenticating at the repo server",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"type": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Type specifies the type of the repo. Can be either \"git\" or \"helm. \"git\" is assumed if empty or absent.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name specifies a name to be used for this repo. Only used with Helm repos",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"inheritedCreds": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Whether credentials were inherited from a credential set",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"enableOCI": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "EnableOCI specifies whether helm-oci support should be enabled for this repo",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"githubAppPrivateKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Github App Private Key PEM data",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"githubAppID": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GithubAppId specifies the ID of the GitHub app used to access the repo",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"githubAppInstallationID": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GithubAppInstallationId specifies the installation ID of the GitHub App used to access the repo",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"githubAppEnterpriseBaseUrl": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GithubAppEnterpriseBaseURL specifies the base URL of GitHub Enterprise installation. If empty will default to https://api.github.com",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"proxy": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Proxy specifies the HTTP/HTTPS proxy used to access the repo",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"project": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Reference between project and repository that allow you automatically to be added as item inside SourceRepos project entity",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"gcpServiceAccountKey": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GCPServiceAccountKey specifies the service account key in JSON format to be used for getting credentials to Google Cloud Source repos",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"repo"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ConnectionState"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RepositoryCertificate(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "A RepositoryCertificate is either SSH known hosts entry or TLS certificate",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"serverName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ServerName specifies the DNS name of the server this certificate is intended for",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"certType": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CertType specifies the type of the certificate - currently one of \"https\" or \"ssh\"",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"certSubType": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CertSubType specifies the sub type of the cert, i.e. \"ssh-rsa\"",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"certData": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CertData contains the actual certificate data, dependent on the certificate type",
|
|
Type: []string{"string"},
|
|
Format: "byte",
|
|
},
|
|
},
|
|
"certInfo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CertInfo will hold additional certificate info, depdendent on the certificate type (e.g. SSH fingerprint, X509 CommonName)",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"serverName", "certType", "certSubType", "certData", "certInfo"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RepositoryCertificateList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RepositoryCertificateList is a collection of RepositoryCertificates",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "List of certificates to be processed",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RepositoryCertificate", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RepositoryList(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RepositoryList is a collection of Repositories.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"metadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
|
|
},
|
|
},
|
|
"items": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"items"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Repository", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceAction(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"params": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"disabled": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionParam"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceActionDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"action.lua": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"name", "action.lua"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceActionParam(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"value": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"type": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"default": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceActions(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"discovery.lua": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"definitions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceActionDefinition"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceDiff(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceDiff holds the diff of a live and target resource object",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"targetState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TargetState contains the JSON serialized resource manifest defined in the Git/Helm",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"liveState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TargetState contains the JSON live resource manifest",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"diff": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Diff contains the JSON patch between target and live resource Deprecated: use NormalizedLiveState and PredictedLiveState to render the difference",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"hook": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"normalizedLiveState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "NormalizedLiveState contains JSON serialized live resource state with applied normalizations",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"predictedLiveState": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "PredictedLiveState contains JSON serialized resource state that is calculated based on normalized and target resource state",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"resourceVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"modified": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceIgnoreDifferences(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceIgnoreDifferences contains resource filter and list of json paths which should be ignored during comparison with live state.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"jsonPointers": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"jqPathExpressions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"managedFieldsManagers": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ManagedFieldsManagers is a list of trusted managers. Fields mutated by those managers will take precedence over the desired state defined in the SCM and won't be displayed in diffs",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"kind"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceNetworkingInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceNetworkingInfo holds networking resource related information",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"targetLabels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"targetRefs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"labels": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
AdditionalProperties: &spec.SchemaOrBool{
|
|
Allows: true,
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"ingress": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/api/core/v1.LoadBalancerIngress"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"externalURLs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ExternalURLs holds list of URLs which should be available externally. List is populated for ingress resources using rules hostnames.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef", "k8s.io/api/core/v1.LoadBalancerIngress"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceNode(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceNode contains information about live resource and its children",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"version": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"uid": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"parentRefs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"info": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.InfoItem"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"networkingInfo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNetworkingInfo"),
|
|
},
|
|
},
|
|
"resourceVersion": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"images": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"health": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
|
|
},
|
|
},
|
|
"createdAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.InfoItem", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceNetworkingInfo", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceRef", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceOverride holds configuration to customize resource diffing and health assessment",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"HealthLua": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"UseOpenLibs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: false,
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"Actions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"IgnoreDifferences": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"),
|
|
},
|
|
},
|
|
"KnownTypeFields": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"HealthLua", "UseOpenLibs", "Actions", "IgnoreDifferences", "KnownTypeFields"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.OverrideIgnoreDiff"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceRef includes fields which uniquely identify a resource",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"version": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"uid": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceResult holds the operation result details of a specific resource",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Group specifies the API group of the resource",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"version": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Version specifies the API version of the resource",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Kind specifies the API kind of the resource",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Namespace specifies the target namespace of the resource",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Name specifies the name of the resource",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Status holds the final result of the sync. Will be empty if the resources is yet to be applied/pruned and is always zero-value for hooks",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"message": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Message contains an informational or error message for the last sync OR operation",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"hookType": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "HookType specifies the type of the hook. Empty for non-hook resources",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"hookPhase": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "HookPhase contains the state of any operation associated with this resource OR hook This can also contain values for non-hook resources.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"syncPhase": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncPhase indicates the particular phase of the sync that this result was acquired in",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"group", "version", "kind", "namespace", "name"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_ResourceStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ResourceStatus holds the current sync and health status of a resource",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"version": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"health": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"),
|
|
},
|
|
},
|
|
"hook": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"requiresPruning": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"syncWave": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.HealthStatus"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RetryStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RetryStrategy contains information about the strategy to apply when a sync failed",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"limit": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Limit is the maximum number of attempts for retrying a failed sync. If set to 0, no retries will be performed.",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"backoff": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Backoff controls how to backoff on subsequent retries of failed syncs",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.Backoff"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RevisionHistory(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RevisionHistory contains history information about a previous sync",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"revision": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revision holds the revision the sync was performed against",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"deployedAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "DeployedAt holds the time the sync operation completed",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"id": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ID is an auto incrementing identifier of the RevisionHistory",
|
|
Default: 0,
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"source": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Source is a reference to the application source used for the sync operation",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
"deployStartedAt": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "DeployStartedAt holds the time the sync operation started",
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"sources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Sources is a reference to the application sources used for the sync operation",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"revisions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revisions holds the revision of each source in sources field the sync was performed against",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"deployedAt", "id"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_RevisionMetadata(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "RevisionMetadata contains metadata for a specific revision in a Git repository",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"author": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"date": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Date specifies when the revision was authored",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
|
|
},
|
|
},
|
|
"tags": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Tags specifies any tags currently attached to the revision Floating tags can move from one revision to another",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"message": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Message contains the message associated with the revision, most likely the commit message.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"signatureInfo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SignatureInfo contains a hint on the signer if the revision was signed with GPG, and signature verification is enabled.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"date"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGenerator(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGenerator defines a generator that scrapes a SCMaaS API to find candidate repos.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"github": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Which provider to use and config for it.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGithub"),
|
|
},
|
|
},
|
|
"gitlab": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitlab"),
|
|
},
|
|
},
|
|
"bitbucket": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucket"),
|
|
},
|
|
},
|
|
"bitbucketServer": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucketServer"),
|
|
},
|
|
},
|
|
"gitea": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitea"),
|
|
},
|
|
},
|
|
"azureDevOps": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAzureDevOps"),
|
|
},
|
|
},
|
|
"filters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Filters for which repos should be considered.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorFilter"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"cloneProtocol": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Which protocol to use for the SCM URL. Default is provider-specific but ssh if possible. Not all providers necessarily support all protocols.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"requeueAfterSeconds": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Standard parameters.",
|
|
Type: []string{"integer"},
|
|
Format: "int64",
|
|
},
|
|
},
|
|
"template": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSetTemplate", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorAzureDevOps", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucket", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorBitbucketServer", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorFilter", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitea", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGithub", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SCMProviderGeneratorGitlab"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorAzureDevOps(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGeneratorAzureDevOps defines connection info specific to Azure DevOps.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"organization": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Azure Devops organization. Required. E.g. \"my-organization\".",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The URL to Azure DevOps. If blank, use https://dev.azure.com.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"teamProject": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Azure Devops team project. Required. E.g. \"my-team\".",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"accessTokenRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The Personal Access Token (PAT) to use when connecting. Required.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"allBranches": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Scan all branches instead of just the default branch.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"organization", "teamProject", "accessTokenRef"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucket(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGeneratorBitbucket defines connection info specific to Bitbucket Cloud (API version 2).",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"owner": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Bitbucket workspace to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"user": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Bitbucket user to use when authenticating. Should have a \"member\" role to be able to read all repositories and branches. Required",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"appPasswordRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The app password to use for the user. Required. See: https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"allBranches": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Scan all branches instead of just the main branch.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"owner", "user", "appPasswordRef"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorBitbucketServer(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGeneratorBitbucketServer defines connection info specific to Bitbucket Server.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"project": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Project to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The Bitbucket Server REST API URL to talk to. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"basicAuth": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Credentials for Basic auth",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"),
|
|
},
|
|
},
|
|
"allBranches": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Scan all branches instead of just the default branch.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"project", "api"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.BasicAuthBitbucketServer"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGeneratorFilter is a single repository filter. If multiple filter types are set on a single struct, they will be AND'd together. All filters must pass for a repo to be included.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"repositoryMatch": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "A regex for repo names.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"pathsExist": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "An array of paths, all of which must exist.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"pathsDoNotExist": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "An array of paths, all of which must not exist.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"labelMatch": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "A regex which must match at least one label.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"branchMatch": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "A regex which must match the branch name.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitea(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGeneratorGitea defines a connection info specific to Gitea.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"owner": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Gitea organization or user to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The Gitea URL to talk to. For example https://gitea.mydomain.com/.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tokenRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Authentication token reference.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"allBranches": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Scan all branches instead of just the default branch.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"insecure": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Allow self-signed TLS / Certificates; default: false",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"owner", "api"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGithub(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGeneratorGithub defines connection info specific to GitHub.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"organization": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "GitHub org to scan. Required.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The GitHub API URL to talk to. If blank, use https://api.github.com/.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tokenRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Authentication token reference.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"appSecretName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AppSecretName is a reference to a GitHub App repo-creds secret.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"allBranches": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Scan all branches instead of just the default branch.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"organization"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SCMProviderGeneratorGitlab(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SCMProviderGeneratorGitlab defines connection info specific to Gitlab.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Gitlab group to scan. Required. You can use either the project id (recommended) or the full namespaced path.",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"includeSubgroups": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Recurse through subgroups (true) or scan only the base group (false). Defaults to \"false\"",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"api": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The Gitlab API URL to talk to.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"tokenRef": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Authentication token reference.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"),
|
|
},
|
|
},
|
|
"allBranches": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Scan all branches instead of just the default branch.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"group"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SecretRef"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SecretRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Utility struct for a reference to a secret key.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"secretName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"key": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"secretName", "key"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SignatureKey(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SignatureKey is the specification of a key required to verify commit signatures with",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"keyID": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "The ID of the key in hexadecimal notation",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"keyID"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncOperation(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncOperation contains details about a sync operation.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"revision": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revision is the revision (Git) or chart version (Helm) which to sync the application to If omitted, will use the revision specified in app spec.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"prune": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Prune specifies to delete resources from the cluster that are no longer tracked in git",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"dryRun": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "DryRun specifies to perform a `kubectl apply --dry-run` without actually performing the sync",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"syncStrategy": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncStrategy describes how to perform the sync",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategy"),
|
|
},
|
|
},
|
|
"resources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Resources describes which resources shall be part of the sync",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResource"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"source": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Source overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
"manifests": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Manifests is an optional field that overrides sync source with a local directory for development",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"syncOptions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncOptions provide per-sync sync-options, e.g. Validate=false",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"sources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Sources overrides the source definition set in the application. This is typically set in a Rollback operation and is nil during a Sync operation",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"revisions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revisions is the list of revision (Git) or chart version (Helm) which to sync each source in sources field for the application to If omitted, will use the revision specified in app spec.",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncOperationResource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategy"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncOperationResource(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncOperationResource contains resources to sync.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"group": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"namespace": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"kind", "name"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncOperationResult(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncOperationResult represent result of sync operation",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"resources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Resources contains a list of sync result items for each individual resource in a sync operation",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceResult"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"revision": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revision holds the revision this sync operation was performed to",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"source": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Source records the application source information of the sync, used for comparing auto-sync",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
"sources": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Source records the application source information of the sync, used for comparing auto-sync",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"revisions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revisions holds the revision this sync operation was performed for respective indexed source in sources field",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"revision"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ApplicationSource", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ResourceResult"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncPolicy controls when a sync will be performed in response to updates in git",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"automated": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Automated will keep an application synced to the target revision",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicyAutomated"),
|
|
},
|
|
},
|
|
"syncOptions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Options allow you to specify whole app sync-options",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"retry": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Retry controls failed sync retry behavior",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy"),
|
|
},
|
|
},
|
|
"managedNamespaceMetadata": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ManagedNamespaceMetadata controls metadata in the given namespace (if CreateNamespace=true)",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ManagedNamespaceMetadata", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.RetryStrategy", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncPolicyAutomated"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncPolicyAutomated(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncPolicyAutomated controls the behavior of an automated sync",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"prune": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Prune specifies whether to delete resources from the cluster that are not found in the sources anymore as part of automated sync (default: false)",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"selfHeal": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SelfHeal specifes whether to revert resources back to their desired state upon modification in the cluster (default: false)",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"allowEmpty": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "AllowEmpty allows apps have zero live resources (default: false)",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncStatus contains information about the currently observed live and desired states of an application",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"status": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Status is the sync state of the comparison",
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"comparedTo": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ComparedTo contains information about what has been compared",
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo"),
|
|
},
|
|
},
|
|
"revision": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revision contains information about the revision the comparison has been performed to",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"revisions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Revisions contains information about the revisions of multiple sources the comparison has been performed to",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"status"},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.ComparedTo"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncStrategy(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncStrategy controls the manner in which a sync is performed",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"apply": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Apply will perform a `kubectl apply` to perform the sync.",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyApply"),
|
|
},
|
|
},
|
|
"hook": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Hook will submit any referenced resources to perform the sync. This is the default strategy",
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyHook"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyApply", "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.SyncStrategyHook"},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncStrategyApply(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncStrategyApply uses `kubectl apply` to perform the apply",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"force": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncStrategyHook(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncStrategyHook will perform a sync using hooks annotations. If no hook annotation is specified falls back to `kubectl apply`.",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"force": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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.",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_SyncWindow(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "SyncWindow contains the kind, time, duration and attributes that are used to assign the syncWindows to apps",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"kind": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Kind defines if the window allows or blocks syncs",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"schedule": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Schedule is the time the window will begin, specified in cron format",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"duration": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Duration is the amount of time the sync window will be open",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"applications": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Applications contains a list of applications that the window will apply to",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"namespaces": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Namespaces contains a list of namespaces that the window will apply to",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"clusters": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Clusters contains a list of clusters that the window will apply to",
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: "",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
"manualSync": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "ManualSync enables manual syncs when they would otherwise be blocked",
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"timeZone": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TimeZone of the sync that will be applied to the schedule",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_TLSClientConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "TLSClientConfig contains settings to enable transport layer security",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"insecure": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "Insecure specifies that the server should be accessed without verifying the TLS certificate. For testing only.",
|
|
Default: false,
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"serverName": {
|
|
SchemaProps: spec.SchemaProps{
|
|
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.",
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"certData": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CertData holds PEM-encoded bytes (typically read from a client certificate file). CertData takes precedence over CertFile",
|
|
Type: []string{"string"},
|
|
Format: "byte",
|
|
},
|
|
},
|
|
"keyData": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "KeyData holds PEM-encoded bytes (typically read from a client certificate key file). KeyData takes precedence over KeyFile",
|
|
Type: []string{"string"},
|
|
Format: "byte",
|
|
},
|
|
},
|
|
"caData": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Description: "CAData holds PEM-encoded bytes (typically read from a root certificates bundle). CAData takes precedence over CAFile",
|
|
Type: []string{"string"},
|
|
Format: "byte",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"insecure"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_objectMeta(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
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).",
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"Name": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
},
|
|
Required: []string{"Name"},
|
|
},
|
|
},
|
|
}
|
|
}
|
|
|
|
func schema_pkg_apis_application_v1alpha1_rawResourceOverride(ref common.ReferenceCallback) common.OpenAPIDefinition {
|
|
return common.OpenAPIDefinition{
|
|
Schema: spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"object"},
|
|
Properties: map[string]spec.Schema{
|
|
"health.lua": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"health.lua.useOpenLibs": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"boolean"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"actions": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"ignoreDifferences": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"string"},
|
|
Format: "",
|
|
},
|
|
},
|
|
"knownTypeFields": {
|
|
SchemaProps: spec.SchemaProps{
|
|
Type: []string{"array"},
|
|
Items: &spec.SchemaOrArray{
|
|
Schema: &spec.Schema{
|
|
SchemaProps: spec.SchemaProps{
|
|
Default: map[string]interface{}{},
|
|
Ref: ref("github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"),
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
Dependencies: []string{
|
|
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1.KnownTypeField"},
|
|
}
|
|
}
|