mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-03 10:23:10 +02:00
turn optional stream fields to pointers
This commit is contained in:
@@ -37,6 +37,14 @@ func Int32ToPointer(value int32) *int32 {
|
||||
return &value
|
||||
}
|
||||
|
||||
func UInt32ToPointer(value uint32) *uint32 {
|
||||
return &value
|
||||
}
|
||||
|
||||
func StringPointer(str string) *string {
|
||||
return &str
|
||||
}
|
||||
|
||||
// KubernetesClient describes getters for Kubernetes objects
|
||||
type KubernetesClient struct {
|
||||
corev1.SecretsGetter
|
||||
|
||||
Reference in New Issue
Block a user