request_response.pb.go ×4

Frontier kind: Code frontier

unlabeled · c_ad3e4dc2482e

3 tests · 2899 LOC · 142 files · introduces 0 tests · 33 LOC · 2 files

Introduces — evidence that enters the hierarchy at this concept

Code
7 ranges33 lines · 2 files
Tests
0 tests

Contains — complete concept membership

All code (extent)
444 ranges2899 lines · 142 files · Browse complete extent
All tests (intent)
3 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.

2 files ranked by introduced lines: 33 introduced LOC across 7 ranges. Expand a file to inspect source; the > gutter marks introduced lines.

go.temporal.io/server/service/history/replication/eager_namespace_refresher.go 17 introduced LOC · 3 ranges

Open complete file

80 for _, c := range resp.GetReplicationConfig().GetClusters() {
81 if e.currentCluster == c.GetClusterName() {
82 > hasCurrentCluster = true eager_namespace_refresher.go
83 > }
84 }
85 if !hasCurrentCluster {
87 return nil, serviceerror.NewFailedPrecondition("Namespace does not belong to current cluster")
88 }
89 > _, err = e.namespaceRegistry.GetNamespaceByID(namespaceId) eager_namespace_refresher.go
90 > var operation enumsspb.NamespaceOperation
91 > switch err.(type) {
92 case *serviceerror.NamespaceNotFound:
93 operation = enumsspb.NAMESPACE_OPERATION_CREATE
97 return nil, err
98 }
99 > task := &replicationspb.NamespaceTaskAttributes{ eager_namespace_refresher.go
100 > NamespaceOperation: operation,
101 > Id: resp.GetInfo().Id,
102 > Info: resp.GetInfo(),
103 > Config: resp.GetConfig(),
104 > ReplicationConfig: resp.GetReplicationConfig(),
105 > ConfigVersion: resp.GetConfigVersion(),
106 > FailoverVersion: resp.GetFailoverVersion(),
107 > FailoverHistory: resp.GetFailoverHistory(),
108 > }
109 > err = e.replicationTaskExecutor.Execute(ctx, task)
110 > if err != nil {
111 return nil, err
112 }
go.temporal.io/server/api/adminservice/v1/request_response.pb.go 16 introduced LOC · 4 ranges

Open complete file

3938 }
3939
3940 > func (x *GetNamespaceResponse) GetConfig() *v110.NamespaceConfig { request_response.pb.go
3941 > if x != nil {
3942 > return x.Config
3943 > }
3944 return nil
3945 }
3952 }
3953
3954 > func (x *GetNamespaceResponse) GetConfigVersion() int64 { request_response.pb.go
3955 > if x != nil {
3956 > return x.ConfigVersion
3957 > }
3958 return 0
3959 }
3960
3961 > func (x *GetNamespaceResponse) GetFailoverVersion() int64 { request_response.pb.go
3962 > if x != nil {
3963 > return x.FailoverVersion
3964 > }
3965 return 0
3966 }
3967
3968 > func (x *GetNamespaceResponse) GetFailoverHistory() []*v111.FailoverStatus { request_response.pb.go
3969 > if x != nil {
3970 > return x.FailoverHistory
3971 > }
3972 return nil
3973 }