package
0.0.0-20240418082707-ea5f3670260e
Repository: https://github.com/ivorysql/ivory-operator.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AdditionalConfigVolumeMount returns the name and mount path of the additional config files.
ConfigDirectory returns the absolute path to $IVYDATA for cluster.
CreateDatabasesInIvorySQL calls exec to create databases that do not exist in IvorySQL.
DataDirectory returns the absolute path to the "data_directory" of cluster.
DataVolumeMount returns the name and mount path of the IvorySQL data volume.
DownwardAPIVolumeMount returns the name and mount path of the DownwardAPI volume.
Environment returns the environment variables required to invoke IvorySQL utilities.
InstancePod initializes outInstancePod with the database container and the volumes needed by IvorySQL.
NewHBA returns an HBA record that matches all databases, networks, and users.
NewHBAs returns HostBasedAuthentication records required by this package.
NewParameters returns ParameterSets required by this package.
NewParameterSet returns an empty ParameterSet.
PodSecurityContext returns a v1.PodSecurityContext for cluster that can write to PersistentVolumes.
This function looks for a valid huge_pages resource request.
TablespaceVolumeMount returns the name and mount path of the IvorySQL tablespace data volume.
WALDirectory returns the absolute path to the directory where an instance stores its WAL files.
WALVolumeMount returns the name and mount path of the IvorySQL WAL volume.
WriteUsersInIvorySQL calls exec to create users that do not exist in IvorySQL.

# Constants

IANAPortNumber is the port assigned to IvorySQL at the IANA.
IANAServiceName is the name of the IvorySQL protocol at the IANA.
ReplicationUser is the IvorySQL role that will be created by Patroni for streaming replication and for `pg_rewind`.
SocketDirectory is where to bind and connect to UNIX sockets.

# Structs

HBAs is a pairing of HostBasedAuthentication records.
HostBasedAuthentication represents a single record for pg_hba.conf.
Parameters is a pairing of ParameterSets.
ParameterSet is a collection of IvorySQL parameters.

# Type aliases

Executor provides methods for calling "psql".