Documentation
¶
Index ¶
- type AutomaticReplacementOptionsApplyConfiguration
- func (b *AutomaticReplacementOptionsApplyConfiguration) WithEnabled(value bool) *AutomaticReplacementOptionsApplyConfiguration
- func (b *AutomaticReplacementOptionsApplyConfiguration) WithFailureDetectionTimeSeconds(value int) *AutomaticReplacementOptionsApplyConfiguration
- func (b *AutomaticReplacementOptionsApplyConfiguration) WithFaultDomainBasedReplacements(value bool) *AutomaticReplacementOptionsApplyConfiguration
- func (b *AutomaticReplacementOptionsApplyConfiguration) WithMaxConcurrentReplacements(value int) *AutomaticReplacementOptionsApplyConfiguration
- func (b *AutomaticReplacementOptionsApplyConfiguration) WithMaxFaultDomainsWithTaintedProcessGroups(value intstr.IntOrString) *AutomaticReplacementOptionsApplyConfiguration
- func (b *AutomaticReplacementOptionsApplyConfiguration) WithTaintReplacementOptions(values ...*TaintReplacementOptionApplyConfiguration) *AutomaticReplacementOptionsApplyConfiguration
- func (b *AutomaticReplacementOptionsApplyConfiguration) WithTaintReplacementTimeSeconds(value int) *AutomaticReplacementOptionsApplyConfiguration
- type BackupGenerationStatusApplyConfiguration
- func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupAgentUpdate(value int64) *BackupGenerationStatusApplyConfiguration
- func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupPauseToggle(value int64) *BackupGenerationStatusApplyConfiguration
- func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupReconfiguration(value int64) *BackupGenerationStatusApplyConfiguration
- func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupStart(value int64) *BackupGenerationStatusApplyConfiguration
- func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupStop(value int64) *BackupGenerationStatusApplyConfiguration
- func (b *BackupGenerationStatusApplyConfiguration) WithReconciled(value int64) *BackupGenerationStatusApplyConfiguration
- type BlobStoreConfigurationApplyConfiguration
- func (b *BlobStoreConfigurationApplyConfiguration) WithAccountName(value string) *BlobStoreConfigurationApplyConfiguration
- func (b *BlobStoreConfigurationApplyConfiguration) WithBackupName(value string) *BlobStoreConfigurationApplyConfiguration
- func (b *BlobStoreConfigurationApplyConfiguration) WithBucket(value string) *BlobStoreConfigurationApplyConfiguration
- func (b *BlobStoreConfigurationApplyConfiguration) WithURLParameters(values ...apiv1beta2.URLParameter) *BlobStoreConfigurationApplyConfiguration
- type BuggifyConfigApplyConfiguration
- func (b *BuggifyConfigApplyConfiguration) WithBlockRemoval(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
- func (b *BuggifyConfigApplyConfiguration) WithCrashLoop(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
- func (b *BuggifyConfigApplyConfiguration) WithCrashLoopContainers(values ...*CrashLoopContainerObjectApplyConfiguration) *BuggifyConfigApplyConfiguration
- func (b *BuggifyConfigApplyConfiguration) WithEmptyMonitorConf(value bool) *BuggifyConfigApplyConfiguration
- func (b *BuggifyConfigApplyConfiguration) WithIgnoreDuringRestart(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
- func (b *BuggifyConfigApplyConfiguration) WithNoSchedule(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
- type ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithDatabaseUnavailable(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithHasExtraListeners(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithHasPendingRemoval(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithHasUnhealthyProcess(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsBounce(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsConfigurationChange(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsCoordinatorChange(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsGrow(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsLockConfigurationChanges(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsMonitorConfUpdate(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsPodDeletion(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsServiceUpdate(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsShrink(value int64) *ClusterGenerationStatusApplyConfiguration
- func (b *ClusterGenerationStatusApplyConfiguration) WithReconciled(value int64) *ClusterGenerationStatusApplyConfiguration
- type ClusterHealthApplyConfiguration
- func (b *ClusterHealthApplyConfiguration) WithAvailable(value bool) *ClusterHealthApplyConfiguration
- func (b *ClusterHealthApplyConfiguration) WithDataMovementPriority(value int) *ClusterHealthApplyConfiguration
- func (b *ClusterHealthApplyConfiguration) WithFullReplication(value bool) *ClusterHealthApplyConfiguration
- func (b *ClusterHealthApplyConfiguration) WithHealthy(value bool) *ClusterHealthApplyConfiguration
- type ConnectionStringApplyConfiguration
- func (b *ConnectionStringApplyConfiguration) WithCoordinators(values ...string) *ConnectionStringApplyConfiguration
- func (b *ConnectionStringApplyConfiguration) WithDatabaseName(value string) *ConnectionStringApplyConfiguration
- func (b *ConnectionStringApplyConfiguration) WithGenerationID(value string) *ConnectionStringApplyConfiguration
- type ContainerOverridesApplyConfiguration
- func (b *ContainerOverridesApplyConfiguration) WithEnableLivenessProbe(value bool) *ContainerOverridesApplyConfiguration
- func (b *ContainerOverridesApplyConfiguration) WithEnableReadinessProbe(value bool) *ContainerOverridesApplyConfiguration
- func (b *ContainerOverridesApplyConfiguration) WithEnableTLS(value bool) *ContainerOverridesApplyConfiguration
- func (b *ContainerOverridesApplyConfiguration) WithImageConfigs(values ...*ImageConfigApplyConfiguration) *ContainerOverridesApplyConfiguration
- func (b *ContainerOverridesApplyConfiguration) WithPeerVerificationRules(value string) *ContainerOverridesApplyConfiguration
- type CoordinatorSelectionSettingApplyConfiguration
- type CrashLoopContainerObjectApplyConfiguration
- type DataCenterApplyConfiguration
- type DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithExcludedServers(values ...*ExcludedServersApplyConfiguration) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggle(value int) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggleEngine(value apiv1beta2.StorageEngine) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggleLocality(value string) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithRedundancyMode(value apiv1beta2.RedundancyMode) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithRegions(values ...*RegionApplyConfiguration) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithStorageEngine(value apiv1beta2.StorageEngine) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithStorageMigrationType(value apiv1beta2.StorageMigrationType) *DatabaseConfigurationApplyConfiguration
- func (b *DatabaseConfigurationApplyConfiguration) WithUsableRegions(value int) *DatabaseConfigurationApplyConfiguration
- type ExcludedServersApplyConfiguration
- type FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) GetAPIVersion() *string
- func (b *FoundationDBBackupApplyConfiguration) GetKind() *string
- func (b *FoundationDBBackupApplyConfiguration) GetName() *string
- func (b *FoundationDBBackupApplyConfiguration) GetNamespace() *string
- func (b FoundationDBBackupApplyConfiguration) IsApplyConfiguration()
- func (b *FoundationDBBackupApplyConfiguration) WithAPIVersion(value string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithAnnotations(entries map[string]string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithFinalizers(values ...string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithGenerateName(value string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithGeneration(value int64) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithKind(value string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithLabels(entries map[string]string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithName(value string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithNamespace(value string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithResourceVersion(value string) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithSpec(value *FoundationDBBackupSpecApplyConfiguration) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithStatus(value *FoundationDBBackupStatusApplyConfiguration) *FoundationDBBackupApplyConfiguration
- func (b *FoundationDBBackupApplyConfiguration) WithUID(value types.UID) *FoundationDBBackupApplyConfiguration
- type FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithAgentCount(value int) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithAllowTagOverride(value bool) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupDeploymentMetadata(value *v1.ObjectMetaApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupMode(value apiv1beta2.BackupMode) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupState(value apiv1beta2.BackupState) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupType(value apiv1beta2.BackupType) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithBlobStoreConfiguration(value *BlobStoreConfigurationApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithClusterName(value string) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithCustomParameters(value apiv1beta2.FoundationDBCustomParameters) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithDataCenter(value string) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithDeletionPolicy(value apiv1beta2.BackupDeletionPolicy) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithEncryptionKeyPath(value string) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithImageType(value apiv1beta2.ImageType) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithMainContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithPodTemplateSpec(value corev1.PodTemplateSpec) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithSidecarContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithSnapshotPeriodSeconds(value int) *FoundationDBBackupSpecApplyConfiguration
- func (b *FoundationDBBackupSpecApplyConfiguration) WithVersion(value string) *FoundationDBBackupSpecApplyConfiguration
- type FoundationDBBackupStatusApplyConfiguration
- func (b *FoundationDBBackupStatusApplyConfiguration) WithAgentCount(value int) *FoundationDBBackupStatusApplyConfiguration
- func (b *FoundationDBBackupStatusApplyConfiguration) WithBackupDetails(value *FoundationDBBackupStatusBackupDetailsApplyConfiguration) *FoundationDBBackupStatusApplyConfiguration
- func (b *FoundationDBBackupStatusApplyConfiguration) WithDeploymentConfigured(value bool) *FoundationDBBackupStatusApplyConfiguration
- func (b *FoundationDBBackupStatusApplyConfiguration) WithGenerations(value *BackupGenerationStatusApplyConfiguration) *FoundationDBBackupStatusApplyConfiguration
- type FoundationDBBackupStatusBackupDetailsApplyConfiguration
- func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithPaused(value bool) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
- func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithRestorable(value bool) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
- func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithRunning(value bool) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
- func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithSnapshotPeriodSeconds(value int) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
- func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithURL(value string) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
- type FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) GetAPIVersion() *string
- func (b *FoundationDBClusterApplyConfiguration) GetKind() *string
- func (b *FoundationDBClusterApplyConfiguration) GetName() *string
- func (b *FoundationDBClusterApplyConfiguration) GetNamespace() *string
- func (b FoundationDBClusterApplyConfiguration) IsApplyConfiguration()
- func (b *FoundationDBClusterApplyConfiguration) WithAPIVersion(value string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithAnnotations(entries map[string]string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithFinalizers(values ...string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithGenerateName(value string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithGeneration(value int64) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithKind(value string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithLabels(entries map[string]string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithName(value string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithNamespace(value string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithResourceVersion(value string) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithSpec(value *FoundationDBClusterSpecApplyConfiguration) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithStatus(value *FoundationDBClusterStatusApplyConfiguration) *FoundationDBClusterApplyConfiguration
- func (b *FoundationDBClusterApplyConfiguration) WithUID(value types.UID) *FoundationDBClusterApplyConfiguration
- type FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithCacheDatabaseStatusForReconciliation(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithConfigureDatabase(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithDatabaseInteractionMode(value apiv1beta2.DatabaseInteractionMode) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithDeletionMode(value apiv1beta2.PodUpdateMode) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithFailedPodDurationSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreLogGroupsForUpgrade(values ...apiv1beta2.LogGroup) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreMissingProcessesSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnorePendingPodsDuration(value time.Duration) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreTerminatingPodsSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithKillProcesses(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithMaintenanceModeOptions(value *MaintenanceModeOptionsApplyConfiguration) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithMaxConcurrentReplacements(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithPodUpdateStrategy(value apiv1beta2.PodUpdateStrategy) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithRemovalMode(value apiv1beta2.PodUpdateMode) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithReplacements(value *AutomaticReplacementOptionsApplyConfiguration) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithSynchronizationMode(value string) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseLocalitiesForExclusion(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseManagementAPI(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseNonBlockingExcludes(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
- func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithWaitBetweenRemovalsSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
- type FoundationDBClusterFaultDomainApplyConfiguration
- func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithKey(value string) *FoundationDBClusterFaultDomainApplyConfiguration
- func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithValue(value string) *FoundationDBClusterFaultDomainApplyConfiguration
- func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithValueFrom(value string) *FoundationDBClusterFaultDomainApplyConfiguration
- func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithZoneCount(value int) *FoundationDBClusterFaultDomainApplyConfiguration
- func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithZoneIndex(value int) *FoundationDBClusterFaultDomainApplyConfiguration
- type FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithAutomationOptions(value *FoundationDBClusterAutomationOptionsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithBuggify(value *BuggifyConfigApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithConfigMap(value v1.ConfigMap) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithCoordinatorSelection(values ...*CoordinatorSelectionSettingApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithDataCenter(value string) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithDataHall(value string) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithDatabaseConfiguration(value *DatabaseConfigurationApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithFaultDomain(value *FoundationDBClusterFaultDomainApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithIgnoreUpgradabilityChecks(value bool) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithImageType(value apiv1beta2.ImageType) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithLabelConfig(value *LabelConfigApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithLockOptions(value *LockOptionsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithLogGroup(value string) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithLogServersPerPod(value int) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithMainContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithMaxZonesWithUnavailablePods(value int) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithMinimumUptimeSecondsForBounce(value int) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithPartialConnectionString(value *ConnectionStringApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessCounts(value *ProcessCountsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessGroupIDPrefix(value string) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessGroupsToRemove(values ...apiv1beta2.ProcessGroupID) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessGroupsToRemoveWithoutExclusion(values ...apiv1beta2.ProcessGroupID) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithProcesses(entries map[apiv1beta2.ProcessClass]ProcessSettingsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithReplaceInstancesWhenResourcesChange(value bool) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithRouting(value *RoutingConfigApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithSeedConnectionString(value string) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithSidecarContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithSidecarVariables(values ...string) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithSkip(value bool) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithStorageServersPerPod(value int) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithTrustedCAs(values ...string) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithUseExplicitListenAddress(value bool) *FoundationDBClusterSpecApplyConfiguration
- func (b *FoundationDBClusterSpecApplyConfiguration) WithVersion(value string) *FoundationDBClusterSpecApplyConfiguration
- type FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithConfigured(value bool) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithConnectionString(value string) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithDatabaseConfiguration(value *DatabaseConfigurationApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithDesiredProcessGroups(value int) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithGenerations(value *ClusterGenerationStatusApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithHasIncorrectConfigMap(value bool) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithHasIncorrectServiceConfig(value bool) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithHasListenIPsForAllPods(value bool) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithHealth(value *ClusterHealthApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithImageTypes(values ...apiv1beta2.ImageType) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithLocks(value *LockSystemStatusApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithLogServersPerDisk(values ...int) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithMaintenanceModeInfo(value *MaintenanceModeInfoApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithNeedsNewCoordinators(value bool) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithProcessGroups(values ...**apiv1beta2.ProcessGroupStatus) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithReconciledProcessGroups(value int) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithRequiredAddresses(value *RequiredAddressSetApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithRunningVersion(value string) *FoundationDBClusterStatusApplyConfiguration
- func (b *FoundationDBClusterStatusApplyConfiguration) WithStorageServersPerDisk(values ...int) *FoundationDBClusterStatusApplyConfiguration
- type FoundationDBKeyRangeApplyConfiguration
- type FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) GetAPIVersion() *string
- func (b *FoundationDBRestoreApplyConfiguration) GetKind() *string
- func (b *FoundationDBRestoreApplyConfiguration) GetName() *string
- func (b *FoundationDBRestoreApplyConfiguration) GetNamespace() *string
- func (b FoundationDBRestoreApplyConfiguration) IsApplyConfiguration()
- func (b *FoundationDBRestoreApplyConfiguration) WithAPIVersion(value string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithAnnotations(entries map[string]string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithFinalizers(values ...string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithGenerateName(value string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithGeneration(value int64) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithKind(value string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithLabels(entries map[string]string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithName(value string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithNamespace(value string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithResourceVersion(value string) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithSpec(value *FoundationDBRestoreSpecApplyConfiguration) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithStatus(value *FoundationDBRestoreStatusApplyConfiguration) *FoundationDBRestoreApplyConfiguration
- func (b *FoundationDBRestoreApplyConfiguration) WithUID(value types.UID) *FoundationDBRestoreApplyConfiguration
- type FoundationDBRestoreSpecApplyConfiguration
- func (b *FoundationDBRestoreSpecApplyConfiguration) WithBackupVersion(value uint64) *FoundationDBRestoreSpecApplyConfiguration
- func (b *FoundationDBRestoreSpecApplyConfiguration) WithBlobStoreConfiguration(value *BlobStoreConfigurationApplyConfiguration) *FoundationDBRestoreSpecApplyConfiguration
- func (b *FoundationDBRestoreSpecApplyConfiguration) WithCustomParameters(value apiv1beta2.FoundationDBCustomParameters) *FoundationDBRestoreSpecApplyConfiguration
- func (b *FoundationDBRestoreSpecApplyConfiguration) WithDestinationClusterName(value string) *FoundationDBRestoreSpecApplyConfiguration
- func (b *FoundationDBRestoreSpecApplyConfiguration) WithEncryptionKeyPath(value string) *FoundationDBRestoreSpecApplyConfiguration
- func (b *FoundationDBRestoreSpecApplyConfiguration) WithKeyRanges(values ...*FoundationDBKeyRangeApplyConfiguration) *FoundationDBRestoreSpecApplyConfiguration
- type FoundationDBRestoreStatusApplyConfiguration
- type ImageConfigApplyConfiguration
- func (b *ImageConfigApplyConfiguration) WithBaseImage(value string) *ImageConfigApplyConfiguration
- func (b *ImageConfigApplyConfiguration) WithTag(value string) *ImageConfigApplyConfiguration
- func (b *ImageConfigApplyConfiguration) WithTagSuffix(value string) *ImageConfigApplyConfiguration
- func (b *ImageConfigApplyConfiguration) WithVersion(value string) *ImageConfigApplyConfiguration
- type LabelConfigApplyConfiguration
- func (b *LabelConfigApplyConfiguration) WithFilterOnOwnerReferences(value bool) *LabelConfigApplyConfiguration
- func (b *LabelConfigApplyConfiguration) WithMatchLabels(entries map[string]string) *LabelConfigApplyConfiguration
- func (b *LabelConfigApplyConfiguration) WithProcessClassLabels(values ...string) *LabelConfigApplyConfiguration
- func (b *LabelConfigApplyConfiguration) WithProcessGroupIDLabels(values ...string) *LabelConfigApplyConfiguration
- func (b *LabelConfigApplyConfiguration) WithResourceLabels(entries map[string]string) *LabelConfigApplyConfiguration
- type LockDenyListEntryApplyConfiguration
- type LockOptionsApplyConfiguration
- func (b *LockOptionsApplyConfiguration) WithDenyList(values ...*LockDenyListEntryApplyConfiguration) *LockOptionsApplyConfiguration
- func (b *LockOptionsApplyConfiguration) WithDisableLocks(value bool) *LockOptionsApplyConfiguration
- func (b *LockOptionsApplyConfiguration) WithLockDurationMinutes(value int) *LockOptionsApplyConfiguration
- func (b *LockOptionsApplyConfiguration) WithLockKeyPrefix(value string) *LockOptionsApplyConfiguration
- type LockSystemStatusApplyConfiguration
- type MaintenanceModeInfoApplyConfiguration
- func (b *MaintenanceModeInfoApplyConfiguration) WithProcessGroups(values ...string) *MaintenanceModeInfoApplyConfiguration
- func (b *MaintenanceModeInfoApplyConfiguration) WithStartTimestamp(value v1.Time) *MaintenanceModeInfoApplyConfiguration
- func (b *MaintenanceModeInfoApplyConfiguration) WithZoneID(value apiv1beta2.FaultDomain) *MaintenanceModeInfoApplyConfiguration
- type MaintenanceModeOptionsApplyConfiguration
- func (b *MaintenanceModeOptionsApplyConfiguration) WithMaintenanceModeTimeSeconds(value int) *MaintenanceModeOptionsApplyConfiguration
- func (b *MaintenanceModeOptionsApplyConfiguration) WithResetMaintenanceMode(value bool) *MaintenanceModeOptionsApplyConfiguration
- func (b *MaintenanceModeOptionsApplyConfiguration) WithUseMaintenanceModeChecker(value bool) *MaintenanceModeOptionsApplyConfiguration
- type ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithBackupWorker(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithClusterController(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithCommitProxy(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithCoordinator(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithDataDistributor(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithFastRestore(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithGrvProxy(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithLog(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithLogRouter(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithMaster(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithProxy(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithRatekeeper(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithResolution(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithStateless(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithStorage(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithStorageCache(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithTest(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithTester(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithTransaction(value int) *ProcessCountsApplyConfiguration
- func (b *ProcessCountsApplyConfiguration) WithUnset(value int) *ProcessCountsApplyConfiguration
- type ProcessGroupConditionApplyConfiguration
- type ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithAddresses(values ...string) *ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithExclusionSkipped(value bool) *ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithExclusionTimestamp(value v1.Time) *ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithFaultDomain(value apiv1beta2.FaultDomain) *ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithProcessClass(value apiv1beta2.ProcessClass) *ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithProcessGroupConditions(values ...**apiv1beta2.ProcessGroupCondition) *ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithProcessGroupID(value apiv1beta2.ProcessGroupID) *ProcessGroupStatusApplyConfiguration
- func (b *ProcessGroupStatusApplyConfiguration) WithRemovalTimestamp(value v1.Time) *ProcessGroupStatusApplyConfiguration
- type ProcessSettingsApplyConfiguration
- func (b *ProcessSettingsApplyConfiguration) WithCustomParameters(value apiv1beta2.FoundationDBCustomParameters) *ProcessSettingsApplyConfiguration
- func (b *ProcessSettingsApplyConfiguration) WithPodTemplate(value v1.PodTemplateSpec) *ProcessSettingsApplyConfiguration
- func (b *ProcessSettingsApplyConfiguration) WithVolumeClaimTemplate(value v1.PersistentVolumeClaim) *ProcessSettingsApplyConfiguration
- type RegionApplyConfiguration
- func (b *RegionApplyConfiguration) WithDataCenters(values ...*DataCenterApplyConfiguration) *RegionApplyConfiguration
- func (b *RegionApplyConfiguration) WithSatelliteLogs(value int) *RegionApplyConfiguration
- func (b *RegionApplyConfiguration) WithSatelliteRedundancyMode(value apiv1beta2.RedundancyMode) *RegionApplyConfiguration
- type RequiredAddressSetApplyConfiguration
- type RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithCommitProxies(value int) *RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithGrvProxies(value int) *RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithLogRouters(value int) *RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithLogs(value int) *RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithProxies(value int) *RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithRemoteLogs(value int) *RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithResolvers(value int) *RoleCountsApplyConfiguration
- func (b *RoleCountsApplyConfiguration) WithStorage(value int) *RoleCountsApplyConfiguration
- type RoutingConfigApplyConfiguration
- func (b *RoutingConfigApplyConfiguration) WithDNSDomain(value string) *RoutingConfigApplyConfiguration
- func (b *RoutingConfigApplyConfiguration) WithDefineDNSLocalityFields(value bool) *RoutingConfigApplyConfiguration
- func (b *RoutingConfigApplyConfiguration) WithHeadlessService(value bool) *RoutingConfigApplyConfiguration
- func (b *RoutingConfigApplyConfiguration) WithPodIPFamily(value int) *RoutingConfigApplyConfiguration
- func (b *RoutingConfigApplyConfiguration) WithPublicIPSource(value apiv1beta2.PublicIPSource) *RoutingConfigApplyConfiguration
- func (b *RoutingConfigApplyConfiguration) WithUseDNSInClusterFile(value bool) *RoutingConfigApplyConfiguration
- type TaintReplacementOptionApplyConfiguration
- type VersionFlagsApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutomaticReplacementOptionsApplyConfiguration ¶
type AutomaticReplacementOptionsApplyConfiguration struct {
// Enabled controls whether automatic replacements are enabled.
// The default is false.
Enabled *bool `json:"enabled,omitempty"`
// FaultDomainBasedReplacements controls whether automatic replacements are targeting all failed process groups
// in a fault domain or only specific Process Groups. If this setting is enabled, the number of different fault
// domains that can have all their failed process groups replaced at the same time will be equal to MaxConcurrentReplacements.
// e.g. MaxConcurrentReplacements = 2 would mean that at most 2 different fault domains can have
// their failed process groups replaced at the same time.
// The default is false.
FaultDomainBasedReplacements *bool `json:"faultDomainBasedReplacements,omitempty"`
// FailureDetectionTimeSeconds controls how long a process must be
// failed or missing before it is automatically replaced.
// The default is 7200 seconds, or 2 hours.
FailureDetectionTimeSeconds *int `json:"failureDetectionTimeSeconds,omitempty"`
// TaintReplacementTimeSeconds controls how long a pod stays in NodeTaintReplacing condition
// before it is automatically replaced.
// The default is 1800 seconds, i.e., 30min
TaintReplacementTimeSeconds *int `json:"taintReplacementTimeSeconds,omitempty"`
// MaxConcurrentReplacements controls how many automatic replacements are allowed to take part.
// This will take the list of current replacements and then calculate the difference between
// maxConcurrentReplacements and the size of the list. e.g. if currently 3 replacements are
// queued (e.g. in the processGroupsToRemove list) and maxConcurrentReplacements is 5 the operator
// is allowed to replace at most 2 process groups. Setting this to 0 will basically disable the automatic
// replacements.
MaxConcurrentReplacements *int `json:"maxConcurrentReplacements,omitempty"`
// TaintReplacementOption controls which taint label the operator will react to.
TaintReplacementOptions []TaintReplacementOptionApplyConfiguration `json:"taintReplacementOptions,omitempty"`
// MaxFaultDomainsWithTaintedProcessGroups defines how many fault domains in the cluster can have process groups
// with the NodeTaintReplacing condition and still allow the operator to automatically replace those process groups.
// If more fault domains contain process groups with the NodeTaintReplacing condition, the operator will not
// automatically replace those process groups. This is a safeguard in addition to MaxConcurrentReplacements to make
// sure the operator is not replacing too many process groups if a large number of nodes are tainted. A absolute number
// of fault domains or a percentage can be provided.
// Defaults to 10% of the fault domains or at least 1.
MaxFaultDomainsWithTaintedProcessGroups *intstr.IntOrString `json:"maxFaultDomainsWithTaintedProcessGroups,omitempty"`
}
AutomaticReplacementOptionsApplyConfiguration represents a declarative configuration of the AutomaticReplacementOptions type for use with apply.
AutomaticReplacementOptions controls options for automatically replacing failed processes.
func AutomaticReplacementOptions ¶
func AutomaticReplacementOptions() *AutomaticReplacementOptionsApplyConfiguration
AutomaticReplacementOptionsApplyConfiguration constructs a declarative configuration of the AutomaticReplacementOptions type for use with apply.
func (*AutomaticReplacementOptionsApplyConfiguration) WithEnabled ¶
func (b *AutomaticReplacementOptionsApplyConfiguration) WithEnabled(value bool) *AutomaticReplacementOptionsApplyConfiguration
WithEnabled sets the Enabled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Enabled field is set to the value of the last call.
func (*AutomaticReplacementOptionsApplyConfiguration) WithFailureDetectionTimeSeconds ¶
func (b *AutomaticReplacementOptionsApplyConfiguration) WithFailureDetectionTimeSeconds(value int) *AutomaticReplacementOptionsApplyConfiguration
WithFailureDetectionTimeSeconds sets the FailureDetectionTimeSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailureDetectionTimeSeconds field is set to the value of the last call.
func (*AutomaticReplacementOptionsApplyConfiguration) WithFaultDomainBasedReplacements ¶
func (b *AutomaticReplacementOptionsApplyConfiguration) WithFaultDomainBasedReplacements(value bool) *AutomaticReplacementOptionsApplyConfiguration
WithFaultDomainBasedReplacements sets the FaultDomainBasedReplacements field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FaultDomainBasedReplacements field is set to the value of the last call.
func (*AutomaticReplacementOptionsApplyConfiguration) WithMaxConcurrentReplacements ¶
func (b *AutomaticReplacementOptionsApplyConfiguration) WithMaxConcurrentReplacements(value int) *AutomaticReplacementOptionsApplyConfiguration
WithMaxConcurrentReplacements sets the MaxConcurrentReplacements field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxConcurrentReplacements field is set to the value of the last call.
func (*AutomaticReplacementOptionsApplyConfiguration) WithMaxFaultDomainsWithTaintedProcessGroups ¶
func (b *AutomaticReplacementOptionsApplyConfiguration) WithMaxFaultDomainsWithTaintedProcessGroups(value intstr.IntOrString) *AutomaticReplacementOptionsApplyConfiguration
WithMaxFaultDomainsWithTaintedProcessGroups sets the MaxFaultDomainsWithTaintedProcessGroups field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxFaultDomainsWithTaintedProcessGroups field is set to the value of the last call.
func (*AutomaticReplacementOptionsApplyConfiguration) WithTaintReplacementOptions ¶
func (b *AutomaticReplacementOptionsApplyConfiguration) WithTaintReplacementOptions(values ...*TaintReplacementOptionApplyConfiguration) *AutomaticReplacementOptionsApplyConfiguration
WithTaintReplacementOptions adds the given value to the TaintReplacementOptions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TaintReplacementOptions field.
func (*AutomaticReplacementOptionsApplyConfiguration) WithTaintReplacementTimeSeconds ¶
func (b *AutomaticReplacementOptionsApplyConfiguration) WithTaintReplacementTimeSeconds(value int) *AutomaticReplacementOptionsApplyConfiguration
WithTaintReplacementTimeSeconds sets the TaintReplacementTimeSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TaintReplacementTimeSeconds field is set to the value of the last call.
type BackupGenerationStatusApplyConfiguration ¶
type BackupGenerationStatusApplyConfiguration struct {
// Reconciled provides the last generation that was fully reconciled.
Reconciled *int64 `json:"reconciled,omitempty"`
// NeedsBackupAgentUpdate provides the last generation that could not
// complete reconciliation because the backup agent deployment needs to be
// updated.
NeedsBackupAgentUpdate *int64 `json:"needsBackupAgentUpdate,omitempty"`
// NeedsBackupStart provides the last generation that could not complete
// reconciliation because we need to start a backup.
NeedsBackupStart *int64 `json:"needsBackupStart,omitempty"`
// NeedsBackupStart provides the last generation that could not complete
// reconciliation because we need to stop a backup.
NeedsBackupStop *int64 `json:"needsBackupStop,omitempty"`
// NeedsBackupPauseToggle provides the last generation that needs to have
// a backup paused or resumed.
NeedsBackupPauseToggle *int64 `json:"needsBackupPauseToggle,omitempty"`
// NeedsBackupReconfiguration provides the last generation that could not
// complete reconciliation because we need to modify backup parameters.
NeedsBackupReconfiguration *int64 `json:"needsBackupModification,omitempty"`
}
BackupGenerationStatusApplyConfiguration represents a declarative configuration of the BackupGenerationStatus type for use with apply.
BackupGenerationStatus stores information on which generations have reached different stages in reconciliation for the backup.
func BackupGenerationStatus ¶
func BackupGenerationStatus() *BackupGenerationStatusApplyConfiguration
BackupGenerationStatusApplyConfiguration constructs a declarative configuration of the BackupGenerationStatus type for use with apply.
func (*BackupGenerationStatusApplyConfiguration) WithNeedsBackupAgentUpdate ¶
func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupAgentUpdate(value int64) *BackupGenerationStatusApplyConfiguration
WithNeedsBackupAgentUpdate sets the NeedsBackupAgentUpdate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsBackupAgentUpdate field is set to the value of the last call.
func (*BackupGenerationStatusApplyConfiguration) WithNeedsBackupPauseToggle ¶
func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupPauseToggle(value int64) *BackupGenerationStatusApplyConfiguration
WithNeedsBackupPauseToggle sets the NeedsBackupPauseToggle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsBackupPauseToggle field is set to the value of the last call.
func (*BackupGenerationStatusApplyConfiguration) WithNeedsBackupReconfiguration ¶
func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupReconfiguration(value int64) *BackupGenerationStatusApplyConfiguration
WithNeedsBackupReconfiguration sets the NeedsBackupReconfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsBackupReconfiguration field is set to the value of the last call.
func (*BackupGenerationStatusApplyConfiguration) WithNeedsBackupStart ¶
func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupStart(value int64) *BackupGenerationStatusApplyConfiguration
WithNeedsBackupStart sets the NeedsBackupStart field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsBackupStart field is set to the value of the last call.
func (*BackupGenerationStatusApplyConfiguration) WithNeedsBackupStop ¶
func (b *BackupGenerationStatusApplyConfiguration) WithNeedsBackupStop(value int64) *BackupGenerationStatusApplyConfiguration
WithNeedsBackupStop sets the NeedsBackupStop field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsBackupStop field is set to the value of the last call.
func (*BackupGenerationStatusApplyConfiguration) WithReconciled ¶
func (b *BackupGenerationStatusApplyConfiguration) WithReconciled(value int64) *BackupGenerationStatusApplyConfiguration
WithReconciled sets the Reconciled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reconciled field is set to the value of the last call.
type BlobStoreConfigurationApplyConfiguration ¶
type BlobStoreConfigurationApplyConfiguration struct {
// The name for the backup.
// If empty defaults to .metadata.name.
BackupName *string `json:"backupName,omitempty"`
// The account name to use with the backup destination.
// If no port is included, it will default to 443,
// or 80 if secure_connection URL Parameter is set to 0.
AccountName *string `json:"accountName,omitempty"`
// The backup bucket to write to.
// The default is "fdb-backups".
Bucket *string `json:"bucket,omitempty"`
// Additional URL parameters passed to the blobstore URL.
// See: https://apple.github.io/foundationdb/backups.html#backup-urls
URLParameters []apiv1beta2.URLParameter `json:"urlParameters,omitempty"`
}
BlobStoreConfigurationApplyConfiguration represents a declarative configuration of the BlobStoreConfiguration type for use with apply.
BlobStoreConfiguration describes the blob store configuration.
func BlobStoreConfiguration ¶
func BlobStoreConfiguration() *BlobStoreConfigurationApplyConfiguration
BlobStoreConfigurationApplyConfiguration constructs a declarative configuration of the BlobStoreConfiguration type for use with apply.
func (*BlobStoreConfigurationApplyConfiguration) WithAccountName ¶
func (b *BlobStoreConfigurationApplyConfiguration) WithAccountName(value string) *BlobStoreConfigurationApplyConfiguration
WithAccountName sets the AccountName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AccountName field is set to the value of the last call.
func (*BlobStoreConfigurationApplyConfiguration) WithBackupName ¶
func (b *BlobStoreConfigurationApplyConfiguration) WithBackupName(value string) *BlobStoreConfigurationApplyConfiguration
WithBackupName sets the BackupName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupName field is set to the value of the last call.
func (*BlobStoreConfigurationApplyConfiguration) WithBucket ¶
func (b *BlobStoreConfigurationApplyConfiguration) WithBucket(value string) *BlobStoreConfigurationApplyConfiguration
WithBucket sets the Bucket field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Bucket field is set to the value of the last call.
func (*BlobStoreConfigurationApplyConfiguration) WithURLParameters ¶
func (b *BlobStoreConfigurationApplyConfiguration) WithURLParameters(values ...apiv1beta2.URLParameter) *BlobStoreConfigurationApplyConfiguration
WithURLParameters adds the given value to the URLParameters field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the URLParameters field.
type BuggifyConfigApplyConfiguration ¶
type BuggifyConfigApplyConfiguration struct {
// NoSchedule defines a list of process group IDs that should fail to schedule.
NoSchedule []apiv1beta2.ProcessGroupID `json:"noSchedule,omitempty"`
// CrashLoops defines a list of process group IDs that should be put into a
// crash looping state.
// Deprecated: use CrashLoopContainers instead.
CrashLoop []apiv1beta2.ProcessGroupID `json:"crashLoop,omitempty"`
// CrashLoopContainers defines a list of process group IDs and containers
// that should be put into a crash looping state.
CrashLoopContainers []CrashLoopContainerObjectApplyConfiguration `json:"crashLoopContainers,omitempty"`
// EmptyMonitorConf instructs the operator to update all of the fdbmonitor.conf
// files to have zero fdbserver processes configured.
EmptyMonitorConf *bool `json:"emptyMonitorConf,omitempty"`
// IgnoreDuringRestart instructs the operator to ignore the provided process groups IDs during the
// restart command. This can be useful to simulate cases where the kill command is not restarting all
// processes. IgnoreDuringRestart does not support the wildcard option to ignore all of this specific cluster processes.
IgnoreDuringRestart []apiv1beta2.ProcessGroupID `json:"ignoreDuringRestart,omitempty"`
// BlockRemoval defines a list of process group IDs that will not be removed, even if they are marked for removal.
// The operator will trigger the exclusion but the removal of the resources will be blocked until they are removed
// from this list. This setting can be used to simulate cases where a process group is marked for removal but the
// resources are not yet removed.
BlockRemoval []apiv1beta2.ProcessGroupID `json:"blockRemoval,omitempty"`
}
BuggifyConfigApplyConfiguration represents a declarative configuration of the BuggifyConfig type for use with apply.
BuggifyConfig provides options for injecting faults into a cluster for testing.
func BuggifyConfig ¶
func BuggifyConfig() *BuggifyConfigApplyConfiguration
BuggifyConfigApplyConfiguration constructs a declarative configuration of the BuggifyConfig type for use with apply.
func (*BuggifyConfigApplyConfiguration) WithBlockRemoval ¶
func (b *BuggifyConfigApplyConfiguration) WithBlockRemoval(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
WithBlockRemoval adds the given value to the BlockRemoval field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the BlockRemoval field.
func (*BuggifyConfigApplyConfiguration) WithCrashLoop ¶
func (b *BuggifyConfigApplyConfiguration) WithCrashLoop(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
WithCrashLoop adds the given value to the CrashLoop field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CrashLoop field.
func (*BuggifyConfigApplyConfiguration) WithCrashLoopContainers ¶
func (b *BuggifyConfigApplyConfiguration) WithCrashLoopContainers(values ...*CrashLoopContainerObjectApplyConfiguration) *BuggifyConfigApplyConfiguration
WithCrashLoopContainers adds the given value to the CrashLoopContainers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CrashLoopContainers field.
func (*BuggifyConfigApplyConfiguration) WithEmptyMonitorConf ¶
func (b *BuggifyConfigApplyConfiguration) WithEmptyMonitorConf(value bool) *BuggifyConfigApplyConfiguration
WithEmptyMonitorConf sets the EmptyMonitorConf field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EmptyMonitorConf field is set to the value of the last call.
func (*BuggifyConfigApplyConfiguration) WithIgnoreDuringRestart ¶
func (b *BuggifyConfigApplyConfiguration) WithIgnoreDuringRestart(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
WithIgnoreDuringRestart adds the given value to the IgnoreDuringRestart field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the IgnoreDuringRestart field.
func (*BuggifyConfigApplyConfiguration) WithNoSchedule ¶
func (b *BuggifyConfigApplyConfiguration) WithNoSchedule(values ...apiv1beta2.ProcessGroupID) *BuggifyConfigApplyConfiguration
WithNoSchedule adds the given value to the NoSchedule field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the NoSchedule field.
type ClusterGenerationStatusApplyConfiguration ¶
type ClusterGenerationStatusApplyConfiguration struct {
// Reconciled provides the last generation that was fully reconciled.
Reconciled *int64 `json:"reconciled,omitempty"`
// NeedsConfigurationChange provides the last generation that is pending
// a change to configuration.
NeedsConfigurationChange *int64 `json:"needsConfigurationChange,omitempty"`
// NeedsCoordinatorChange provides the last generation that is pending
// a change to its coordinators.
NeedsCoordinatorChange *int64 `json:"needsCoordinatorChange,omitempty"`
// NeedsBounce provides the last generation that is pending a bounce of
// fdbserver.
NeedsBounce *int64 `json:"needsBounce,omitempty"`
// NeedsPodDeletion provides the last generation that is pending pods being
// deleted and recreated.
NeedsPodDeletion *int64 `json:"needsPodDeletion,omitempty"`
// NeedsShrink provides the last generation that is pending pods being
// excluded and removed.
NeedsShrink *int64 `json:"needsShrink,omitempty"`
// NeedsGrow provides the last generation that is pending pods being
// added.
NeedsGrow *int64 `json:"needsGrow,omitempty"`
// NeedsMonitorConfUpdate provides the last generation that needs an update
// through the fdbmonitor conf.
NeedsMonitorConfUpdate *int64 `json:"needsMonitorConfUpdate,omitempty"`
// complete reconciliation due to the database being unavailable.
DatabaseUnavailable *int64 `json:"missingDatabaseStatus,omitempty"`
// HasExtraListeners provides the last generation that could not
// complete reconciliation because it has more listeners than it is supposed
// to.
HasExtraListeners *int64 `json:"hasExtraListeners,omitempty"`
// NeedsServiceUpdate provides the last generation that needs an update
// to the service config.
NeedsServiceUpdate *int64 `json:"needsServiceUpdate,omitempty"`
// HasPendingRemoval provides the last generation that has pods that have
// been excluded but are pending being removed.
//
// A cluster in this state is considered reconciled, but we track this in
// the status to allow users of the operator to track when the removal
// is fully complete.
HasPendingRemoval *int64 `json:"hasPendingRemoval,omitempty"`
// HasUnhealthyProcess provides the last generation that has at least one
// process group with a negative condition.
HasUnhealthyProcess *int64 `json:"hasUnhealthyProcess,omitempty"`
// NeedsLockConfigurationChanges provides the last generation that is
// pending a change to the configuration of the locking system.
NeedsLockConfigurationChanges *int64 `json:"needsLockConfigurationChanges,omitempty"`
}
ClusterGenerationStatusApplyConfiguration represents a declarative configuration of the ClusterGenerationStatus type for use with apply.
ClusterGenerationStatus stores information on which generations have reached different stages in reconciliation for the cluster.
func ClusterGenerationStatus ¶
func ClusterGenerationStatus() *ClusterGenerationStatusApplyConfiguration
ClusterGenerationStatusApplyConfiguration constructs a declarative configuration of the ClusterGenerationStatus type for use with apply.
func (*ClusterGenerationStatusApplyConfiguration) WithDatabaseUnavailable ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithDatabaseUnavailable(value int64) *ClusterGenerationStatusApplyConfiguration
WithDatabaseUnavailable sets the DatabaseUnavailable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatabaseUnavailable field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithHasExtraListeners ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithHasExtraListeners(value int64) *ClusterGenerationStatusApplyConfiguration
WithHasExtraListeners sets the HasExtraListeners field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasExtraListeners field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithHasPendingRemoval ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithHasPendingRemoval(value int64) *ClusterGenerationStatusApplyConfiguration
WithHasPendingRemoval sets the HasPendingRemoval field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasPendingRemoval field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithHasUnhealthyProcess ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithHasUnhealthyProcess(value int64) *ClusterGenerationStatusApplyConfiguration
WithHasUnhealthyProcess sets the HasUnhealthyProcess field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasUnhealthyProcess field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsBounce ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsBounce(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsBounce sets the NeedsBounce field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsBounce field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsConfigurationChange ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsConfigurationChange(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsConfigurationChange sets the NeedsConfigurationChange field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsConfigurationChange field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsCoordinatorChange ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsCoordinatorChange(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsCoordinatorChange sets the NeedsCoordinatorChange field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsCoordinatorChange field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsGrow ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsGrow(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsGrow sets the NeedsGrow field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsGrow field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsLockConfigurationChanges ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsLockConfigurationChanges(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsLockConfigurationChanges sets the NeedsLockConfigurationChanges field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsLockConfigurationChanges field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsMonitorConfUpdate ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsMonitorConfUpdate(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsMonitorConfUpdate sets the NeedsMonitorConfUpdate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsMonitorConfUpdate field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsPodDeletion ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsPodDeletion(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsPodDeletion sets the NeedsPodDeletion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsPodDeletion field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsServiceUpdate ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsServiceUpdate(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsServiceUpdate sets the NeedsServiceUpdate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsServiceUpdate field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithNeedsShrink ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithNeedsShrink(value int64) *ClusterGenerationStatusApplyConfiguration
WithNeedsShrink sets the NeedsShrink field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsShrink field is set to the value of the last call.
func (*ClusterGenerationStatusApplyConfiguration) WithReconciled ¶
func (b *ClusterGenerationStatusApplyConfiguration) WithReconciled(value int64) *ClusterGenerationStatusApplyConfiguration
WithReconciled sets the Reconciled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reconciled field is set to the value of the last call.
type ClusterHealthApplyConfiguration ¶
type ClusterHealthApplyConfiguration struct {
// Available reports whether the database is accepting reads and writes.
Available *bool `json:"available,omitempty"`
// Healthy reports whether the database is in a fully healthy state.
Healthy *bool `json:"healthy,omitempty"`
// FullReplication reports whether all data are fully replicated according
// to the current replication policy.
FullReplication *bool `json:"fullReplication,omitempty"`
// DataMovementPriority reports the priority of the highest-priority data
// movement in the cluster.
DataMovementPriority *int `json:"dataMovementPriority,omitempty"`
}
ClusterHealthApplyConfiguration represents a declarative configuration of the ClusterHealth type for use with apply.
ClusterHealth represents different views into health in the cluster status.
func ClusterHealth ¶
func ClusterHealth() *ClusterHealthApplyConfiguration
ClusterHealthApplyConfiguration constructs a declarative configuration of the ClusterHealth type for use with apply.
func (*ClusterHealthApplyConfiguration) WithAvailable ¶
func (b *ClusterHealthApplyConfiguration) WithAvailable(value bool) *ClusterHealthApplyConfiguration
WithAvailable sets the Available field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Available field is set to the value of the last call.
func (*ClusterHealthApplyConfiguration) WithDataMovementPriority ¶
func (b *ClusterHealthApplyConfiguration) WithDataMovementPriority(value int) *ClusterHealthApplyConfiguration
WithDataMovementPriority sets the DataMovementPriority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataMovementPriority field is set to the value of the last call.
func (*ClusterHealthApplyConfiguration) WithFullReplication ¶
func (b *ClusterHealthApplyConfiguration) WithFullReplication(value bool) *ClusterHealthApplyConfiguration
WithFullReplication sets the FullReplication field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FullReplication field is set to the value of the last call.
func (*ClusterHealthApplyConfiguration) WithHealthy ¶
func (b *ClusterHealthApplyConfiguration) WithHealthy(value bool) *ClusterHealthApplyConfiguration
WithHealthy sets the Healthy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Healthy field is set to the value of the last call.
type ConnectionStringApplyConfiguration ¶
type ConnectionStringApplyConfiguration struct {
// DatabaseName provides an identifier for the database which persists
// across coordinator changes.
DatabaseName *string `json:"databaseName,omitempty"`
// GenerationID provides a unique ID for the current generation of
// coordinators.
GenerationID *string `json:"generationID,omitempty"`
// Coordinators provides the addresses of the current coordinators.
Coordinators []string `json:"coordinators,omitempty"`
}
ConnectionStringApplyConfiguration represents a declarative configuration of the ConnectionString type for use with apply.
ConnectionString models the contents of a cluster file in a structured way
func ConnectionString ¶
func ConnectionString() *ConnectionStringApplyConfiguration
ConnectionStringApplyConfiguration constructs a declarative configuration of the ConnectionString type for use with apply.
func (*ConnectionStringApplyConfiguration) WithCoordinators ¶
func (b *ConnectionStringApplyConfiguration) WithCoordinators(values ...string) *ConnectionStringApplyConfiguration
WithCoordinators adds the given value to the Coordinators field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Coordinators field.
func (*ConnectionStringApplyConfiguration) WithDatabaseName ¶
func (b *ConnectionStringApplyConfiguration) WithDatabaseName(value string) *ConnectionStringApplyConfiguration
WithDatabaseName sets the DatabaseName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatabaseName field is set to the value of the last call.
func (*ConnectionStringApplyConfiguration) WithGenerationID ¶
func (b *ConnectionStringApplyConfiguration) WithGenerationID(value string) *ConnectionStringApplyConfiguration
WithGenerationID sets the GenerationID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerationID field is set to the value of the last call.
type ContainerOverridesApplyConfiguration ¶
type ContainerOverridesApplyConfiguration struct {
// EnableLivenessProbe defines if the sidecar should have a livenessProbe.
// This setting will be ignored on the main container.
EnableLivenessProbe *bool `json:"enableLivenessProbe,omitempty"`
// EnableReadinessProbe defines if the sidecar should have a readinessProbe.
// This setting will be ignored on the main container.
// Deprecated: Will be removed in the next major release.
EnableReadinessProbe *bool `json:"enableReadinessProbe,omitempty"`
// EnableTLS controls whether we should be listening on a TLS connection.
EnableTLS *bool `json:"enableTls,omitempty"`
// PeerVerificationRules provides the rules for what client certificates
// the process should accept.
PeerVerificationRules *string `json:"peerVerificationRules,omitempty"`
// ImageConfigs allows customizing the image that we use for
// a container.
ImageConfigs []ImageConfigApplyConfiguration `json:"imageConfigs,omitempty"`
}
ContainerOverridesApplyConfiguration represents a declarative configuration of the ContainerOverrides type for use with apply.
ContainerOverrides provides options for customizing a container created by the operator.
func ContainerOverrides ¶
func ContainerOverrides() *ContainerOverridesApplyConfiguration
ContainerOverridesApplyConfiguration constructs a declarative configuration of the ContainerOverrides type for use with apply.
func (*ContainerOverridesApplyConfiguration) WithEnableLivenessProbe ¶
func (b *ContainerOverridesApplyConfiguration) WithEnableLivenessProbe(value bool) *ContainerOverridesApplyConfiguration
WithEnableLivenessProbe sets the EnableLivenessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableLivenessProbe field is set to the value of the last call.
func (*ContainerOverridesApplyConfiguration) WithEnableReadinessProbe ¶
func (b *ContainerOverridesApplyConfiguration) WithEnableReadinessProbe(value bool) *ContainerOverridesApplyConfiguration
WithEnableReadinessProbe sets the EnableReadinessProbe field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableReadinessProbe field is set to the value of the last call.
func (*ContainerOverridesApplyConfiguration) WithEnableTLS ¶
func (b *ContainerOverridesApplyConfiguration) WithEnableTLS(value bool) *ContainerOverridesApplyConfiguration
WithEnableTLS sets the EnableTLS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EnableTLS field is set to the value of the last call.
func (*ContainerOverridesApplyConfiguration) WithImageConfigs ¶
func (b *ContainerOverridesApplyConfiguration) WithImageConfigs(values ...*ImageConfigApplyConfiguration) *ContainerOverridesApplyConfiguration
WithImageConfigs adds the given value to the ImageConfigs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ImageConfigs field.
func (*ContainerOverridesApplyConfiguration) WithPeerVerificationRules ¶
func (b *ContainerOverridesApplyConfiguration) WithPeerVerificationRules(value string) *ContainerOverridesApplyConfiguration
WithPeerVerificationRules sets the PeerVerificationRules field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PeerVerificationRules field is set to the value of the last call.
type CoordinatorSelectionSettingApplyConfiguration ¶
type CoordinatorSelectionSettingApplyConfiguration struct {
// ProcessClass defines the process class to associate with priority with.
ProcessClass *apiv1beta2.ProcessClass `json:"processClass,omitempty"`
// Priority defines the ordering of different process classes.
Priority *int `json:"priority,omitempty"`
}
CoordinatorSelectionSettingApplyConfiguration represents a declarative configuration of the CoordinatorSelectionSetting type for use with apply.
CoordinatorSelectionSetting defines the process class and the priority of it. A higher priority means that the process class is preferred over another.
func CoordinatorSelectionSetting ¶
func CoordinatorSelectionSetting() *CoordinatorSelectionSettingApplyConfiguration
CoordinatorSelectionSettingApplyConfiguration constructs a declarative configuration of the CoordinatorSelectionSetting type for use with apply.
func (*CoordinatorSelectionSettingApplyConfiguration) WithPriority ¶
func (b *CoordinatorSelectionSettingApplyConfiguration) WithPriority(value int) *CoordinatorSelectionSettingApplyConfiguration
WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.
func (*CoordinatorSelectionSettingApplyConfiguration) WithProcessClass ¶
func (b *CoordinatorSelectionSettingApplyConfiguration) WithProcessClass(value apiv1beta2.ProcessClass) *CoordinatorSelectionSettingApplyConfiguration
WithProcessClass sets the ProcessClass field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProcessClass field is set to the value of the last call.
type CrashLoopContainerObjectApplyConfiguration ¶
type CrashLoopContainerObjectApplyConfiguration struct {
// Name of the target container.
ContainerName *string `json:"containerName,omitempty"`
// Target processes to kill inside the container.
Targets []apiv1beta2.ProcessGroupID `json:"targets,omitempty"`
}
CrashLoopContainerObjectApplyConfiguration represents a declarative configuration of the CrashLoopContainerObject type for use with apply.
CrashLoopContainerObject specifies crash-loop target for specific container.
func CrashLoopContainerObject ¶
func CrashLoopContainerObject() *CrashLoopContainerObjectApplyConfiguration
CrashLoopContainerObjectApplyConfiguration constructs a declarative configuration of the CrashLoopContainerObject type for use with apply.
func (*CrashLoopContainerObjectApplyConfiguration) WithContainerName ¶
func (b *CrashLoopContainerObjectApplyConfiguration) WithContainerName(value string) *CrashLoopContainerObjectApplyConfiguration
WithContainerName sets the ContainerName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContainerName field is set to the value of the last call.
func (*CrashLoopContainerObjectApplyConfiguration) WithTargets ¶
func (b *CrashLoopContainerObjectApplyConfiguration) WithTargets(values ...apiv1beta2.ProcessGroupID) *CrashLoopContainerObjectApplyConfiguration
WithTargets adds the given value to the Targets field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Targets field.
type DataCenterApplyConfiguration ¶
type DataCenterApplyConfiguration struct {
// The ID of the data center. This must match the dcid locality field.
ID *string `json:"id,omitempty"`
// The priority of this data center when we have to choose a location.
// Higher priorities are preferred over lower priorities.
Priority *int `json:"priority,omitempty"`
// Satellite indicates whether the data center is serving as a satellite for
// the region. A value of 1 indicates that it is a satellite, and a value of
// 0 indicates that it is not a satellite.
Satellite *int `json:"satellite,omitempty"`
}
DataCenterApplyConfiguration represents a declarative configuration of the DataCenter type for use with apply.
DataCenter represents a data center in the region configuration
func DataCenter ¶
func DataCenter() *DataCenterApplyConfiguration
DataCenterApplyConfiguration constructs a declarative configuration of the DataCenter type for use with apply.
func (*DataCenterApplyConfiguration) WithID ¶
func (b *DataCenterApplyConfiguration) WithID(value string) *DataCenterApplyConfiguration
WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.
func (*DataCenterApplyConfiguration) WithPriority ¶
func (b *DataCenterApplyConfiguration) WithPriority(value int) *DataCenterApplyConfiguration
WithPriority sets the Priority field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Priority field is set to the value of the last call.
func (*DataCenterApplyConfiguration) WithSatellite ¶
func (b *DataCenterApplyConfiguration) WithSatellite(value int) *DataCenterApplyConfiguration
WithSatellite sets the Satellite field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Satellite field is set to the value of the last call.
type DatabaseConfigurationApplyConfiguration ¶
type DatabaseConfigurationApplyConfiguration struct {
// RedundancyMode defines the core replication factor for the database.
RedundancyMode *apiv1beta2.RedundancyMode `json:"redundancy_mode,omitempty"`
// StorageEngine defines the storage engine the database uses.
StorageEngine *apiv1beta2.StorageEngine `json:"storage_engine,omitempty"`
// UsableRegions defines how many regions the database should store data in.
UsableRegions *int `json:"usable_regions,omitempty"`
// Regions defines the regions that the database can replicate in.
Regions []RegionApplyConfiguration `json:"regions,omitempty"`
// ExcludedServers defines the list of excluded servers form the database.
ExcludedServers []ExcludedServersApplyConfiguration `json:"excluded_servers,omitempty"`
// StorageMigrationType defines the storage migration type.
StorageMigrationType *apiv1beta2.StorageMigrationType `json:"storage_migration_type,omitempty"`
// PerpetualStorageWiggle defines the wiggle speed. If set to 0 this feature is disabled.
// When setting StorageMigrationType to StorageMigrationTypeGradual, this value must be greater
// than 0.
PerpetualStorageWiggle *int `json:"perpetual_storage_wiggle,omitempty"`
// PerpetualStorageWiggleLocality if defined the specified locality will be migrated.
// Format is: <<LOCALITY_KEY>:<LOCALITY_VALUE>|0>
PerpetualStorageWiggleLocality *string `json:"perpetual_storage_wiggle_locality,omitempty"`
// PerpetualStorageWiggleEngine defines the perpetual storage engine type.
PerpetualStorageWiggleEngine *apiv1beta2.StorageEngine `json:"perpetual_storage_wiggle_engine,omitempty"`
}
DatabaseConfigurationApplyConfiguration represents a declarative configuration of the DatabaseConfiguration type for use with apply.
DatabaseConfiguration represents the configuration of the database
func DatabaseConfiguration ¶
func DatabaseConfiguration() *DatabaseConfigurationApplyConfiguration
DatabaseConfigurationApplyConfiguration constructs a declarative configuration of the DatabaseConfiguration type for use with apply.
func (*DatabaseConfigurationApplyConfiguration) WithExcludedServers ¶
func (b *DatabaseConfigurationApplyConfiguration) WithExcludedServers(values ...*ExcludedServersApplyConfiguration) *DatabaseConfigurationApplyConfiguration
WithExcludedServers adds the given value to the ExcludedServers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ExcludedServers field.
func (*DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggle ¶
func (b *DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggle(value int) *DatabaseConfigurationApplyConfiguration
WithPerpetualStorageWiggle sets the PerpetualStorageWiggle field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PerpetualStorageWiggle field is set to the value of the last call.
func (*DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggleEngine ¶
func (b *DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggleEngine(value apiv1beta2.StorageEngine) *DatabaseConfigurationApplyConfiguration
WithPerpetualStorageWiggleEngine sets the PerpetualStorageWiggleEngine field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PerpetualStorageWiggleEngine field is set to the value of the last call.
func (*DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggleLocality ¶
func (b *DatabaseConfigurationApplyConfiguration) WithPerpetualStorageWiggleLocality(value string) *DatabaseConfigurationApplyConfiguration
WithPerpetualStorageWiggleLocality sets the PerpetualStorageWiggleLocality field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PerpetualStorageWiggleLocality field is set to the value of the last call.
func (*DatabaseConfigurationApplyConfiguration) WithRedundancyMode ¶
func (b *DatabaseConfigurationApplyConfiguration) WithRedundancyMode(value apiv1beta2.RedundancyMode) *DatabaseConfigurationApplyConfiguration
WithRedundancyMode sets the RedundancyMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RedundancyMode field is set to the value of the last call.
func (*DatabaseConfigurationApplyConfiguration) WithRegions ¶
func (b *DatabaseConfigurationApplyConfiguration) WithRegions(values ...*RegionApplyConfiguration) *DatabaseConfigurationApplyConfiguration
WithRegions adds the given value to the Regions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Regions field.
func (*DatabaseConfigurationApplyConfiguration) WithStorageEngine ¶
func (b *DatabaseConfigurationApplyConfiguration) WithStorageEngine(value apiv1beta2.StorageEngine) *DatabaseConfigurationApplyConfiguration
WithStorageEngine sets the StorageEngine field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageEngine field is set to the value of the last call.
func (*DatabaseConfigurationApplyConfiguration) WithStorageMigrationType ¶
func (b *DatabaseConfigurationApplyConfiguration) WithStorageMigrationType(value apiv1beta2.StorageMigrationType) *DatabaseConfigurationApplyConfiguration
WithStorageMigrationType sets the StorageMigrationType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageMigrationType field is set to the value of the last call.
func (*DatabaseConfigurationApplyConfiguration) WithUsableRegions ¶
func (b *DatabaseConfigurationApplyConfiguration) WithUsableRegions(value int) *DatabaseConfigurationApplyConfiguration
WithUsableRegions sets the UsableRegions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UsableRegions field is set to the value of the last call.
type ExcludedServersApplyConfiguration ¶
type ExcludedServersApplyConfiguration struct {
// The Address of the excluded server.
Address *string `json:"address,omitempty"`
// The Locality of the excluded server.
Locality *string `json:"locality,omitempty"`
}
ExcludedServersApplyConfiguration represents a declarative configuration of the ExcludedServers type for use with apply.
ExcludedServers represents the excluded servers in the database configuration
func ExcludedServers ¶
func ExcludedServers() *ExcludedServersApplyConfiguration
ExcludedServersApplyConfiguration constructs a declarative configuration of the ExcludedServers type for use with apply.
func (*ExcludedServersApplyConfiguration) WithAddress ¶
func (b *ExcludedServersApplyConfiguration) WithAddress(value string) *ExcludedServersApplyConfiguration
WithAddress sets the Address field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Address field is set to the value of the last call.
func (*ExcludedServersApplyConfiguration) WithLocality ¶
func (b *ExcludedServersApplyConfiguration) WithLocality(value string) *ExcludedServersApplyConfiguration
WithLocality sets the Locality field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Locality field is set to the value of the last call.
type FoundationDBBackupApplyConfiguration ¶
type FoundationDBBackupApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *FoundationDBBackupSpecApplyConfiguration `json:"spec,omitempty"`
Status *FoundationDBBackupStatusApplyConfiguration `json:"status,omitempty"`
}
FoundationDBBackupApplyConfiguration represents a declarative configuration of the FoundationDBBackup type for use with apply.
FoundationDBBackup is the Schema for the foundationdbbackups API
func FoundationDBBackup ¶
func FoundationDBBackup(name, namespace string) *FoundationDBBackupApplyConfiguration
FoundationDBBackup constructs a declarative configuration of the FoundationDBBackup type for use with apply.
func (*FoundationDBBackupApplyConfiguration) GetAPIVersion ¶
func (b *FoundationDBBackupApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*FoundationDBBackupApplyConfiguration) GetKind ¶
func (b *FoundationDBBackupApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*FoundationDBBackupApplyConfiguration) GetName ¶
func (b *FoundationDBBackupApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*FoundationDBBackupApplyConfiguration) GetNamespace ¶
func (b *FoundationDBBackupApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (FoundationDBBackupApplyConfiguration) IsApplyConfiguration ¶
func (b FoundationDBBackupApplyConfiguration) IsApplyConfiguration()
func (*FoundationDBBackupApplyConfiguration) WithAPIVersion ¶
func (b *FoundationDBBackupApplyConfiguration) WithAPIVersion(value string) *FoundationDBBackupApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithAnnotations ¶
func (b *FoundationDBBackupApplyConfiguration) WithAnnotations(entries map[string]string) *FoundationDBBackupApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*FoundationDBBackupApplyConfiguration) WithCreationTimestamp ¶
func (b *FoundationDBBackupApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FoundationDBBackupApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *FoundationDBBackupApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FoundationDBBackupApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithDeletionTimestamp ¶
func (b *FoundationDBBackupApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FoundationDBBackupApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithFinalizers ¶
func (b *FoundationDBBackupApplyConfiguration) WithFinalizers(values ...string) *FoundationDBBackupApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*FoundationDBBackupApplyConfiguration) WithGenerateName ¶
func (b *FoundationDBBackupApplyConfiguration) WithGenerateName(value string) *FoundationDBBackupApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithGeneration ¶
func (b *FoundationDBBackupApplyConfiguration) WithGeneration(value int64) *FoundationDBBackupApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithKind ¶
func (b *FoundationDBBackupApplyConfiguration) WithKind(value string) *FoundationDBBackupApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithLabels ¶
func (b *FoundationDBBackupApplyConfiguration) WithLabels(entries map[string]string) *FoundationDBBackupApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*FoundationDBBackupApplyConfiguration) WithName ¶
func (b *FoundationDBBackupApplyConfiguration) WithName(value string) *FoundationDBBackupApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithNamespace ¶
func (b *FoundationDBBackupApplyConfiguration) WithNamespace(value string) *FoundationDBBackupApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithOwnerReferences ¶
func (b *FoundationDBBackupApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FoundationDBBackupApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*FoundationDBBackupApplyConfiguration) WithResourceVersion ¶
func (b *FoundationDBBackupApplyConfiguration) WithResourceVersion(value string) *FoundationDBBackupApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithSpec ¶
func (b *FoundationDBBackupApplyConfiguration) WithSpec(value *FoundationDBBackupSpecApplyConfiguration) *FoundationDBBackupApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithStatus ¶
func (b *FoundationDBBackupApplyConfiguration) WithStatus(value *FoundationDBBackupStatusApplyConfiguration) *FoundationDBBackupApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*FoundationDBBackupApplyConfiguration) WithUID ¶
func (b *FoundationDBBackupApplyConfiguration) WithUID(value types.UID) *FoundationDBBackupApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type FoundationDBBackupSpecApplyConfiguration ¶
type FoundationDBBackupSpecApplyConfiguration struct {
// The version of FoundationDB that the backup agents should run.
Version *string `json:"version,omitempty"`
// The cluster this backup is for.
ClusterName *string `json:"clusterName,omitempty"`
// DataCenter defines the data center where these processes are running.
DataCenter *string `json:"dataCenter,omitempty"`
// The desired state of the backup.
// The default is Running.
BackupState *apiv1beta2.BackupState `json:"backupState,omitempty"`
// AgentCount defines the number of backup agents to run.
// The default is run 2 agents.
AgentCount *int `json:"agentCount,omitempty"`
// The time window between new snapshots.
// This is measured in seconds. The default is 864,000, or 10 days.
SnapshotPeriodSeconds *int `json:"snapshotPeriodSeconds,omitempty"`
// BackupDeploymentMetadata allows customizing labels and annotations on the
// deployment for the backup agents.
BackupDeploymentMetadata *v1.ObjectMetaApplyConfiguration `json:"backupDeploymentMetadata,omitempty"`
// PodTemplateSpec allows customizing the pod template for the backup
// agents.
PodTemplateSpec *corev1.PodTemplateSpec `json:"podTemplateSpec,omitempty"`
// CustomParameters defines additional parameters to pass to the backup
// agents.
CustomParameters *apiv1beta2.FoundationDBCustomParameters `json:"customParameters,omitempty"`
// This setting defines if a user provided image can have it's own tag
// rather than getting the provided version appended.
// You have to ensure that the specified version in the Spec is compatible
// with the given version in your custom image.
// Deprecated: use ImageConfigs instead.
AllowTagOverride *bool `json:"allowTagOverride,omitempty"`
// This is the configuration of the target blobstore for this backup.
BlobStoreConfiguration *BlobStoreConfigurationApplyConfiguration `json:"blobStoreConfiguration,omitempty"`
// The path to the encryption key used to encrypt the backup. This feature is only supported in FDB versions 7.4.6
// or newer. Older versions will not use this flag.
EncryptionKeyPath *string `json:"encryptionKeyPath,omitempty"`
// MainContainer defines customization for the foundationdb container.
// Note: The enableTls setting is ignored for backup agents - use TLS environment variables instead.
MainContainer *ContainerOverridesApplyConfiguration `json:"mainContainer,omitempty"`
// SidecarContainer defines customization for the
// foundationdb-kubernetes-sidecar container.
SidecarContainer *ContainerOverridesApplyConfiguration `json:"sidecarContainer,omitempty"`
// ImageType defines the image type that should be used for the FoundationDBCluster deployment. When the type
// is set to "unified" the deployment will use the new fdb-kubernetes-monitor. Otherwise the main container and
// the sidecar container will use different images.
// Default: split
ImageType *apiv1beta2.ImageType `json:"imageType,omitempty"`
// BackupType defines the backup type that should be used for the backup. When the BackupType is set to
// BackupTypePartitionedLog, it's expected that the FoundationDBCluster creates and manages the additional
// backup worker processes. A migration to a different backup type is not yet supported in the operator.
// Default: "backup_agent".
BackupType *apiv1beta2.BackupType `json:"backupType,omitempty"`
// DeletionPolicy defines the deletion policy for this backup. The BackupDeletionPolicy defines the actions
// that should be taken when the FoundationDBBackup resource has a deletion timestamp.
DeletionPolicy *apiv1beta2.BackupDeletionPolicy `json:"deletionPolicy,omitempty"`
// BackupMode defines the backup mode that should be used for the backup. When the BackupMode is set to
// BackupModeOneTime, the backup will create a single snapshot and then stop. When set to BackupModeContinuous,
// the backup will run continuously, creating snapshots at regular intervals defined by SnapshotPeriodSeconds.
// Default: "Continuous".
BackupMode *apiv1beta2.BackupMode `json:"backupMode,omitempty"`
}
FoundationDBBackupSpecApplyConfiguration represents a declarative configuration of the FoundationDBBackupSpec type for use with apply.
FoundationDBBackupSpec describes the desired state of the backup for a cluster.
func FoundationDBBackupSpec ¶
func FoundationDBBackupSpec() *FoundationDBBackupSpecApplyConfiguration
FoundationDBBackupSpecApplyConfiguration constructs a declarative configuration of the FoundationDBBackupSpec type for use with apply.
func (*FoundationDBBackupSpecApplyConfiguration) WithAgentCount ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithAgentCount(value int) *FoundationDBBackupSpecApplyConfiguration
WithAgentCount sets the AgentCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AgentCount field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithAllowTagOverride ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithAllowTagOverride(value bool) *FoundationDBBackupSpecApplyConfiguration
WithAllowTagOverride sets the AllowTagOverride field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowTagOverride field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithBackupDeploymentMetadata ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupDeploymentMetadata(value *v1.ObjectMetaApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
WithBackupDeploymentMetadata sets the BackupDeploymentMetadata field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupDeploymentMetadata field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithBackupMode ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupMode(value apiv1beta2.BackupMode) *FoundationDBBackupSpecApplyConfiguration
WithBackupMode sets the BackupMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupMode field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithBackupState ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupState(value apiv1beta2.BackupState) *FoundationDBBackupSpecApplyConfiguration
WithBackupState sets the BackupState field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupState field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithBackupType ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithBackupType(value apiv1beta2.BackupType) *FoundationDBBackupSpecApplyConfiguration
WithBackupType sets the BackupType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupType field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithBlobStoreConfiguration ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithBlobStoreConfiguration(value *BlobStoreConfigurationApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
WithBlobStoreConfiguration sets the BlobStoreConfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BlobStoreConfiguration field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithClusterName ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithClusterName(value string) *FoundationDBBackupSpecApplyConfiguration
WithClusterName sets the ClusterName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterName field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithCustomParameters ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithCustomParameters(value apiv1beta2.FoundationDBCustomParameters) *FoundationDBBackupSpecApplyConfiguration
WithCustomParameters sets the CustomParameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CustomParameters field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithDataCenter ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithDataCenter(value string) *FoundationDBBackupSpecApplyConfiguration
WithDataCenter sets the DataCenter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataCenter field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithDeletionPolicy ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithDeletionPolicy(value apiv1beta2.BackupDeletionPolicy) *FoundationDBBackupSpecApplyConfiguration
WithDeletionPolicy sets the DeletionPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionPolicy field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithEncryptionKeyPath ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithEncryptionKeyPath(value string) *FoundationDBBackupSpecApplyConfiguration
WithEncryptionKeyPath sets the EncryptionKeyPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EncryptionKeyPath field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithImageType ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithImageType(value apiv1beta2.ImageType) *FoundationDBBackupSpecApplyConfiguration
WithImageType sets the ImageType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageType field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithMainContainer ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithMainContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
WithMainContainer sets the MainContainer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MainContainer field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithPodTemplateSpec ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithPodTemplateSpec(value corev1.PodTemplateSpec) *FoundationDBBackupSpecApplyConfiguration
WithPodTemplateSpec sets the PodTemplateSpec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodTemplateSpec field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithSidecarContainer ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithSidecarContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBBackupSpecApplyConfiguration
WithSidecarContainer sets the SidecarContainer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SidecarContainer field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithSnapshotPeriodSeconds ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithSnapshotPeriodSeconds(value int) *FoundationDBBackupSpecApplyConfiguration
WithSnapshotPeriodSeconds sets the SnapshotPeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SnapshotPeriodSeconds field is set to the value of the last call.
func (*FoundationDBBackupSpecApplyConfiguration) WithVersion ¶
func (b *FoundationDBBackupSpecApplyConfiguration) WithVersion(value string) *FoundationDBBackupSpecApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type FoundationDBBackupStatusApplyConfiguration ¶
type FoundationDBBackupStatusApplyConfiguration struct {
// AgentCount provides the number of agents that are up-to-date, ready,
// and not terminated.
AgentCount *int `json:"agentCount,omitempty"`
// DeploymentConfigured indicates whether the deployment is correctly
// configured.
DeploymentConfigured *bool `json:"deploymentConfigured,omitempty"`
// BackupDetails provides information about the state of the backup in the
// cluster.
BackupDetails *FoundationDBBackupStatusBackupDetailsApplyConfiguration `json:"backupDetails,omitempty"`
// Generations provides information about the latest generation to be
// reconciled, or to reach other stages in reconciliation.
Generations *BackupGenerationStatusApplyConfiguration `json:"generations,omitempty"`
}
FoundationDBBackupStatusApplyConfiguration represents a declarative configuration of the FoundationDBBackupStatus type for use with apply.
FoundationDBBackupStatus describes the current status of the backup for a cluster.
func FoundationDBBackupStatus ¶
func FoundationDBBackupStatus() *FoundationDBBackupStatusApplyConfiguration
FoundationDBBackupStatusApplyConfiguration constructs a declarative configuration of the FoundationDBBackupStatus type for use with apply.
func (*FoundationDBBackupStatusApplyConfiguration) WithAgentCount ¶
func (b *FoundationDBBackupStatusApplyConfiguration) WithAgentCount(value int) *FoundationDBBackupStatusApplyConfiguration
WithAgentCount sets the AgentCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AgentCount field is set to the value of the last call.
func (*FoundationDBBackupStatusApplyConfiguration) WithBackupDetails ¶
func (b *FoundationDBBackupStatusApplyConfiguration) WithBackupDetails(value *FoundationDBBackupStatusBackupDetailsApplyConfiguration) *FoundationDBBackupStatusApplyConfiguration
WithBackupDetails sets the BackupDetails field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupDetails field is set to the value of the last call.
func (*FoundationDBBackupStatusApplyConfiguration) WithDeploymentConfigured ¶
func (b *FoundationDBBackupStatusApplyConfiguration) WithDeploymentConfigured(value bool) *FoundationDBBackupStatusApplyConfiguration
WithDeploymentConfigured sets the DeploymentConfigured field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeploymentConfigured field is set to the value of the last call.
func (*FoundationDBBackupStatusApplyConfiguration) WithGenerations ¶
func (b *FoundationDBBackupStatusApplyConfiguration) WithGenerations(value *BackupGenerationStatusApplyConfiguration) *FoundationDBBackupStatusApplyConfiguration
WithGenerations sets the Generations field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generations field is set to the value of the last call.
type FoundationDBBackupStatusBackupDetailsApplyConfiguration ¶
type FoundationDBBackupStatusBackupDetailsApplyConfiguration struct {
URL *string `json:"url,omitempty"`
Running *bool `json:"running,omitempty"`
Paused *bool `json:"paused,omitempty"`
SnapshotPeriodSeconds *int `json:"snapshotTime,omitempty"`
Restorable *bool `json:"restorable,omitempty"`
}
FoundationDBBackupStatusBackupDetailsApplyConfiguration represents a declarative configuration of the FoundationDBBackupStatusBackupDetails type for use with apply.
FoundationDBBackupStatusBackupDetails provides information about the state of the backup in the cluster.
func FoundationDBBackupStatusBackupDetails ¶
func FoundationDBBackupStatusBackupDetails() *FoundationDBBackupStatusBackupDetailsApplyConfiguration
FoundationDBBackupStatusBackupDetailsApplyConfiguration constructs a declarative configuration of the FoundationDBBackupStatusBackupDetails type for use with apply.
func (*FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithPaused ¶
func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithPaused(value bool) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
WithPaused sets the Paused field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Paused field is set to the value of the last call.
func (*FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithRestorable ¶
func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithRestorable(value bool) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
WithRestorable sets the Restorable field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Restorable field is set to the value of the last call.
func (*FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithRunning ¶
func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithRunning(value bool) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
WithRunning sets the Running field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Running field is set to the value of the last call.
func (*FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithSnapshotPeriodSeconds ¶
func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithSnapshotPeriodSeconds(value int) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
WithSnapshotPeriodSeconds sets the SnapshotPeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SnapshotPeriodSeconds field is set to the value of the last call.
func (*FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithURL ¶
func (b *FoundationDBBackupStatusBackupDetailsApplyConfiguration) WithURL(value string) *FoundationDBBackupStatusBackupDetailsApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
type FoundationDBClusterApplyConfiguration ¶
type FoundationDBClusterApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *FoundationDBClusterSpecApplyConfiguration `json:"spec,omitempty"`
Status *FoundationDBClusterStatusApplyConfiguration `json:"status,omitempty"`
}
FoundationDBClusterApplyConfiguration represents a declarative configuration of the FoundationDBCluster type for use with apply.
FoundationDBCluster is the Schema for the foundationdbclusters API
func FoundationDBCluster ¶
func FoundationDBCluster(name, namespace string) *FoundationDBClusterApplyConfiguration
FoundationDBCluster constructs a declarative configuration of the FoundationDBCluster type for use with apply.
func (*FoundationDBClusterApplyConfiguration) GetAPIVersion ¶
func (b *FoundationDBClusterApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*FoundationDBClusterApplyConfiguration) GetKind ¶
func (b *FoundationDBClusterApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*FoundationDBClusterApplyConfiguration) GetName ¶
func (b *FoundationDBClusterApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*FoundationDBClusterApplyConfiguration) GetNamespace ¶
func (b *FoundationDBClusterApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (FoundationDBClusterApplyConfiguration) IsApplyConfiguration ¶
func (b FoundationDBClusterApplyConfiguration) IsApplyConfiguration()
func (*FoundationDBClusterApplyConfiguration) WithAPIVersion ¶
func (b *FoundationDBClusterApplyConfiguration) WithAPIVersion(value string) *FoundationDBClusterApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithAnnotations ¶
func (b *FoundationDBClusterApplyConfiguration) WithAnnotations(entries map[string]string) *FoundationDBClusterApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*FoundationDBClusterApplyConfiguration) WithCreationTimestamp ¶
func (b *FoundationDBClusterApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FoundationDBClusterApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *FoundationDBClusterApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FoundationDBClusterApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithDeletionTimestamp ¶
func (b *FoundationDBClusterApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FoundationDBClusterApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithFinalizers ¶
func (b *FoundationDBClusterApplyConfiguration) WithFinalizers(values ...string) *FoundationDBClusterApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*FoundationDBClusterApplyConfiguration) WithGenerateName ¶
func (b *FoundationDBClusterApplyConfiguration) WithGenerateName(value string) *FoundationDBClusterApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithGeneration ¶
func (b *FoundationDBClusterApplyConfiguration) WithGeneration(value int64) *FoundationDBClusterApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithKind ¶
func (b *FoundationDBClusterApplyConfiguration) WithKind(value string) *FoundationDBClusterApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithLabels ¶
func (b *FoundationDBClusterApplyConfiguration) WithLabels(entries map[string]string) *FoundationDBClusterApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*FoundationDBClusterApplyConfiguration) WithName ¶
func (b *FoundationDBClusterApplyConfiguration) WithName(value string) *FoundationDBClusterApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithNamespace ¶
func (b *FoundationDBClusterApplyConfiguration) WithNamespace(value string) *FoundationDBClusterApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithOwnerReferences ¶
func (b *FoundationDBClusterApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FoundationDBClusterApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*FoundationDBClusterApplyConfiguration) WithResourceVersion ¶
func (b *FoundationDBClusterApplyConfiguration) WithResourceVersion(value string) *FoundationDBClusterApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithSpec ¶
func (b *FoundationDBClusterApplyConfiguration) WithSpec(value *FoundationDBClusterSpecApplyConfiguration) *FoundationDBClusterApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithStatus ¶
func (b *FoundationDBClusterApplyConfiguration) WithStatus(value *FoundationDBClusterStatusApplyConfiguration) *FoundationDBClusterApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*FoundationDBClusterApplyConfiguration) WithUID ¶
func (b *FoundationDBClusterApplyConfiguration) WithUID(value types.UID) *FoundationDBClusterApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type FoundationDBClusterAutomationOptionsApplyConfiguration ¶
type FoundationDBClusterAutomationOptionsApplyConfiguration struct {
// ConfigureDatabase defines whether the operator is allowed to reconfigure
// the database.
ConfigureDatabase *bool `json:"configureDatabase,omitempty"`
// KillProcesses defines whether the operator is allowed to bounce fdbserver
// processes.
KillProcesses *bool `json:"killProcesses,omitempty"`
// CacheDatabaseStatusForReconciliation defines whether the operator is using the same FoundationDB machine-readable
// status for all sub-reconcilers or if the machine-readable status should be fetched by ever sub-reconciler if
// required. Enabling this setting might improve the operator reconciliation speed for large clusters.
CacheDatabaseStatusForReconciliation *bool `json:"cacheDatabaseStatusForReconciliation,omitempty"`
// Replacements contains options for automatically replacing failed
// processes.
Replacements *AutomaticReplacementOptionsApplyConfiguration `json:"replacements,omitempty"`
// IgnorePendingPodsDuration defines how long a Pod has to be in the Pending Phase before
// ignore it during reconciliation. This prevents Pod that are stuck in Pending to block
// further reconciliation.
IgnorePendingPodsDuration *time.Duration `json:"ignorePendingPodsDuration,omitempty"`
// UseNonBlockingExcludes defines whether the operator is allowed to use non blocking exclude commands.
// The default is false.
UseNonBlockingExcludes *bool `json:"useNonBlockingExcludes,omitempty"`
// UseLocalitiesForExclusion defines whether the exclusions are done using localities instead of IP addresses. This
// feature requires at least FDB 7.1.42 or 7.3.26.
// The default is false.
UseLocalitiesForExclusion *bool `json:"useLocalitiesForExclusion,omitempty"`
// IgnoreTerminatingPodsSeconds defines how long a Pod has to be in the Terminating Phase before
// we ignore it during reconciliation. This prevents Pod that are stuck in Terminating to block
// further reconciliation.
IgnoreTerminatingPodsSeconds *int `json:"ignoreTerminatingPodsSeconds,omitempty"`
// IgnoreMissingProcessesSeconds defines how long a process group has to be in the MissingProcess condition until
// it will be ignored during reconciliation. This prevents that a process will block reconciliation.
IgnoreMissingProcessesSeconds *int `json:"ignoreMissingProcessesSeconds,omitempty"`
// FailedPodDurationSeconds defines the duration a Pod can stay in the deleted state (deletionTimestamp != 0) before
// it gets marked as PodFailed. This is important in cases where a fdbserver process is still reporting but the
// Pod resource is marked for deletion. This can happen when the kubelet or a node fails. Setting this condition
// will ensure that the operator is replacing affected Pods.
FailedPodDurationSeconds *int `json:"failedPodDurationSeconds,omitempty"`
// MaxConcurrentReplacements defines how many process groups can be concurrently
// replaced if they are misconfigured. If the value will be set to 0 this will block replacements
// and these misconfigured Pods must be replaced manually or by another process. For each reconcile
// loop the operator calculates the maximum number of possible replacements by taken this value as the
// upper limit and removes all ongoing replacements that have not finished. Which means if the value is
// set to 5 and we have 4 ongoing replacements (process groups marked with remove but not excluded) the
// operator is allowed to replace on further process group.
MaxConcurrentReplacements *int `json:"maxConcurrentReplacements,omitempty"`
// DeletionMode defines the deletion mode for this cluster. This can be
// PodUpdateModeNone, PodUpdateModeAll, PodUpdateModeZone or PodUpdateModeProcessGroup. The
// DeletionMode defines how Pods are deleted in order to update them or
// when they are removed.
DeletionMode *apiv1beta2.PodUpdateMode `json:"deletionMode,omitempty"`
// RemovalMode defines the removal mode for this cluster. This can be
// PodUpdateModeNone, PodUpdateModeAll, PodUpdateModeZone or PodUpdateModeProcessGroup. The
// RemovalMode defines how process groups are deleted in order when they
// are marked for removal.
RemovalMode *apiv1beta2.PodUpdateMode `json:"removalMode,omitempty"`
// WaitBetweenRemovalsSeconds defines how long to wait between the last removal and the next removal. This is only an
// upper limit if the process group and the according resources are deleted faster than the provided duration the
// operator will move on with the next removal. The idea is to prevent a race condition were the operator deletes
// a resource but the Kubernetes API is slower to trigger the actual deletion, and we are running into a situation
// where the fault tolerance check still includes the already deleted processes.
// Defaults to 60.
WaitBetweenRemovalsSeconds *int `json:"waitBetweenRemovalsSeconds,omitempty"`
// PodUpdateStrategy defines how Pod spec changes are rolled out either by replacing Pods or by deleting Pods.
// The default for this is ReplaceTransactionSystem.
PodUpdateStrategy *apiv1beta2.PodUpdateStrategy `json:"podUpdateStrategy,omitempty"`
// UseManagementAPI defines if the operator should make use of the management API instead of
// using fdbcli to interact with the FoundationDB cluster.
// Deprecated: Use DatabaseInteractionMode instead.
UseManagementAPI *bool `json:"useManagementAPI,omitempty"`
// MaintenanceModeOptions contains options for maintenance mode related settings.
MaintenanceModeOptions *MaintenanceModeOptionsApplyConfiguration `json:"maintenanceModeOptions,omitempty"`
// IgnoreLogGroupsForUpgrade defines the list of LogGroups that should be ignored during fdb version upgrade.
// The default is a list that includes "fdb-kubernetes-operator".
IgnoreLogGroupsForUpgrade []apiv1beta2.LogGroup `json:"ignoreLogGroupsForUpgrade,omitempty"`
// SynchronizationMode defines the synchronization mode for clusters that are managed by multiple operator instances.
// The default is "local" which means all operator instances are only acting on their local processes, with the exception for
// cluster upgrades. In the "global" mode the operator instances coordinate actions to only issue a single
// exclude/bounce/include to reduce the disruptions. The global coordination mode is based on an optimistic mode
// and there are no guarantees that the action will only be executed once, e.g. because of a slow operator instance.
//
// More details:
// https://github.com/FoundationDB/fdb-kubernetes-operator/blob/main/docs/design/better_coordination_multi_operator.md
SynchronizationMode *string `json:"synchronizationMode,omitempty"`
// DatabaseInteractionMode defines how the operator should interact with the FDB cluster. Possible options right now
// are "fdbcli", which is the default way and "managementapi" which will make use of the management module in FDB:
// https://apple.github.io/foundationdb/special-keys.html#management-module.
DatabaseInteractionMode *apiv1beta2.DatabaseInteractionMode `json:"databaseInteractionMode,omitempty"`
}
FoundationDBClusterAutomationOptionsApplyConfiguration represents a declarative configuration of the FoundationDBClusterAutomationOptions type for use with apply.
FoundationDBClusterAutomationOptions provides flags for enabling or disabling operations that can be performed on a cluster.
func FoundationDBClusterAutomationOptions ¶
func FoundationDBClusterAutomationOptions() *FoundationDBClusterAutomationOptionsApplyConfiguration
FoundationDBClusterAutomationOptionsApplyConfiguration constructs a declarative configuration of the FoundationDBClusterAutomationOptions type for use with apply.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithCacheDatabaseStatusForReconciliation ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithCacheDatabaseStatusForReconciliation(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithCacheDatabaseStatusForReconciliation sets the CacheDatabaseStatusForReconciliation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CacheDatabaseStatusForReconciliation field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithConfigureDatabase ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithConfigureDatabase(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithConfigureDatabase sets the ConfigureDatabase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigureDatabase field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithDatabaseInteractionMode ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithDatabaseInteractionMode(value apiv1beta2.DatabaseInteractionMode) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithDatabaseInteractionMode sets the DatabaseInteractionMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatabaseInteractionMode field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithDeletionMode ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithDeletionMode(value apiv1beta2.PodUpdateMode) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithDeletionMode sets the DeletionMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionMode field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithFailedPodDurationSeconds ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithFailedPodDurationSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithFailedPodDurationSeconds sets the FailedPodDurationSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedPodDurationSeconds field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreLogGroupsForUpgrade ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreLogGroupsForUpgrade(values ...apiv1beta2.LogGroup) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithIgnoreLogGroupsForUpgrade adds the given value to the IgnoreLogGroupsForUpgrade field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the IgnoreLogGroupsForUpgrade field.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreMissingProcessesSeconds ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreMissingProcessesSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithIgnoreMissingProcessesSeconds sets the IgnoreMissingProcessesSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnoreMissingProcessesSeconds field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnorePendingPodsDuration ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnorePendingPodsDuration(value time.Duration) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithIgnorePendingPodsDuration sets the IgnorePendingPodsDuration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnorePendingPodsDuration field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreTerminatingPodsSeconds ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithIgnoreTerminatingPodsSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithIgnoreTerminatingPodsSeconds sets the IgnoreTerminatingPodsSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnoreTerminatingPodsSeconds field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithKillProcesses ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithKillProcesses(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithKillProcesses sets the KillProcesses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the KillProcesses field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithMaintenanceModeOptions ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithMaintenanceModeOptions(value *MaintenanceModeOptionsApplyConfiguration) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithMaintenanceModeOptions sets the MaintenanceModeOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaintenanceModeOptions field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithMaxConcurrentReplacements ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithMaxConcurrentReplacements(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithMaxConcurrentReplacements sets the MaxConcurrentReplacements field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxConcurrentReplacements field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithPodUpdateStrategy ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithPodUpdateStrategy(value apiv1beta2.PodUpdateStrategy) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithPodUpdateStrategy sets the PodUpdateStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodUpdateStrategy field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithRemovalMode ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithRemovalMode(value apiv1beta2.PodUpdateMode) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithRemovalMode sets the RemovalMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemovalMode field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithReplacements ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithReplacements(value *AutomaticReplacementOptionsApplyConfiguration) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithReplacements sets the Replacements field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Replacements field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithSynchronizationMode ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithSynchronizationMode(value string) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithSynchronizationMode sets the SynchronizationMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SynchronizationMode field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseLocalitiesForExclusion ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseLocalitiesForExclusion(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithUseLocalitiesForExclusion sets the UseLocalitiesForExclusion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseLocalitiesForExclusion field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseManagementAPI ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseManagementAPI(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithUseManagementAPI sets the UseManagementAPI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseManagementAPI field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseNonBlockingExcludes ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithUseNonBlockingExcludes(value bool) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithUseNonBlockingExcludes sets the UseNonBlockingExcludes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseNonBlockingExcludes field is set to the value of the last call.
func (*FoundationDBClusterAutomationOptionsApplyConfiguration) WithWaitBetweenRemovalsSeconds ¶
func (b *FoundationDBClusterAutomationOptionsApplyConfiguration) WithWaitBetweenRemovalsSeconds(value int) *FoundationDBClusterAutomationOptionsApplyConfiguration
WithWaitBetweenRemovalsSeconds sets the WaitBetweenRemovalsSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the WaitBetweenRemovalsSeconds field is set to the value of the last call.
type FoundationDBClusterFaultDomainApplyConfiguration ¶
type FoundationDBClusterFaultDomainApplyConfiguration struct {
// Key provides a topology key for the fault domain to replicate across.
Key *string `json:"key,omitempty"`
// Value provides a hardcoded value to use for the zoneid for the pods.
Value *string `json:"value,omitempty"`
// ValueFrom provides a field selector to use as the source of the fault
// domain.
ValueFrom *string `json:"valueFrom,omitempty"`
// ZoneCount provides the number of fault domains in the data center where
// these processes are running. This is only used in the
// `kubernetes-cluster` fault domain strategy.
ZoneCount *int `json:"zoneCount,omitempty"`
// ZoneIndex provides the index of this Kubernetes cluster in the list of
// KCs in the data center. This is only used in the `kubernetes-cluster`
// fault domain strategy.
ZoneIndex *int `json:"zoneIndex,omitempty"`
}
FoundationDBClusterFaultDomainApplyConfiguration represents a declarative configuration of the FoundationDBClusterFaultDomain type for use with apply.
FoundationDBClusterFaultDomain describes the fault domain that a cluster is replicated across.
func FoundationDBClusterFaultDomain ¶
func FoundationDBClusterFaultDomain() *FoundationDBClusterFaultDomainApplyConfiguration
FoundationDBClusterFaultDomainApplyConfiguration constructs a declarative configuration of the FoundationDBClusterFaultDomain type for use with apply.
func (*FoundationDBClusterFaultDomainApplyConfiguration) WithKey ¶
func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithKey(value string) *FoundationDBClusterFaultDomainApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
func (*FoundationDBClusterFaultDomainApplyConfiguration) WithValue ¶
func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithValue(value string) *FoundationDBClusterFaultDomainApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
func (*FoundationDBClusterFaultDomainApplyConfiguration) WithValueFrom ¶
func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithValueFrom(value string) *FoundationDBClusterFaultDomainApplyConfiguration
WithValueFrom sets the ValueFrom field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ValueFrom field is set to the value of the last call.
func (*FoundationDBClusterFaultDomainApplyConfiguration) WithZoneCount ¶
func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithZoneCount(value int) *FoundationDBClusterFaultDomainApplyConfiguration
WithZoneCount sets the ZoneCount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ZoneCount field is set to the value of the last call.
func (*FoundationDBClusterFaultDomainApplyConfiguration) WithZoneIndex ¶
func (b *FoundationDBClusterFaultDomainApplyConfiguration) WithZoneIndex(value int) *FoundationDBClusterFaultDomainApplyConfiguration
WithZoneIndex sets the ZoneIndex field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ZoneIndex field is set to the value of the last call.
type FoundationDBClusterSpecApplyConfiguration ¶
type FoundationDBClusterSpecApplyConfiguration struct {
// Version defines the version of FoundationDB the cluster should run.
Version *string `json:"version,omitempty"`
// DatabaseConfiguration defines the database configuration.
DatabaseConfiguration *DatabaseConfigurationApplyConfiguration `json:"databaseConfiguration,omitempty"`
// Processes defines process-level settings.
Processes map[apiv1beta2.ProcessClass]ProcessSettingsApplyConfiguration `json:"processes,omitempty"`
// ProcessCounts defines the number of processes to configure for each
// process class. You can generally omit this, to allow the operator to
// infer the process counts based on the database configuration.
ProcessCounts *ProcessCountsApplyConfiguration `json:"processCounts,omitempty"`
// SeedConnectionString provides an additional connection string. This connection string will be used in addition
// to the connection string defined under cluster.Status.ConnectionString to connect to the cluster. This setting
// can be used to create a multi-region cluster or to recover a cluster if it is out of sync.
SeedConnectionString *string `json:"seedConnectionString,omitempty"`
// PartialConnectionString provides a way to specify part of the
// connection string (e.g. the database name and coordinator generation)
// without specifying the entire string. This does not allow for setting
// the coordinator IPs. If `SeedConnectionString` is set,
// `PartialConnectionString` will have no effect. They cannot be used
// together.
PartialConnectionString *ConnectionStringApplyConfiguration `json:"partialConnectionString,omitempty"`
// FaultDomain defines the rules for what fault domain to replicate across.
FaultDomain *FoundationDBClusterFaultDomainApplyConfiguration `json:"faultDomain,omitempty"`
// ProcessGroupsToRemove defines the process groups that we should remove from the
// cluster. This list contains the process group IDs.
ProcessGroupsToRemove []apiv1beta2.ProcessGroupID `json:"processGroupsToRemove,omitempty"`
// ProcessGroupsToRemoveWithoutExclusion defines the process groups that we should
// remove from the cluster without excluding them. This list contains the
// process group IDs.
//
// This should be used for cases where a pod does not have an IP address and
// you want to remove it and destroy its volume without confirming the data
// is fully replicated.
ProcessGroupsToRemoveWithoutExclusion []apiv1beta2.ProcessGroupID `json:"processGroupsToRemoveWithoutExclusion,omitempty"`
// ConfigMap allows customizing the config map the operator creates.
ConfigMap *v1.ConfigMap `json:"configMap,omitempty"`
// MainContainer defines customization for the foundationdb container.
MainContainer *ContainerOverridesApplyConfiguration `json:"mainContainer,omitempty"`
// SidecarContainer defines customization for the
// foundationdb-kubernetes-sidecar container.
SidecarContainer *ContainerOverridesApplyConfiguration `json:"sidecarContainer,omitempty"`
// TrustedCAs defines a list of root CAs the cluster should trust, in PEM
// format.
TrustedCAs []string `json:"trustedCAs,omitempty"`
// SidecarVariables defines Custom variables that the sidecar should make
// available for substitution in the monitor conf file.
SidecarVariables []string `json:"sidecarVariables,omitempty"`
// LogGroup defines the log group to use for the trace logs for the cluster.
LogGroup *string `json:"logGroup,omitempty"`
// DataCenter defines the data center where these processes are running.
DataCenter *string `json:"dataCenter,omitempty"`
// DataHall defines the data hall where these processes are running.
DataHall *string `json:"dataHall,omitempty"`
// AutomationOptions defines customization for enabling or disabling certain
// operations in the operator.
AutomationOptions *FoundationDBClusterAutomationOptionsApplyConfiguration `json:"automationOptions,omitempty"`
// ProcessGroupIDPrefix defines a prefix to append to the process group IDs in the
// locality fields.
//
// This must be a valid Kubernetes label value. See
// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
// for more details on that.
ProcessGroupIDPrefix *string `json:"processGroupIDPrefix,omitempty"`
// LockOptions allows customizing how we manage locks for global operations.
LockOptions *LockOptionsApplyConfiguration `json:"lockOptions,omitempty"`
// Routing defines the configuration for routing to our pods.
Routing *RoutingConfigApplyConfiguration `json:"routing,omitempty"`
// IgnoreUpgradabilityChecks determines whether we should skip the checks for
// version compatibility when performing an upgrade.
IgnoreUpgradabilityChecks *bool `json:"ignoreUpgradabilityChecks,omitempty"`
// Buggify defines settings for injecting faults into a cluster for testing.
Buggify *BuggifyConfigApplyConfiguration `json:"buggify,omitempty"`
// StorageServersPerPod defines how many Storage Servers should run in
// a single process group (Pod). This number defines the number of processes running
// in one Pod whereas the ProcessCounts defines the number of Pods created.
// This means that you end up with ProcessCounts["storage"] * StorageServersPerPod
// storage processes.
StorageServersPerPod *int `json:"storageServersPerPod,omitempty"`
// LogServersPerPod defines how many Log Servers should run in
// a single process group (Pod). This number defines the number of processes running
// in one Pod whereas the ProcessCounts defines the number of Pods created.
// This means that you end up with ProcessCounts["Log"] * LogServersPerPod
// log processes. This also affects processes with the transaction class.
LogServersPerPod *int `json:"logServersPerPod,omitempty"`
// MinimumUptimeSecondsForBounce defines the minimum time, in seconds, that the
// processes in the cluster must have been up for before the operator can
// execute a bounce.
MinimumUptimeSecondsForBounce *int `json:"minimumUptimeSecondsForBounce,omitempty"`
// ReplaceInstancesWhenResourcesChange defines if an instance should be replaced
// when the resource requirements are increased. This can be useful with the combination of
// local storage.
ReplaceInstancesWhenResourcesChange *bool `json:"replaceInstancesWhenResourcesChange,omitempty"`
// Skip defines if the cluster should be skipped for reconciliation. This can be useful for
// investigating in issues or if the environment is unstable.
Skip *bool `json:"skip,omitempty"`
// CoordinatorSelection defines which process classes are eligible for coordinator selection.
// If empty all stateful processes classes are equally eligible.
// A higher priority means that a process class is preferred over another process class.
// If the FoundationDB cluster is spans across multiple Kubernetes clusters or DCs the
// CoordinatorSelection must match in all FoundationDB cluster resources otherwise
// the coordinator selection process could conflict.
CoordinatorSelection []CoordinatorSelectionSettingApplyConfiguration `json:"coordinatorSelection,omitempty"`
// LabelConfig allows customizing labels used by the operator.
LabelConfig *LabelConfigApplyConfiguration `json:"labels,omitempty"`
// UseExplicitListenAddress determines if we should add a listen address
// that is separate from the public address.
// Deprecated: This setting will be removed in the next major release.
UseExplicitListenAddress *bool `json:"useExplicitListenAddress,omitempty"`
// ImageType defines the image type that should be used for the FoundationDBCluster deployment. When the type
// is set to "unified" the deployment will use the new fdb-kubernetes-monitor. Otherwise the main container and
// the sidecar container will use different images.
// Default: split
ImageType *apiv1beta2.ImageType `json:"imageType,omitempty"`
// When unset, there is no limit to the number of zones with unavailable pods.
MaxZonesWithUnavailablePods *int `json:"maxZonesWithUnavailablePods,omitempty"`
}
FoundationDBClusterSpecApplyConfiguration represents a declarative configuration of the FoundationDBClusterSpec type for use with apply.
FoundationDBClusterSpec defines the desired state of a cluster.
func FoundationDBClusterSpec ¶
func FoundationDBClusterSpec() *FoundationDBClusterSpecApplyConfiguration
FoundationDBClusterSpecApplyConfiguration constructs a declarative configuration of the FoundationDBClusterSpec type for use with apply.
func (*FoundationDBClusterSpecApplyConfiguration) WithAutomationOptions ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithAutomationOptions(value *FoundationDBClusterAutomationOptionsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithAutomationOptions sets the AutomationOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AutomationOptions field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithBuggify ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithBuggify(value *BuggifyConfigApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithBuggify sets the Buggify field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Buggify field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithConfigMap ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithConfigMap(value v1.ConfigMap) *FoundationDBClusterSpecApplyConfiguration
WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithCoordinatorSelection ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithCoordinatorSelection(values ...*CoordinatorSelectionSettingApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithCoordinatorSelection adds the given value to the CoordinatorSelection field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the CoordinatorSelection field.
func (*FoundationDBClusterSpecApplyConfiguration) WithDataCenter ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithDataCenter(value string) *FoundationDBClusterSpecApplyConfiguration
WithDataCenter sets the DataCenter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataCenter field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithDataHall ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithDataHall(value string) *FoundationDBClusterSpecApplyConfiguration
WithDataHall sets the DataHall field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataHall field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithDatabaseConfiguration ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithDatabaseConfiguration(value *DatabaseConfigurationApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithDatabaseConfiguration sets the DatabaseConfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatabaseConfiguration field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithFaultDomain ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithFaultDomain(value *FoundationDBClusterFaultDomainApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithFaultDomain sets the FaultDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FaultDomain field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithIgnoreUpgradabilityChecks ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithIgnoreUpgradabilityChecks(value bool) *FoundationDBClusterSpecApplyConfiguration
WithIgnoreUpgradabilityChecks sets the IgnoreUpgradabilityChecks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IgnoreUpgradabilityChecks field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithImageType ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithImageType(value apiv1beta2.ImageType) *FoundationDBClusterSpecApplyConfiguration
WithImageType sets the ImageType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageType field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithLabelConfig ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithLabelConfig(value *LabelConfigApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithLabelConfig sets the LabelConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LabelConfig field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithLockOptions ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithLockOptions(value *LockOptionsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithLockOptions sets the LockOptions field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LockOptions field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithLogGroup ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithLogGroup(value string) *FoundationDBClusterSpecApplyConfiguration
WithLogGroup sets the LogGroup field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogGroup field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithLogServersPerPod ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithLogServersPerPod(value int) *FoundationDBClusterSpecApplyConfiguration
WithLogServersPerPod sets the LogServersPerPod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogServersPerPod field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithMainContainer ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithMainContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithMainContainer sets the MainContainer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MainContainer field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithMaxZonesWithUnavailablePods ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithMaxZonesWithUnavailablePods(value int) *FoundationDBClusterSpecApplyConfiguration
WithMaxZonesWithUnavailablePods sets the MaxZonesWithUnavailablePods field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaxZonesWithUnavailablePods field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithMinimumUptimeSecondsForBounce ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithMinimumUptimeSecondsForBounce(value int) *FoundationDBClusterSpecApplyConfiguration
WithMinimumUptimeSecondsForBounce sets the MinimumUptimeSecondsForBounce field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MinimumUptimeSecondsForBounce field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithPartialConnectionString ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithPartialConnectionString(value *ConnectionStringApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithPartialConnectionString sets the PartialConnectionString field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PartialConnectionString field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithProcessCounts ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessCounts(value *ProcessCountsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithProcessCounts sets the ProcessCounts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProcessCounts field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithProcessGroupIDPrefix ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessGroupIDPrefix(value string) *FoundationDBClusterSpecApplyConfiguration
WithProcessGroupIDPrefix sets the ProcessGroupIDPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProcessGroupIDPrefix field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithProcessGroupsToRemove ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessGroupsToRemove(values ...apiv1beta2.ProcessGroupID) *FoundationDBClusterSpecApplyConfiguration
WithProcessGroupsToRemove adds the given value to the ProcessGroupsToRemove field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProcessGroupsToRemove field.
func (*FoundationDBClusterSpecApplyConfiguration) WithProcessGroupsToRemoveWithoutExclusion ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithProcessGroupsToRemoveWithoutExclusion(values ...apiv1beta2.ProcessGroupID) *FoundationDBClusterSpecApplyConfiguration
WithProcessGroupsToRemoveWithoutExclusion adds the given value to the ProcessGroupsToRemoveWithoutExclusion field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProcessGroupsToRemoveWithoutExclusion field.
func (*FoundationDBClusterSpecApplyConfiguration) WithProcesses ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithProcesses(entries map[apiv1beta2.ProcessClass]ProcessSettingsApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithProcesses puts the entries into the Processes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Processes field, overwriting an existing map entries in Processes field with the same key.
func (*FoundationDBClusterSpecApplyConfiguration) WithReplaceInstancesWhenResourcesChange ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithReplaceInstancesWhenResourcesChange(value bool) *FoundationDBClusterSpecApplyConfiguration
WithReplaceInstancesWhenResourcesChange sets the ReplaceInstancesWhenResourcesChange field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReplaceInstancesWhenResourcesChange field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithRouting ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithRouting(value *RoutingConfigApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithRouting sets the Routing field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Routing field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithSeedConnectionString ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithSeedConnectionString(value string) *FoundationDBClusterSpecApplyConfiguration
WithSeedConnectionString sets the SeedConnectionString field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SeedConnectionString field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithSidecarContainer ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithSidecarContainer(value *ContainerOverridesApplyConfiguration) *FoundationDBClusterSpecApplyConfiguration
WithSidecarContainer sets the SidecarContainer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SidecarContainer field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithSidecarVariables ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithSidecarVariables(values ...string) *FoundationDBClusterSpecApplyConfiguration
WithSidecarVariables adds the given value to the SidecarVariables field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the SidecarVariables field.
func (*FoundationDBClusterSpecApplyConfiguration) WithSkip ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithSkip(value bool) *FoundationDBClusterSpecApplyConfiguration
WithSkip sets the Skip field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Skip field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithStorageServersPerPod ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithStorageServersPerPod(value int) *FoundationDBClusterSpecApplyConfiguration
WithStorageServersPerPod sets the StorageServersPerPod field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageServersPerPod field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithTrustedCAs ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithTrustedCAs(values ...string) *FoundationDBClusterSpecApplyConfiguration
WithTrustedCAs adds the given value to the TrustedCAs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TrustedCAs field.
func (*FoundationDBClusterSpecApplyConfiguration) WithUseExplicitListenAddress ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithUseExplicitListenAddress(value bool) *FoundationDBClusterSpecApplyConfiguration
WithUseExplicitListenAddress sets the UseExplicitListenAddress field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseExplicitListenAddress field is set to the value of the last call.
func (*FoundationDBClusterSpecApplyConfiguration) WithVersion ¶
func (b *FoundationDBClusterSpecApplyConfiguration) WithVersion(value string) *FoundationDBClusterSpecApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type FoundationDBClusterStatusApplyConfiguration ¶
type FoundationDBClusterStatusApplyConfiguration struct {
// DatabaseConfiguration provides the running configuration of the database.
DatabaseConfiguration *DatabaseConfigurationApplyConfiguration `json:"databaseConfiguration,omitempty"`
// Generations provides information about the latest generation to be
// reconciled, or to reach other stages at which reconciliation can halt.
Generations *ClusterGenerationStatusApplyConfiguration `json:"generations,omitempty"`
// Health provides information about the health of the database.
Health *ClusterHealthApplyConfiguration `json:"health,omitempty"`
// RequiredAddresses define that addresses that we need to enable for the
// processes in the cluster.
RequiredAddresses *RequiredAddressSetApplyConfiguration `json:"requiredAddresses,omitempty"`
// HasIncorrectConfigMap indicates whether the latest config map is out
// of date with the cluster spec.
HasIncorrectConfigMap *bool `json:"hasIncorrectConfigMap,omitempty"`
// HasIncorrectServiceConfig indicates whether the cluster has service
// config that is out of date with the cluster spec.
HasIncorrectServiceConfig *bool `json:"hasIncorrectServiceConfig,omitempty"`
// NeedsNewCoordinators indicates whether the cluster needs to recruit
// new coordinators to fulfill its fault tolerance requirements.
NeedsNewCoordinators *bool `json:"needsNewCoordinators,omitempty"`
// RunningVersion defines the version of FoundationDB that the cluster is
// currently running.
RunningVersion *string `json:"runningVersion,omitempty"`
// ConnectionString defines the contents of the cluster file.
ConnectionString *string `json:"connectionString,omitempty"`
// Configured defines whether we have configured the database yet.
Configured *bool `json:"configured,omitempty"`
// HasListenIPsForAllPods defines whether every pod has an environment
// variable for its listen address.
HasListenIPsForAllPods *bool `json:"hasListenIPsForAllPods,omitempty"`
// StorageServersPerDisk defines the storageServersPerPod observed in the cluster.
// If there are more than one value in the slice the reconcile phase is not finished.
StorageServersPerDisk []int `json:"storageServersPerDisk,omitempty"`
// LogServersPerDisk defines the LogServersPerDisk observed in the cluster.
// If there are more than one value in the slice the reconcile phase is not finished.
LogServersPerDisk []int `json:"logServersPerDisk,omitempty"`
// ImageTypes defines the kinds of images that are in use in the cluster.
// If there is more than one value in the slice the reconcile phase is not
// finished.
ImageTypes []apiv1beta2.ImageType `json:"imageTypes,omitempty"`
// ProcessGroups contain information about a process group.
// This information is used in multiple places to trigger the according action.
ProcessGroups []*apiv1beta2.ProcessGroupStatus `json:"processGroups,omitempty"`
// Locks contains information about the locking system.
Locks *LockSystemStatusApplyConfiguration `json:"locks,omitempty"`
// MaintenenanceModeInfo contains information regarding process groups in maintenance mode
// Deprecated: This setting is not used anymore.
MaintenanceModeInfo *MaintenanceModeInfoApplyConfiguration `json:"maintenanceModeInfo,omitempty"`
// DesiredProcessGroups reflects the number of expected running process groups.
DesiredProcessGroups *int `json:"desiredProcessGroups,omitempty"`
// ReconciledProcessGroups reflects the number of process groups that have no condition and are not marked for removal.
ReconciledProcessGroups *int `json:"reconciledProcessGroups,omitempty"`
}
FoundationDBClusterStatusApplyConfiguration represents a declarative configuration of the FoundationDBClusterStatus type for use with apply.
FoundationDBClusterStatus defines the observed state of FoundationDBCluster
func FoundationDBClusterStatus ¶
func FoundationDBClusterStatus() *FoundationDBClusterStatusApplyConfiguration
FoundationDBClusterStatusApplyConfiguration constructs a declarative configuration of the FoundationDBClusterStatus type for use with apply.
func (*FoundationDBClusterStatusApplyConfiguration) WithConfigured ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithConfigured(value bool) *FoundationDBClusterStatusApplyConfiguration
WithConfigured sets the Configured field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Configured field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithConnectionString ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithConnectionString(value string) *FoundationDBClusterStatusApplyConfiguration
WithConnectionString sets the ConnectionString field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConnectionString field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithDatabaseConfiguration ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithDatabaseConfiguration(value *DatabaseConfigurationApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
WithDatabaseConfiguration sets the DatabaseConfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DatabaseConfiguration field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithDesiredProcessGroups ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithDesiredProcessGroups(value int) *FoundationDBClusterStatusApplyConfiguration
WithDesiredProcessGroups sets the DesiredProcessGroups field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DesiredProcessGroups field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithGenerations ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithGenerations(value *ClusterGenerationStatusApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
WithGenerations sets the Generations field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generations field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithHasIncorrectConfigMap ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithHasIncorrectConfigMap(value bool) *FoundationDBClusterStatusApplyConfiguration
WithHasIncorrectConfigMap sets the HasIncorrectConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasIncorrectConfigMap field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithHasIncorrectServiceConfig ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithHasIncorrectServiceConfig(value bool) *FoundationDBClusterStatusApplyConfiguration
WithHasIncorrectServiceConfig sets the HasIncorrectServiceConfig field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasIncorrectServiceConfig field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithHasListenIPsForAllPods ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithHasListenIPsForAllPods(value bool) *FoundationDBClusterStatusApplyConfiguration
WithHasListenIPsForAllPods sets the HasListenIPsForAllPods field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HasListenIPsForAllPods field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithHealth ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithHealth(value *ClusterHealthApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
WithHealth sets the Health field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Health field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithImageTypes ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithImageTypes(values ...apiv1beta2.ImageType) *FoundationDBClusterStatusApplyConfiguration
WithImageTypes adds the given value to the ImageTypes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ImageTypes field.
func (*FoundationDBClusterStatusApplyConfiguration) WithLocks ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithLocks(value *LockSystemStatusApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
WithLocks sets the Locks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Locks field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithLogServersPerDisk ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithLogServersPerDisk(values ...int) *FoundationDBClusterStatusApplyConfiguration
WithLogServersPerDisk adds the given value to the LogServersPerDisk field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the LogServersPerDisk field.
func (*FoundationDBClusterStatusApplyConfiguration) WithMaintenanceModeInfo ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithMaintenanceModeInfo(value *MaintenanceModeInfoApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
WithMaintenanceModeInfo sets the MaintenanceModeInfo field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaintenanceModeInfo field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithNeedsNewCoordinators ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithNeedsNewCoordinators(value bool) *FoundationDBClusterStatusApplyConfiguration
WithNeedsNewCoordinators sets the NeedsNewCoordinators field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NeedsNewCoordinators field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithProcessGroups ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithProcessGroups(values ...**apiv1beta2.ProcessGroupStatus) *FoundationDBClusterStatusApplyConfiguration
WithProcessGroups adds the given value to the ProcessGroups field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProcessGroups field.
func (*FoundationDBClusterStatusApplyConfiguration) WithReconciledProcessGroups ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithReconciledProcessGroups(value int) *FoundationDBClusterStatusApplyConfiguration
WithReconciledProcessGroups sets the ReconciledProcessGroups field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ReconciledProcessGroups field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithRequiredAddresses ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithRequiredAddresses(value *RequiredAddressSetApplyConfiguration) *FoundationDBClusterStatusApplyConfiguration
WithRequiredAddresses sets the RequiredAddresses field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RequiredAddresses field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithRunningVersion ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithRunningVersion(value string) *FoundationDBClusterStatusApplyConfiguration
WithRunningVersion sets the RunningVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunningVersion field is set to the value of the last call.
func (*FoundationDBClusterStatusApplyConfiguration) WithStorageServersPerDisk ¶
func (b *FoundationDBClusterStatusApplyConfiguration) WithStorageServersPerDisk(values ...int) *FoundationDBClusterStatusApplyConfiguration
WithStorageServersPerDisk adds the given value to the StorageServersPerDisk field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the StorageServersPerDisk field.
type FoundationDBKeyRangeApplyConfiguration ¶
type FoundationDBKeyRangeApplyConfiguration struct {
// Start provides the beginning of the key range.
Start *string `json:"start,omitempty"`
// End provides the end of the key range.
End *string `json:"end,omitempty"`
}
FoundationDBKeyRangeApplyConfiguration represents a declarative configuration of the FoundationDBKeyRange type for use with apply.
FoundationDBKeyRange describes a range of keys for a command.
The keys in the key range must match the following pattern: `^[A-Za-z0-9\/\\-]+$`. All other characters can be escaped with `\xBB`, where `BB` is the hexadecimal value of the byte.
func FoundationDBKeyRange ¶
func FoundationDBKeyRange() *FoundationDBKeyRangeApplyConfiguration
FoundationDBKeyRangeApplyConfiguration constructs a declarative configuration of the FoundationDBKeyRange type for use with apply.
func (*FoundationDBKeyRangeApplyConfiguration) WithEnd ¶
func (b *FoundationDBKeyRangeApplyConfiguration) WithEnd(value string) *FoundationDBKeyRangeApplyConfiguration
WithEnd sets the End field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the End field is set to the value of the last call.
func (*FoundationDBKeyRangeApplyConfiguration) WithStart ¶
func (b *FoundationDBKeyRangeApplyConfiguration) WithStart(value string) *FoundationDBKeyRangeApplyConfiguration
WithStart sets the Start field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Start field is set to the value of the last call.
type FoundationDBRestoreApplyConfiguration ¶
type FoundationDBRestoreApplyConfiguration struct {
v1.TypeMetaApplyConfiguration `json:",inline"`
*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
Spec *FoundationDBRestoreSpecApplyConfiguration `json:"spec,omitempty"`
Status *FoundationDBRestoreStatusApplyConfiguration `json:"status,omitempty"`
}
FoundationDBRestoreApplyConfiguration represents a declarative configuration of the FoundationDBRestore type for use with apply.
FoundationDBRestore is the Schema for the foundationdbrestores API
func FoundationDBRestore ¶
func FoundationDBRestore(name, namespace string) *FoundationDBRestoreApplyConfiguration
FoundationDBRestore constructs a declarative configuration of the FoundationDBRestore type for use with apply.
func (*FoundationDBRestoreApplyConfiguration) GetAPIVersion ¶
func (b *FoundationDBRestoreApplyConfiguration) GetAPIVersion() *string
GetAPIVersion retrieves the value of the APIVersion field in the declarative configuration.
func (*FoundationDBRestoreApplyConfiguration) GetKind ¶
func (b *FoundationDBRestoreApplyConfiguration) GetKind() *string
GetKind retrieves the value of the Kind field in the declarative configuration.
func (*FoundationDBRestoreApplyConfiguration) GetName ¶
func (b *FoundationDBRestoreApplyConfiguration) GetName() *string
GetName retrieves the value of the Name field in the declarative configuration.
func (*FoundationDBRestoreApplyConfiguration) GetNamespace ¶
func (b *FoundationDBRestoreApplyConfiguration) GetNamespace() *string
GetNamespace retrieves the value of the Namespace field in the declarative configuration.
func (FoundationDBRestoreApplyConfiguration) IsApplyConfiguration ¶
func (b FoundationDBRestoreApplyConfiguration) IsApplyConfiguration()
func (*FoundationDBRestoreApplyConfiguration) WithAPIVersion ¶
func (b *FoundationDBRestoreApplyConfiguration) WithAPIVersion(value string) *FoundationDBRestoreApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithAnnotations ¶
func (b *FoundationDBRestoreApplyConfiguration) WithAnnotations(entries map[string]string) *FoundationDBRestoreApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*FoundationDBRestoreApplyConfiguration) WithCreationTimestamp ¶
func (b *FoundationDBRestoreApplyConfiguration) WithCreationTimestamp(value metav1.Time) *FoundationDBRestoreApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *FoundationDBRestoreApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *FoundationDBRestoreApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithDeletionTimestamp ¶
func (b *FoundationDBRestoreApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *FoundationDBRestoreApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithFinalizers ¶
func (b *FoundationDBRestoreApplyConfiguration) WithFinalizers(values ...string) *FoundationDBRestoreApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*FoundationDBRestoreApplyConfiguration) WithGenerateName ¶
func (b *FoundationDBRestoreApplyConfiguration) WithGenerateName(value string) *FoundationDBRestoreApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithGeneration ¶
func (b *FoundationDBRestoreApplyConfiguration) WithGeneration(value int64) *FoundationDBRestoreApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithKind ¶
func (b *FoundationDBRestoreApplyConfiguration) WithKind(value string) *FoundationDBRestoreApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithLabels ¶
func (b *FoundationDBRestoreApplyConfiguration) WithLabels(entries map[string]string) *FoundationDBRestoreApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*FoundationDBRestoreApplyConfiguration) WithName ¶
func (b *FoundationDBRestoreApplyConfiguration) WithName(value string) *FoundationDBRestoreApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithNamespace ¶
func (b *FoundationDBRestoreApplyConfiguration) WithNamespace(value string) *FoundationDBRestoreApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithOwnerReferences ¶
func (b *FoundationDBRestoreApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *FoundationDBRestoreApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*FoundationDBRestoreApplyConfiguration) WithResourceVersion ¶
func (b *FoundationDBRestoreApplyConfiguration) WithResourceVersion(value string) *FoundationDBRestoreApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithSpec ¶
func (b *FoundationDBRestoreApplyConfiguration) WithSpec(value *FoundationDBRestoreSpecApplyConfiguration) *FoundationDBRestoreApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithStatus ¶
func (b *FoundationDBRestoreApplyConfiguration) WithStatus(value *FoundationDBRestoreStatusApplyConfiguration) *FoundationDBRestoreApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*FoundationDBRestoreApplyConfiguration) WithUID ¶
func (b *FoundationDBRestoreApplyConfiguration) WithUID(value types.UID) *FoundationDBRestoreApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type FoundationDBRestoreSpecApplyConfiguration ¶
type FoundationDBRestoreSpecApplyConfiguration struct {
// DestinationClusterName provides the name of the cluster that the data is
// being restored into.
DestinationClusterName *string `json:"destinationClusterName,omitempty"`
// The key ranges to restore.
KeyRanges []FoundationDBKeyRangeApplyConfiguration `json:"keyRanges,omitempty"`
// This is the configuration of the target blobstore for this backup.
BlobStoreConfiguration *BlobStoreConfigurationApplyConfiguration `json:"blobStoreConfiguration,omitempty"`
// CustomParameters defines additional parameters to pass to the backup
// agents.
CustomParameters *apiv1beta2.FoundationDBCustomParameters `json:"customParameters,omitempty"`
// The path to the encryption key used to encrypt the backup.
EncryptionKeyPath *string `json:"encryptionKeyPath,omitempty"`
// Instead of the latest version the backup can be restored to, restore to the specified version.
BackupVersion *uint64 `json:"backupVersion,omitempty"`
}
FoundationDBRestoreSpecApplyConfiguration represents a declarative configuration of the FoundationDBRestoreSpec type for use with apply.
FoundationDBRestoreSpec describes the desired state of the backup for a cluster.
func FoundationDBRestoreSpec ¶
func FoundationDBRestoreSpec() *FoundationDBRestoreSpecApplyConfiguration
FoundationDBRestoreSpecApplyConfiguration constructs a declarative configuration of the FoundationDBRestoreSpec type for use with apply.
func (*FoundationDBRestoreSpecApplyConfiguration) WithBackupVersion ¶
func (b *FoundationDBRestoreSpecApplyConfiguration) WithBackupVersion(value uint64) *FoundationDBRestoreSpecApplyConfiguration
WithBackupVersion sets the BackupVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupVersion field is set to the value of the last call.
func (*FoundationDBRestoreSpecApplyConfiguration) WithBlobStoreConfiguration ¶
func (b *FoundationDBRestoreSpecApplyConfiguration) WithBlobStoreConfiguration(value *BlobStoreConfigurationApplyConfiguration) *FoundationDBRestoreSpecApplyConfiguration
WithBlobStoreConfiguration sets the BlobStoreConfiguration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BlobStoreConfiguration field is set to the value of the last call.
func (*FoundationDBRestoreSpecApplyConfiguration) WithCustomParameters ¶
func (b *FoundationDBRestoreSpecApplyConfiguration) WithCustomParameters(value apiv1beta2.FoundationDBCustomParameters) *FoundationDBRestoreSpecApplyConfiguration
WithCustomParameters sets the CustomParameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CustomParameters field is set to the value of the last call.
func (*FoundationDBRestoreSpecApplyConfiguration) WithDestinationClusterName ¶
func (b *FoundationDBRestoreSpecApplyConfiguration) WithDestinationClusterName(value string) *FoundationDBRestoreSpecApplyConfiguration
WithDestinationClusterName sets the DestinationClusterName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DestinationClusterName field is set to the value of the last call.
func (*FoundationDBRestoreSpecApplyConfiguration) WithEncryptionKeyPath ¶
func (b *FoundationDBRestoreSpecApplyConfiguration) WithEncryptionKeyPath(value string) *FoundationDBRestoreSpecApplyConfiguration
WithEncryptionKeyPath sets the EncryptionKeyPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the EncryptionKeyPath field is set to the value of the last call.
func (*FoundationDBRestoreSpecApplyConfiguration) WithKeyRanges ¶
func (b *FoundationDBRestoreSpecApplyConfiguration) WithKeyRanges(values ...*FoundationDBKeyRangeApplyConfiguration) *FoundationDBRestoreSpecApplyConfiguration
WithKeyRanges adds the given value to the KeyRanges field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the KeyRanges field.
type FoundationDBRestoreStatusApplyConfiguration ¶
type FoundationDBRestoreStatusApplyConfiguration struct {
// Running describes whether the restore is currently running.
Running *bool `json:"running,omitempty"`
// State describes the FoundationDBRestoreState state.
State *apiv1beta2.FoundationDBRestoreState `json:"state,omitempty"`
}
FoundationDBRestoreStatusApplyConfiguration represents a declarative configuration of the FoundationDBRestoreStatus type for use with apply.
FoundationDBRestoreStatus describes the current status of the restore for a cluster.
func FoundationDBRestoreStatus ¶
func FoundationDBRestoreStatus() *FoundationDBRestoreStatusApplyConfiguration
FoundationDBRestoreStatusApplyConfiguration constructs a declarative configuration of the FoundationDBRestoreStatus type for use with apply.
func (*FoundationDBRestoreStatusApplyConfiguration) WithRunning ¶
func (b *FoundationDBRestoreStatusApplyConfiguration) WithRunning(value bool) *FoundationDBRestoreStatusApplyConfiguration
WithRunning sets the Running field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Running field is set to the value of the last call.
func (*FoundationDBRestoreStatusApplyConfiguration) WithState ¶
func (b *FoundationDBRestoreStatusApplyConfiguration) WithState(value apiv1beta2.FoundationDBRestoreState) *FoundationDBRestoreStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
type ImageConfigApplyConfiguration ¶
type ImageConfigApplyConfiguration struct {
// Version is the version of FoundationDB this policy applies to. If this is
// blank, the policy applies to all FDB versions.
Version *string `json:"version,omitempty"`
// BaseImage specifies the part of the image before the tag.
BaseImage *string `json:"baseImage,omitempty"`
// Tag specifies a full image tag.
Tag *string `json:"tag,omitempty"`
// TagSuffix specifies a suffix that will be added after the version to form
// the full tag.
TagSuffix *string `json:"tagSuffix,omitempty"`
}
ImageConfigApplyConfiguration represents a declarative configuration of the ImageConfig type for use with apply.
ImageConfig provides a policy for customizing an image.
When multiple image configs are provided, they will be merged into a single config that will be used to define the final image. For each field, we select the value from the first entry in the config list that defines a value for that field, and matches the version of FoundationDB the image is for. Any config that specifies a different version than the one under consideration will be ignored for the purposes of defining that image.
func ImageConfig ¶
func ImageConfig() *ImageConfigApplyConfiguration
ImageConfigApplyConfiguration constructs a declarative configuration of the ImageConfig type for use with apply.
func (*ImageConfigApplyConfiguration) WithBaseImage ¶
func (b *ImageConfigApplyConfiguration) WithBaseImage(value string) *ImageConfigApplyConfiguration
WithBaseImage sets the BaseImage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BaseImage field is set to the value of the last call.
func (*ImageConfigApplyConfiguration) WithTag ¶
func (b *ImageConfigApplyConfiguration) WithTag(value string) *ImageConfigApplyConfiguration
WithTag sets the Tag field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tag field is set to the value of the last call.
func (*ImageConfigApplyConfiguration) WithTagSuffix ¶
func (b *ImageConfigApplyConfiguration) WithTagSuffix(value string) *ImageConfigApplyConfiguration
WithTagSuffix sets the TagSuffix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TagSuffix field is set to the value of the last call.
func (*ImageConfigApplyConfiguration) WithVersion ¶
func (b *ImageConfigApplyConfiguration) WithVersion(value string) *ImageConfigApplyConfiguration
WithVersion sets the Version field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Version field is set to the value of the last call.
type LabelConfigApplyConfiguration ¶
type LabelConfigApplyConfiguration struct {
// MatchLabels provides the labels that the operator should use to identify
// resources owned by the cluster. These will automatically be applied to
// all resources the operator creates.
MatchLabels map[string]string `json:"matchLabels,omitempty"`
// ResourceLabels provides additional labels that the operator should apply to
// resources it creates.
ResourceLabels map[string]string `json:"resourceLabels,omitempty"`
// ProcessGroupIDLabels provides the labels that we use for the process group ID
// field. The first label will be used by the operator when filtering
// resources.
ProcessGroupIDLabels []string `json:"processGroupIDLabels,omitempty"`
// ProcessClassLabels provides the labels that we use for the process class
// field. The first label will be used by the operator when filtering
// resources.
ProcessClassLabels []string `json:"processClassLabels,omitempty"`
// FilterOnOwnerReferences determines whether we should check that resources
// are owned by the cluster object, in addition to the constraints provided
// by the match labels.
// Deprecated: This setting will be removed in the next major release.
FilterOnOwnerReferences *bool `json:"filterOnOwnerReference,omitempty"`
}
LabelConfigApplyConfiguration represents a declarative configuration of the LabelConfig type for use with apply.
LabelConfig allows customizing labels used by the operator.
func LabelConfig ¶
func LabelConfig() *LabelConfigApplyConfiguration
LabelConfigApplyConfiguration constructs a declarative configuration of the LabelConfig type for use with apply.
func (*LabelConfigApplyConfiguration) WithFilterOnOwnerReferences ¶
func (b *LabelConfigApplyConfiguration) WithFilterOnOwnerReferences(value bool) *LabelConfigApplyConfiguration
WithFilterOnOwnerReferences sets the FilterOnOwnerReferences field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FilterOnOwnerReferences field is set to the value of the last call.
func (*LabelConfigApplyConfiguration) WithMatchLabels ¶
func (b *LabelConfigApplyConfiguration) WithMatchLabels(entries map[string]string) *LabelConfigApplyConfiguration
WithMatchLabels puts the entries into the MatchLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the MatchLabels field, overwriting an existing map entries in MatchLabels field with the same key.
func (*LabelConfigApplyConfiguration) WithProcessClassLabels ¶
func (b *LabelConfigApplyConfiguration) WithProcessClassLabels(values ...string) *LabelConfigApplyConfiguration
WithProcessClassLabels adds the given value to the ProcessClassLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProcessClassLabels field.
func (*LabelConfigApplyConfiguration) WithProcessGroupIDLabels ¶
func (b *LabelConfigApplyConfiguration) WithProcessGroupIDLabels(values ...string) *LabelConfigApplyConfiguration
WithProcessGroupIDLabels adds the given value to the ProcessGroupIDLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProcessGroupIDLabels field.
func (*LabelConfigApplyConfiguration) WithResourceLabels ¶
func (b *LabelConfigApplyConfiguration) WithResourceLabels(entries map[string]string) *LabelConfigApplyConfiguration
WithResourceLabels puts the entries into the ResourceLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the ResourceLabels field, overwriting an existing map entries in ResourceLabels field with the same key.
type LockDenyListEntryApplyConfiguration ¶
type LockDenyListEntryApplyConfiguration struct {
// The ID of the operator instance this entry is targeting.
ID *string `json:"id,omitempty"`
// Whether the instance is allowed to take locks.
Allow *bool `json:"allow,omitempty"`
}
LockDenyListEntryApplyConfiguration represents a declarative configuration of the LockDenyListEntry type for use with apply.
LockDenyListEntry models an entry in the deny list for the locking system.
func LockDenyListEntry ¶
func LockDenyListEntry() *LockDenyListEntryApplyConfiguration
LockDenyListEntryApplyConfiguration constructs a declarative configuration of the LockDenyListEntry type for use with apply.
func (*LockDenyListEntryApplyConfiguration) WithAllow ¶
func (b *LockDenyListEntryApplyConfiguration) WithAllow(value bool) *LockDenyListEntryApplyConfiguration
WithAllow sets the Allow field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Allow field is set to the value of the last call.
func (*LockDenyListEntryApplyConfiguration) WithID ¶
func (b *LockDenyListEntryApplyConfiguration) WithID(value string) *LockDenyListEntryApplyConfiguration
WithID sets the ID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ID field is set to the value of the last call.
type LockOptionsApplyConfiguration ¶
type LockOptionsApplyConfiguration struct {
// DisableLocks determines whether we should disable locking entirely.
DisableLocks *bool `json:"disableLocks,omitempty"`
// LockKeyPrefix provides a custom prefix for the keys in the database we
// use to store locks.
LockKeyPrefix *string `json:"lockKeyPrefix,omitempty"`
// LockDurationMinutes determines the duration that locks should be valid
// for.
LockDurationMinutes *int `json:"lockDurationMinutes,omitempty"`
// DenyList manages configuration for whether an instance of the operator
// should be denied from taking locks.
DenyList []LockDenyListEntryApplyConfiguration `json:"denyList,omitempty"`
}
LockOptionsApplyConfiguration represents a declarative configuration of the LockOptions type for use with apply.
LockOptions provides customization for locking global operations.
func LockOptions ¶
func LockOptions() *LockOptionsApplyConfiguration
LockOptionsApplyConfiguration constructs a declarative configuration of the LockOptions type for use with apply.
func (*LockOptionsApplyConfiguration) WithDenyList ¶
func (b *LockOptionsApplyConfiguration) WithDenyList(values ...*LockDenyListEntryApplyConfiguration) *LockOptionsApplyConfiguration
WithDenyList adds the given value to the DenyList field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DenyList field.
func (*LockOptionsApplyConfiguration) WithDisableLocks ¶
func (b *LockOptionsApplyConfiguration) WithDisableLocks(value bool) *LockOptionsApplyConfiguration
WithDisableLocks sets the DisableLocks field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DisableLocks field is set to the value of the last call.
func (*LockOptionsApplyConfiguration) WithLockDurationMinutes ¶
func (b *LockOptionsApplyConfiguration) WithLockDurationMinutes(value int) *LockOptionsApplyConfiguration
WithLockDurationMinutes sets the LockDurationMinutes field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LockDurationMinutes field is set to the value of the last call.
func (*LockOptionsApplyConfiguration) WithLockKeyPrefix ¶
func (b *LockOptionsApplyConfiguration) WithLockKeyPrefix(value string) *LockOptionsApplyConfiguration
WithLockKeyPrefix sets the LockKeyPrefix field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LockKeyPrefix field is set to the value of the last call.
type LockSystemStatusApplyConfiguration ¶
type LockSystemStatusApplyConfiguration struct {
// DenyList contains a list of operator instances that are prevented
// from taking locks.
DenyList []string `json:"lockDenyList,omitempty"`
}
LockSystemStatusApplyConfiguration represents a declarative configuration of the LockSystemStatus type for use with apply.
LockSystemStatus provides a summary of the status of the locking system.
func LockSystemStatus ¶
func LockSystemStatus() *LockSystemStatusApplyConfiguration
LockSystemStatusApplyConfiguration constructs a declarative configuration of the LockSystemStatus type for use with apply.
func (*LockSystemStatusApplyConfiguration) WithDenyList ¶
func (b *LockSystemStatusApplyConfiguration) WithDenyList(values ...string) *LockSystemStatusApplyConfiguration
WithDenyList adds the given value to the DenyList field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DenyList field.
type MaintenanceModeInfoApplyConfiguration ¶
type MaintenanceModeInfoApplyConfiguration struct {
// StartTimestamp provides the timestamp when this zone is put into maintenance mode
// Deprecated: This setting is not used anymore.
StartTimestamp *v1.Time `json:"startTimestamp,omitempty"`
// ZoneID that is placed in maintenance mode
// Deprecated: This setting is not used anymore.
ZoneID *apiv1beta2.FaultDomain `json:"zoneID,omitempty"`
// ProcessGroups that are placed in maintenance mode
// Deprecated: This setting is not used anymore.
ProcessGroups []string `json:"processGroups,omitempty"`
}
MaintenanceModeInfoApplyConfiguration represents a declarative configuration of the MaintenanceModeInfo type for use with apply.
MaintenanceModeInfo contains information regarding the zone and process groups that are put into maintenance mode by the operator
func MaintenanceModeInfo ¶
func MaintenanceModeInfo() *MaintenanceModeInfoApplyConfiguration
MaintenanceModeInfoApplyConfiguration constructs a declarative configuration of the MaintenanceModeInfo type for use with apply.
func (*MaintenanceModeInfoApplyConfiguration) WithProcessGroups ¶
func (b *MaintenanceModeInfoApplyConfiguration) WithProcessGroups(values ...string) *MaintenanceModeInfoApplyConfiguration
WithProcessGroups adds the given value to the ProcessGroups field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProcessGroups field.
func (*MaintenanceModeInfoApplyConfiguration) WithStartTimestamp ¶
func (b *MaintenanceModeInfoApplyConfiguration) WithStartTimestamp(value v1.Time) *MaintenanceModeInfoApplyConfiguration
WithStartTimestamp sets the StartTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTimestamp field is set to the value of the last call.
func (*MaintenanceModeInfoApplyConfiguration) WithZoneID ¶
func (b *MaintenanceModeInfoApplyConfiguration) WithZoneID(value apiv1beta2.FaultDomain) *MaintenanceModeInfoApplyConfiguration
WithZoneID sets the ZoneID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ZoneID field is set to the value of the last call.
type MaintenanceModeOptionsApplyConfiguration ¶
type MaintenanceModeOptionsApplyConfiguration struct {
// UseMaintenanceModeChecker defines whether the operator is allowed to use maintenance mode before updating pods.
// If this setting is set to true the operator will set and reset the maintenance mode when updating pods. If this
// setting is set to true, then ResetMaintenanceMode will also be enabled to make sure the operator is able to
// reset the maintenance mode again.
// Default is false.
UseMaintenanceModeChecker *bool `json:"UseMaintenanceModeChecker,omitempty"`
// ResetMaintenanceMode defines whether the operator should reset the maintenance mode if all storage processes
// under the maintenance zone have been restarted. The default is false. For more details see:
// https://github.com/FoundationDB/fdb-kubernetes-operator/blob/main/docs/manual/operations.md#maintenance
// Default is false.
ResetMaintenanceMode *bool `json:"resetMaintenanceMode,omitempty"`
// MaintenanceModeTimeSeconds provides the duration for the zone to be in maintenance. It will automatically be switched off after the time elapses.
// Default is 600.
MaintenanceModeTimeSeconds *int `json:"maintenanceModeTimeSeconds,omitempty"`
}
MaintenanceModeOptionsApplyConfiguration represents a declarative configuration of the MaintenanceModeOptions type for use with apply.
MaintenanceModeOptions controls options for placing zones in maintenance mode.
func MaintenanceModeOptions ¶
func MaintenanceModeOptions() *MaintenanceModeOptionsApplyConfiguration
MaintenanceModeOptionsApplyConfiguration constructs a declarative configuration of the MaintenanceModeOptions type for use with apply.
func (*MaintenanceModeOptionsApplyConfiguration) WithMaintenanceModeTimeSeconds ¶
func (b *MaintenanceModeOptionsApplyConfiguration) WithMaintenanceModeTimeSeconds(value int) *MaintenanceModeOptionsApplyConfiguration
WithMaintenanceModeTimeSeconds sets the MaintenanceModeTimeSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MaintenanceModeTimeSeconds field is set to the value of the last call.
func (*MaintenanceModeOptionsApplyConfiguration) WithResetMaintenanceMode ¶
func (b *MaintenanceModeOptionsApplyConfiguration) WithResetMaintenanceMode(value bool) *MaintenanceModeOptionsApplyConfiguration
WithResetMaintenanceMode sets the ResetMaintenanceMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResetMaintenanceMode field is set to the value of the last call.
func (*MaintenanceModeOptionsApplyConfiguration) WithUseMaintenanceModeChecker ¶
func (b *MaintenanceModeOptionsApplyConfiguration) WithUseMaintenanceModeChecker(value bool) *MaintenanceModeOptionsApplyConfiguration
WithUseMaintenanceModeChecker sets the UseMaintenanceModeChecker field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseMaintenanceModeChecker field is set to the value of the last call.
type ProcessCountsApplyConfiguration ¶
type ProcessCountsApplyConfiguration struct {
Unset *int `json:"unset,omitempty"`
Storage *int `json:"storage,omitempty"`
Transaction *int `json:"transaction,omitempty"`
Resolution *int `json:"resolution,omitempty"`
// Deprecated: This setting will be removed in the next major release.
// use Test
Tester *int `json:"tester,omitempty"`
Test *int `json:"test,omitempty"`
Proxy *int `json:"proxy,omitempty"`
CommitProxy *int `json:"commit_proxy,omitempty"`
GrvProxy *int `json:"grv_proxy,omitempty"`
Master *int `json:"master,omitempty"`
Stateless *int `json:"stateless,omitempty"`
Log *int `json:"log,omitempty"`
ClusterController *int `json:"cluster_controller,omitempty"`
LogRouter *int `json:"router,omitempty"`
FastRestore *int `json:"fast_restore,omitempty"`
DataDistributor *int `json:"data_distributor,omitempty"`
Coordinator *int `json:"coordinator,omitempty"`
Ratekeeper *int `json:"ratekeeper,omitempty"`
StorageCache *int `json:"storage_cache,omitempty"`
BackupWorker *int `json:"backup,omitempty"`
}
ProcessCountsApplyConfiguration represents a declarative configuration of the ProcessCounts type for use with apply.
ProcessCounts represents the number of processes we have for each valid process class.
If one of the counts in the spec is set to 0, we will infer the process count for that class from the role counts. If one of the counts in the spec is set to -1, we will not create any processes for that class. See GetProcessCountsWithDefaults for more information on the rules for inferring process counts.
func ProcessCounts ¶
func ProcessCounts() *ProcessCountsApplyConfiguration
ProcessCountsApplyConfiguration constructs a declarative configuration of the ProcessCounts type for use with apply.
func (*ProcessCountsApplyConfiguration) WithBackupWorker ¶
func (b *ProcessCountsApplyConfiguration) WithBackupWorker(value int) *ProcessCountsApplyConfiguration
WithBackupWorker sets the BackupWorker field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BackupWorker field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithClusterController ¶
func (b *ProcessCountsApplyConfiguration) WithClusterController(value int) *ProcessCountsApplyConfiguration
WithClusterController sets the ClusterController field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ClusterController field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithCommitProxy ¶
func (b *ProcessCountsApplyConfiguration) WithCommitProxy(value int) *ProcessCountsApplyConfiguration
WithCommitProxy sets the CommitProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CommitProxy field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithCoordinator ¶
func (b *ProcessCountsApplyConfiguration) WithCoordinator(value int) *ProcessCountsApplyConfiguration
WithCoordinator sets the Coordinator field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Coordinator field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithDataDistributor ¶
func (b *ProcessCountsApplyConfiguration) WithDataDistributor(value int) *ProcessCountsApplyConfiguration
WithDataDistributor sets the DataDistributor field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DataDistributor field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithFastRestore ¶
func (b *ProcessCountsApplyConfiguration) WithFastRestore(value int) *ProcessCountsApplyConfiguration
WithFastRestore sets the FastRestore field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FastRestore field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithGrvProxy ¶
func (b *ProcessCountsApplyConfiguration) WithGrvProxy(value int) *ProcessCountsApplyConfiguration
WithGrvProxy sets the GrvProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GrvProxy field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithLog ¶
func (b *ProcessCountsApplyConfiguration) WithLog(value int) *ProcessCountsApplyConfiguration
WithLog sets the Log field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Log field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithLogRouter ¶
func (b *ProcessCountsApplyConfiguration) WithLogRouter(value int) *ProcessCountsApplyConfiguration
WithLogRouter sets the LogRouter field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogRouter field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithMaster ¶
func (b *ProcessCountsApplyConfiguration) WithMaster(value int) *ProcessCountsApplyConfiguration
WithMaster sets the Master field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Master field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithProxy ¶
func (b *ProcessCountsApplyConfiguration) WithProxy(value int) *ProcessCountsApplyConfiguration
WithProxy sets the Proxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Proxy field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithRatekeeper ¶
func (b *ProcessCountsApplyConfiguration) WithRatekeeper(value int) *ProcessCountsApplyConfiguration
WithRatekeeper sets the Ratekeeper field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ratekeeper field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithResolution ¶
func (b *ProcessCountsApplyConfiguration) WithResolution(value int) *ProcessCountsApplyConfiguration
WithResolution sets the Resolution field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resolution field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithStateless ¶
func (b *ProcessCountsApplyConfiguration) WithStateless(value int) *ProcessCountsApplyConfiguration
WithStateless sets the Stateless field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Stateless field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithStorage ¶
func (b *ProcessCountsApplyConfiguration) WithStorage(value int) *ProcessCountsApplyConfiguration
WithStorage sets the Storage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Storage field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithStorageCache ¶
func (b *ProcessCountsApplyConfiguration) WithStorageCache(value int) *ProcessCountsApplyConfiguration
WithStorageCache sets the StorageCache field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StorageCache field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithTest ¶
func (b *ProcessCountsApplyConfiguration) WithTest(value int) *ProcessCountsApplyConfiguration
WithTest sets the Test field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Test field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithTester ¶
func (b *ProcessCountsApplyConfiguration) WithTester(value int) *ProcessCountsApplyConfiguration
WithTester sets the Tester field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Tester field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithTransaction ¶
func (b *ProcessCountsApplyConfiguration) WithTransaction(value int) *ProcessCountsApplyConfiguration
WithTransaction sets the Transaction field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Transaction field is set to the value of the last call.
func (*ProcessCountsApplyConfiguration) WithUnset ¶
func (b *ProcessCountsApplyConfiguration) WithUnset(value int) *ProcessCountsApplyConfiguration
WithUnset sets the Unset field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Unset field is set to the value of the last call.
type ProcessGroupConditionApplyConfiguration ¶
type ProcessGroupConditionApplyConfiguration struct {
// Name of the condition
ProcessGroupConditionType *apiv1beta2.ProcessGroupConditionType `json:"type,omitempty"`
// Timestamp when the Condition was observed
Timestamp *int64 `json:"timestamp,omitempty"`
}
ProcessGroupConditionApplyConfiguration represents a declarative configuration of the ProcessGroupCondition type for use with apply.
ProcessGroupCondition represents a degraded condition that a process group is in.
func ProcessGroupCondition ¶
func ProcessGroupCondition() *ProcessGroupConditionApplyConfiguration
ProcessGroupConditionApplyConfiguration constructs a declarative configuration of the ProcessGroupCondition type for use with apply.
func (*ProcessGroupConditionApplyConfiguration) WithProcessGroupConditionType ¶
func (b *ProcessGroupConditionApplyConfiguration) WithProcessGroupConditionType(value apiv1beta2.ProcessGroupConditionType) *ProcessGroupConditionApplyConfiguration
WithProcessGroupConditionType sets the ProcessGroupConditionType field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProcessGroupConditionType field is set to the value of the last call.
func (*ProcessGroupConditionApplyConfiguration) WithTimestamp ¶
func (b *ProcessGroupConditionApplyConfiguration) WithTimestamp(value int64) *ProcessGroupConditionApplyConfiguration
WithTimestamp sets the Timestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timestamp field is set to the value of the last call.
type ProcessGroupStatusApplyConfiguration ¶
type ProcessGroupStatusApplyConfiguration struct {
// ProcessGroupID represents the ID of the process group
ProcessGroupID *apiv1beta2.ProcessGroupID `json:"processGroupID,omitempty"`
// ProcessClass represents the class the process group has.
ProcessClass *apiv1beta2.ProcessClass `json:"processClass,omitempty"`
// Addresses represents the list of addresses the process group has been known to have.
Addresses []string `json:"addresses,omitempty"`
// RemoveTimestamp if not empty defines when the process group was marked for removal.
RemovalTimestamp *v1.Time `json:"removalTimestamp,omitempty"`
// ExclusionTimestamp defines when the process group has been fully excluded.
// This is only used within the reconciliation process, and should not be considered authoritative.
ExclusionTimestamp *v1.Time `json:"exclusionTimestamp,omitempty"`
// ExclusionSkipped determines if exclusion has been skipped for a process, which will allow the process group to be removed without exclusion.
ExclusionSkipped *bool `json:"exclusionSkipped,omitempty"`
// ProcessGroupConditions represents a list of degraded conditions that the process group is in.
ProcessGroupConditions []*apiv1beta2.ProcessGroupCondition `json:"processGroupConditions,omitempty"`
// FaultDomain represents the last seen fault domain from the cluster status. This can be used if a Pod or process
// is not running and would be missing in the cluster status.
FaultDomain *apiv1beta2.FaultDomain `json:"faultDomain,omitempty"`
}
ProcessGroupStatusApplyConfiguration represents a declarative configuration of the ProcessGroupStatus type for use with apply.
ProcessGroupStatus represents the status of a ProcessGroup.
func ProcessGroupStatus ¶
func ProcessGroupStatus() *ProcessGroupStatusApplyConfiguration
ProcessGroupStatusApplyConfiguration constructs a declarative configuration of the ProcessGroupStatus type for use with apply.
func (*ProcessGroupStatusApplyConfiguration) WithAddresses ¶
func (b *ProcessGroupStatusApplyConfiguration) WithAddresses(values ...string) *ProcessGroupStatusApplyConfiguration
WithAddresses adds the given value to the Addresses field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Addresses field.
func (*ProcessGroupStatusApplyConfiguration) WithExclusionSkipped ¶
func (b *ProcessGroupStatusApplyConfiguration) WithExclusionSkipped(value bool) *ProcessGroupStatusApplyConfiguration
WithExclusionSkipped sets the ExclusionSkipped field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExclusionSkipped field is set to the value of the last call.
func (*ProcessGroupStatusApplyConfiguration) WithExclusionTimestamp ¶
func (b *ProcessGroupStatusApplyConfiguration) WithExclusionTimestamp(value v1.Time) *ProcessGroupStatusApplyConfiguration
WithExclusionTimestamp sets the ExclusionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExclusionTimestamp field is set to the value of the last call.
func (*ProcessGroupStatusApplyConfiguration) WithFaultDomain ¶
func (b *ProcessGroupStatusApplyConfiguration) WithFaultDomain(value apiv1beta2.FaultDomain) *ProcessGroupStatusApplyConfiguration
WithFaultDomain sets the FaultDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FaultDomain field is set to the value of the last call.
func (*ProcessGroupStatusApplyConfiguration) WithProcessClass ¶
func (b *ProcessGroupStatusApplyConfiguration) WithProcessClass(value apiv1beta2.ProcessClass) *ProcessGroupStatusApplyConfiguration
WithProcessClass sets the ProcessClass field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProcessClass field is set to the value of the last call.
func (*ProcessGroupStatusApplyConfiguration) WithProcessGroupConditions ¶
func (b *ProcessGroupStatusApplyConfiguration) WithProcessGroupConditions(values ...**apiv1beta2.ProcessGroupCondition) *ProcessGroupStatusApplyConfiguration
WithProcessGroupConditions adds the given value to the ProcessGroupConditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ProcessGroupConditions field.
func (*ProcessGroupStatusApplyConfiguration) WithProcessGroupID ¶
func (b *ProcessGroupStatusApplyConfiguration) WithProcessGroupID(value apiv1beta2.ProcessGroupID) *ProcessGroupStatusApplyConfiguration
WithProcessGroupID sets the ProcessGroupID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ProcessGroupID field is set to the value of the last call.
func (*ProcessGroupStatusApplyConfiguration) WithRemovalTimestamp ¶
func (b *ProcessGroupStatusApplyConfiguration) WithRemovalTimestamp(value v1.Time) *ProcessGroupStatusApplyConfiguration
WithRemovalTimestamp sets the RemovalTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemovalTimestamp field is set to the value of the last call.
type ProcessSettingsApplyConfiguration ¶
type ProcessSettingsApplyConfiguration struct {
// PodTemplate allows customizing the pod. If a container image with a tag is specified the operator
// will throw an error and stop processing the cluster.
PodTemplate *v1.PodTemplateSpec `json:"podTemplate,omitempty"`
// VolumeClaimTemplate allows customizing the persistent volume claim for the
// pod. This will be ignored by the operator for stateless processes.
VolumeClaimTemplate *v1.PersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"`
// CustomParameters defines additional parameters to pass to the fdbserver
// process. Only parameters for the [fdbserver] section are supported. Parameters
// from the [general] and [fdbmonitor] section are not supported. For more Information
// see: https://apple.github.io/foundationdb/configuration.html#general-section
CustomParameters *apiv1beta2.FoundationDBCustomParameters `json:"customParameters,omitempty"`
}
ProcessSettingsApplyConfiguration represents a declarative configuration of the ProcessSettings type for use with apply.
ProcessSettings defines process-level settings.
func ProcessSettings ¶
func ProcessSettings() *ProcessSettingsApplyConfiguration
ProcessSettingsApplyConfiguration constructs a declarative configuration of the ProcessSettings type for use with apply.
func (*ProcessSettingsApplyConfiguration) WithCustomParameters ¶
func (b *ProcessSettingsApplyConfiguration) WithCustomParameters(value apiv1beta2.FoundationDBCustomParameters) *ProcessSettingsApplyConfiguration
WithCustomParameters sets the CustomParameters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CustomParameters field is set to the value of the last call.
func (*ProcessSettingsApplyConfiguration) WithPodTemplate ¶
func (b *ProcessSettingsApplyConfiguration) WithPodTemplate(value v1.PodTemplateSpec) *ProcessSettingsApplyConfiguration
WithPodTemplate sets the PodTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodTemplate field is set to the value of the last call.
func (*ProcessSettingsApplyConfiguration) WithVolumeClaimTemplate ¶
func (b *ProcessSettingsApplyConfiguration) WithVolumeClaimTemplate(value v1.PersistentVolumeClaim) *ProcessSettingsApplyConfiguration
WithVolumeClaimTemplate sets the VolumeClaimTemplate field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the VolumeClaimTemplate field is set to the value of the last call.
type RegionApplyConfiguration ¶
type RegionApplyConfiguration struct {
// The data centers in this region.
DataCenters []DataCenterApplyConfiguration `json:"datacenters,omitempty"`
// The number of satellite logs that we should recruit.
SatelliteLogs *int `json:"satellite_logs,omitempty"`
// The replication strategy for satellite logs.
SatelliteRedundancyMode *apiv1beta2.RedundancyMode `json:"satellite_redundancy_mode,omitempty"`
}
RegionApplyConfiguration represents a declarative configuration of the Region type for use with apply.
Region represents a region in the database configuration
func Region ¶
func Region() *RegionApplyConfiguration
RegionApplyConfiguration constructs a declarative configuration of the Region type for use with apply.
func (*RegionApplyConfiguration) WithDataCenters ¶
func (b *RegionApplyConfiguration) WithDataCenters(values ...*DataCenterApplyConfiguration) *RegionApplyConfiguration
WithDataCenters adds the given value to the DataCenters field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the DataCenters field.
func (*RegionApplyConfiguration) WithSatelliteLogs ¶
func (b *RegionApplyConfiguration) WithSatelliteLogs(value int) *RegionApplyConfiguration
WithSatelliteLogs sets the SatelliteLogs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SatelliteLogs field is set to the value of the last call.
func (*RegionApplyConfiguration) WithSatelliteRedundancyMode ¶
func (b *RegionApplyConfiguration) WithSatelliteRedundancyMode(value apiv1beta2.RedundancyMode) *RegionApplyConfiguration
WithSatelliteRedundancyMode sets the SatelliteRedundancyMode field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SatelliteRedundancyMode field is set to the value of the last call.
type RequiredAddressSetApplyConfiguration ¶
type RequiredAddressSetApplyConfiguration struct {
// TLS defines whether we need to listen on a TLS address.
TLS *bool `json:"tls,omitempty"`
// NonTLS defines whether we need to listen on a non-TLS address.
NonTLS *bool `json:"nonTLS,omitempty"`
}
RequiredAddressSetApplyConfiguration represents a declarative configuration of the RequiredAddressSet type for use with apply.
RequiredAddressSet provides settings for which addresses we need to listen on.
func RequiredAddressSet ¶
func RequiredAddressSet() *RequiredAddressSetApplyConfiguration
RequiredAddressSetApplyConfiguration constructs a declarative configuration of the RequiredAddressSet type for use with apply.
func (*RequiredAddressSetApplyConfiguration) WithNonTLS ¶
func (b *RequiredAddressSetApplyConfiguration) WithNonTLS(value bool) *RequiredAddressSetApplyConfiguration
WithNonTLS sets the NonTLS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NonTLS field is set to the value of the last call.
func (*RequiredAddressSetApplyConfiguration) WithTLS ¶
func (b *RequiredAddressSetApplyConfiguration) WithTLS(value bool) *RequiredAddressSetApplyConfiguration
WithTLS sets the TLS field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the TLS field is set to the value of the last call.
type RoleCountsApplyConfiguration ¶
type RoleCountsApplyConfiguration struct {
Storage *int `json:"storage,omitempty"`
Logs *int `json:"logs,omitempty"`
Proxies *int `json:"proxies,omitempty"`
CommitProxies *int `json:"commit_proxies,omitempty"`
GrvProxies *int `json:"grv_proxies,omitempty"`
Resolvers *int `json:"resolvers,omitempty"`
LogRouters *int `json:"log_routers,omitempty"`
RemoteLogs *int `json:"remote_logs,omitempty"`
}
RoleCountsApplyConfiguration represents a declarative configuration of the RoleCounts type for use with apply.
RoleCounts represents the roles whose counts can be customized.
func RoleCounts ¶
func RoleCounts() *RoleCountsApplyConfiguration
RoleCountsApplyConfiguration constructs a declarative configuration of the RoleCounts type for use with apply.
func (*RoleCountsApplyConfiguration) WithCommitProxies ¶
func (b *RoleCountsApplyConfiguration) WithCommitProxies(value int) *RoleCountsApplyConfiguration
WithCommitProxies sets the CommitProxies field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CommitProxies field is set to the value of the last call.
func (*RoleCountsApplyConfiguration) WithGrvProxies ¶
func (b *RoleCountsApplyConfiguration) WithGrvProxies(value int) *RoleCountsApplyConfiguration
WithGrvProxies sets the GrvProxies field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GrvProxies field is set to the value of the last call.
func (*RoleCountsApplyConfiguration) WithLogRouters ¶
func (b *RoleCountsApplyConfiguration) WithLogRouters(value int) *RoleCountsApplyConfiguration
WithLogRouters sets the LogRouters field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogRouters field is set to the value of the last call.
func (*RoleCountsApplyConfiguration) WithLogs ¶
func (b *RoleCountsApplyConfiguration) WithLogs(value int) *RoleCountsApplyConfiguration
WithLogs sets the Logs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Logs field is set to the value of the last call.
func (*RoleCountsApplyConfiguration) WithProxies ¶
func (b *RoleCountsApplyConfiguration) WithProxies(value int) *RoleCountsApplyConfiguration
WithProxies sets the Proxies field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Proxies field is set to the value of the last call.
func (*RoleCountsApplyConfiguration) WithRemoteLogs ¶
func (b *RoleCountsApplyConfiguration) WithRemoteLogs(value int) *RoleCountsApplyConfiguration
WithRemoteLogs sets the RemoteLogs field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RemoteLogs field is set to the value of the last call.
func (*RoleCountsApplyConfiguration) WithResolvers ¶
func (b *RoleCountsApplyConfiguration) WithResolvers(value int) *RoleCountsApplyConfiguration
WithResolvers sets the Resolvers field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resolvers field is set to the value of the last call.
func (*RoleCountsApplyConfiguration) WithStorage ¶
func (b *RoleCountsApplyConfiguration) WithStorage(value int) *RoleCountsApplyConfiguration
WithStorage sets the Storage field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Storage field is set to the value of the last call.
type RoutingConfigApplyConfiguration ¶
type RoutingConfigApplyConfiguration struct {
// Headless determines whether we want to run a headless service for the
// cluster.
HeadlessService *bool `json:"headlessService,omitempty"`
// PublicIPSource specifies what source a process should use to get its
// public IPs.
//
// This supports the values `pod` and `service`.
PublicIPSource *apiv1beta2.PublicIPSource `json:"publicIPSource,omitempty"`
// PodIPFamily tells the pod which family of IP addresses to use.
// You can use 4 to represent IPv4, and 6 to represent IPv6.
// This feature requires dual-stack support in your Kubernetes environment.
PodIPFamily *int `json:"podIPFamily,omitempty"`
// UseDNSInClusterFile determines whether to use DNS names rather than IP
// addresses to identify coordinators in the cluster file. This requires
// FoundationDB 7.0+.
UseDNSInClusterFile *bool `json:"useDNSInClusterFile,omitempty"`
// DefineDNSLocalityFields determines whether to define pod DNS names on pod
// specs and provide them in the locality arguments to fdbserver.
//
// This is ignored if UseDNSInCluster is true.
DefineDNSLocalityFields *bool `json:"defineDNSLocalityFields,omitempty"`
// DNSDomain defines the cluster domain used in a DNS name generated for a
// service.
// The default is `cluster.local`.
DNSDomain *string `json:"dnsDomain,omitempty"`
}
RoutingConfigApplyConfiguration represents a declarative configuration of the RoutingConfig type for use with apply.
RoutingConfig allows configuring routing to our pods, and services that sit in front of them.
func RoutingConfig ¶
func RoutingConfig() *RoutingConfigApplyConfiguration
RoutingConfigApplyConfiguration constructs a declarative configuration of the RoutingConfig type for use with apply.
func (*RoutingConfigApplyConfiguration) WithDNSDomain ¶
func (b *RoutingConfigApplyConfiguration) WithDNSDomain(value string) *RoutingConfigApplyConfiguration
WithDNSDomain sets the DNSDomain field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DNSDomain field is set to the value of the last call.
func (*RoutingConfigApplyConfiguration) WithDefineDNSLocalityFields ¶
func (b *RoutingConfigApplyConfiguration) WithDefineDNSLocalityFields(value bool) *RoutingConfigApplyConfiguration
WithDefineDNSLocalityFields sets the DefineDNSLocalityFields field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DefineDNSLocalityFields field is set to the value of the last call.
func (*RoutingConfigApplyConfiguration) WithHeadlessService ¶
func (b *RoutingConfigApplyConfiguration) WithHeadlessService(value bool) *RoutingConfigApplyConfiguration
WithHeadlessService sets the HeadlessService field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HeadlessService field is set to the value of the last call.
func (*RoutingConfigApplyConfiguration) WithPodIPFamily ¶
func (b *RoutingConfigApplyConfiguration) WithPodIPFamily(value int) *RoutingConfigApplyConfiguration
WithPodIPFamily sets the PodIPFamily field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PodIPFamily field is set to the value of the last call.
func (*RoutingConfigApplyConfiguration) WithPublicIPSource ¶
func (b *RoutingConfigApplyConfiguration) WithPublicIPSource(value apiv1beta2.PublicIPSource) *RoutingConfigApplyConfiguration
WithPublicIPSource sets the PublicIPSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PublicIPSource field is set to the value of the last call.
func (*RoutingConfigApplyConfiguration) WithUseDNSInClusterFile ¶
func (b *RoutingConfigApplyConfiguration) WithUseDNSInClusterFile(value bool) *RoutingConfigApplyConfiguration
WithUseDNSInClusterFile sets the UseDNSInClusterFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UseDNSInClusterFile field is set to the value of the last call.
type TaintReplacementOptionApplyConfiguration ¶
type TaintReplacementOptionApplyConfiguration struct {
// Tainted key
Key *string `json:"key,omitempty"`
// The tainted key must be present for DurationInSeconds before operator replaces pods on the node with this taint;
// DurationInSeconds cannot be a negative number.
DurationInSeconds *int64 `json:"durationInSeconds,omitempty"`
}
TaintReplacementOptionApplyConfiguration represents a declarative configuration of the TaintReplacementOption type for use with apply.
TaintReplacementOption defines the taint key and taint duration the operator will react to a tainted node Example of TaintReplacementOption - key: "example.org/maintenance" durationInSeconds: 7200 # Ensure the taint is present for at least 2 hours before replacing Pods on a node with this taint. - key: "*" # The wildcard would allow to define a catch all configuration durationInSeconds: 3600 # Ensure the taint is present for at least 1 hour before replacing Pods on a node with this taint
Setting durationInSeconds to the maximum of int64 will practically disable the taint key. When a Node taint key matches both an exact TaintReplacementOption key and a wildcard key, the exact matched key will be used.
func TaintReplacementOption ¶
func TaintReplacementOption() *TaintReplacementOptionApplyConfiguration
TaintReplacementOptionApplyConfiguration constructs a declarative configuration of the TaintReplacementOption type for use with apply.
func (*TaintReplacementOptionApplyConfiguration) WithDurationInSeconds ¶
func (b *TaintReplacementOptionApplyConfiguration) WithDurationInSeconds(value int64) *TaintReplacementOptionApplyConfiguration
WithDurationInSeconds sets the DurationInSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DurationInSeconds field is set to the value of the last call.
func (*TaintReplacementOptionApplyConfiguration) WithKey ¶
func (b *TaintReplacementOptionApplyConfiguration) WithKey(value string) *TaintReplacementOptionApplyConfiguration
WithKey sets the Key field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Key field is set to the value of the last call.
type VersionFlagsApplyConfiguration ¶
type VersionFlagsApplyConfiguration struct {
LogSpill *int `json:"log_spill,omitempty"`
LogVersion *int `json:"log_version,omitempty"`
}
VersionFlagsApplyConfiguration represents a declarative configuration of the VersionFlags type for use with apply.
VersionFlags defines internal flags for new features in the database.
func VersionFlags ¶
func VersionFlags() *VersionFlagsApplyConfiguration
VersionFlagsApplyConfiguration constructs a declarative configuration of the VersionFlags type for use with apply.
func (*VersionFlagsApplyConfiguration) WithLogSpill ¶
func (b *VersionFlagsApplyConfiguration) WithLogSpill(value int) *VersionFlagsApplyConfiguration
WithLogSpill sets the LogSpill field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogSpill field is set to the value of the last call.
func (*VersionFlagsApplyConfiguration) WithLogVersion ¶
func (b *VersionFlagsApplyConfiguration) WithLogVersion(value int) *VersionFlagsApplyConfiguration
WithLogVersion sets the LogVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogVersion field is set to the value of the last call.
Source Files
¶
- automaticreplacementoptions.go
- backupgenerationstatus.go
- blobstoreconfiguration.go
- buggifyconfig.go
- clustergenerationstatus.go
- clusterhealth.go
- connectionstring.go
- containeroverrides.go
- coordinatorselectionsetting.go
- crashloopcontainerobject.go
- databaseconfiguration.go
- datacenter.go
- excludedservers.go
- foundationdbbackup.go
- foundationdbbackupspec.go
- foundationdbbackupstatus.go
- foundationdbbackupstatusbackupdetails.go
- foundationdbcluster.go
- foundationdbclusterautomationoptions.go
- foundationdbclusterfaultdomain.go
- foundationdbclusterspec.go
- foundationdbclusterstatus.go
- foundationdbkeyrange.go
- foundationdbrestore.go
- foundationdbrestorespec.go
- foundationdbrestorestatus.go
- imageconfig.go
- labelconfig.go
- lockdenylistentry.go
- lockoptions.go
- locksystemstatus.go
- maintenancemodeinfo.go
- maintenancemodeoptions.go
- processcounts.go
- processgroupcondition.go
- processgroupstatus.go
- processsettings.go
- region.go
- requiredaddressset.go
- rolecounts.go
- routingconfig.go
- taintreplacementoption.go
- versionflags.go