v1beta2

package
v2.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"`
	// DatabaseUnavailable provides the last generation that could not
	// 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*FoundationDBBackupApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*FoundationDBClusterApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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"`
	// MaxZonesWithUnavailablePods defines the maximum number of zones that can have unavailable pods during the update process.
	// 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

GetKind retrieves the value of the Kind field in the declarative configuration.

func (*FoundationDBRestoreApplyConfiguration) GetName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL