230
// Info returns the underlying NamespaceInfo proto. The returned value is the registry's own
231
// copy and must not be mutated.
232
>
func (ns *Namespace) Info() *persistencespb.NamespaceInfo {
namespace.go
233
>
return ns.info
234
>
}
235
236
// Config returns the underlying NamespaceConfig proto. The returned value is the registry's own
237
// copy and must not be mutated.
238
>
func (ns *Namespace) Config() *persistencespb.NamespaceConfig {
namespace.go
239
>
return ns.config
240
>
}
241
242
// ReplicationConfig returns the underlying NamespaceReplicationConfig proto. The returned value
243
// is the registry's own copy and must not be mutated.
244
>
func (ns *Namespace) ReplicationConfig() *persistencespb.NamespaceReplicationConfig {
namespace.go
245
>
return ns.replicationResolver.ReplicationConfig()
246
>
}
247
248
// NotificationVersion return the global notification version of when namespace changed