namespace.go ×3

Frontier kind: Code frontier

unlabeled · c_adf8e6422862

2 tests · 3928 LOC · 198 files · introduces 0 tests · 19 LOC · 3 files

Introduces — evidence that enters the hierarchy at this concept

Code
5 ranges19 lines · 3 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
578 ranges3928 lines · 198 files · Browse complete extent
All tests (intent)
2 testsBrowse complete intent

Neighbourhood graph

The orange circle is the focus. Violet and green circles are every ancestor and descendant, broader and narrower, at any distance; blue squares and pink diamonds are the introduced files and exact introduced tests of every visible concept, not only the focus's. Arrows point from broader to narrower concepts and bridge only concepts omitted from this view. Undirected links show source or test introduction. Concept and file size follows LOC; exact test nodes use test-count units.

Introduced files, introduced tests, and structurally relevant concept specialization

In the embedded map, ordinary wheel input scrolls the page; use the visible controls to zoom and drag to pan. Open the full-screen map for canvas navigation: wheel pans, Ctrl/Command plus wheel zooms, and arrow keys pan when this region is focused. On touch screens, open the full-screen map to pan or pinch. If JavaScript or WebGL is unavailable, use the native relationship evidence on this page.

Graph controls are ready.

Interactive rendering requires JavaScript and WebGL. Use the native relationship evidence on this page while the interactive map is unavailable.

Native relationship evidence

Every exact file and test below is linked only from the concept that introduces it.

Introduced tests

Every collected test enters the hierarchy at exactly one concept.

No tests are introduced at this concept. Its intent tests are introduced by other concepts.

Introduced code

Every collected source range enters the hierarchy at exactly one concept.

3 files ranked by introduced lines: 19 introduced LOC across 5 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/common/namespace/namespace.go 9 introduced LOC · 3 ranges

Open complete file

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
go.temporal.io/server/service/frontend/namespace_handler.go 7 introduced LOC · 1 range

Open complete file

366 }
367
368 > response := &workflowservice.DescribeNamespaceResponse{ namespace_handler.go
369 > IsGlobalNamespace: ns.IsGlobalNamespace(),
370 > FailoverVersion: ns.FailoverVersion(namespace.EmptyBusinessID),
371 > }
372 > response.NamespaceInfo, response.Config, response.ReplicationConfig, response.FailoverHistory =
373 > d.createResponse(ns.Info(), ns.Config(), ns.ReplicationConfig())
374 > return response, nil
375 }
376
go.temporal.io/server/common/namespace/replication_resolver.go 3 introduced LOC · 1 range

Open complete file

108 }
109
110 > func (r *defaultReplicationResolver) ReplicationConfig() *persistencespb.NamespaceReplicationConfig { replication_resolver.go
111 > return r.replicationConfig
112 > }
113
114 func (r *defaultReplicationResolver) SetGlobalFlag(isGlobal bool) {