Documentation
¶
Index ¶
- func GetExtensionKey(pgMajor int, name, version string) string
- func Install(key, archivePath, extensionPath string) error
- func InstallerContainer(cr *pgv2.PerconaPGCluster, postgresVersion int, spec *pgv2.ExtensionsSpec, ...) corev1.Container
- func RelocatorContainer(cr *pgv2.PerconaPGCluster, image string, imagePullPolicy corev1.PullPolicy, ...) corev1.Container
- func Uninstall(archivePath string) error
- func VolumeMounts(postgresVersion int) []corev1.VolumeMount
- type ObjectGetter
- type S3
- type StorageType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExtensionKey ¶
func InstallerContainer ¶
func InstallerContainer(cr *pgv2.PerconaPGCluster, postgresVersion int, spec *pgv2.ExtensionsSpec, extensions string, openshift *bool) corev1.Container
func RelocatorContainer ¶
func RelocatorContainer(cr *pgv2.PerconaPGCluster, image string, imagePullPolicy corev1.PullPolicy, postgresVersion int) corev1.Container
RelocatorContainer returns a container that will relocate extensions from the base image (i.e. pg_stat_monitor, pg_audit) to the data directory so we don't lose them when user adds a custom extension.
func VolumeMounts ¶
func VolumeMounts(postgresVersion int) []corev1.VolumeMount
Types ¶
type ObjectGetter ¶
type ObjectGetter interface {
// Get returns the object stored at the given path.
Get(key string) (io.ReadCloser, error)
}
Click to show internal directories.
Click to hide internal directories.