MCPcopy
hub / github.com/zalando/postgres-operator / StringToPointer

Function StringToPointer

pkg/util/k8sutil/k8sutil.go:41–43  ·  view source on GitHub ↗
(str string)

Source from the content-addressed store, hash-verified

39}
40
41func StringToPointer(str string) *string {
42 return &str
43}
44
45// KubernetesClient describes getters for Kubernetes objects
46type KubernetesClient struct {

Callers 14

streams_test.goFile · 0.92
TestPoolerTLSFunction · 0.92
TestNodeAffinityFunction · 0.92
TestPodAffinityFunction · 0.92
TestTLSFunction · 0.92
TestAdditionalVolumeFunction · 0.92
TestVolumeSelectorFunction · 0.92
TestSidecarsFunction · 0.92
TestGenerateServiceFunction · 0.92
TestEnableLoadBalancersFunction · 0.92

Calls

no outgoing calls

Tested by 13

TestPoolerTLSFunction · 0.74
TestNodeAffinityFunction · 0.74
TestPodAffinityFunction · 0.74
TestTLSFunction · 0.74
TestAdditionalVolumeFunction · 0.74
TestVolumeSelectorFunction · 0.74
TestSidecarsFunction · 0.74
TestGenerateServiceFunction · 0.74
TestEnableLoadBalancersFunction · 0.74