Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CrunchyData/postgres-operator
/ Pointer
Function
Pointer
internal/initialize/primitives.go:36–36 ·
view source on GitHub ↗
Pointer returns a pointer to v.
(v T)
Source
from the content-addressed store, hash-verified
34
35
// Pointer returns a pointer to v.
36
func
Pointer[T any](v T) *T {
return
&v }
37
38
// Pointers returns a slice of pointers to the items in v.
39
func
Pointers[T any](v ...T) []*T {
Callers
15
setControllerReference
Method · 0.92
TestGenerateUpgradeJob
Function · 0.92
TestGenerateRemoveDataJob
Function · 0.92
TestReconcileInstanceSetPodDisruptionBudget
Function · 0.92
TestCleanupDisruptionBudgets
Function · 0.92
TestGeneratePodDisruptionBudget
Function · 0.92
TestGetMinAvailable
Function · 0.92
generatePGBouncerDeployment
Method · 0.92
TestReconcilePGBouncerDisruptionBudget
Function · 0.92
getMinAvailable
Function · 0.92
podConfigFiles
Function · 0.92
clusterYAML
Function · 0.92
Calls
no outgoing calls
Tested by
10
TestGenerateUpgradeJob
Function · 0.74
TestGenerateRemoveDataJob
Function · 0.74
TestReconcileInstanceSetPodDisruptionBudget
Function · 0.74
TestCleanupDisruptionBudgets
Function · 0.74
TestGeneratePodDisruptionBudget
Function · 0.74
TestGetMinAvailable
Function · 0.74
TestReconcilePGBouncerDisruptionBudget
Function · 0.74
TestFromPointer
Function · 0.74
TestPointer
Function · 0.74
TestGetAutoGrowFromRepo
Function · 0.74