Go types for the CloudNativePG
custom resources (Cluster, Backup, ScheduledBackup, Pooler,
Database, Publication, Subscription, image catalogs, and others), API
group postgresql.cnpg.io/v1.
Import it to read or write CloudNativePG resources from your own Go code, such as a controller, a tool, or a test, without depending on the whole operator:
import apiv1 "github.com/cloudnative-pg/api/pkg/api/v1"This repository is a read-only mirror. The source of truth is the api/
directory of the
cloudnative-pg/cloudnative-pg
repository.
- Every push to
mainin the operator repository triggers a sync that updates this repository. - Tags are propagated only for the
.0release of each minor version and its release candidates, because only those are cut frommain. Patch releases come from release branches, whose API may differ frommain.
Do not open pull requests with API changes here. Send them to the operator repository, they are synced back automatically.
