- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for IsNotFound (0.1 sec)
-
istioctl/pkg/waypoint/waypoint.go
} _, err = gwc.Patch(context.Background(), gw.Name, types.ApplyPatchType, b, metav1.PatchOptions{ Force: nil, FieldManager: "istioctl", }) if err != nil { if kerrors.IsNotFound(err) { return fmt.Errorf("missing Kubernetes Gateway CRDs need to be installed before applying a waypoint: %s", err) } return err } if waitReady { startTime := time.Now()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
cni/pkg/util/podutil.go
annotationRemovePatch, metav1.PatchOptions{}, // Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead. "status", ) if errors.IsNotFound(err) { return nil } return err } // Get any IPs currently assigned to the Pod. // // If 'PodIPs' exists, it is preferred (and should be guaranteed to contain the address in 'PodIP'),
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.7K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
// This has no effect for users, unless they have this service. svc, err := cli.Kube().CoreV1().Services("istio-system").Get(context.Background(), "zipkin", metav1.GetOptions{}) if err != nil && !kerrors.IsNotFound(err) { return err } if err != nil { // not found return nil } // found res := ObjectToInstance(svc) messages.Add(msg.NewUpdateIncompatibility(res,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
vwh, err := client.Kube().AdmissionregistrationV1().ValidatingWebhookConfigurations(). Get(context.Background(), vwhBaseTemplateName, metav1.GetOptions{}) if err != nil && !errors.IsNotFound(err) { return nil, err } if vwh == nil { return whConfig, nil } if whConfig.FailurePolicy == nil { whConfig.FailurePolicy = map[string]*admitv1.FailurePolicyType{} }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.3K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
client, err := ctx.CLIClient() if err != nil { return err } _, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{}) if errors.IsNotFound(err) { fmt.Fprintf(cmd.ErrOrStderr(), "namespace %q not found\n", ctx.Namespace()) return nil } else if err != nil { return err } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0)