MCPcopy Create free account
hub / github.com/cloudnative-pg/cloudnative-pg / WithNamespace

Method WithNamespace

pkg/management/postgres/instance.go:458–461  ·  view source on GitHub ↗

WithNamespace specifies the namespace for this Instance

(namespace string)

Source from the content-addressed store, hash-verified

456
457// WithNamespace specifies the namespace for this Instance
458func (instance *Instance) WithNamespace(namespace string) *Instance {
459 instance.namespace = namespace
460 return instance
461}
462
463// WithPodName specifies the pod name for this Instance
464func (instance *Instance) WithPodName(podName string) *Instance {

Callers 15

cache_test.goFile · 0.80
NewCmdFunction · 0.80
NewCmdFunction · 0.80
NewCmdFunction · 0.80
NewCmdFunction · 0.80
NewCmdFunction · 0.80
runnable_test.goFile · 0.80

Calls

no outgoing calls

Tested by 1