acid.v1.postgresql
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withAdditionalVolumes(additionalVolumes)
fn withAdditionalVolumesMixin(additionalVolumes)
fn withAllowedSourceRanges(allowedSourceRanges)
fn withAllowedSourceRangesMixin(allowedSourceRanges)
fn withDatabases(databases)
fn withDatabasesMixin(databases)
fn withDockerImage(dockerImage)
fn withEnableConnectionPooler(enableConnectionPooler)
fn withEnableLogicalBackup(enableLogicalBackup)
fn withEnableMasterLoadBalancer(enableMasterLoadBalancer)
fn withEnableMasterPoolerLoadBalancer(enableMasterPoolerLoadBalancer)
fn withEnableReplicaConnectionPooler(enableReplicaConnectionPooler)
fn withEnableReplicaLoadBalancer(enableReplicaLoadBalancer)
fn withEnableReplicaPoolerLoadBalancer(enableReplicaPoolerLoadBalancer)
fn withEnableShmVolume(enableShmVolume)
fn withEnv(env)
fn withEnvMixin(env)
fn withInitContainers(initContainers)
fn withInitContainersMixin(initContainers)
fn withInit_containers(init_containers)
fn withInit_containersMixin(init_containers)
fn withLogicalBackupRetention(logicalBackupRetention)
fn withLogicalBackupSchedule(logicalBackupSchedule)
fn withMaintenanceWindows(maintenanceWindows)
fn withMaintenanceWindowsMixin(maintenanceWindows)
fn withMasterServiceAnnotations(masterServiceAnnotations)
fn withMasterServiceAnnotationsMixin(masterServiceAnnotations)
fn withNumberOfInstances(numberOfInstances)
fn withPodAnnotations(podAnnotations)
fn withPodAnnotationsMixin(podAnnotations)
fn withPodPriorityClassName(podPriorityClassName)
fn withPod_priority_class_name(pod_priority_class_name)
fn withPreparedDatabases(preparedDatabases)
fn withPreparedDatabasesMixin(preparedDatabases)
fn withReplicaLoadBalancer(replicaLoadBalancer)
fn withReplicaServiceAnnotations(replicaServiceAnnotations)
fn withReplicaServiceAnnotationsMixin(replicaServiceAnnotations)
fn withSchedulerName(schedulerName)
fn withServiceAnnotations(serviceAnnotations)
fn withServiceAnnotationsMixin(serviceAnnotations)
fn withSidecars(sidecars)
fn withSidecarsMixin(sidecars)
fn withSpiloFSGroup(spiloFSGroup)
fn withSpiloRunAsGroup(spiloRunAsGroup)
fn withSpiloRunAsUser(spiloRunAsUser)
fn withStreams(streams)
fn withStreamsMixin(streams)
fn withTeamId(teamId)
fn withTolerations(tolerations)
fn withTolerationsMixin(tolerations)
fn withUseLoadBalancer(useLoadBalancer)
fn withUsers(users)
fn withUsersIgnoringSecretRotation(usersIgnoringSecretRotation)
fn withUsersIgnoringSecretRotationMixin(usersIgnoringSecretRotation)
fn withUsersMixin(users)
fn withUsersWithInPlaceSecretRotation(usersWithInPlaceSecretRotation)
fn withUsersWithInPlaceSecretRotationMixin(usersWithInPlaceSecretRotation)
fn withUsersWithSecretRotation(usersWithSecretRotation)
fn withUsersWithSecretRotationMixin(usersWithSecretRotation)
obj spec.additionalVolumes
obj spec.clone
obj spec.connectionPooler
obj spec.nodeAffinity
fn withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn withWeight(weight)
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference
fn withMatchExpressions(matchExpressions)
fn withMatchExpressionsMixin(matchExpressions)
fn withMatchFields(matchFields)
fn withMatchFieldsMixin(matchFields)
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn withNodeSelectorTerms(nodeSelectorTerms)
fn withNodeSelectorTermsMixin(nodeSelectorTerms)
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
fn withMatchExpressions(matchExpressions)
fn withMatchExpressionsMixin(matchExpressions)
fn withMatchFields(matchFields)
fn withMatchFieldsMixin(matchFields)
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields
obj spec.patroni
fn withFailsafe_mode(failsafe_mode)
fn withInitdb(initdb)
fn withInitdbMixin(initdb)
fn withLoop_wait(loop_wait)
fn withMaximum_lag_on_failover(maximum_lag_on_failover)
fn withPg_hba(pg_hba)
fn withPg_hbaMixin(pg_hba)
fn withRetry_timeout(retry_timeout)
fn withSlots(slots)
fn withSlotsMixin(slots)
fn withSynchronous_mode(synchronous_mode)
fn withSynchronous_mode_strict(synchronous_mode_strict)
fn withSynchronous_node_count(synchronous_node_count)
fn withTtl(ttl)
obj spec.postgresql
obj spec.resources
obj spec.standby
obj spec.streams
obj spec.tls
obj spec.tolerations
obj spec.volume
Fields
fn new
new(name)
new returns an instance of Postgresql
obj metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj spec
fn spec.withAdditionalVolumes
withAdditionalVolumes(additionalVolumes)
fn spec.withAdditionalVolumesMixin
withAdditionalVolumesMixin(additionalVolumes)
Note: This function appends passed data to existing values
fn spec.withAllowedSourceRanges
withAllowedSourceRanges(allowedSourceRanges)
fn spec.withAllowedSourceRangesMixin
withAllowedSourceRangesMixin(allowedSourceRanges)
Note: This function appends passed data to existing values
fn spec.withDatabases
withDatabases(databases)
fn spec.withDatabasesMixin
withDatabasesMixin(databases)
Note: This function appends passed data to existing values
fn spec.withDockerImage
withDockerImage(dockerImage)
fn spec.withEnableConnectionPooler
withEnableConnectionPooler(enableConnectionPooler)
fn spec.withEnableLogicalBackup
withEnableLogicalBackup(enableLogicalBackup)
fn spec.withEnableMasterLoadBalancer
withEnableMasterLoadBalancer(enableMasterLoadBalancer)
fn spec.withEnableMasterPoolerLoadBalancer
withEnableMasterPoolerLoadBalancer(enableMasterPoolerLoadBalancer)
fn spec.withEnableReplicaConnectionPooler
withEnableReplicaConnectionPooler(enableReplicaConnectionPooler)
fn spec.withEnableReplicaLoadBalancer
withEnableReplicaLoadBalancer(enableReplicaLoadBalancer)
fn spec.withEnableReplicaPoolerLoadBalancer
withEnableReplicaPoolerLoadBalancer(enableReplicaPoolerLoadBalancer)
fn spec.withEnableShmVolume
withEnableShmVolume(enableShmVolume)
fn spec.withEnv
withEnv(env)
fn spec.withEnvMixin
withEnvMixin(env)
Note: This function appends passed data to existing values
fn spec.withInitContainers
withInitContainers(initContainers)
fn spec.withInitContainersMixin
withInitContainersMixin(initContainers)
Note: This function appends passed data to existing values
fn spec.withInit_containers
withInit_containers(init_containers)
"deprecated"
fn spec.withInit_containersMixin
withInit_containersMixin(init_containers)
"deprecated"
Note: This function appends passed data to existing values
fn spec.withLogicalBackupRetention
withLogicalBackupRetention(logicalBackupRetention)
fn spec.withLogicalBackupSchedule
withLogicalBackupSchedule(logicalBackupSchedule)
fn spec.withMaintenanceWindows
withMaintenanceWindows(maintenanceWindows)
fn spec.withMaintenanceWindowsMixin
withMaintenanceWindowsMixin(maintenanceWindows)
Note: This function appends passed data to existing values
fn spec.withMasterServiceAnnotations
withMasterServiceAnnotations(masterServiceAnnotations)
fn spec.withMasterServiceAnnotationsMixin
withMasterServiceAnnotationsMixin(masterServiceAnnotations)
Note: This function appends passed data to existing values
fn spec.withNumberOfInstances
withNumberOfInstances(numberOfInstances)
fn spec.withPodAnnotations
withPodAnnotations(podAnnotations)
fn spec.withPodAnnotationsMixin
withPodAnnotationsMixin(podAnnotations)
Note: This function appends passed data to existing values
fn spec.withPodPriorityClassName
withPodPriorityClassName(podPriorityClassName)
fn spec.withPod_priority_class_name
withPod_priority_class_name(pod_priority_class_name)
"deprecated"
fn spec.withPreparedDatabases
withPreparedDatabases(preparedDatabases)
fn spec.withPreparedDatabasesMixin
withPreparedDatabasesMixin(preparedDatabases)
Note: This function appends passed data to existing values
fn spec.withReplicaLoadBalancer
withReplicaLoadBalancer(replicaLoadBalancer)
"deprecated"
fn spec.withReplicaServiceAnnotations
withReplicaServiceAnnotations(replicaServiceAnnotations)
fn spec.withReplicaServiceAnnotationsMixin
withReplicaServiceAnnotationsMixin(replicaServiceAnnotations)
Note: This function appends passed data to existing values
fn spec.withSchedulerName
withSchedulerName(schedulerName)
fn spec.withServiceAnnotations
withServiceAnnotations(serviceAnnotations)
fn spec.withServiceAnnotationsMixin
withServiceAnnotationsMixin(serviceAnnotations)
Note: This function appends passed data to existing values
fn spec.withSidecars
withSidecars(sidecars)
fn spec.withSidecarsMixin
withSidecarsMixin(sidecars)
Note: This function appends passed data to existing values
fn spec.withSpiloFSGroup
withSpiloFSGroup(spiloFSGroup)
fn spec.withSpiloRunAsGroup
withSpiloRunAsGroup(spiloRunAsGroup)
fn spec.withSpiloRunAsUser
withSpiloRunAsUser(spiloRunAsUser)
fn spec.withStreams
withStreams(streams)
fn spec.withStreamsMixin
withStreamsMixin(streams)
Note: This function appends passed data to existing values
fn spec.withTeamId
withTeamId(teamId)
fn spec.withTolerations
withTolerations(tolerations)
fn spec.withTolerationsMixin
withTolerationsMixin(tolerations)
Note: This function appends passed data to existing values
fn spec.withUseLoadBalancer
withUseLoadBalancer(useLoadBalancer)
"deprecated"
fn spec.withUsers
withUsers(users)
fn spec.withUsersIgnoringSecretRotation
withUsersIgnoringSecretRotation(usersIgnoringSecretRotation)
fn spec.withUsersIgnoringSecretRotationMixin
withUsersIgnoringSecretRotationMixin(usersIgnoringSecretRotation)
Note: This function appends passed data to existing values
fn spec.withUsersMixin
withUsersMixin(users)
Note: This function appends passed data to existing values
fn spec.withUsersWithInPlaceSecretRotation
withUsersWithInPlaceSecretRotation(usersWithInPlaceSecretRotation)
fn spec.withUsersWithInPlaceSecretRotationMixin
withUsersWithInPlaceSecretRotationMixin(usersWithInPlaceSecretRotation)
Note: This function appends passed data to existing values
fn spec.withUsersWithSecretRotation
withUsersWithSecretRotation(usersWithSecretRotation)
fn spec.withUsersWithSecretRotationMixin
withUsersWithSecretRotationMixin(usersWithSecretRotation)
Note: This function appends passed data to existing values
obj spec.additionalVolumes
fn spec.additionalVolumes.withIsSubPathExpr
withIsSubPathExpr(isSubPathExpr)
fn spec.additionalVolumes.withMountPath
withMountPath(mountPath)
fn spec.additionalVolumes.withName
withName(name)
fn spec.additionalVolumes.withSubPath
withSubPath(subPath)
fn spec.additionalVolumes.withTargetContainers
withTargetContainers(targetContainers)
fn spec.additionalVolumes.withTargetContainersMixin
withTargetContainersMixin(targetContainers)
Note: This function appends passed data to existing values
fn spec.additionalVolumes.withVolumeSource
withVolumeSource(volumeSource)
fn spec.additionalVolumes.withVolumeSourceMixin
withVolumeSourceMixin(volumeSource)
Note: This function appends passed data to existing values
obj spec.clone
fn spec.clone.withCluster
withCluster(cluster)
fn spec.clone.withS3_access_key_id
withS3_access_key_id(s3_access_key_id)
fn spec.clone.withS3_endpoint
withS3_endpoint(s3_endpoint)
fn spec.clone.withS3_force_path_style
withS3_force_path_style(s3_force_path_style)
fn spec.clone.withS3_secret_access_key
withS3_secret_access_key(s3_secret_access_key)
fn spec.clone.withS3_wal_path
withS3_wal_path(s3_wal_path)
fn spec.clone.withTimestamp
withTimestamp(timestamp)
fn spec.clone.withUid
withUid(uid)
obj spec.connectionPooler
fn spec.connectionPooler.withDockerImage
withDockerImage(dockerImage)
fn spec.connectionPooler.withMaxDBConnections
withMaxDBConnections(maxDBConnections)
fn spec.connectionPooler.withMode
withMode(mode)
fn spec.connectionPooler.withNumberOfInstances
withNumberOfInstances(numberOfInstances)
fn spec.connectionPooler.withSchema
withSchema(schema)
fn spec.connectionPooler.withUser
withUser(user)
obj spec.connectionPooler.resources
obj spec.connectionPooler.resources.limits
fn spec.connectionPooler.resources.limits.withCpu
withCpu(cpu)
fn spec.connectionPooler.resources.limits.withMemory
withMemory(memory)
obj spec.connectionPooler.resources.requests
fn spec.connectionPooler.resources.requests.withCpu
withCpu(cpu)
fn spec.connectionPooler.resources.requests.withMemory
withMemory(memory)
obj spec.nodeAffinity
fn spec.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecution
withPreferredDuringSchedulingIgnoredDuringExecution(preferredDuringSchedulingIgnoredDuringExecution)
fn spec.nodeAffinity.withPreferredDuringSchedulingIgnoredDuringExecutionMixin
withPreferredDuringSchedulingIgnoredDuringExecutionMixin(preferredDuringSchedulingIgnoredDuringExecution)
Note: This function appends passed data to existing values
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.withWeight
withWeight(weight)
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchFields
withMatchFields(matchFields)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.withMatchFieldsMixin
withMatchFieldsMixin(matchFields)
Note: This function appends passed data to existing values
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withKey
withKey(key)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withOperator
withOperator(operator)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withValues
withValues(values)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withKey
withKey(key)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withOperator
withOperator(operator)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withValues
withValues(values)
fn spec.nodeAffinity.preferredDuringSchedulingIgnoredDuringExecution.preference.matchFields.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTerms
withNodeSelectorTerms(nodeSelectorTerms)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.withNodeSelectorTermsMixin
withNodeSelectorTermsMixin(nodeSelectorTerms)
Note: This function appends passed data to existing values
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchFields
withMatchFields(matchFields)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.withMatchFieldsMixin
withMatchFieldsMixin(matchFields)
Note: This function appends passed data to existing values
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withKey
withKey(key)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withOperator
withOperator(operator)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withValues
withValues(values)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withKey
withKey(key)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withOperator
withOperator(operator)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withValues
withValues(values)
fn spec.nodeAffinity.requiredDuringSchedulingIgnoredDuringExecution.nodeSelectorTerms.matchFields.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values
obj spec.patroni
fn spec.patroni.withFailsafe_mode
withFailsafe_mode(failsafe_mode)
fn spec.patroni.withInitdb
withInitdb(initdb)
fn spec.patroni.withInitdbMixin
withInitdbMixin(initdb)
Note: This function appends passed data to existing values
fn spec.patroni.withLoop_wait
withLoop_wait(loop_wait)
fn spec.patroni.withMaximum_lag_on_failover
withMaximum_lag_on_failover(maximum_lag_on_failover)
fn spec.patroni.withPg_hba
withPg_hba(pg_hba)
fn spec.patroni.withPg_hbaMixin
withPg_hbaMixin(pg_hba)
Note: This function appends passed data to existing values
fn spec.patroni.withRetry_timeout
withRetry_timeout(retry_timeout)
fn spec.patroni.withSlots
withSlots(slots)
fn spec.patroni.withSlotsMixin
withSlotsMixin(slots)
Note: This function appends passed data to existing values
fn spec.patroni.withSynchronous_mode
withSynchronous_mode(synchronous_mode)
fn spec.patroni.withSynchronous_mode_strict
withSynchronous_mode_strict(synchronous_mode_strict)
fn spec.patroni.withSynchronous_node_count
withSynchronous_node_count(synchronous_node_count)
fn spec.patroni.withTtl
withTtl(ttl)
obj spec.postgresql
fn spec.postgresql.withParameters
withParameters(parameters)
fn spec.postgresql.withParametersMixin
withParametersMixin(parameters)
Note: This function appends passed data to existing values
fn spec.postgresql.withVersion
withVersion(version)
obj spec.resources
obj spec.resources.limits
fn spec.resources.limits.withCpu
withCpu(cpu)
fn spec.resources.limits.withHugepages-1Gi
withHugepages-1Gi(hugepages_1Gi)
fn spec.resources.limits.withHugepages-2Mi
withHugepages-2Mi(hugepages_2Mi)
fn spec.resources.limits.withMemory
withMemory(memory)
obj spec.resources.requests
fn spec.resources.requests.withCpu
withCpu(cpu)
fn spec.resources.requests.withHugepages-1Gi
withHugepages-1Gi(hugepages_1Gi)
fn spec.resources.requests.withHugepages-2Mi
withHugepages-2Mi(hugepages_2Mi)
fn spec.resources.requests.withMemory
withMemory(memory)
obj spec.standby
fn spec.standby.withGs_wal_path
withGs_wal_path(gs_wal_path)
fn spec.standby.withS3_wal_path
withS3_wal_path(s3_wal_path)
fn spec.standby.withStandby_host
withStandby_host(standby_host)
fn spec.standby.withStandby_port
withStandby_port(standby_port)
obj spec.streams
fn spec.streams.withApplicationId
withApplicationId(applicationId)
fn spec.streams.withBatchSize
withBatchSize(batchSize)
fn spec.streams.withDatabase
withDatabase(database)
fn spec.streams.withEnableRecovery
withEnableRecovery(enableRecovery)
fn spec.streams.withFilter
withFilter(filter)
fn spec.streams.withFilterMixin
withFilterMixin(filter)
Note: This function appends passed data to existing values
fn spec.streams.withTables
withTables(tables)
fn spec.streams.withTablesMixin
withTablesMixin(tables)
Note: This function appends passed data to existing values
obj spec.tls
fn spec.tls.withCaFile
withCaFile(caFile)
fn spec.tls.withCaSecretName
withCaSecretName(caSecretName)
fn spec.tls.withCertificateFile
withCertificateFile(certificateFile)
fn spec.tls.withPrivateKeyFile
withPrivateKeyFile(privateKeyFile)
fn spec.tls.withSecretName
withSecretName(secretName)
obj spec.tolerations
fn spec.tolerations.withEffect
withEffect(effect)
fn spec.tolerations.withKey
withKey(key)
fn spec.tolerations.withOperator
withOperator(operator)
fn spec.tolerations.withTolerationSeconds
withTolerationSeconds(tolerationSeconds)
fn spec.tolerations.withValue
withValue(value)
obj spec.volume
fn spec.volume.withIops
withIops(iops)
fn spec.volume.withIsSubPathExpr
withIsSubPathExpr(isSubPathExpr)
fn spec.volume.withSize
withSize(size)
fn spec.volume.withStorageClass
withStorageClass(storageClass)
fn spec.volume.withSubPath
withSubPath(subPath)
fn spec.volume.withThroughput
withThroughput(throughput)
obj spec.volume.selector
fn spec.volume.selector.withMatchExpressions
withMatchExpressions(matchExpressions)
fn spec.volume.selector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
Note: This function appends passed data to existing values
fn spec.volume.selector.withMatchLabels
withMatchLabels(matchLabels)
fn spec.volume.selector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
Note: This function appends passed data to existing values
obj spec.volume.selector.matchExpressions
fn spec.volume.selector.matchExpressions.withKey
withKey(key)
fn spec.volume.selector.matchExpressions.withOperator
withOperator(operator)
fn spec.volume.selector.matchExpressions.withValues
withValues(values)
fn spec.volume.selector.matchExpressions.withValuesMixin
withValuesMixin(values)
Note: This function appends passed data to existing values