- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for GetSubresource (0.16 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go
attribute.String("configuration", configurationName), attribute.String("webhook", h.Name), attribute.Stringer("resource", attr.GetResource()), attribute.String("subresource", attr.GetSubresource()), attribute.String("operation", string(attr.GetOperation())), attribute.String("UID", string(uid))) defer span.End(500 * time.Millisecond)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 08:48:22 UTC 2024 - 19.6K bytes - Viewed (0) -
pkg/controller/daemon/daemon_controller_test.go
if err != nil { t.Fatal(err) } var updated *apps.DaemonSet clientset.PrependReactor("update", "daemonsets", func(action core.Action) (handled bool, ret runtime.Object, err error) { if action.GetSubresource() != "status" { return false, nil, nil } if u, ok := action.(core.UpdateAction); ok { updated = u.GetObject().(*apps.DaemonSet) } return false, nil, nil })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.4K bytes - Viewed (0) -
pkg/scheduler/schedule_one_test.go
var wg sync.WaitGroup wg.Add(2 * len(pods)) bindings := make(map[string]string) client.PrependReactor("create", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) { if action.GetSubresource() != "binding" { return false, nil, nil } binding := action.(clienttesting.CreateAction).GetObject().(*v1.Binding) bindings[binding.Name] = binding.Target.Name wg.Done() return true, binding, nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:20:55 UTC 2024 - 128.1K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
} for i := 0; i < len(actions); i++ { e := expectedActions[i] a := actions[i] if !a.Matches(e.GetVerb(), e.GetResource().Resource) || a.GetSubresource() != e.GetSubresource() { t.Errorf("unexpected actions: %s", cmp.Diff(expectedActions, actions)) } } } func verifyUpdates(t *testing.T, manager *manager, expectedUpdates int) { t.Helper()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
pkg/kubelet/volumemanager/reconciler/reconciler_test.go
return true, pv, nil }) fakeClient.AddReactor("patch", "persistentvolumeclaims", func(action core.Action) (bool, runtime.Object, error) { if action.GetSubresource() == "status" { return true, pvc, nil } return true, nil, fmt.Errorf("no reaction implemented for %s", action) }) fakeClient.AddReactor("*", "*", func(action core.Action) (bool, runtime.Object, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 09 07:34:33 UTC 2024 - 75.4K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
rs := newReplicaSet(1, labelMap) client := fake.NewSimpleClientset(rs) client.PrependReactor("update", "replicasets", func(action core.Action) (bool, runtime.Object, error) { if action.GetSubresource() != "status" { return false, nil, nil } return true, nil, errors.New("failed to update status") }) stopCh := make(chan struct{}) defer close(stopCh)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0)