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

Method GetNamespace

api/v1/backup_funcs.go:239–241  ·  view source on GitHub ↗

GetNamespace get the backup namespace

()

Source from the content-addressed store, hash-verified

237
238// GetNamespace get the backup namespace
239func (backup *Backup) GetNamespace() string {
240 return backup.Namespace
241}
242
243// GetAssignedInstance fetches the instance that was assigned to the backup execution
244func (backup *Backup) GetAssignedInstance(ctx context.Context, cli client.Client) (*corev1.Pod, error) {

Implementers 3

pgDataCalculatorpkg/reconciler/persistentvolumeclaim/c
pgWalCalculatorpkg/reconciler/persistentvolumeclaim/c
pgTablespaceCalculatorpkg/reconciler/persistentvolumeclaim/c

Calls

no outgoing calls

Tested by 3

reconcilePublicationFunction · 0.36
reconcileSubscriptionFunction · 0.36
reconcileDatabaseFunction · 0.36