Skip to content

Commit 8753f16

Browse files
author
CloudNativePG Automated Updates
committed
chore: sync API
1 parent 66242b5 commit 8753f16

File tree

3 files changed

+0
-46
lines changed

3 files changed

+0
-46
lines changed

pkg/api/v1/cluster_types.go

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ SPDX-License-Identifier: Apache-2.0
2020
package v1
2121

2222
import (
23-
"regexp"
24-
2523
monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1"
2624
corev1 "k8s.io/api/core/v1"
2725
"k8s.io/apimachinery/pkg/api/resource"
@@ -1123,18 +1121,6 @@ type SynchronizeReplicasConfiguration struct {
11231121
// List of regular expression patterns to match the names of replication slots to be excluded (by default empty)
11241122
// +optional
11251123
ExcludePatterns []string `json:"excludePatterns,omitempty"`
1126-
1127-
synchronizeReplicasCache `json:"-"`
1128-
}
1129-
1130-
// synchronizeReplicasCache contains the result of the regex compilation
1131-
// +kubebuilder:object:generate:=false
1132-
type synchronizeReplicasCache struct {
1133-
compiledPatterns []regexp.Regexp `json:"-"`
1134-
1135-
compiled bool `json:"-"`
1136-
1137-
compileErrors []error `json:"-"`
11381124
}
11391125

11401126
// ReplicationSlotsConfiguration encapsulates the configuration
@@ -1331,7 +1317,6 @@ type SynchronousReplicaConfiguration struct {
13311317
// to allow for operational continuity. This setting is only applicable if both
13321318
// `standbyNamesPre` and `standbyNamesPost` are unset (empty).
13331319
// +kubebuilder:validation:Enum=required;preferred
1334-
// +kubebuilder:default:=required
13351320
// +optional
13361321
DataDurability DataDurabilityLevel `json:"dataDurability,omitempty"`
13371322
}

pkg/api/v1/zz_api_repo_funcs_to_copy.go

Lines changed: 0 additions & 30 deletions
This file was deleted.

pkg/api/v1/zz_generated.deepcopy.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)