From 222addfce711723f68faa73abb473ec51ae5c22f Mon Sep 17 00:00:00 2001 From: Rokibul Hasan Date: Tue, 12 Nov 2024 15:27:25 +0600 Subject: [PATCH] Add block name (#505) Signed-off-by: Rokibul Hasan --- .config/api-rules/violation_exceptions.list | 3 + apis/core/v1alpha1/openapi_generated.go | 77 +++++++++++++++++++ apis/identity/v1alpha1/openapi_generated.go | 77 +++++++++++++++++++ apis/management/v1alpha1/openapi_generated.go | 77 +++++++++++++++++++ apis/meta/v1alpha1/openapi_generated.go | 77 +++++++++++++++++++ apis/node/v1alpha1/openapi_generated.go | 77 +++++++++++++++++++ apis/ui/v1alpha1/openapi_generated.go | 77 +++++++++++++++++++ .../kubedb.com/v1/kubedb/elasticsearches.yaml | 2 + .../kubedb.com/v1/kubedb/mariadbs.yaml | 2 + .../kubedb.com/v1/kubedb/mongodbs.yaml | 2 + .../kubedb.com/v1/kubedb/mysqls.yaml | 2 + .../kubedb.com/v1/kubedb/perconaxtradbs.yaml | 2 + .../kubedb.com/v1/kubedb/pgbouncers.yaml | 2 + .../kubedb.com/v1/kubedb/postgreses.yaml | 2 + .../kubedb.com/v1/kubedb/proxysqls.yaml | 1 + .../kubedb.com/v1/kubedb/redises.yaml | 2 + .../v1alpha2/kubedb/elasticsearches.yaml | 2 + .../kubedb.com/v1alpha2/kubedb/mariadbs.yaml | 2 + .../kubedb.com/v1alpha2/kubedb/mongodbs.yaml | 2 + .../kubedb.com/v1alpha2/kubedb/mysqls.yaml | 2 + .../v1alpha2/kubedb/postgreses.yaml | 2 + .../kubedb.com/v1alpha2/kubedb/proxysqls.yaml | 1 + .../kubedb.com/v1alpha2/kubedb/redises.yaml | 2 + 23 files changed, 495 insertions(+) diff --git a/.config/api-rules/violation_exceptions.list b/.config/api-rules/violation_exceptions.list index f4d2f751c..958d07132 100644 --- a/.config/api-rules/violation_exceptions.list +++ b/.config/api-rules/violation_exceptions.list @@ -6,6 +6,9 @@ API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,CertificateS API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,CertificateSpec,EmailAddresses API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,CertificateSpec,IPAddresses API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,CertificateSpec,URIs +API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,ClusterClaimFeatures,DisabledFeatures +API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,ClusterClaimFeatures,EnabledFeatures +API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,ClusterClaimFeatures,ExternallyManagedFeatures API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,ClusterInfo,ClusterManagers API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,ImageInfo,Lineages API rule violation: list_type_missing,kmodules.xyz/client-go/api/v1,Lineage,Chain diff --git a/apis/core/v1alpha1/openapi_generated.go b/apis/core/v1alpha1/openapi_generated.go index ecdd22c7a..1c55fc1c2 100644 --- a/apis/core/v1alpha1/openapi_generated.go +++ b/apis/core/v1alpha1/openapi_generated.go @@ -317,6 +317,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimFeatures": schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimInfo": schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterInfo": schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), @@ -16315,6 +16317,81 @@ func schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref common.ReferenceCal } } +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "enabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "externallyManagedFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "disabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "clusterMetadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.ClusterInfo"), + }, + }, + }, + Required: []string{"clusterMetadata"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.ClusterInfo"}, + } +} + func schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/apis/identity/v1alpha1/openapi_generated.go b/apis/identity/v1alpha1/openapi_generated.go index 1f6f4ea8b..f94454fb2 100644 --- a/apis/identity/v1alpha1/openapi_generated.go +++ b/apis/identity/v1alpha1/openapi_generated.go @@ -317,6 +317,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimFeatures": schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimInfo": schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterInfo": schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), @@ -16306,6 +16308,81 @@ func schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref common.ReferenceCal } } +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "enabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "externallyManagedFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "disabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "clusterMetadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.ClusterInfo"), + }, + }, + }, + Required: []string{"clusterMetadata"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.ClusterInfo"}, + } +} + func schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/apis/management/v1alpha1/openapi_generated.go b/apis/management/v1alpha1/openapi_generated.go index 7b2b65701..328afc2a6 100644 --- a/apis/management/v1alpha1/openapi_generated.go +++ b/apis/management/v1alpha1/openapi_generated.go @@ -317,6 +317,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimFeatures": schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimInfo": schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterInfo": schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), @@ -16295,6 +16297,81 @@ func schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref common.ReferenceCal } } +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "enabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "externallyManagedFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "disabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "clusterMetadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.ClusterInfo"), + }, + }, + }, + Required: []string{"clusterMetadata"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.ClusterInfo"}, + } +} + func schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/apis/meta/v1alpha1/openapi_generated.go b/apis/meta/v1alpha1/openapi_generated.go index 5d46e8eb0..6bd70de2e 100644 --- a/apis/meta/v1alpha1/openapi_generated.go +++ b/apis/meta/v1alpha1/openapi_generated.go @@ -317,6 +317,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimFeatures": schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimInfo": schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterInfo": schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), @@ -16384,6 +16386,81 @@ func schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref common.ReferenceCal } } +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "enabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "externallyManagedFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "disabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "clusterMetadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.ClusterInfo"), + }, + }, + }, + Required: []string{"clusterMetadata"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.ClusterInfo"}, + } +} + func schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/apis/node/v1alpha1/openapi_generated.go b/apis/node/v1alpha1/openapi_generated.go index 5c9a1d4b8..99bd34679 100644 --- a/apis/node/v1alpha1/openapi_generated.go +++ b/apis/node/v1alpha1/openapi_generated.go @@ -317,6 +317,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimFeatures": schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimInfo": schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterInfo": schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), @@ -16294,6 +16296,81 @@ func schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref common.ReferenceCal } } +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "enabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "externallyManagedFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "disabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "clusterMetadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.ClusterInfo"), + }, + }, + }, + Required: []string{"clusterMetadata"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.ClusterInfo"}, + } +} + func schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/apis/ui/v1alpha1/openapi_generated.go b/apis/ui/v1alpha1/openapi_generated.go index 985695192..aa03fb4b3 100644 --- a/apis/ui/v1alpha1/openapi_generated.go +++ b/apis/ui/v1alpha1/openapi_generated.go @@ -317,6 +317,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/client-go/api/v1.CAPIClusterInfo": schema_kmodulesxyz_client_go_api_v1_CAPIClusterInfo(ref), "kmodules.xyz/client-go/api/v1.CertificatePrivateKey": schema_kmodulesxyz_client_go_api_v1_CertificatePrivateKey(ref), "kmodules.xyz/client-go/api/v1.CertificateSpec": schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimFeatures": schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref), + "kmodules.xyz/client-go/api/v1.ClusterClaimInfo": schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterInfo": schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref), "kmodules.xyz/client-go/api/v1.ClusterMetadata": schema_kmodulesxyz_client_go_api_v1_ClusterMetadata(ref), "kmodules.xyz/client-go/api/v1.Condition": schema_kmodulesxyz_client_go_api_v1_Condition(ref), @@ -16320,6 +16322,81 @@ func schema_kmodulesxyz_client_go_api_v1_CertificateSpec(ref common.ReferenceCal } } +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimFeatures(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "enabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "externallyManagedFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + "disabledFeatures": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: "", + Type: []string{"string"}, + Format: "", + }, + }, + }, + }, + }, + }, + }, + }, + } +} + +func schema_kmodulesxyz_client_go_api_v1_ClusterClaimInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "clusterMetadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/client-go/api/v1.ClusterInfo"), + }, + }, + }, + Required: []string{"clusterMetadata"}, + }, + }, + Dependencies: []string{ + "kmodules.xyz/client-go/api/v1.ClusterInfo"}, + } +} + func schema_kmodulesxyz_client_go_api_v1_ClusterInfo(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/elasticsearches.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/elasticsearches.yaml index c0e4cf87f..d90c6de2b 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/elasticsearches.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/elasticsearches.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/mariadbs.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/mariadbs.yaml index 68b674e6c..938f9ad42 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/mariadbs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/mariadbs.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/mongodbs.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/mongodbs.yaml index 1e2da533b..519e368f6 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/mongodbs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/mongodbs.yaml @@ -35,6 +35,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -112,6 +113,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/mysqls.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/mysqls.yaml index 4aeb42a6f..7117d9374 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/mysqls.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/mysqls.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/perconaxtradbs.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/perconaxtradbs.yaml index c355982e6..34a814179 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/perconaxtradbs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/perconaxtradbs.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/pgbouncers.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/pgbouncers.yaml index d517d18f8..8ee64011f 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/pgbouncers.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/pgbouncers.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/postgreses.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/postgreses.yaml index 69b629134..0543df47d 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/postgreses.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/postgreses.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/proxysqls.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/proxysqls.yaml index 26258e451..aaf967fe9 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/proxysqls.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/proxysqls.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: diff --git a/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml b/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml index 4ec04fec2..27e7ab11a 100644 --- a/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml +++ b/hub/resourceoutlines/kubedb.com/v1/kubedb/redises.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml index ffbf611d2..3cf32746f 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/elasticsearches.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml index 6800b420f..a50f31368 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mariadbs.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml index c7dc07935..5b69ec3c8 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mongodbs.yaml @@ -35,6 +35,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -112,6 +113,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml index fd3cb4e2b..f23cd7817 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/mysqls.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml index 0b37a296d..753513b2e 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/postgreses.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -109,6 +110,7 @@ spec: create: Never displayMode: Field kind: Connection + name: Insight query: byLabel: view type: GraphQL diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/proxysqls.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/proxysqls.yaml index 12eb75acb..f552524e0 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/proxysqls.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/proxysqls.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: diff --git a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml index b383ac6a0..c0c54a7cb 100644 --- a/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml +++ b/hub/resourceoutlines/kubedb.com/v1alpha2/kubedb/redises.yaml @@ -32,6 +32,7 @@ spec: displayMode: List fieldPath: '{.response.dashboards[0].panels}' kind: Connection + name: Dashboards query: raw: | request: @@ -95,6 +96,7 @@ spec: create: Never displayMode: List kind: Connection + name: Insight query: byLabel: connect_via type: GraphQL