- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 54 for deleteAction (0.21 sec)
-
internal/bucket/lifecycle/lifecycle_test.go
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
type Action int //go:generate stringer -type Action $GOFILE const ( // NoneAction means no action required after evaluating lifecycle rules NoneAction Action = iota // DeleteAction means the object needs to be removed after evaluating lifecycle rules DeleteAction // DeleteVersionAction deletes a particular version DeleteVersionAction // TransitionAction transitions a particular object after evaluating lifecycle transition rules
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 17.9K bytes - Viewed (0) -
pkg/controller/podgc/gc_controller_test.go
var patchAction clienttesting.PatchAction var deleteAction clienttesting.DeleteAction for _, action := range actions { if action.GetVerb() == "patch" { patchAction = action.(clienttesting.PatchAction) } if action.GetVerb() == "delete" { deleteAction = action.(clienttesting.DeleteAction) } } if patchAction != nil && test.expectedPatchedPod == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 08:16:48 UTC 2024 - 29K bytes - Viewed (0) -
internal/bucket/lifecycle/action_string.go
import "strconv" func _() { // An "invalid array index" compiler error signifies that the constant values have changed. // Re-run the stringer command to generate them again. var x [1]struct{} _ = x[NoneAction-0] _ = x[DeleteAction-1] _ = x[DeleteVersionAction-2] _ = x[TransitionAction-3] _ = x[TransitionVersionAction-4] _ = x[DeleteRestoredAction-5] _ = x[DeleteRestoredVersionAction-6] _ = x[DeleteAllVersionsAction-7]
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 1.1K bytes - Viewed (0) -
pkg/controller/tainteviction/taint_eviction_test.go
for _, action := range fakeClientset.Actions() { deleteAction, ok := action.(clienttesting.DeleteActionImpl) if !ok { t.Logf("Found not-delete action with verb %v. Ignoring.", action.GetVerb()) continue } if deleteAction.GetResource().Resource != "pods" { continue } if podName == deleteAction.GetName() { deleted = true } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 31.3K bytes - Viewed (0) -
pkg/controlplane/controller/clusterauthenticationtrust/cluster_authentication_trust_controller_test.go
if err == nil || err.Error() != "Request entity too large: way too big" { t.Fatal(err) } if len(client.Actions()) != 2 { t.Fatal(client.Actions()) } _, ok := client.Actions()[1].(clienttesting.DeleteAction) if !ok { t.Fatal(client.Actions()) } }) t.Run("ca bundle too large", func(t *testing.T) { client := fake.NewSimpleClientset()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 14 00:05:53 UTC 2023 - 14.6K bytes - Viewed (0) -
pkg/controller/deployment/sync_test.go
for _, action := range fake.Actions() { deleteAction, ok := action.(testclient.DeleteActionImpl) if !ok { t.Logf("Found not-delete action with verb %v. Ignoring.", action.GetVerb()) continue } if deleteAction.GetResource().Resource != "replicasets" { continue } deletedRSs.Insert(deleteAction.GetName()) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 08 09:10:50 UTC 2023 - 21.1K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/testing/testing.go
return true, nil, nil } return true, nil, fmt.Errorf("cannot delete volume %s: not found", name) case action.Matches("delete", "persistentvolumeclaims"): name := action.(core.DeleteAction).GetName() nameSpace := action.(core.DeleteAction).GetNamespace() logger.V(4).Info("Deleted claim", "PVC", klog.KRef(nameSpace, name)) obj, found := r.claims[name] if found { delete(r.claims, name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 20.1K bytes - Viewed (0) -
pkg/registry/core/service/ipallocator/cidrallocator_test.go
return false, cidr, err })) client.PrependReactor("delete", "servicecidrs", k8stesting.ReactionFunc(func(action k8stesting.Action) (bool, runtime.Object, error) { name := action.(k8stesting.DeleteAction).GetName() obj, exists, err := serviceCIDRStore.GetByKey(name) cidr := &networkingv1alpha1.ServiceCIDR{} if exists && err == nil { cidr = obj.(*networkingv1alpha1.ServiceCIDR)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 13.7K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
func patchAction() core.PatchAction { return core.PatchActionImpl{ActionImpl: core.ActionImpl{Verb: "patch", Resource: schema.GroupVersionResource{Resource: "pods"}, Subresource: "status"}} } func deleteAction() core.DeleteAction { return core.DeleteActionImpl{ActionImpl: core.ActionImpl{Verb: "delete", Resource: schema.GroupVersionResource{Resource: "pods"}}} } func TestMergePodStatus(t *testing.T) { useCases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0)