- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for pathchk (0.24 sec)
-
cni/pkg/nodeagent/informers_test.go
waitForMockCalls() assertPodNotAnnotated(t, client, pod) // patch a test label to emulate a non-annotation POD update event _, err = client.Kube().CoreV1().Pods(pod.Namespace).Patch(ctx, pod.Name, types.MergePatchType, []byte(`{"metadata":{"labels":{"test":"update"}}}`), metav1.PatchOptions{}) assert.NoError(t, err)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 15.8K bytes - Viewed (0) -
src/cmd/asm/internal/asm/asm.go
return } p.append(prog, cond, true) } func (p *Parser) patch() { for _, patch := range p.toPatch { targetProg := p.labels[patch.label] if targetProg == nil { p.errorf("undefined label %s", patch.label) return } p.branch(patch.addr, targetProg) } p.toPatch = p.toPatch[:0] } func (p *Parser) branch(addr *obj.Addr, target *obj.Prog) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
// label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, constants.DataplaneMode, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) client.RunAndWait(ctx.Done()) payload, _ := json.Marshal(valid) // serialize our fake plugin event
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Feb 02 08:18:40 GMT 2024 - 5.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/parse.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 36.9K bytes - Viewed (0) -
tests/migrate_test.go
} DB.Exec(`CREATE EXTENSION IF NOT EXISTS "uuid-ossp";`) err = DB.AutoMigrate(&MissPKUser{}, &MissPKLanguage{}) if err != nil { t.Fatalf("AutoMigrate err:%v", err) } // patch err = DB.AutoMigrate(&MissPKUser{}, &MissPKLanguage{}) if err != nil { t.Fatalf("AutoMigrate err:%v", err) } } func TestCurrentTimestamp(t *testing.T) { if DB.Dialector.Name() != "mysql" {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Mar 18 11:24:16 GMT 2024 - 56.2K bytes - Viewed (0) -
cni/pkg/util/podutil.go
return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel" } func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { _, err := client.CoreV1(). Pods(pod.Namespace). Patch( context.Background(), pod.Name, types.MergePatchType, annotationPatch, metav1.PatchOptions{},
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 4.1K bytes - Viewed (0) -
operator/cmd/mesh/manifest_shared_test.go
} var interceptorFunc = interceptor.Funcs{Patch: func( ctx context.Context, clnt client.WithWatch, obj client.Object, patch client.Patch, opts ...client.PatchOption, ) error { // Apply patches are supposed to upsert, but fake client fails if the object doesn't exist, // if an apply patch occurs for an object that doesn't yet exist, create it. if patch.Type() != types.ApplyPatchType {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Feb 20 22:39:28 GMT 2024 - 11.7K bytes - Viewed (1) -
istioctl/pkg/kubeinject/kubeinject.go
} ar, err = kube.AdmissionReviewKubeToAdapter(out) if err != nil { return nil, fmt.Errorf("could not decode object: %v", err) } return ar.Response.Patch, nil } var ( runtimeScheme = func() *runtime.Scheme { r := runtime.NewScheme() r.AddKnownTypes(admissionv1beta1.SchemeGroupVersion, &admissionv1beta1.AdmissionReview{})
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
misc/ios/go_ios_exec.go
return "", errors.New("failed to parse ideviceinfo output") } verSplit := strings.Split(iosVer, ".") if len(verSplit) > 2 { // Developer images are specific to major.minor ios version. // Cut off the patch version. iosVer = strings.Join(verSplit[:2], ".") } sdkBase := "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport"
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Apr 11 16:34:30 GMT 2022 - 23.4K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/swig_test.go
x, err := strconv.Atoi(s) if err != nil && parseError == nil { parseError = err } return x } var major, minor, patch int major = atoi(string(matches[1])) if len(matches[2]) > 0 { minor = atoi(string(matches[2][1:])) } if len(matches[3]) > 0 { patch = atoi(string(matches[3][1:])) } if parseError != nil {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 3.7K bytes - Viewed (0)