- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,402 for finalizer (0.18 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/validator.go
} if len(strings.Split(stringValue, "/")) == 1 { if !standardFinalizers.Has(stringValue) { allWarnings = append(allWarnings, fmt.Sprintf("%s: %q: prefer a domain-qualified finalizer name to avoid accidental conflicts with other finalizer writers", fldPath.String(), stringValue)) } } return allWarnings }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 14:00:05 UTC 2024 - 7.4K bytes - Viewed (0) -
pkg/fuzz/util.go
// // fuzz.BaseCases(f) // f.Fuzz(func(...) { // defer fuzz.Finalizer() // } // // To avoid needing to call BaseCases and Finalize everywhere. func Fuzz(f test.Fuzzer, ff func(fg Helper)) { BaseCases(f) f.Fuzz(func(t *testing.T, data []byte) { defer Finalize() fg := New(t, data) ff(fg) }) } // Finalize works around an issue in the oss-fuzz logic that doesn't allow using Skip()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 30 15:31:14 UTC 2022 - 3.4K bytes - Viewed (0) -
src/os/file_windows.go
} // Fd returns the Windows handle referencing the open file. // If f is closed, the file descriptor becomes invalid. // If f is garbage collected, a finalizer may close the file descriptor, // making it invalid; see [runtime.SetFinalizer] for more information on when // a finalizer might be run. On Unix systems this will cause the [File.SetDeadline] // methods to stop working. func (file *File) Fd() uintptr { if file == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:38:38 UTC 2024 - 13.4K bytes - Viewed (0) -
pkg/controller/namespace/deletion/namespaced_resources_deleter_test.go
t.Errorf("Expected finalize-namespace action %v", actions[0]) } finalizers := actions[0].(core.CreateAction).GetObject().(*v1.Namespace).Spec.Finalizers if len(finalizers) != 1 { t.Errorf("There should be a single finalizer remaining") } if string(finalizers[0]) != "other" { t.Errorf("Unexpected finalizer value, %v", finalizers[0]) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 20 07:34:23 UTC 2023 - 15.8K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskLifecycleIntegrationTest.groovy
assertTaskNotExecuted(':buildB', ':c') where: method << ["shouldRunAfter", "mustRunAfter"] } def "finalizedBy task within included build schedules finalizer for execution"() { given: buildA.buildFile << """ task a { dependsOn gradle.includedBuild('buildB').task(':b') } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 03 19:28:39 UTC 2022 - 3K bytes - Viewed (0) -
src/os/file_plan9.go
// Fd returns the integer Plan 9 file descriptor referencing the open file. // If f is closed, the file descriptor becomes invalid. // If f is garbage collected, a finalizer may close the file descriptor, // making it invalid; see [runtime.SetFinalizer] for more information on when // a finalizer might be run. On Unix systems this will cause the [File.SetDeadline] // methods to stop working. // // As an alternative, see the f.SyscallConn method.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 30 15:35:30 UTC 2024 - 16K bytes - Viewed (0) -
pkg/controller/job/indexed_job_utils.go
newSucceeded := sets.New[int]() for _, p := range pods { ix := getCompletionIndex(p.Annotations) // Succeeded Pod with valid index and, if tracking with finalizers, // has a finalizer (meaning that it is not counted yet). if p.Status.Phase == v1.PodSucceeded && ix != unknownCompletionIndex && ix < int(*job.Spec.Completions) && hasJobTrackingFinalizer(p) { newSucceeded.Insert(ix) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 21 00:44:53 UTC 2023 - 17.5K bytes - Viewed (0) -
src/internal/types/testdata/check/chans.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 02 02:58:32 UTC 2022 - 1.7K bytes - Viewed (0) -
pkg/registry/rbac/helpers_test.go
}, old: func() runtime.Object { return newPod() }, expected: true, }, { name: "ownerRef and finalizer", obj: func() runtime.Object { obj := newPod() obj.OwnerReferences = append(obj.OwnerReferences, metav1.OwnerReference{Name: "foo"}) obj.Finalizers = []string{"final"} return obj }, old: func() runtime.Object { return newPod() }, expected: true,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 05 20:12:50 UTC 2022 - 4.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store.go
// collector. If so, returns the set of deletion finalizers to apply and a bool // indicating whether the finalizer list has changed and is in need of updating. // // The finalizers returned are intended to be handled by the garbage collector. // If garbage collection is disabled for the store, this function returns false // to ensure finalizers aren't set which will never be cleared.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 23:22:44 UTC 2024 - 60.8K bytes - Viewed (0)