- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 95 for apipod (0.16 sec)
-
pkg/controller/volume/attachdetach/reconciler/reconciler_test.go
dsw.AddNode(nodeName1) dsw.AddNode(nodeName2) generatedVolumeName, podAddErr := dsw.AddPod(types.UniquePodName(podName1), controllervolumetesting.NewPod(podName1, podName1), volumeSpec, nodeName1) if podAddErr != nil { t.Fatalf("AddPod failed. Expected: <no error> Actual: <%v>", podAddErr) } _, podAddErr = dsw.AddPod(types.UniquePodName(podName2), controllervolumetesting.NewPod(podName2, podName2), volumeSpec, nodeName2)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 07:00:14 UTC 2024 - 72.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_getters.go
pods, err := kl.runtimeCache.GetPods(ctx) if err != nil { return nil, err } apiPods := make([]*v1.Pod, 0, len(pods)) for _, pod := range pods { apiPods = append(apiPods, pod.ToAPIPod()) } return apiPods, nil } // GetPodByFullName gets the pod with the given 'full' name, which // incorporates the namespace as well as whether the pod was found.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 09 00:48:07 UTC 2024 - 17.9K bytes - Viewed (0) -
internal/kms/errors.go
ErrPermission = Error{ Code: http.StatusForbidden, APICode: "kms:NotAuthorized", Err: "insufficient permissions to perform KMS operation", } // ErrKeyExists is an error returned by the KMS when trying to // create a key that already exists. ErrKeyExists = Error{ Code: http.StatusConflict, APICode: "kms:KeyAlreadyExists", Err: "key with given key ID already exits", }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 07 23:55:37 UTC 2024 - 3.6K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go
dsw.AddNode(nodeName) generatedVolumeName1, pod1AddErr := dsw.AddPod(types.UniquePodName(pod1Name), controllervolumetesting.NewPod(pod1Name, pod1Name), volumeSpec, nodeName) if pod1AddErr != nil { t.Fatalf( "AddPod failed for pod %q. Expected: <no error> Actual: <%v>", pod1Name, pod1AddErr) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 35.9K bytes - Viewed (0) -
pkg/kubelet/pod/testing/mock_manager.go
return m.recorder } // AddPod mocks base method. func (m *MockManager) AddPod(pod *v1.Pod) { m.ctrl.T.Helper() m.ctrl.Call(m, "AddPod", pod) } // AddPod indicates an expected call of AddPod. func (mr *MockManagerMockRecorder) AddPod(pod any) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddPod", reflect.TypeOf((*MockManager)(nil).AddPod), pod) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 8.8K bytes - Viewed (0) -
pkg/kubelet/volumemanager/populator/desired_state_of_world_populator_test.go
fakePodManager.AddPod(existingPod) dswp.findAndAddNewPods() } newContainer := container newContainer.SecurityContext.SELinuxOptions = tc.newContainerSELinuxOpts newPod := createPodWithVolume("dswp-test-pod", "dswp-test-volume-name", "file-bound", []v1.Container{newContainer}) // Act - add the new Pod fakePodManager.AddPod(newPod) dswp.findAndAddNewPods()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.4K bytes - Viewed (0) -
pkg/scheduler/internal/cache/cache_test.go
t.Fatalf("assumePod failed: %v", err) } } for _, podToAdd := range test.podsToAdd { if err := cache.AddPod(logger, podToAdd); err != nil { t.Fatalf("AddPod failed: %v", err) } // pod already in added state if err := cache.AddPod(logger, podToAdd); err == nil { t.Error("expected error, no error found") } } cache.cleanupAssumedPods(logger, now.Add(2*ttl))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 17 01:38:03 UTC 2023 - 63.8K bytes - Viewed (0) -
pkg/kubelet/prober/testing/fake_manager.go
"k8s.io/apimachinery/pkg/types" "k8s.io/apimachinery/pkg/util/sets" ) // FakeManager simulates a prober.Manager for testing. type FakeManager struct{} // Unused methods below. // AddPod simulates adding a Pod. func (FakeManager) AddPod(_ *v1.Pod) {} // RemovePod simulates removing a Pod. func (FakeManager) RemovePod(_ *v1.Pod) {} // Simulated stopping liveness and startup probes.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 22:26:12 UTC 2023 - 1.4K bytes - Viewed (0) -
pilot/pkg/controllers/untaint/nodeuntainter_test.go
}) s.nc.Create(node) } } func (s *nodeTainterTestServer) addCniPod(t *testing.T, node string, markReady bool) { s.addPod(t, node, markReady, cniPodLabels, systemNS) } func (s *nodeTainterTestServer) addPod(t *testing.T, node string, markReady bool, labels map[string]string, ns string) { t.Helper() ip := "1.2.3.4" name := "istio-cni-" + node if ns == "" { ns = systemNS
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.1K bytes - Viewed (0) -
cmd/handler-utils_test.go
header: http.Header{ "X-Amz-Meta-Appid": []string{"amz-meta"}, "X-Minio-Meta-Appid": []string{"minio-meta"}, }, metadata: map[string]string{ "X-Amz-Meta-Appid": "amz-meta", "X-Minio-Meta-Appid": "minio-meta", }, shouldFail: false, }, // Fail if header key is not in canonicalized form { header: http.Header{ "x-amz-meta-appid": []string{"amz-meta"}, },
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 6.1K bytes - Viewed (0)