- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for newBoss (0.15 sec)
-
pkg/kubelet/pod/pod_manager.go
func NewBasicPodManager() Manager { pm := &basicManager{} pm.SetPods(nil) return pm } // Set the internal pods based on the new pods. func (pm *basicManager) SetPods(newPods []*v1.Pod) { pm.lock.Lock() defer pm.lock.Unlock() pm.podByUID = make(map[kubetypes.ResolvedPodUID]*v1.Pod) pm.podByFullName = make(map[string]*v1.Pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:00 UTC 2024 - 11.9K bytes - Viewed (0) -
pkg/kubelet/config/config.go
} // updatePodFunc is the local function which updates the pod cache *oldPods* with new pods *newPods*. // After updated, new pod will be stored in the pod cache *pods*. // Notice that *pods* and *oldPods* could be the same cache. updatePodsFunc := func(newPods []*v1.Pod, oldPods, pods map[types.UID]*v1.Pod) { filtered := filterInvalidPods(newPods, source, s.recorder) for _, ref := range filtered {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 16.7K bytes - Viewed (0) -
tests/scanner_valuer_test.go
t.Errorf("Should failed to update data with invalid data") } if err := DB.Model(&data).Update("password", EncryptedData("newpass")).Error; err != nil { t.Errorf("Should got no error update data with valid data, but got %v", err) } AssertEqual(t, data.Password, EncryptedData("newpass")) } type ScannerValuerStruct struct { gorm.Model Name sql.NullString Gender *sql.NullString
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
} // Write out a kubeconfig with one cert result, err = createKubeConfig(newCfg) if err != nil { t.Fatalf("did not expect failure: %v", err) } goldenNewFilepath := "testdata/kubeconfig-newhost" testutils.CompareContent(t, []byte(result.Full), goldenNewFilepath) } func TestCheckNoExistingKubeConfig(t *testing.T) { tmp := t.TempDir() os.WriteFile(filepath.Join(tmp, "token"), []byte(saToken), 0o644)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 17 21:52:29 UTC 2024 - 5.1K bytes - Viewed (0) -
internal/grid/README.md
} // Create a typed handler. // Due to current generics limitations, a constructor of the empty type must be provided. instance := grid.NewSingleHandler[*grid.MSS, *grid.MSS](h, grid.NewMSS, grid.NewMSS) // Register the handler on the manager instance.Register(manager, handler) // The typed instance is also used for calls conn := manager.Connection("host")
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.4K bytes - Viewed (0) -
internal/grid/grid_test.go
// 1: Echo h1 := NewSingleHandler[*MSS, *MSS](handlerTest, NewMSS, NewMSS) // Handles incoming requests, returns a response handler1 := func(req *MSS) (resp *MSS, err *RemoteErr) { resp = h1.NewResponse() for k, v := range *req { (*resp)[k] = v } return resp, nil } // Return error h2 := NewSingleHandler[*MSS, *MSS](handlerTest2, NewMSS, NewMSS) handler2 := func(req *MSS) (resp *MSS, err *RemoteErr) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0) -
internal/grid/types.go
return msgp.NilSize } s := msgp.MapHeaderSize for za0001, za0002 := range *m { s += msgp.StringPrefixSize + len(za0001) + msgp.StringPrefixSize + len(za0002) } return s } // NewMSS returns a new MSS. func NewMSS() *MSS { m := MSS(mssPool.Get().(map[string]string)) for k := range m { delete(m, k) } return &m } // NewMSSWith returns a new MSS with the given map.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Apr 01 23:42:09 UTC 2024 - 15.4K bytes - Viewed (0) -
cmd/storage-rest-server.go
storageReadVersionRPC = grid.NewSingleHandler[*grid.MSS, *FileInfo](grid.HandlerReadVersion, grid.NewMSS, func() *FileInfo { return &FileInfo{} }) storageReadXLRPC = grid.NewSingleHandler[*grid.MSS, *RawFileInfo](grid.HandlerReadXL, grid.NewMSS, func() *RawFileInfo { return &RawFileInfo{} })
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 92.9K bytes - Viewed (0) -
cmd/admin-handlers.go
// In distributed setup, anonymized addr = 'poolNum.serverNum' newHost := fmt.Sprintf("pool%d.server%d", poolNum, srvrNum) schemePfx := endpoint.Scheme + "://" // Hostname mapIfNotPresent(hostAnonymizer, endpoint.Hostname(), newHost) newHostPort := newHost if len(endpoint.Port()) > 0 { // Host + port newHostPort = newHost + ":" + endpoint.Port()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0)