- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for deleteAction (0.16 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/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/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) -
pkg/registry/core/service/ipallocator/controller/repairip_test.go
})) fakeClient.PrependReactor("delete", "ipaddresses", k8stesting.ReactionFunc(func(action k8stesting.Action) (bool, runtime.Object, error) { ip := action.(k8stesting.DeleteAction).GetName() err := ipIndexer.Delete(ip) return false, &networkingv1alpha1.IPAddress{}, err })) r := NewRepairIPAddress(0*time.Second, fakeClient, serviceInformer, serviceCIDRInformer,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:06 UTC 2023 - 20.3K bytes - Viewed (0) -
cmd/data-scanner.go
// - NoncurrentVersionExpiration is applicable case lifecycle.DeleteVersionAction, lifecycle.DeleteAllVersionsAction, lifecycle.DelMarkerDeleteAllVersionsAction: size = 0 case lifecycle.DeleteAction: // On a non-versioned bucket, DeleteObject removes the only version permanently. if !vc.PrefixEnabled(oi.Name) { size = 0 } } applyLifecycleAction(lcEvt, lcEventSrc_Scanner, oi)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:43:17 UTC 2024 - 47.6K bytes - Viewed (0)