Defines GroupVersion and SchemeBuilder for postgres-operator v1beta1 API registration.
// Source: https://github.com/CrunchyData/postgres-operator | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// Copyright 2021 - 2026 Crunchy Data Solutions, Inc.
//
// SPDX-License-Identifier: Apache-2.0
// Package v1beta1 contains API Schema definitions for the postgres-operator v1beta1 API group
// +kubebuilder:object:generate=true
// +groupName=postgres-operator.crunchydata.com
package v1beta1
import (
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/controller-runtime/pkg/scheme"
)
var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "postgres-operator.crunchydata.com", Version: "v1beta1"}
// SchemeBuilde
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key