extensions

package
v1.29.0 Latest Latest
Warning

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

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

Documentation

Overview

Package extensions provides utilities for resolving PostgreSQL extension configurations from image catalogs and cluster specifications

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveFromCatalog

func ResolveFromCatalog(
	cluster *apiv1.Cluster,
	catalog apiv1.GenericImageCatalog,
	requestedMajorVersion int,
) ([]apiv1.ExtensionConfiguration, error)

ResolveFromCatalog returns a list of requested Extensions from a Catalog for a given Postgres major version. If present, extension entries present in the catalog are always used as a starting base. If additional configuration is passed via `cluster.Spec.PostgresConfiguration.Extensions` for an extension that's already defined in the catalog, the values defined in the Cluster take precedence.

func ValidateWithoutCatalog

func ValidateWithoutCatalog(cluster *apiv1.Cluster) ([]apiv1.ExtensionConfiguration, error)

ValidateWithoutCatalog returns extensions when cluster uses imageName directly. In this case, all extensions must be fully specified in the cluster spec.

Types

This section is empty.

Jump to

Keyboard shortcuts

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